host

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for host API

func (*Client) CreateHost

func (a *Client) CreateHost(params *CreateHostParams, opts ...ClientOption) (*CreateHostOK, error)

CreateHost create host API

func (*Client) EnterMaintenanceMode added in v2.14.0

func (a *Client) EnterMaintenanceMode(params *EnterMaintenanceModeParams, opts ...ClientOption) (*EnterMaintenanceModeOK, error)

EnterMaintenanceMode enter maintenance mode API

func (*Client) EnterMaintenanceModePreCheck added in v2.14.0

func (a *Client) EnterMaintenanceModePreCheck(params *EnterMaintenanceModePreCheckParams, opts ...ClientOption) (*EnterMaintenanceModePreCheckOK, error)

EnterMaintenanceModePreCheck enter maintenance mode pre check API

func (*Client) EnterMaintenanceModePrecheckResult added in v2.14.0

func (a *Client) EnterMaintenanceModePrecheckResult(params *EnterMaintenanceModePrecheckResultParams, opts ...ClientOption) (*EnterMaintenanceModePrecheckResultOK, error)

EnterMaintenanceModePrecheckResult enter maintenance mode precheck result API

func (*Client) ExitMaintenanceMode added in v2.14.0

func (a *Client) ExitMaintenanceMode(params *ExitMaintenanceModeParams, opts ...ClientOption) (*ExitMaintenanceModeOK, error)

ExitMaintenanceMode exit maintenance mode API

func (*Client) ExitMaintenanceModePrecheckResult added in v2.14.0

func (a *Client) ExitMaintenanceModePrecheckResult(params *ExitMaintenanceModePrecheckResultParams, opts ...ClientOption) (*ExitMaintenanceModePrecheckResultOK, error)

ExitMaintenanceModePrecheckResult exit maintenance mode precheck result API

func (*Client) GetHosts

func (a *Client) GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error)

GetHosts get hosts API

func (*Client) GetHostsConnection

func (a *Client) GetHostsConnection(params *GetHostsConnectionParams, opts ...ClientOption) (*GetHostsConnectionOK, error)

GetHostsConnection get hosts connection API

func (*Client) PowerOffHost added in v2.14.0

func (a *Client) PowerOffHost(params *PowerOffHostParams, opts ...ClientOption) (*PowerOffHostOK, error)

PowerOffHost power off host API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (a *Client) TriggerDiskBlink(params *TriggerDiskBlinkParams, opts ...ClientOption) (*TriggerDiskBlinkOK, error)

TriggerDiskBlink trigger disk blink API

func (*Client) UpdateHost

func (a *Client) UpdateHost(params *UpdateHostParams, opts ...ClientOption) (*UpdateHostOK, error)

UpdateHost update host API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateHost(params *CreateHostParams, opts ...ClientOption) (*CreateHostOK, error)

	EnterMaintenanceMode(params *EnterMaintenanceModeParams, opts ...ClientOption) (*EnterMaintenanceModeOK, error)

	EnterMaintenanceModePreCheck(params *EnterMaintenanceModePreCheckParams, opts ...ClientOption) (*EnterMaintenanceModePreCheckOK, error)

	EnterMaintenanceModePrecheckResult(params *EnterMaintenanceModePrecheckResultParams, opts ...ClientOption) (*EnterMaintenanceModePrecheckResultOK, error)

	ExitMaintenanceMode(params *ExitMaintenanceModeParams, opts ...ClientOption) (*ExitMaintenanceModeOK, error)

	ExitMaintenanceModePrecheckResult(params *ExitMaintenanceModePrecheckResultParams, opts ...ClientOption) (*ExitMaintenanceModePrecheckResultOK, error)

	GetHosts(params *GetHostsParams, opts ...ClientOption) (*GetHostsOK, error)

	GetHostsConnection(params *GetHostsConnectionParams, opts ...ClientOption) (*GetHostsConnectionOK, error)

	PowerOffHost(params *PowerOffHostParams, opts ...ClientOption) (*PowerOffHostOK, error)

	TriggerDiskBlink(params *TriggerDiskBlinkParams, opts ...ClientOption) (*TriggerDiskBlinkOK, error)

	UpdateHost(params *UpdateHostParams, opts ...ClientOption) (*UpdateHostOK, 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 API client.

type CreateHostBadRequest

type CreateHostBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateHostBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateHostBadRequest

func NewCreateHostBadRequest() *CreateHostBadRequest

NewCreateHostBadRequest creates a CreateHostBadRequest with default headers values

func (*CreateHostBadRequest) Error

func (o *CreateHostBadRequest) Error() string

func (*CreateHostBadRequest) GetPayload

func (o *CreateHostBadRequest) GetPayload() *models.ErrorBody

type CreateHostInternalServerError

type CreateHostInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateHostInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateHostInternalServerError

func NewCreateHostInternalServerError() *CreateHostInternalServerError

NewCreateHostInternalServerError creates a CreateHostInternalServerError with default headers values

func (*CreateHostInternalServerError) Error

func (*CreateHostInternalServerError) GetPayload

type CreateHostNotFound

type CreateHostNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateHostNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateHostNotFound

func NewCreateHostNotFound() *CreateHostNotFound

NewCreateHostNotFound creates a CreateHostNotFound with default headers values

func (*CreateHostNotFound) Error

func (o *CreateHostNotFound) Error() string

func (*CreateHostNotFound) GetPayload

func (o *CreateHostNotFound) GetPayload() *models.ErrorBody

type CreateHostOK

type CreateHostOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskBatchHosts
}
CreateHostOK describes a response with status code 200, with default header values.

CreateHostOK create host o k

func NewCreateHostOK

func NewCreateHostOK() *CreateHostOK

NewCreateHostOK creates a CreateHostOK with default headers values

func (*CreateHostOK) Error

func (o *CreateHostOK) Error() string

func (*CreateHostOK) GetPayload

func (o *CreateHostOK) GetPayload() []*models.WithTaskBatchHosts

type CreateHostParams

type CreateHostParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.HostCreationParams

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

CreateHostParams contains all the parameters to send to the API endpoint

for the create host operation.

Typically these are written to a http.Request.

func NewCreateHostParams

func NewCreateHostParams() *CreateHostParams

NewCreateHostParams creates a new CreateHostParams 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 NewCreateHostParamsWithContext

func NewCreateHostParamsWithContext(ctx context.Context) *CreateHostParams

NewCreateHostParamsWithContext creates a new CreateHostParams object with the ability to set a context for a request.

func NewCreateHostParamsWithHTTPClient

func NewCreateHostParamsWithHTTPClient(client *http.Client) *CreateHostParams

NewCreateHostParamsWithHTTPClient creates a new CreateHostParams object with the ability to set a custom HTTPClient for a request.

func NewCreateHostParamsWithTimeout

func NewCreateHostParamsWithTimeout(timeout time.Duration) *CreateHostParams

NewCreateHostParamsWithTimeout creates a new CreateHostParams object with the ability to set a timeout on a request.

func (*CreateHostParams) SetContentLanguage

