m_x_warm_spare_settings

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for m x warm spare settings API

func (*Client) GetNetworkWarmSpareSettings

func (a *Client) GetNetworkWarmSpareSettings(params *GetNetworkWarmSpareSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkWarmSpareSettingsOK, error)

GetNetworkWarmSpareSettings gets network warm spare settings

Return MX warm spare settings

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SwapNetworkWarmspare

func (a *Client) SwapNetworkWarmspare(params *SwapNetworkWarmspareParams, authInfo runtime.ClientAuthInfoWriter) (*SwapNetworkWarmspareOK, error)

SwapNetworkWarmspare swaps network warmspare

Swap MX primary and warm spare appliances

func (*Client) UpdateNetworkWarmSpareSettings

func (a *Client) UpdateNetworkWarmSpareSettings(params *UpdateNetworkWarmSpareSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkWarmSpareSettingsOK, error)

UpdateNetworkWarmSpareSettings updates network warm spare settings

Update MX warm spare settings

type ClientService

type ClientService interface {
	GetNetworkWarmSpareSettings(params *GetNetworkWarmSpareSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkWarmSpareSettingsOK, error)

	SwapNetworkWarmspare(params *SwapNetworkWarmspareParams, authInfo runtime.ClientAuthInfoWriter) (*SwapNetworkWarmspareOK, error)

	UpdateNetworkWarmSpareSettings(params *UpdateNetworkWarmSpareSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkWarmSpareSettingsOK, 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 m x warm spare settings API client.

type GetNetworkWarmSpareSettingsOK

type GetNetworkWarmSpareSettingsOK struct {
	Payload interface{}
}

GetNetworkWarmSpareSettingsOK handles this case with default header values.

Successful operation

func NewGetNetworkWarmSpareSettingsOK

func NewGetNetworkWarmSpareSettingsOK() *GetNetworkWarmSpareSettingsOK

NewGetNetworkWarmSpareSettingsOK creates a GetNetworkWarmSpareSettingsOK with default headers values

func (*GetNetworkWarmSpareSettingsOK) Error

func (*GetNetworkWarmSpareSettingsOK) GetPayload

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

type GetNetworkWarmSpareSettingsParams

type GetNetworkWarmSpareSettingsParams struct {

	/*NetworkID*/
	NetworkID string

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

GetNetworkWarmSpareSettingsParams contains all the parameters to send to the API endpoint for the get network warm spare settings operation typically these are written to a http.Request

func NewGetNetworkWarmSpareSettingsParams

func NewGetNetworkWarmSpareSettingsParams() *GetNetworkWarmSpareSettingsParams

NewGetNetworkWarmSpareSettingsParams creates a new GetNetworkWarmSpareSettingsParams object with the default values initialized.

func NewGetNetworkWarmSpareSettingsParamsWithContext

func NewGetNetworkWarmSpareSettingsParamsWithContext(ctx context.Context) *GetNetworkWarmSpareSettingsParams

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

func NewGetNetworkWarmSpareSettingsParamsWithHTTPClient

func NewGetNetworkWarmSpareSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkWarmSpareSettingsParams

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

func NewGetNetworkWarmSpareSettingsParamsWithTimeout

func NewGetNetworkWarmSpareSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkWarmSpareSettingsParams

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

func (*GetNetworkWarmSpareSettingsParams) SetContext

SetContext adds the context to the get network warm spare settings params

func (*GetNetworkWarmSpareSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network warm spare settings params

func (*GetNetworkWarmSpareSettingsParams) SetNetworkID

func (o *GetNetworkWarmSpareSettingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network warm spare settings params

func (*GetNetworkWarmSpareSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get network warm spare settings params

func (*GetNetworkWarmSpareSettingsParams) WithContext

WithContext adds the context to the get network warm spare settings params

func (*GetNetworkWarmSpareSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network warm spare settings params

func (*GetNetworkWarmSpareSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the get network warm spare settings params

func (*GetNetworkWarmSpareSettingsParams) WithTimeout

WithTimeout adds the timeout to the get network warm spare settings params

func (*GetNetworkWarmSpareSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkWarmSpareSettingsReader

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

GetNetworkWarmSpareSettingsReader is a Reader for the GetNetworkWarmSpareSettings structure.

func (*GetNetworkWarmSpareSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SwapNetworkWarmspareOK

type SwapNetworkWarmspareOK struct {
	Payload interface{}
}

SwapNetworkWarmspareOK handles this case with default header values.

Successful operation

func NewSwapNetworkWarmspareOK

func NewSwapNetworkWarmspareOK() *SwapNetworkWarmspareOK

NewSwapNetworkWarmspareOK creates a SwapNetworkWarmspareOK with default headers values

func (*SwapNetworkWarmspareOK) Error

func (o *SwapNetworkWarmspareOK) Error() string

func (*SwapNetworkWarmspareOK) GetPayload

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

type SwapNetworkWarmspareParams

type SwapNetworkWarmspareParams struct {

	/*NetworkID*/
	NetworkID string

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

SwapNetworkWarmspareParams contains all the parameters to send to the API endpoint for the swap network warmspare operation typically these are written to a http.Request

func NewSwapNetworkWarmspareParams

func NewSwapNetworkWarmspareParams() *SwapNetworkWarmspareParams

NewSwapNetworkWarmspareParams creates a new SwapNetworkWarmspareParams object with the default values initialized.

func NewSwapNetworkWarmspareParamsWithContext

func NewSwapNetworkWarmspareParamsWithContext(ctx context.Context) *SwapNetworkWarmspareParams

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

func NewSwapNetworkWarmspareParamsWithHTTPClient

func NewSwapNetworkWarmspareParamsWithHTTPClient(client *http.Client) *SwapNetworkWarmspareParams

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

func NewSwapNetworkWarmspareParamsWithTimeout

func NewSwapNetworkWarmspareParamsWithTimeout(timeout time.Duration) *SwapNetworkWarmspareParams

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

func (*SwapNetworkWarmspareParams) SetContext

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

SetContext adds the context to the swap network warmspare params

func (*SwapNetworkWarmspareParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the swap network warmspare params

func (*SwapNetworkWarmspareParams) SetNetworkID

func (o *SwapNetworkWarmspareParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the swap network warmspare params

func (*SwapNetworkWarmspareParams) SetTimeout

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

SetTimeout adds the timeout to the swap network warmspare params

func (*SwapNetworkWarmspareParams) WithContext

WithContext adds the context to the swap network warmspare params

func (*SwapNetworkWarmspareParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the swap network warmspare params

func (*SwapNetworkWarmspareParams) WithNetworkID

func (o *SwapNetworkWarmspareParams) WithNetworkID(networkID string) *SwapNetworkWarmspareParams

WithNetworkID adds the networkID to the swap network warmspare params

func (*SwapNetworkWarmspareParams) WithTimeout

WithTimeout adds the timeout to the swap network warmspare params

func (*SwapNetworkWarmspareParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SwapNetworkWarmspareReader

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

SwapNetworkWarmspareReader is a Reader for the SwapNetworkWarmspare structure.

func (*SwapNetworkWarmspareReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkWarmSpareSettingsOK

type UpdateNetworkWarmSpareSettingsOK struct {
	Payload interface{}
}

UpdateNetworkWarmSpareSettingsOK handles this case with default header values.

Successful operation

func NewUpdateNetworkWarmSpareSettingsOK

func NewUpdateNetworkWarmSpareSettingsOK() *UpdateNetworkWarmSpareSettingsOK

NewUpdateNetworkWarmSpareSettingsOK creates a UpdateNetworkWarmSpareSettingsOK with default headers values

func (*UpdateNetworkWarmSpareSettingsOK) Error

func (*UpdateNetworkWarmSpareSettingsOK) GetPayload

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

type UpdateNetworkWarmSpareSettingsParams

type UpdateNetworkWarmSpareSettingsParams struct {

	/*NetworkID*/
	NetworkID string
	/*UpdateNetworkWarmSpareSettings*/
	UpdateNetworkWarmSpareSettings *models.UpdateNetworkWarmSpareSettings

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

UpdateNetworkWarmSpareSettingsParams contains all the parameters to send to the API endpoint for the update network warm spare settings operation typically these are written to a http.Request

func NewUpdateNetworkWarmSpareSettingsParams

func NewUpdateNetworkWarmSpareSettingsParams() *UpdateNetworkWarmSpareSettingsParams

NewUpdateNetworkWarmSpareSettingsParams creates a new UpdateNetworkWarmSpareSettingsParams object with the default values initialized.

func NewUpdateNetworkWarmSpareSettingsParamsWithContext

func NewUpdateNetworkWarmSpareSettingsParamsWithContext(ctx context.Context) *UpdateNetworkWarmSpareSettingsParams

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

func NewUpdateNetworkWarmSpareSettingsParamsWithHTTPClient

func NewUpdateNetworkWarmSpareSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkWarmSpareSettingsParams

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

func NewUpdateNetworkWarmSpareSettingsParamsWithTimeout

func NewUpdateNetworkWarmSpareSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkWarmSpareSettingsParams

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

func (*UpdateNetworkWarmSpareSettingsParams) SetContext

SetContext adds the context to the update network warm spare settings params

func (*UpdateNetworkWarmSpareSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network warm spare settings params

func (*UpdateNetworkWarmSpareSettingsParams) SetNetworkID

func (o *UpdateNetworkWarmSpareSettingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network warm spare settings params

func (*UpdateNetworkWarmSpareSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the update network warm spare settings params

func (*UpdateNetworkWarmSpareSettingsParams) SetUpdateNetworkWarmSpareSettings

func (o *UpdateNetworkWarmSpareSettingsParams) SetUpdateNetworkWarmSpareSettings(updateNetworkWarmSpareSettings *models.UpdateNetworkWarmSpareSettings)

SetUpdateNetworkWarmSpareSettings adds the updateNetworkWarmSpareSettings to the update network warm spare settings params

func (*UpdateNetworkWarmSpareSettingsParams) WithContext

WithContext adds the context to the update network warm spare settings params

func (*UpdateNetworkWarmSpareSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network warm spare settings params

func (*UpdateNetworkWarmSpareSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the update network warm spare settings params

func (*UpdateNetworkWarmSpareSettingsParams) WithTimeout

WithTimeout adds the timeout to the update network warm spare settings params

func (*UpdateNetworkWarmSpareSettingsParams) WithUpdateNetworkWarmSpareSettings

func (o *UpdateNetworkWarmSpareSettingsParams) WithUpdateNetworkWarmSpareSettings(updateNetworkWarmSpareSettings *models.UpdateNetworkWarmSpareSettings) *UpdateNetworkWarmSpareSettingsParams

WithUpdateNetworkWarmSpareSettings adds the updateNetworkWarmSpareSettings to the update network warm spare settings params

func (*UpdateNetworkWarmSpareSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkWarmSpareSettingsReader

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

UpdateNetworkWarmSpareSettingsReader is a Reader for the UpdateNetworkWarmSpareSettings structure.

func (*UpdateNetworkWarmSpareSettingsReader) ReadResponse

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