func (o *CreateHostParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create host params

func (*CreateHostParams) SetContext

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

SetContext adds the context to the create host params

func (*CreateHostParams) SetDefaults

func (o *CreateHostParams) SetDefaults()

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

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

func (*CreateHostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create host params

func (*CreateHostParams) SetRequestBody

func (o *CreateHostParams) SetRequestBody(requestBody []*models.HostCreationParams)

SetRequestBody adds the requestBody to the create host params

func (*CreateHostParams) SetTimeout

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

SetTimeout adds the timeout to the create host params

func (*CreateHostParams) WithContentLanguage

func (o *CreateHostParams) WithContentLanguage(contentLanguage *string) *CreateHostParams

WithContentLanguage adds the contentLanguage to the create host params

func (*CreateHostParams) WithContext

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

WithContext adds the context to the create host params

func (*CreateHostParams) WithDefaults

func (o *CreateHostParams) WithDefaults() *CreateHostParams

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

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

func (*CreateHostParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create host params

func (*CreateHostParams) WithRequestBody

func (o *CreateHostParams) WithRequestBody(requestBody []*models.HostCreationParams) *CreateHostParams

WithRequestBody adds the requestBody to the create host params

func (*CreateHostParams) WithTimeout

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

WithTimeout adds the timeout to the create host params

func (*CreateHostParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateHostReader

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

CreateHostReader is a Reader for the CreateHost structure.

func (*CreateHostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnterMaintenanceModeBadRequest added in v2.14.0

type EnterMaintenanceModeBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EnterMaintenanceModeBadRequest describes a response with status code 400, with default header values.

Bad request

func NewEnterMaintenanceModeBadRequest added in v2.14.0

func NewEnterMaintenanceModeBadRequest() *EnterMaintenanceModeBadRequest

NewEnterMaintenanceModeBadRequest creates a EnterMaintenanceModeBadRequest with default headers values

func (*EnterMaintenanceModeBadRequest) Error added in v2.14.0

func (*EnterMaintenanceModeBadRequest) GetPayload added in v2.14.0

type EnterMaintenanceModeInternalServerError added in v2.14.0

type EnterMaintenanceModeInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EnterMaintenanceModeInternalServerError describes a response with status code 500, with default header values.

Server error

func NewEnterMaintenanceModeInternalServerError added in v2.14.0

func NewEnterMaintenanceModeInternalServerError() *EnterMaintenanceModeInternalServerError

NewEnterMaintenanceModeInternalServerError creates a EnterMaintenanceModeInternalServerError with default headers values

func (*EnterMaintenanceModeInternalServerError) Error added in v2.14.0

func (*EnterMaintenanceModeInternalServerError) GetPayload added in v2.14.0

type EnterMaintenanceModeNotFound added in v2.14.0

type EnterMaintenanceModeNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EnterMaintenanceModeNotFound describes a response with status code 404, with default header values.

Not found

func NewEnterMaintenanceModeNotFound added in v2.14.0

func NewEnterMaintenanceModeNotFound() *EnterMaintenanceModeNotFound

NewEnterMaintenanceModeNotFound creates a EnterMaintenanceModeNotFound with default headers values

func (*EnterMaintenanceModeNotFound) Error added in v2.14.0

func (*EnterMaintenanceModeNotFound) GetPayload added in v2.14.0

type EnterMaintenanceModeOK added in v2.14.0

type EnterMaintenanceModeOK struct {
	XTowerRequestID string

	Payload *models.WithTaskHost
}
EnterMaintenanceModeOK describes a response with status code 200, with default header values.

EnterMaintenanceModeOK enter maintenance mode o k

func NewEnterMaintenanceModeOK added in v2.14.0

func NewEnterMaintenanceModeOK() *EnterMaintenanceModeOK

NewEnterMaintenanceModeOK creates a EnterMaintenanceModeOK with default headers values

func (*EnterMaintenanceModeOK) Error added in v2.14.0

func (o *EnterMaintenanceModeOK) Error() string

func (*EnterMaintenanceModeOK) GetPayload added in v2.14.0

func (o *EnterMaintenanceModeOK) GetPayload() *models.WithTaskHost

type EnterMaintenanceModeParams added in v2.14.0

type EnterMaintenanceModeParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.EnterMaintenanceModeParams

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

EnterMaintenanceModeParams contains all the parameters to send to the API endpoint

for the enter maintenance mode operation.

Typically these are written to a http.Request.

func NewEnterMaintenanceModeParams added in v2.14.0

func NewEnterMaintenanceModeParams() *EnterMaintenanceModeParams

NewEnterMaintenanceModeParams creates a new EnterMaintenanceModeParams 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 NewEnterMaintenanceModeParamsWithContext added in v2.14.0

func NewEnterMaintenanceModeParamsWithContext(ctx context.Context) *EnterMaintenanceModeParams

NewEnterMaintenanceModeParamsWithContext creates a new EnterMaintenanceModeParams object with the ability to set a context for a request.

func NewEnterMaintenanceModeParamsWithHTTPClient added in v2.14.0

func NewEnterMaintenanceModeParamsWithHTTPClient(client *http.Client) *EnterMaintenanceModeParams

NewEnterMaintenanceModeParamsWithHTTPClient creates a new EnterMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.

func NewEnterMaintenanceModeParamsWithTimeout added in v2.14.0

func NewEnterMaintenanceModeParamsWithTimeout(timeout time.Duration) *EnterMaintenanceModeParams

NewEnterMaintenanceModeParamsWithTimeout creates a new EnterMaintenanceModeParams object with the ability to set a timeout on a request.

func (*EnterMaintenanceModeParams) SetContentLanguage added in v2.14.0

func (o *EnterMaintenanceModeParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the enter maintenance mode params

func (*EnterMaintenanceModeParams) SetContext added in v2.14.0

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

SetContext adds the context to the enter maintenance mode params

func (*EnterMaintenanceModeParams) SetDefaults added in v2.14.0

func (o *EnterMaintenanceModeParams) SetDefaults()

SetDefaults hydrates default values in the enter maintenance mode params (not the query body).

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

func (*EnterMaintenanceModeParams) SetHTTPClient added in v2.14.0

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

SetHTTPClient adds the HTTPClient to the enter maintenance mode params

func (*EnterMaintenanceModeParams) SetRequestBody added in v2.14.0

func (o *EnterMaintenanceModeParams) SetRequestBody(requestBody *models.EnterMaintenanceModeParams)

SetRequestBody adds the requestBody to the enter maintenance mode params

func (*EnterMaintenanceModeParams) SetTimeout added in v2.14.0

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

SetTimeout adds the timeout to the enter maintenance mode params

func (*EnterMaintenanceModeParams) WithContentLanguage added in v2.14.0

func (o *EnterMaintenanceModeParams) WithContentLanguage(contentLanguage *string) *EnterMaintenanceModeParams

WithContentLanguage adds the contentLanguage to the enter maintenance mode params

func (*EnterMaintenanceModeParams) WithContext added in v2.14.0

WithContext adds the context to the enter maintenance mode params

func (*EnterMaintenanceModeParams) WithDefaults added in v2.14.0

WithDefaults hydrates default values in the enter maintenance mode params (not the query body).

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

func (*EnterMaintenanceModeParams) WithHTTPClient added in v2.14.0

WithHTTPClient adds the HTTPClient to the enter maintenance mode params

func (*EnterMaintenanceModeParams) WithRequestBody added in v2.14.0

WithRequestBody adds the requestBody to the enter maintenance mode params

func (*EnterMaintenanceModeParams) WithTimeout added in v2.14.0

WithTimeout adds the timeout to the enter maintenance mode params

func (*EnterMaintenanceModeParams) WriteToRequest added in v2.14.0

WriteToRequest writes these params to a swagger request

type EnterMaintenanceModePreCheckBadRequest added in v2.14.0

type EnterMaintenanceModePreCheckBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EnterMaintenanceModePreCheckBadRequest describes a response with status code 400, with default header values.

Bad request

func NewEnterMaintenanceModePreCheckBadRequest added in v2.14.0

func NewEnterMaintenanceModePreCheckBadRequest() *EnterMaintenanceModePreCheckBadRequest

NewEnterMaintenanceModePreCheckBadRequest creates a EnterMaintenanceModePreCheckBadRequest with default headers values

func (*EnterMaintenanceModePreCheckBadRequest) Error added in v2.14.0

func (*EnterMaintenanceModePreCheckBadRequest) GetPayload added in v2.14.0

type EnterMaintenanceModePreCheckInternalServerError added in v2.14.0

type EnterMaintenanceModePreCheckInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EnterMaintenanceModePreCheckInternalServerError describes a response with status code 500, with default header values.

Server error

func NewEnterMaintenanceModePreCheckInternalServerError added in v2.14.0

func NewEnterMaintenanceModePreCheckInternalServerError() *EnterMaintenanceModePreCheckInternalServerError

NewEnterMaintenanceModePreCheckInternalServerError creates a EnterMaintenanceModePreCheckInternalServerError with default headers values

func (*EnterMaintenanceModePreCheckInternalServerError) Error added in v2.14.0

func (*EnterMaintenanceModePreCheckInternalServerError) GetPayload added in v2.14.0

type EnterMaintenanceModePreCheckNotFound added in v2.14.0

type EnterMaintenanceModePreCheckNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EnterMaintenanceModePreCheckNotFound describes a response with status code 404, with default header values.

Not found

func NewEnterMaintenanceModePreCheckNotFound added in v2.14.0

func NewEnterMaintenanceModePreCheckNotFound() *EnterMaintenanceModePreCheckNotFound

NewEnterMaintenanceModePreCheckNotFound creates a EnterMaintenanceModePreCheckNotFound with default headers values

func (*EnterMaintenanceModePreCheckNotFound) Error added in v2.14.0

func (*EnterMaintenanceModePreCheckNotFound) GetPayload added in v2.14.0

type EnterMaintenanceModePreCheckOK added in v2.14.0

type EnterMaintenanceModePreCheckOK struct {
	XTowerRequestID string

	Payload *models.EnterMaintenanceModeCheckResult
}
EnterMaintenanceModePreCheckOK describes a response with status code 200, with default header values.

EnterMaintenanceModePreCheckOK enter maintenance mode pre check o k

func NewEnterMaintenanceModePreCheckOK added in v2.14.0

func NewEnterMaintenanceModePreCheckOK() *EnterMaintenanceModePreCheckOK

NewEnterMaintenanceModePreCheckOK creates a EnterMaintenanceModePreCheckOK with default headers values

func (*EnterMaintenanceModePreCheckOK) Error added in v2.14.0

func (*EnterMaintenanceModePreCheckOK) GetPayload added in v2.14.0

type EnterMaintenanceModePreCheckParams added in v2.14.0

type EnterMaintenanceModePreCheckParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.EnterMaintenanceModeCheckParams

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

EnterMaintenanceModePreCheckParams contains all the parameters to send to the API endpoint

for the enter maintenance mode pre check operation.

Typically these are written to a http.Request.

func NewEnterMaintenanceModePreCheckParams added in v2.14.0

func NewEnterMaintenanceModePreCheckParams() *EnterMaintenanceModePreCheckParams

NewEnterMaintenanceModePreCheckParams creates a new EnterMaintenanceModePreCheckParams 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 NewEnterMaintenanceModePreCheckParamsWithContext added in v2.14.0

func NewEnterMaintenanceModePreCheckParamsWithContext(ctx context.Context) *EnterMaintenanceModePreCheckParams

NewEnterMaintenanceModePreCheckParamsWithContext creates a new EnterMaintenanceModePreCheckParams object with the ability to set a context for a request.

func NewEnterMaintenanceModePreCheckParamsWithHTTPClient added in v2.14.0

func NewEnterMaintenanceModePreCheckParamsWithHTTPClient(client *http.Client) *EnterMaintenanceModePreCheckParams

NewEnterMaintenanceModePreCheckParamsWithHTTPClient creates a new EnterMaintenanceModePreCheckParams object with the ability to set a custom HTTPClient for a request.

func NewEnterMaintenanceModePreCheckParamsWithTimeout added in v2.14.0

func NewEnterMaintenanceModePreCheckParamsWithTimeout(timeout time.Duration) *EnterMaintenanceModePreCheckParams

NewEnterMaintenanceModePreCheckParamsWithTimeout creates a new EnterMaintenanceModePreCheckParams object with the ability to set a timeout on a request.

func (*EnterMaintenanceModePreCheckParams) SetContentLanguage added in v2.14.0

func (o *EnterMaintenanceModePreCheckParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the enter maintenance mode pre check params

func (*EnterMaintenanceModePreCheckParams) SetContext added in v2.14.0

SetContext adds the context to the enter maintenance mode pre check params

func (*EnterMaintenanceModePreCheckParams) SetDefaults added in v2.14.0

func (o *EnterMaintenanceModePreCheckParams) SetDefaults()

SetDefaults hydrates default values in the enter maintenance mode pre check params (not the query body).

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

func (*EnterMaintenanceModePreCheckParams) SetHTTPClient added in v2.14.0

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

SetHTTPClient adds the HTTPClient to the enter maintenance mode pre check params

func (*EnterMaintenanceModePreCheckParams) SetRequestBody added in v2.14.0

SetRequestBody adds the requestBody to the enter maintenance mode pre check params

func (*EnterMaintenanceModePreCheckParams) SetTimeout added in v2.14.0

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

SetTimeout adds the timeout to the enter maintenance mode pre check params

func (*EnterMaintenanceModePreCheckParams) WithContentLanguage added in v2.14.0

func (o *EnterMaintenanceModePreCheckParams) WithContentLanguage(contentLanguage *string) *EnterMaintenanceModePreCheckParams

WithContentLanguage adds the contentLanguage to the enter maintenance mode pre check params

func (*EnterMaintenanceModePreCheckParams) WithContext added in v2.14.0

WithContext adds the context to the enter maintenance mode pre check params

func (*EnterMaintenanceModePreCheckParams) WithDefaults added in v2.14.0

WithDefaults hydrates default values in the enter maintenance mode pre check params (not the query body).

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

func (*EnterMaintenanceModePreCheckParams) WithHTTPClient added in v2.14.0

WithHTTPClient adds the HTTPClient to the enter maintenance mode pre check params

func (*EnterMaintenanceModePreCheckParams) WithRequestBody added in v2.14.0

WithRequestBody adds the requestBody to the enter maintenance mode pre check params

func (*EnterMaintenanceModePreCheckParams) WithTimeout added in v2.14.0

WithTimeout adds the timeout to the enter maintenance mode pre check params

func (*EnterMaintenanceModePreCheckParams) WriteToRequest added in v2.14.0

WriteToRequest writes these params to a swagger request

type EnterMaintenanceModePreCheckReader added in v2.14.0

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

EnterMaintenanceModePreCheckReader is a Reader for the EnterMaintenanceModePreCheck structure.

func (*EnterMaintenanceModePreCheckReader) ReadResponse added in v2.14.0

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

ReadResponse reads a server response into the received o.

type EnterMaintenanceModePrecheckResultBadRequest added in v2.14.0

type EnterMaintenanceModePrecheckResultBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EnterMaintenanceModePrecheckResultBadRequest describes a response with status code 400, with default header values.

Bad request

func NewEnterMaintenanceModePrecheckResultBadRequest added in v2.14.0

func NewEnterMaintenanceModePrecheckResultBadRequest() *EnterMaintenanceModePrecheckResultBadRequest

NewEnterMaintenanceModePrecheckResultBadRequest creates a EnterMaintenanceModePrecheckResultBadRequest with default headers values

func (*EnterMaintenanceModePrecheckResultBadRequest) Error added in v2.14.0

func (*EnterMaintenanceModePrecheckResultBadRequest) GetPayload added in v2.14.0

type EnterMaintenanceModePrecheckResultInternalServerError added in v2.14.0

type EnterMaintenanceModePrecheckResultInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EnterMaintenanceModePrecheckResultInternalServerError describes a response with status code 500, with default header values.

Server error

func NewEnterMaintenanceModePrecheckResultInternalServerError added in v2.14.0

func NewEnterMaintenanceModePrecheckResultInternalServerError() *EnterMaintenanceModePrecheckResultInternalServerError

NewEnterMaintenanceModePrecheckResultInternalServerError creates a EnterMaintenanceModePrecheckResultInternalServerError with default headers values

func (*EnterMaintenanceModePrecheckResultInternalServerError) Error added in v2.14.0

func (*EnterMaintenanceModePrecheckResultInternalServerError) GetPayload added in v2.14.0

type EnterMaintenanceModePrecheckResultNotFound added in v2.14.0

type EnterMaintenanceModePrecheckResultNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
EnterMaintenanceModePrecheckResultNotFound describes a response with status code 404, with default header values.

Not found

func NewEnterMaintenanceModePrecheckResultNotFound added in v2.14.0

func NewEnterMaintenanceModePrecheckResultNotFound() *EnterMaintenanceModePrecheckResultNotFound

NewEnterMaintenanceModePrecheckResultNotFound creates a EnterMaintenanceModePrecheckResultNotFound with default headers values

func (*EnterMaintenanceModePrecheckResultNotFound) Error added in v2.14.0

func (*EnterMaintenanceModePrecheckResultNotFound) GetPayload added in v2.14.0

type EnterMaintenanceModePrecheckResultOK added in v2.14.0

type EnterMaintenanceModePrecheckResultOK struct {
	XTowerRequestID string

	Payload *models.EnterMaintenanceModeResult
}
EnterMaintenanceModePrecheckResultOK describes a response with status code 200, with default header values.

EnterMaintenanceModePrecheckResultOK enter maintenance mode precheck result o k

func NewEnterMaintenanceModePrecheckResultOK added in v2.14.0

func NewEnterMaintenanceModePrecheckResultOK() *EnterMaintenanceModePrecheckResultOK

NewEnterMaintenanceModePrecheckResultOK creates a EnterMaintenanceModePrecheckResultOK with default headers values

func (*EnterMaintenanceModePrecheckResultOK) Error added in v2.14.0

func (*EnterMaintenanceModePrecheckResultOK) GetPayload added in v2.14.0

type EnterMaintenanceModePrecheckResultParams added in v2.14.0

type EnterMaintenanceModePrecheckResultParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.EnterMaintenanceModeResultParams

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

EnterMaintenanceModePrecheckResultParams contains all the parameters to send to the API endpoint

for the enter maintenance mode precheck result operation.

Typically these are written to a http.Request.

func NewEnterMaintenanceModePrecheckResultParams added in v2.14.0

func NewEnterMaintenanceModePrecheckResultParams() *EnterMaintenanceModePrecheckResultParams

NewEnterMaintenanceModePrecheckResultParams creates a new EnterMaintenanceModePrecheckResultParams 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 NewEnterMaintenanceModePrecheckResultParamsWithContext added in v2.14.0

func NewEnterMaintenanceModePrecheckResultParamsWithContext(ctx context.Context) *EnterMaintenanceModePrecheckResultParams

NewEnterMaintenanceModePrecheckResultParamsWithContext creates a new EnterMaintenanceModePrecheckResultParams object with the ability to set a context for a request.

func NewEnterMaintenanceModePrecheckResultParamsWithHTTPClient added in v2.14.0

func NewEnterMaintenanceModePrecheckResultParamsWithHTTPClient(client *http.Client) *EnterMaintenanceModePrecheckResultParams

NewEnterMaintenanceModePrecheckResultParamsWithHTTPClient creates a new EnterMaintenanceModePrecheckResultParams object with the ability to set a custom HTTPClient for a request.

func NewEnterMaintenanceModePrecheckResultParamsWithTimeout added in v2.14.0

func NewEnterMaintenanceModePrecheckResultParamsWithTimeout(timeout time.Duration) *EnterMaintenanceModePrecheckResultParams

NewEnterMaintenanceModePrecheckResultParamsWithTimeout creates a new EnterMaintenanceModePrecheckResultParams object with the ability to set a timeout on a request.

func (*EnterMaintenanceModePrecheckResultParams) SetContentLanguage added in v2.14.0

func (o *EnterMaintenanceModePrecheckResultParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the enter maintenance mode precheck result params

func (*EnterMaintenanceModePrecheckResultParams) SetContext added in v2.14.0

SetContext adds the context to the enter maintenance mode precheck result params

func (*EnterMaintenanceModePrecheckResultParams) SetDefaults added in v2.14.0

SetDefaults hydrates default values in the enter maintenance mode precheck result params (not the query body).

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

func (*EnterMaintenanceModePrecheckResultParams) SetHTTPClient added in v2.14.0

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

SetHTTPClient adds the HTTPClient to the enter maintenance mode precheck result params

func (*EnterMaintenanceModePrecheckResultParams) SetRequestBody added in v2.14.0

SetRequestBody adds the requestBody to the enter maintenance mode precheck result params

func (*EnterMaintenanceModePrecheckResultParams) SetTimeout added in v2.14.0

SetTimeout adds the timeout to the enter maintenance mode precheck result params

func (*EnterMaintenanceModePrecheckResultParams) WithContentLanguage added in v2.14.0

WithContentLanguage adds the contentLanguage to the enter maintenance mode precheck result params

func (*EnterMaintenanceModePrecheckResultParams) WithContext added in v2.14.0

WithContext adds the context to the enter maintenance mode precheck result params

func (*EnterMaintenanceModePrecheckResultParams) WithDefaults added in v2.14.0

WithDefaults hydrates default values in the enter maintenance mode precheck result params (not the query body).

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

func (*EnterMaintenanceModePrecheckResultParams) WithHTTPClient added in v2.14.0

WithHTTPClient adds the HTTPClient to the enter maintenance mode precheck result params

func (*EnterMaintenanceModePrecheckResultParams) WithRequestBody added in v2.14.0

WithRequestBody adds the requestBody to the enter maintenance mode precheck result params

func (*EnterMaintenanceModePrecheckResultParams) WithTimeout added in v2.14.0

WithTimeout adds the timeout to the enter maintenance mode precheck result params

func (*EnterMaintenanceModePrecheckResultParams) WriteToRequest added in v2.14.0

WriteToRequest writes these params to a swagger request

type EnterMaintenanceModePrecheckResultReader added in v2.14.0

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

EnterMaintenanceModePrecheckResultReader is a Reader for the EnterMaintenanceModePrecheckResult structure.

func (*EnterMaintenanceModePrecheckResultReader) ReadResponse added in v2.14.0

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

ReadResponse reads a server response into the received o.

type EnterMaintenanceModeReader added in v2.14.0

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

EnterMaintenanceModeReader is a Reader for the EnterMaintenanceMode structure.

func (*EnterMaintenanceModeReader) ReadResponse added in v2.14.0

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

ReadResponse reads a server response into the received o.

type ExitMaintenanceModeBadRequest added in v2.14.0

type ExitMaintenanceModeBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExitMaintenanceModeBadRequest describes a response with status code 400, with default header values.

Bad request

func NewExitMaintenanceModeBadRequest added in v2.14.0

func NewExitMaintenanceModeBadRequest() *ExitMaintenanceModeBadRequest

NewExitMaintenanceModeBadRequest creates a ExitMaintenanceModeBadRequest with default headers values

func (*ExitMaintenanceModeBadRequest) Error added in v2.14.0

func (*ExitMaintenanceModeBadRequest) GetPayload added in v2.14.0

type ExitMaintenanceModeInternalServerError added in v2.14.0

type ExitMaintenanceModeInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExitMaintenanceModeInternalServerError describes a response with status code 500, with default header values.

Server error

func NewExitMaintenanceModeInternalServerError added in v2.14.0

func NewExitMaintenanceModeInternalServerError() *ExitMaintenanceModeInternalServerError

NewExitMaintenanceModeInternalServerError creates a ExitMaintenanceModeInternalServerError with default headers values

func (*ExitMaintenanceModeInternalServerError) Error added in v2.14.0

func (*ExitMaintenanceModeInternalServerError) GetPayload added in v2.14.0

type ExitMaintenanceModeNotFound added in v2.14.0

type ExitMaintenanceModeNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExitMaintenanceModeNotFound describes a response with status code 404, with default header values.

Not found

func NewExitMaintenanceModeNotFound added in v2.14.0

func NewExitMaintenanceModeNotFound() *ExitMaintenanceModeNotFound

NewExitMaintenanceModeNotFound creates a ExitMaintenanceModeNotFound with default headers values

func (*ExitMaintenanceModeNotFound) Error added in v2.14.0

func (*ExitMaintenanceModeNotFound) GetPayload added in v2.14.0

func (o *ExitMaintenanceModeNotFound) GetPayload() *models.ErrorBody

type ExitMaintenanceModeOK added in v2.14.0

type ExitMaintenanceModeOK struct {
	XTowerRequestID string

	Payload *models.WithTaskHost
}
ExitMaintenanceModeOK describes a response with status code 200, with default header values.

ExitMaintenanceModeOK exit maintenance mode o k

func NewExitMaintenanceModeOK added in v2.14.0

func NewExitMaintenanceModeOK() *ExitMaintenanceModeOK

NewExitMaintenanceModeOK creates a ExitMaintenanceModeOK with default headers values

func (*ExitMaintenanceModeOK) Error added in v2.14.0

func (o *ExitMaintenanceModeOK) Error() string

func (*ExitMaintenanceModeOK) GetPayload added in v2.14.0

func (o *ExitMaintenanceModeOK) GetPayload() *models.WithTaskHost

type ExitMaintenanceModeParams added in v2.14.0

type ExitMaintenanceModeParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ExitMaintenanceModeParams

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

ExitMaintenanceModeParams contains all the parameters to send to the API endpoint

for the exit maintenance mode operation.

Typically these are written to a http.Request.

func NewExitMaintenanceModeParams added in v2.14.0

func NewExitMaintenanceModeParams() *ExitMaintenanceModeParams

NewExitMaintenanceModeParams creates a new ExitMaintenanceModeParams 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 NewExitMaintenanceModeParamsWithContext added in v2.14.0

func NewExitMaintenanceModeParamsWithContext(ctx context.Context) *ExitMaintenanceModeParams

NewExitMaintenanceModeParamsWithContext creates a new ExitMaintenanceModeParams object with the ability to set a context for a request.

func NewExitMaintenanceModeParamsWithHTTPClient added in v2.14.0

func NewExitMaintenanceModeParamsWithHTTPClient(client *http.Client) *ExitMaintenanceModeParams

NewExitMaintenanceModeParamsWithHTTPClient creates a new ExitMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.

func NewExitMaintenanceModeParamsWithTimeout added in v2.14.0

func NewExitMaintenanceModeParamsWithTimeout(timeout time.Duration) *ExitMaintenanceModeParams

NewExitMaintenanceModeParamsWithTimeout creates a new ExitMaintenanceModeParams object with the ability to set a timeout on a request.

func (*ExitMaintenanceModeParams) SetContentLanguage added in v2.14.0

func (o *ExitMaintenanceModeParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the exit maintenance mode params

func (*ExitMaintenanceModeParams) SetContext added in v2.14.0

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

SetContext adds the context to the exit maintenance mode params

func (*ExitMaintenanceModeParams) SetDefaults added in v2.14.0

func (o *ExitMaintenanceModeParams) SetDefaults()

SetDefaults hydrates default values in the exit maintenance mode params (not the query body).

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

func (*ExitMaintenanceModeParams) SetHTTPClient added in v2.14.0

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

SetHTTPClient adds the HTTPClient to the exit maintenance mode params

func (*ExitMaintenanceModeParams) SetRequestBody added in v2.14.0

func (o *ExitMaintenanceModeParams) SetRequestBody(requestBody *models.ExitMaintenanceModeParams)

SetRequestBody adds the requestBody to the exit maintenance mode params

func (*ExitMaintenanceModeParams) SetTimeout added in v2.14.0

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

SetTimeout adds the timeout to the exit maintenance mode params

func (*ExitMaintenanceModeParams) WithContentLanguage added in v2.14.0

func (o *ExitMaintenanceModeParams) WithContentLanguage(contentLanguage *string) *ExitMaintenanceModeParams

WithContentLanguage adds the contentLanguage to the exit maintenance mode params

func (*ExitMaintenanceModeParams) WithContext added in v2.14.0

WithContext adds the context to the exit maintenance mode params

func (*ExitMaintenanceModeParams) WithDefaults added in v2.14.0

WithDefaults hydrates default values in the exit maintenance mode params (not the query body).

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

func (*ExitMaintenanceModeParams) WithHTTPClient added in v2.14.0

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

WithHTTPClient adds the HTTPClient to the exit maintenance mode params

func (*ExitMaintenanceModeParams) WithRequestBody added in v2.14.0

WithRequestBody adds the requestBody to the exit maintenance mode params

func (*ExitMaintenanceModeParams) WithTimeout added in v2.14.0

WithTimeout adds the timeout to the exit maintenance mode params

func (*ExitMaintenanceModeParams) WriteToRequest added in v2.14.0

WriteToRequest writes these params to a swagger request

type ExitMaintenanceModePrecheckResultBadRequest added in v2.14.0

type ExitMaintenanceModePrecheckResultBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExitMaintenanceModePrecheckResultBadRequest describes a response with status code 400, with default header values.

Bad request

func NewExitMaintenanceModePrecheckResultBadRequest added in v2.14.0

func NewExitMaintenanceModePrecheckResultBadRequest() *ExitMaintenanceModePrecheckResultBadRequest

NewExitMaintenanceModePrecheckResultBadRequest creates a ExitMaintenanceModePrecheckResultBadRequest with default headers values

func (*ExitMaintenanceModePrecheckResultBadRequest) Error added in v2.14.0

func (*ExitMaintenanceModePrecheckResultBadRequest) GetPayload added in v2.14.0

type ExitMaintenanceModePrecheckResultInternalServerError added in v2.14.0

type ExitMaintenanceModePrecheckResultInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExitMaintenanceModePrecheckResultInternalServerError describes a response with status code 500, with default header values.

Server error

func NewExitMaintenanceModePrecheckResultInternalServerError added in v2.14.0

func NewExitMaintenanceModePrecheckResultInternalServerError() *ExitMaintenanceModePrecheckResultInternalServerError

NewExitMaintenanceModePrecheckResultInternalServerError creates a ExitMaintenanceModePrecheckResultInternalServerError with default headers values

func (*ExitMaintenanceModePrecheckResultInternalServerError) Error added in v2.14.0

func (*ExitMaintenanceModePrecheckResultInternalServerError) GetPayload added in v2.14.0

type ExitMaintenanceModePrecheckResultNotFound added in v2.14.0

type ExitMaintenanceModePrecheckResultNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
ExitMaintenanceModePrecheckResultNotFound describes a response with status code 404, with default header values.

Not found

func NewExitMaintenanceModePrecheckResultNotFound added in v2.14.0

func NewExitMaintenanceModePrecheckResultNotFound() *ExitMaintenanceModePrecheckResultNotFound

NewExitMaintenanceModePrecheckResultNotFound creates a ExitMaintenanceModePrecheckResultNotFound with default headers values

func (*ExitMaintenanceModePrecheckResultNotFound) Error added in v2.14.0

func (*ExitMaintenanceModePrecheckResultNotFound) GetPayload added in v2.14.0

type ExitMaintenanceModePrecheckResultOK added in v2.14.0

type ExitMaintenanceModePrecheckResultOK struct {
	XTowerRequestID string

	Payload *models.ExitMaintenanceModeResult
}
ExitMaintenanceModePrecheckResultOK describes a response with status code 200, with default header values.

ExitMaintenanceModePrecheckResultOK exit maintenance mode precheck result o k

func NewExitMaintenanceModePrecheckResultOK added in v2.14.0

func NewExitMaintenanceModePrecheckResultOK() *ExitMaintenanceModePrecheckResultOK

NewExitMaintenanceModePrecheckResultOK creates a ExitMaintenanceModePrecheckResultOK with default headers values

func (*ExitMaintenanceModePrecheckResultOK) Error added in v2.14.0

func (*ExitMaintenanceModePrecheckResultOK) GetPayload added in v2.14.0

type ExitMaintenanceModePrecheckResultParams added in v2.14.0

type ExitMaintenanceModePrecheckResultParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ExitMaintenanceModeResultParams

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

ExitMaintenanceModePrecheckResultParams contains all the parameters to send to the API endpoint

for the exit maintenance mode precheck result operation.

Typically these are written to a http.Request.

func NewExitMaintenanceModePrecheckResultParams added in v2.14.0

func NewExitMaintenanceModePrecheckResultParams() *ExitMaintenanceModePrecheckResultParams

NewExitMaintenanceModePrecheckResultParams creates a new ExitMaintenanceModePrecheckResultParams 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 NewExitMaintenanceModePrecheckResultParamsWithContext added in v2.14.0

func NewExitMaintenanceModePrecheckResultParamsWithContext(ctx context.Context) *ExitMaintenanceModePrecheckResultParams

NewExitMaintenanceModePrecheckResultParamsWithContext creates a new ExitMaintenanceModePrecheckResultParams object with the ability to set a context for a request.

func NewExitMaintenanceModePrecheckResultParamsWithHTTPClient added in v2.14.0

func NewExitMaintenanceModePrecheckResultParamsWithHTTPClient(client *http.Client) *ExitMaintenanceModePrecheckResultParams

NewExitMaintenanceModePrecheckResultParamsWithHTTPClient creates a new ExitMaintenanceModePrecheckResultParams object with the ability to set a custom HTTPClient for a request.

func NewExitMaintenanceModePrecheckResultParamsWithTimeout added in v2.14.0

func NewExitMaintenanceModePrecheckResultParamsWithTimeout(timeout time.Duration) *ExitMaintenanceModePrecheckResultParams

NewExitMaintenanceModePrecheckResultParamsWithTimeout creates a new ExitMaintenanceModePrecheckResultParams object with the ability to set a timeout on a request.

func (*ExitMaintenanceModePrecheckResultParams) SetContentLanguage added in v2.14.0

func (o *ExitMaintenanceModePrecheckResultParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the exit maintenance mode precheck result params

func (*ExitMaintenanceModePrecheckResultParams) SetContext added in v2.14.0

SetContext adds the context to the exit maintenance mode precheck result params

func (*ExitMaintenanceModePrecheckResultParams) SetDefaults added in v2.14.0

func (o *ExitMaintenanceModePrecheckResultParams) SetDefaults()

SetDefaults hydrates default values in the exit maintenance mode precheck result params (not the query body).

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

func (*ExitMaintenanceModePrecheckResultParams) SetHTTPClient added in v2.14.0

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

SetHTTPClient adds the HTTPClient to the exit maintenance mode precheck result params

func (*ExitMaintenanceModePrecheckResultParams) SetRequestBody added in v2.14.0

SetRequestBody adds the requestBody to the exit maintenance mode precheck result params

func (*ExitMaintenanceModePrecheckResultParams) SetTimeout added in v2.14.0

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

SetTimeout adds the timeout to the exit maintenance mode precheck result params

func (*ExitMaintenanceModePrecheckResultParams) WithContentLanguage added in v2.14.0

WithContentLanguage adds the contentLanguage to the exit maintenance mode precheck result params

func (*ExitMaintenanceModePrecheckResultParams) WithContext added in v2.14.0

WithContext adds the context to the exit maintenance mode precheck result params

func (*ExitMaintenanceModePrecheckResultParams) WithDefaults added in v2.14.0

WithDefaults hydrates default values in the exit maintenance mode precheck result params (not the query body).

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

func (*ExitMaintenanceModePrecheckResultParams) WithHTTPClient added in v2.14.0

WithHTTPClient adds the HTTPClient to the exit maintenance mode precheck result params

func (*ExitMaintenanceModePrecheckResultParams) WithRequestBody added in v2.14.0

WithRequestBody adds the requestBody to the exit maintenance mode precheck result params

func (*ExitMaintenanceModePrecheckResultParams) WithTimeout added in v2.14.0

WithTimeout adds the timeout to the exit maintenance mode precheck result params

func (*ExitMaintenanceModePrecheckResultParams) WriteToRequest added in v2.14.0

WriteToRequest writes these params to a swagger request

type ExitMaintenanceModePrecheckResultReader added in v2.14.0

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

ExitMaintenanceModePrecheckResultReader is a Reader for the ExitMaintenanceModePrecheckResult structure.

func (*ExitMaintenanceModePrecheckResultReader) ReadResponse added in v2.14.0

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

ReadResponse reads a server response into the received o.

type ExitMaintenanceModeReader added in v2.14.0

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

ExitMaintenanceModeReader is a Reader for the ExitMaintenanceMode structure.

func (*ExitMaintenanceModeReader) ReadResponse added in v2.14.0

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

ReadResponse reads a server response into the received o.

type GetHostsBadRequest

type GetHostsBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetHostsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetHostsBadRequest

func NewGetHostsBadRequest() *GetHostsBadRequest

NewGetHostsBadRequest creates a GetHostsBadRequest with default headers values

func (*GetHostsBadRequest) Error

func (o *GetHostsBadRequest) Error() string

func (*GetHostsBadRequest) GetPayload

func (o *GetHostsBadRequest) GetPayload() *models.ErrorBody

type GetHostsConnectionBadRequest

type GetHostsConnectionBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetHostsConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetHostsConnectionBadRequest

func NewGetHostsConnectionBadRequest() *GetHostsConnectionBadRequest

NewGetHostsConnectionBadRequest creates a GetHostsConnectionBadRequest with default headers values

func (*GetHostsConnectionBadRequest) Error

func (*GetHostsConnectionBadRequest) GetPayload

type GetHostsConnectionInternalServerError

type GetHostsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetHostsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetHostsConnectionInternalServerError

func NewGetHostsConnectionInternalServerError() *GetHostsConnectionInternalServerError

NewGetHostsConnectionInternalServerError creates a GetHostsConnectionInternalServerError with default headers values

func (*GetHostsConnectionInternalServerError) Error

func (*GetHostsConnectionInternalServerError) GetPayload

type GetHostsConnectionNotFound

type GetHostsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetHostsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetHostsConnectionNotFound

func NewGetHostsConnectionNotFound() *GetHostsConnectionNotFound

NewGetHostsConnectionNotFound creates a GetHostsConnectionNotFound with default headers values

func (*GetHostsConnectionNotFound) Error

func (*GetHostsConnectionNotFound) GetPayload

func (o *GetHostsConnectionNotFound) GetPayload() *models.ErrorBody

type GetHostsConnectionOK

type GetHostsConnectionOK struct {
	XTowerRequestID string

	Payload *models.HostConnection
}
GetHostsConnectionOK describes a response with status code 200, with default header values.

GetHostsConnectionOK get hosts connection o k

func NewGetHostsConnectionOK

func NewGetHostsConnectionOK() *GetHostsConnectionOK

NewGetHostsConnectionOK creates a GetHostsConnectionOK with default headers values

func (*GetHostsConnectionOK) Error

func (o *GetHostsConnectionOK) Error() string

func (*GetHostsConnectionOK) GetPayload

func (o *GetHostsConnectionOK) GetPayload() *models.HostConnection

type GetHostsConnectionParams

type GetHostsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetHostsConnectionRequestBody

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

GetHostsConnectionParams contains all the parameters to send to the API endpoint

for the get hosts connection operation.

Typically these are written to a http.Request.

func NewGetHostsConnectionParams

func NewGetHostsConnectionParams() *GetHostsConnectionParams

NewGetHostsConnectionParams creates a new GetHostsConnectionParams 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 NewGetHostsConnectionParamsWithContext

func NewGetHostsConnectionParamsWithContext(ctx context.Context) *GetHostsConnectionParams

NewGetHostsConnectionParamsWithContext creates a new GetHostsConnectionParams object with the ability to set a context for a request.

func NewGetHostsConnectionParamsWithHTTPClient

func NewGetHostsConnectionParamsWithHTTPClient(client *http.Client) *GetHostsConnectionParams

NewGetHostsConnectionParamsWithHTTPClient creates a new GetHostsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetHostsConnectionParamsWithTimeout

func NewGetHostsConnectionParamsWithTimeout(timeout time.Duration) *GetHostsConnectionParams

NewGetHostsConnectionParamsWithTimeout creates a new GetHostsConnectionParams object with the ability to set a timeout on a request.

func (*GetHostsConnectionParams) SetContentLanguage

func (o *GetHostsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get hosts connection params

func (*GetHostsConnectionParams) SetContext

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

SetContext adds the context to the get hosts connection params

func (*GetHostsConnectionParams) SetDefaults

func (o *GetHostsConnectionParams) SetDefaults()

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

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

func (*GetHostsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get hosts connection params

func (*GetHostsConnectionParams) SetRequestBody

func (o *GetHostsConnectionParams) SetRequestBody(requestBody *models.GetHostsConnectionRequestBody)

SetRequestBody adds the requestBody to the get hosts connection params

func (*GetHostsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get hosts connection params

func (*GetHostsConnectionParams) WithContentLanguage

func (o *GetHostsConnectionParams) WithContentLanguage(contentLanguage *string) *GetHostsConnectionParams

WithContentLanguage adds the contentLanguage to the get hosts connection params

func (*GetHostsConnectionParams) WithContext

WithContext adds the context to the get hosts connection params

func (*GetHostsConnectionParams) WithDefaults

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

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

func (*GetHostsConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get hosts connection params

func (*GetHostsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get hosts connection params

func (*GetHostsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get hosts connection params

func (*GetHostsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHostsConnectionReader

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

GetHostsConnectionReader is a Reader for the GetHostsConnection structure.

func (*GetHostsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHostsInternalServerError

type GetHostsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetHostsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetHostsInternalServerError

func NewGetHostsInternalServerError() *GetHostsInternalServerError

NewGetHostsInternalServerError creates a GetHostsInternalServerError with default headers values

func (*GetHostsInternalServerError) Error

func (*GetHostsInternalServerError) GetPayload

func (o *GetHostsInternalServerError) GetPayload() *models.ErrorBody

type GetHostsNotFound

type GetHostsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetHostsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetHostsNotFound

func NewGetHostsNotFound() *GetHostsNotFound

NewGetHostsNotFound creates a GetHostsNotFound with default headers values

func (*GetHostsNotFound) Error

func (o *GetHostsNotFound) Error() string

func (*GetHostsNotFound) GetPayload

func (o *GetHostsNotFound) GetPayload() *models.ErrorBody

type GetHostsOK

type GetHostsOK struct {
	XTowerRequestID string

	Payload []*models.Host
}
GetHostsOK describes a response with status code 200, with default header values.

GetHostsOK get hosts o k

func NewGetHostsOK

func NewGetHostsOK() *GetHostsOK

NewGetHostsOK creates a GetHostsOK with default headers values

func (*GetHostsOK) Error

func (o *GetHostsOK) Error() string

func (*GetHostsOK) GetPayload

func (o *GetHostsOK) GetPayload() []*models.Host

type GetHostsParams

type GetHostsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetHostsRequestBody

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

GetHostsParams contains all the parameters to send to the API endpoint

for the get hosts operation.

Typically these are written to a http.Request.

func NewGetHostsParams

func NewGetHostsParams() *GetHostsParams

NewGetHostsParams creates a new GetHostsParams 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 NewGetHostsParamsWithContext

func NewGetHostsParamsWithContext(ctx context.Context) *GetHostsParams

NewGetHostsParamsWithContext creates a new GetHostsParams object with the ability to set a context for a request.

func NewGetHostsParamsWithHTTPClient

func NewGetHostsParamsWithHTTPClient(client *http.Client) *GetHostsParams

NewGetHostsParamsWithHTTPClient creates a new GetHostsParams object with the ability to set a custom HTTPClient for a request.

func NewGetHostsParamsWithTimeout

func NewGetHostsParamsWithTimeout(timeout time.Duration) *GetHostsParams

NewGetHostsParamsWithTimeout creates a new GetHostsParams object with the ability to set a timeout on a request.

func (*GetHostsParams) SetContentLanguage

func (o *GetHostsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get hosts params

func (*GetHostsParams) SetContext

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

SetContext adds the context to the get hosts params

func (*GetHostsParams) SetDefaults

func (o *GetHostsParams) SetDefaults()

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

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

func (*GetHostsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get hosts params

func (*GetHostsParams) SetRequestBody

func (o *GetHostsParams) SetRequestBody(requestBody *models.GetHostsRequestBody)

SetRequestBody adds the requestBody to the get hosts params

func (*GetHostsParams) SetTimeout

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

SetTimeout adds the timeout to the get hosts params

func (*GetHostsParams) WithContentLanguage

func (o *GetHostsParams) WithContentLanguage(contentLanguage *string) *GetHostsParams

WithContentLanguage adds the contentLanguage to the get hosts params

func (*GetHostsParams) WithContext

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

WithContext adds the context to the get hosts params

func (*GetHostsParams) WithDefaults

func (o *GetHostsParams) WithDefaults() *GetHostsParams

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

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

func (*GetHostsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get hosts params

func (*GetHostsParams) WithRequestBody

func (o *GetHostsParams) WithRequestBody(requestBody *models.GetHostsRequestBody) *GetHostsParams

WithRequestBody adds the requestBody to the get hosts params

func (*GetHostsParams) WithTimeout

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

WithTimeout adds the timeout to the get hosts params

func (*GetHostsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetHostsReader

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

GetHostsReader is a Reader for the GetHosts structure.

func (*GetHostsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PowerOffHostBadRequest added in v2.14.0

type PowerOffHostBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
PowerOffHostBadRequest describes a response with status code 400, with default header values.

Bad request

func NewPowerOffHostBadRequest added in v2.14.0

func NewPowerOffHostBadRequest() *PowerOffHostBadRequest

NewPowerOffHostBadRequest creates a PowerOffHostBadRequest with default headers values

func (*PowerOffHostBadRequest) Error added in v2.14.0

func (o *PowerOffHostBadRequest) Error() string

func (*PowerOffHostBadRequest) GetPayload added in v2.14.0

func (o *PowerOffHostBadRequest) GetPayload() *models.ErrorBody

type PowerOffHostInternalServerError added in v2.14.0

type PowerOffHostInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
PowerOffHostInternalServerError describes a response with status code 500, with default header values.

Server error

func NewPowerOffHostInternalServerError added in v2.14.0

func NewPowerOffHostInternalServerError() *PowerOffHostInternalServerError

NewPowerOffHostInternalServerError creates a PowerOffHostInternalServerError with default headers values

func (*PowerOffHostInternalServerError) Error added in v2.14.0

func (*PowerOffHostInternalServerError) GetPayload added in v2.14.0

type PowerOffHostNotFound added in v2.14.0

type PowerOffHostNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
PowerOffHostNotFound describes a response with status code 404, with default header values.

Not found

func NewPowerOffHostNotFound added in v2.14.0

func NewPowerOffHostNotFound() *PowerOffHostNotFound

NewPowerOffHostNotFound creates a PowerOffHostNotFound with default headers values

func (*PowerOffHostNotFound) Error added in v2.14.0

func (o *PowerOffHostNotFound) Error() string

func (*PowerOffHostNotFound) GetPayload added in v2.14.0

func (o *PowerOffHostNotFound) GetPayload() *models.ErrorBody

type PowerOffHostOK added in v2.14.0

type PowerOffHostOK struct {
	XTowerRequestID string

	Payload *models.WithTaskHost
}
PowerOffHostOK describes a response with status code 200, with default header values.

PowerOffHostOK power off host o k

func NewPowerOffHostOK added in v2.14.0

func NewPowerOffHostOK() *PowerOffHostOK

NewPowerOffHostOK creates a PowerOffHostOK with default headers values

func (*PowerOffHostOK) Error added in v2.14.0

func (o *PowerOffHostOK) Error() string

func (*PowerOffHostOK) GetPayload added in v2.14.0

func (o *PowerOffHostOK) GetPayload() *models.WithTaskHost

type PowerOffHostParams added in v2.14.0

type PowerOffHostParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.OperateHostPowerParams

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

PowerOffHostParams contains all the parameters to send to the API endpoint

for the power off host operation.

Typically these are written to a http.Request.

func NewPowerOffHostParams added in v2.14.0

func NewPowerOffHostParams() *PowerOffHostParams

NewPowerOffHostParams creates a new PowerOffHostParams 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 NewPowerOffHostParamsWithContext added in v2.14.0

func NewPowerOffHostParamsWithContext(ctx context.Context) *PowerOffHostParams

NewPowerOffHostParamsWithContext creates a new PowerOffHostParams object with the ability to set a context for a request.

func NewPowerOffHostParamsWithHTTPClient added in v2.14.0

func NewPowerOffHostParamsWithHTTPClient(client *http.Client) *PowerOffHostParams

NewPowerOffHostParamsWithHTTPClient creates a new PowerOffHostParams object with the ability to set a custom HTTPClient for a request.

func NewPowerOffHostParamsWithTimeout added in v2.14.0

func NewPowerOffHostParamsWithTimeout(timeout time.Duration) *PowerOffHostParams

NewPowerOffHostParamsWithTimeout creates a new PowerOffHostParams object with the ability to set a timeout on a request.

func (*PowerOffHostParams) SetContentLanguage added in v2.14.0

func (o *PowerOffHostParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the power off host params

func (*PowerOffHostParams) SetContext added in v2.14.0

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

SetContext adds the context to the power off host params

func (*PowerOffHostParams) SetDefaults added in v2.14.0

func (o *PowerOffHostParams) SetDefaults()

SetDefaults hydrates default values in the power off host params (not the query body).

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

func (*PowerOffHostParams) SetHTTPClient added in v2.14.0

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

SetHTTPClient adds the HTTPClient to the power off host params

func (*PowerOffHostParams) SetRequestBody added in v2.14.0

func (o *PowerOffHostParams) SetRequestBody(requestBody *models.OperateHostPowerParams)

SetRequestBody adds the requestBody to the power off host params

func (*PowerOffHostParams) SetTimeout added in v2.14.0

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

SetTimeout adds the timeout to the power off host params

func (*PowerOffHostParams) WithContentLanguage added in v2.14.0

func (o *PowerOffHostParams) WithContentLanguage(contentLanguage *string) *PowerOffHostParams

WithContentLanguage adds the contentLanguage to the power off host params

func (*PowerOffHostParams) WithContext added in v2.14.0

WithContext adds the context to the power off host params

func (*PowerOffHostParams) WithDefaults added in v2.14.0

func (o *PowerOffHostParams) WithDefaults() *PowerOffHostParams

WithDefaults hydrates default values in the power off host params (not the query body).

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

func (*PowerOffHostParams) WithHTTPClient added in v2.14.0

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

WithHTTPClient adds the HTTPClient to the power off host params

func (*PowerOffHostParams) WithRequestBody added in v2.14.0

func (o *PowerOffHostParams) WithRequestBody(requestBody *models.OperateHostPowerParams) *PowerOffHostParams

WithRequestBody adds the requestBody to the power off host params

func (*PowerOffHostParams) WithTimeout added in v2.14.0

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

WithTimeout adds the timeout to the power off host params

func (*PowerOffHostParams) WriteToRequest added in v2.14.0

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

WriteToRequest writes these params to a swagger request

type PowerOffHostReader added in v2.14.0

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

PowerOffHostReader is a Reader for the PowerOffHost structure.

func (*PowerOffHostReader) ReadResponse added in v2.14.0

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

ReadResponse reads a server response into the received o.

type TriggerDiskBlinkBadRequest

type TriggerDiskBlinkBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
TriggerDiskBlinkBadRequest describes a response with status code 400, with default header values.

Bad request

func NewTriggerDiskBlinkBadRequest

func NewTriggerDiskBlinkBadRequest() *TriggerDiskBlinkBadRequest

NewTriggerDiskBlinkBadRequest creates a TriggerDiskBlinkBadRequest with default headers values

func (*TriggerDiskBlinkBadRequest) Error

func (*TriggerDiskBlinkBadRequest) GetPayload

func (o *TriggerDiskBlinkBadRequest) GetPayload() *models.ErrorBody

type TriggerDiskBlinkInternalServerError

type TriggerDiskBlinkInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
TriggerDiskBlinkInternalServerError describes a response with status code 500, with default header values.

Server error

func NewTriggerDiskBlinkInternalServerError

func NewTriggerDiskBlinkInternalServerError() *TriggerDiskBlinkInternalServerError

NewTriggerDiskBlinkInternalServerError creates a TriggerDiskBlinkInternalServerError with default headers values

func (*TriggerDiskBlinkInternalServerError) Error

func (*TriggerDiskBlinkInternalServerError) GetPayload

type TriggerDiskBlinkNotFound

type TriggerDiskBlinkNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
TriggerDiskBlinkNotFound describes a response with status code 404, with default header values.

Not found

func NewTriggerDiskBlinkNotFound

func NewTriggerDiskBlinkNotFound() *TriggerDiskBlinkNotFound

NewTriggerDiskBlinkNotFound creates a TriggerDiskBlinkNotFound with default headers values

func (*TriggerDiskBlinkNotFound) Error

func (o *TriggerDiskBlinkNotFound) Error() string

func (*TriggerDiskBlinkNotFound) GetPayload

func (o *TriggerDiskBlinkNotFound) GetPayload() *models.ErrorBody

type TriggerDiskBlinkOK

type TriggerDiskBlinkOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskHost
}
TriggerDiskBlinkOK describes a response with status code 200, with default header values.

TriggerDiskBlinkOK trigger disk blink o k

func NewTriggerDiskBlinkOK

func NewTriggerDiskBlinkOK() *TriggerDiskBlinkOK

NewTriggerDiskBlinkOK creates a TriggerDiskBlinkOK with default headers values

func (*TriggerDiskBlinkOK) Error

func (o *TriggerDiskBlinkOK) Error() string

func (*TriggerDiskBlinkOK) GetPayload

func (o *TriggerDiskBlinkOK) GetPayload() []*models.WithTaskHost

type TriggerDiskBlinkParams

type TriggerDiskBlinkParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.TriggerDiskBlinkParams

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

TriggerDiskBlinkParams contains all the parameters to send to the API endpoint

for the trigger disk blink operation.

Typically these are written to a http.Request.

func NewTriggerDiskBlinkParams

func NewTriggerDiskBlinkParams() *TriggerDiskBlinkParams

NewTriggerDiskBlinkParams creates a new TriggerDiskBlinkParams 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 NewTriggerDiskBlinkParamsWithContext

func NewTriggerDiskBlinkParamsWithContext(ctx context.Context) *TriggerDiskBlinkParams

NewTriggerDiskBlinkParamsWithContext creates a new TriggerDiskBlinkParams object with the ability to set a context for a request.

func NewTriggerDiskBlinkParamsWithHTTPClient

func NewTriggerDiskBlinkParamsWithHTTPClient(client *http.Client) *TriggerDiskBlinkParams

NewTriggerDiskBlinkParamsWithHTTPClient creates a new TriggerDiskBlinkParams object with the ability to set a custom HTTPClient for a request.

func NewTriggerDiskBlinkParamsWithTimeout

func NewTriggerDiskBlinkParamsWithTimeout(timeout time.Duration) *TriggerDiskBlinkParams

NewTriggerDiskBlinkParamsWithTimeout creates a new TriggerDiskBlinkParams object with the ability to set a timeout on a request.

func (*TriggerDiskBlinkParams) SetContentLanguage

func (o *TriggerDiskBlinkParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the trigger disk blink params

func (*TriggerDiskBlinkParams) SetContext

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

SetContext adds the context to the trigger disk blink params

func (*TriggerDiskBlinkParams) SetDefaults

func (o *TriggerDiskBlinkParams) SetDefaults()

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

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

func (*TriggerDiskBlinkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the trigger disk blink params

func (*TriggerDiskBlinkParams) SetRequestBody

func (o *TriggerDiskBlinkParams) SetRequestBody(requestBody []*models.TriggerDiskBlinkParams)

SetRequestBody adds the requestBody to the trigger disk blink params

func (*TriggerDiskBlinkParams) SetTimeout

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

SetTimeout adds the timeout to the trigger disk blink params

func (*TriggerDiskBlinkParams) WithContentLanguage

func (o *TriggerDiskBlinkParams) WithContentLanguage(contentLanguage *string) *TriggerDiskBlinkParams

WithContentLanguage adds the contentLanguage to the trigger disk blink params

func (*TriggerDiskBlinkParams) WithContext

WithContext adds the context to the trigger disk blink params

func (*TriggerDiskBlinkParams) WithDefaults

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

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

func (*TriggerDiskBlinkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the trigger disk blink params

func (*TriggerDiskBlinkParams) WithRequestBody

func (o *TriggerDiskBlinkParams) WithRequestBody(requestBody []*models.TriggerDiskBlinkParams) *TriggerDiskBlinkParams

WithRequestBody adds the requestBody to the trigger disk blink params

func (*TriggerDiskBlinkParams) WithTimeout

WithTimeout adds the timeout to the trigger disk blink params

func (*TriggerDiskBlinkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TriggerDiskBlinkReader

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

TriggerDiskBlinkReader is a Reader for the TriggerDiskBlink structure.

func (*TriggerDiskBlinkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateHostBadRequest

type UpdateHostBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateHostBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateHostBadRequest

func NewUpdateHostBadRequest() *UpdateHostBadRequest

NewUpdateHostBadRequest creates a UpdateHostBadRequest with default headers values

func (*UpdateHostBadRequest) Error

func (o *UpdateHostBadRequest) Error() string

func (*UpdateHostBadRequest) GetPayload

func (o *UpdateHostBadRequest) GetPayload() *models.ErrorBody

type UpdateHostInternalServerError

type UpdateHostInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateHostInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateHostInternalServerError

func NewUpdateHostInternalServerError() *UpdateHostInternalServerError

NewUpdateHostInternalServerError creates a UpdateHostInternalServerError with default headers values

func (*UpdateHostInternalServerError) Error

func (*UpdateHostInternalServerError) GetPayload

type UpdateHostNotFound

type UpdateHostNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateHostNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateHostNotFound

func NewUpdateHostNotFound() *UpdateHostNotFound

NewUpdateHostNotFound creates a UpdateHostNotFound with default headers values

func (*UpdateHostNotFound) Error

func (o *UpdateHostNotFound) Error() string

func (*UpdateHostNotFound) GetPayload

func (o *UpdateHostNotFound) GetPayload() *models.ErrorBody

type UpdateHostOK

type UpdateHostOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskHost
}
UpdateHostOK describes a response with status code 200, with default header values.

UpdateHostOK update host o k

func NewUpdateHostOK

func NewUpdateHostOK() *UpdateHostOK

NewUpdateHostOK creates a UpdateHostOK with default headers values

func (*UpdateHostOK) Error

func (o *UpdateHostOK) Error() string

func (*UpdateHostOK) GetPayload

func (o *UpdateHostOK) GetPayload() []*models.WithTaskHost

type UpdateHostParams

type UpdateHostParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.HostUpdationParams

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

UpdateHostParams contains all the parameters to send to the API endpoint

for the update host operation.

Typically these are written to a http.Request.

func NewUpdateHostParams

func NewUpdateHostParams() *UpdateHostParams

NewUpdateHostParams creates a new UpdateHostParams 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 NewUpdateHostParamsWithContext

func NewUpdateHostParamsWithContext(ctx context.Context) *UpdateHostParams

NewUpdateHostParamsWithContext creates a new UpdateHostParams object with the ability to set a context for a request.

func NewUpdateHostParamsWithHTTPClient

func NewUpdateHostParamsWithHTTPClient(client *http.Client) *UpdateHostParams

NewUpdateHostParamsWithHTTPClient creates a new UpdateHostParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateHostParamsWithTimeout

func NewUpdateHostParamsWithTimeout(timeout time.Duration) *UpdateHostParams

NewUpdateHostParamsWithTimeout creates a new UpdateHostParams object with the ability to set a timeout on a request.

func (*UpdateHostParams) SetContentLanguage

func (o *UpdateHostParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update host params

func (*UpdateHostParams) SetContext

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

SetContext adds the context to the update host params

func (*UpdateHostParams) SetDefaults

func (o *UpdateHostParams) SetDefaults()

SetDefaults hydrates default values in the update host params (not the query body).

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

func (*UpdateHostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update host params

func (*UpdateHostParams) SetRequestBody

func (o *UpdateHostParams) SetRequestBody(requestBody *models.HostUpdationParams)

SetRequestBody adds the requestBody to the update host params

func (*UpdateHostParams) SetTimeout

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

SetTimeout adds the timeout to the update host params

func (*UpdateHostParams) WithContentLanguage

func (o *UpdateHostParams) WithContentLanguage(contentLanguage *string) *UpdateHostParams

WithContentLanguage adds the contentLanguage to the update host params

func (*UpdateHostParams) WithContext

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

WithContext adds the context to the update host params

func (*UpdateHostParams) WithDefaults

func (o *UpdateHostParams) WithDefaults() *UpdateHostParams

WithDefaults hydrates default values in the update host params (not the query body).

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

func (*UpdateHostParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update host params

func (*UpdateHostParams) WithRequestBody

func (o *UpdateHostParams) WithRequestBody(requestBody *models.HostUpdationParams) *UpdateHostParams

WithRequestBody adds the requestBody to the update host params

func (*UpdateHostParams) WithTimeout

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

WithTimeout adds the timeout to the update host params

func (*UpdateHostParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateHostReader

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

UpdateHostReader is a Reader for the UpdateHost structure.

func (*UpdateHostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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