backups

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 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 backups API

func (*Client) DeleteNmsBackupsBackupid

func (a *Client) DeleteNmsBackupsBackupid(params *DeleteNmsBackupsBackupidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNmsBackupsBackupidOK, error)

DeleteNmsBackupsBackupid deletes UI s p backup

func (*Client) GetNmsBackups

func (a *Client) GetNmsBackups(params *GetNmsBackupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNmsBackupsOK, error)

GetNmsBackups gets UI s p backups

func (*Client) GetNmsBackupsBackupid

func (a *Client) GetNmsBackupsBackupid(params *GetNmsBackupsBackupidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

GetNmsBackupsBackupid gets UI s p backup file

func (*Client) GetNmsBackupsBackupidDownloadtoken

func (a *Client) GetNmsBackupsBackupidDownloadtoken(params *GetNmsBackupsBackupidDownloadtokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

GetNmsBackupsBackupidDownloadtoken gets temporary download token for this backup

func (*Client) GetNmsDownloadsToken

func (a *Client) GetNmsDownloadsToken(params *GetNmsDownloadsTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

GetNmsDownloadsToken downloads UI s p backups

func (*Client) PostNmsBackupsBackupidRestore

func (a *Client) PostNmsBackupsBackupidRestore(params *PostNmsBackupsBackupidRestoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostNmsBackupsBackupidRestoreOK, error)

PostNmsBackupsBackupidRestore restores UI s p backup

func (*Client) PostNmsBackupsCreate

func (a *Client) PostNmsBackupsCreate(params *PostNmsBackupsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostNmsBackupsCreateOK, error)

PostNmsBackupsCreate creates UI s p backup

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteNmsBackupsBackupid(params *DeleteNmsBackupsBackupidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNmsBackupsBackupidOK, error)

	GetNmsBackups(params *GetNmsBackupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNmsBackupsOK, error)

	GetNmsBackupsBackupid(params *GetNmsBackupsBackupidParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	GetNmsBackupsBackupidDownloadtoken(params *GetNmsBackupsBackupidDownloadtokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	GetNmsDownloadsToken(params *GetNmsDownloadsTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	PostNmsBackupsBackupidRestore(params *PostNmsBackupsBackupidRestoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostNmsBackupsBackupidRestoreOK, error)

	PostNmsBackupsCreate(params *PostNmsBackupsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostNmsBackupsCreateOK, 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 backups API client.

type DeleteNmsBackupsBackupidBadRequest

type DeleteNmsBackupsBackupidBadRequest struct {
	Payload *models.Error
}
DeleteNmsBackupsBackupidBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteNmsBackupsBackupidBadRequest

func NewDeleteNmsBackupsBackupidBadRequest() *DeleteNmsBackupsBackupidBadRequest

NewDeleteNmsBackupsBackupidBadRequest creates a DeleteNmsBackupsBackupidBadRequest with default headers values

func (*DeleteNmsBackupsBackupidBadRequest) Error

func (*DeleteNmsBackupsBackupidBadRequest) GetPayload

type DeleteNmsBackupsBackupidForbidden

type DeleteNmsBackupsBackupidForbidden struct {
	Payload *models.Error
}
DeleteNmsBackupsBackupidForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteNmsBackupsBackupidForbidden

func NewDeleteNmsBackupsBackupidForbidden() *DeleteNmsBackupsBackupidForbidden

NewDeleteNmsBackupsBackupidForbidden creates a DeleteNmsBackupsBackupidForbidden with default headers values

func (*DeleteNmsBackupsBackupidForbidden) Error

func (*DeleteNmsBackupsBackupidForbidden) GetPayload

type DeleteNmsBackupsBackupidInternalServerError

type DeleteNmsBackupsBackupidInternalServerError struct {
	Payload *models.Error
}
DeleteNmsBackupsBackupidInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteNmsBackupsBackupidInternalServerError

func NewDeleteNmsBackupsBackupidInternalServerError() *DeleteNmsBackupsBackupidInternalServerError

NewDeleteNmsBackupsBackupidInternalServerError creates a DeleteNmsBackupsBackupidInternalServerError with default headers values

func (*DeleteNmsBackupsBackupidInternalServerError) Error

func (*DeleteNmsBackupsBackupidInternalServerError) GetPayload

type DeleteNmsBackupsBackupidNotFound

type DeleteNmsBackupsBackupidNotFound struct {
	Payload *models.Error
}
DeleteNmsBackupsBackupidNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteNmsBackupsBackupidNotFound

func NewDeleteNmsBackupsBackupidNotFound() *DeleteNmsBackupsBackupidNotFound

NewDeleteNmsBackupsBackupidNotFound creates a DeleteNmsBackupsBackupidNotFound with default headers values

func (*DeleteNmsBackupsBackupidNotFound) Error

func (*DeleteNmsBackupsBackupidNotFound) GetPayload

type DeleteNmsBackupsBackupidOK

type DeleteNmsBackupsBackupidOK struct {
	Payload *models.Status
}
DeleteNmsBackupsBackupidOK describes a response with status code 200, with default header values.

Successful

func NewDeleteNmsBackupsBackupidOK

func NewDeleteNmsBackupsBackupidOK() *DeleteNmsBackupsBackupidOK

NewDeleteNmsBackupsBackupidOK creates a DeleteNmsBackupsBackupidOK with default headers values

func (*DeleteNmsBackupsBackupidOK) Error

func (*DeleteNmsBackupsBackupidOK) GetPayload

func (o *DeleteNmsBackupsBackupidOK) GetPayload() *models.Status

type DeleteNmsBackupsBackupidParams

type DeleteNmsBackupsBackupidParams struct {

	// BackupID.
	BackupID string

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

DeleteNmsBackupsBackupidParams contains all the parameters to send to the API endpoint

for the delete nms backups backupid operation.

Typically these are written to a http.Request.

func NewDeleteNmsBackupsBackupidParams

func NewDeleteNmsBackupsBackupidParams() *DeleteNmsBackupsBackupidParams

NewDeleteNmsBackupsBackupidParams creates a new DeleteNmsBackupsBackupidParams 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 NewDeleteNmsBackupsBackupidParamsWithContext

func NewDeleteNmsBackupsBackupidParamsWithContext(ctx context.Context) *DeleteNmsBackupsBackupidParams

NewDeleteNmsBackupsBackupidParamsWithContext creates a new DeleteNmsBackupsBackupidParams object with the ability to set a context for a request.

func NewDeleteNmsBackupsBackupidParamsWithHTTPClient

func NewDeleteNmsBackupsBackupidParamsWithHTTPClient(client *http.Client) *DeleteNmsBackupsBackupidParams

NewDeleteNmsBackupsBackupidParamsWithHTTPClient creates a new DeleteNmsBackupsBackupidParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNmsBackupsBackupidParamsWithTimeout

func NewDeleteNmsBackupsBackupidParamsWithTimeout(timeout time.Duration) *DeleteNmsBackupsBackupidParams

NewDeleteNmsBackupsBackupidParamsWithTimeout creates a new DeleteNmsBackupsBackupidParams object with the ability to set a timeout on a request.

func (*DeleteNmsBackupsBackupidParams) SetBackupID

func (o *DeleteNmsBackupsBackupidParams) SetBackupID(backupID string)

SetBackupID adds the backupId to the delete nms backups backupid params

func (*DeleteNmsBackupsBackupidParams) SetContext

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

SetContext adds the context to the delete nms backups backupid params

func (*DeleteNmsBackupsBackupidParams) SetDefaults

func (o *DeleteNmsBackupsBackupidParams) SetDefaults()

SetDefaults hydrates default values in the delete nms backups backupid params (not the query body).

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

func (*DeleteNmsBackupsBackupidParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete nms backups backupid params

func (*DeleteNmsBackupsBackupidParams) SetTimeout

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

SetTimeout adds the timeout to the delete nms backups backupid params

func (*DeleteNmsBackupsBackupidParams) WithBackupID

WithBackupID adds the backupID to the delete nms backups backupid params

func (*DeleteNmsBackupsBackupidParams) WithContext

WithContext adds the context to the delete nms backups backupid params

func (*DeleteNmsBackupsBackupidParams) WithDefaults

WithDefaults hydrates default values in the delete nms backups backupid params (not the query body).

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

func (*DeleteNmsBackupsBackupidParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete nms backups backupid params

func (*DeleteNmsBackupsBackupidParams) WithTimeout

WithTimeout adds the timeout to the delete nms backups backupid params

func (*DeleteNmsBackupsBackupidParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNmsBackupsBackupidReader

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

DeleteNmsBackupsBackupidReader is a Reader for the DeleteNmsBackupsBackupid structure.

func (*DeleteNmsBackupsBackupidReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNmsBackupsBackupidUnauthorized

type DeleteNmsBackupsBackupidUnauthorized struct {
	Payload *models.Error
}
DeleteNmsBackupsBackupidUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteNmsBackupsBackupidUnauthorized

func NewDeleteNmsBackupsBackupidUnauthorized() *DeleteNmsBackupsBackupidUnauthorized

NewDeleteNmsBackupsBackupidUnauthorized creates a DeleteNmsBackupsBackupidUnauthorized with default headers values

func (*DeleteNmsBackupsBackupidUnauthorized) Error

func (*DeleteNmsBackupsBackupidUnauthorized) GetPayload

type GetNmsBackupsBackupidBadRequest

type GetNmsBackupsBackupidBadRequest struct {
	Payload *models.Error
}
GetNmsBackupsBackupidBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetNmsBackupsBackupidBadRequest

func NewGetNmsBackupsBackupidBadRequest() *GetNmsBackupsBackupidBadRequest

NewGetNmsBackupsBackupidBadRequest creates a GetNmsBackupsBackupidBadRequest with default headers values

func (*GetNmsBackupsBackupidBadRequest) Error

func (*GetNmsBackupsBackupidBadRequest) GetPayload

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

type GetNmsBackupsBackupidDownloadtokenBadRequest

type GetNmsBackupsBackupidDownloadtokenBadRequest struct {
	Payload *models.Error
}
GetNmsBackupsBackupidDownloadtokenBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetNmsBackupsBackupidDownloadtokenBadRequest

func NewGetNmsBackupsBackupidDownloadtokenBadRequest() *GetNmsBackupsBackupidDownloadtokenBadRequest

NewGetNmsBackupsBackupidDownloadtokenBadRequest creates a GetNmsBackupsBackupidDownloadtokenBadRequest with default headers values

func (*GetNmsBackupsBackupidDownloadtokenBadRequest) Error

func (*GetNmsBackupsBackupidDownloadtokenBadRequest) GetPayload

type GetNmsBackupsBackupidDownloadtokenForbidden

type GetNmsBackupsBackupidDownloadtokenForbidden struct {
	Payload *models.Error
}
GetNmsBackupsBackupidDownloadtokenForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetNmsBackupsBackupidDownloadtokenForbidden

func NewGetNmsBackupsBackupidDownloadtokenForbidden() *GetNmsBackupsBackupidDownloadtokenForbidden

NewGetNmsBackupsBackupidDownloadtokenForbidden creates a GetNmsBackupsBackupidDownloadtokenForbidden with default headers values

func (*GetNmsBackupsBackupidDownloadtokenForbidden) Error

func (*GetNmsBackupsBackupidDownloadtokenForbidden) GetPayload

type GetNmsBackupsBackupidDownloadtokenInternalServerError

type GetNmsBackupsBackupidDownloadtokenInternalServerError struct {
	Payload *models.Error
}
GetNmsBackupsBackupidDownloadtokenInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetNmsBackupsBackupidDownloadtokenInternalServerError

func NewGetNmsBackupsBackupidDownloadtokenInternalServerError() *GetNmsBackupsBackupidDownloadtokenInternalServerError

NewGetNmsBackupsBackupidDownloadtokenInternalServerError creates a GetNmsBackupsBackupidDownloadtokenInternalServerError with default headers values

func (*GetNmsBackupsBackupidDownloadtokenInternalServerError) Error

func (*GetNmsBackupsBackupidDownloadtokenInternalServerError) GetPayload

type GetNmsBackupsBackupidDownloadtokenNotFound

type GetNmsBackupsBackupidDownloadtokenNotFound struct {
	Payload *models.Error
}
GetNmsBackupsBackupidDownloadtokenNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetNmsBackupsBackupidDownloadtokenNotFound

func NewGetNmsBackupsBackupidDownloadtokenNotFound() *GetNmsBackupsBackupidDownloadtokenNotFound

NewGetNmsBackupsBackupidDownloadtokenNotFound creates a GetNmsBackupsBackupidDownloadtokenNotFound with default headers values

func (*GetNmsBackupsBackupidDownloadtokenNotFound) Error

func (*GetNmsBackupsBackupidDownloadtokenNotFound) GetPayload

type GetNmsBackupsBackupidDownloadtokenParams

type GetNmsBackupsBackupidDownloadtokenParams struct {

	// BackupID.
	BackupID string

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

GetNmsBackupsBackupidDownloadtokenParams contains all the parameters to send to the API endpoint

for the get nms backups backupid downloadtoken operation.

Typically these are written to a http.Request.

func NewGetNmsBackupsBackupidDownloadtokenParams

func NewGetNmsBackupsBackupidDownloadtokenParams() *GetNmsBackupsBackupidDownloadtokenParams

NewGetNmsBackupsBackupidDownloadtokenParams creates a new GetNmsBackupsBackupidDownloadtokenParams 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 NewGetNmsBackupsBackupidDownloadtokenParamsWithContext

func NewGetNmsBackupsBackupidDownloadtokenParamsWithContext(ctx context.Context) *GetNmsBackupsBackupidDownloadtokenParams

NewGetNmsBackupsBackupidDownloadtokenParamsWithContext creates a new GetNmsBackupsBackupidDownloadtokenParams object with the ability to set a context for a request.

func NewGetNmsBackupsBackupidDownloadtokenParamsWithHTTPClient

func NewGetNmsBackupsBackupidDownloadtokenParamsWithHTTPClient(client *http.Client) *GetNmsBackupsBackupidDownloadtokenParams

NewGetNmsBackupsBackupidDownloadtokenParamsWithHTTPClient creates a new GetNmsBackupsBackupidDownloadtokenParams object with the ability to set a custom HTTPClient for a request.

func NewGetNmsBackupsBackupidDownloadtokenParamsWithTimeout

func NewGetNmsBackupsBackupidDownloadtokenParamsWithTimeout(timeout time.Duration) *GetNmsBackupsBackupidDownloadtokenParams

NewGetNmsBackupsBackupidDownloadtokenParamsWithTimeout creates a new GetNmsBackupsBackupidDownloadtokenParams object with the ability to set a timeout on a request.

func (*GetNmsBackupsBackupidDownloadtokenParams) SetBackupID

func (o *GetNmsBackupsBackupidDownloadtokenParams) SetBackupID(backupID string)

SetBackupID adds the backupId to the get nms backups backupid downloadtoken params

func (*GetNmsBackupsBackupidDownloadtokenParams) SetContext

SetContext adds the context to the get nms backups backupid downloadtoken params

func (*GetNmsBackupsBackupidDownloadtokenParams) SetDefaults

SetDefaults hydrates default values in the get nms backups backupid downloadtoken params (not the query body).

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

func (*GetNmsBackupsBackupidDownloadtokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nms backups backupid downloadtoken params

func (*GetNmsBackupsBackupidDownloadtokenParams) SetTimeout

SetTimeout adds the timeout to the get nms backups backupid downloadtoken params

func (*GetNmsBackupsBackupidDownloadtokenParams) WithBackupID

WithBackupID adds the backupID to the get nms backups backupid downloadtoken params

func (*GetNmsBackupsBackupidDownloadtokenParams) WithContext

WithContext adds the context to the get nms backups backupid downloadtoken params

func (*GetNmsBackupsBackupidDownloadtokenParams) WithDefaults

WithDefaults hydrates default values in the get nms backups backupid downloadtoken params (not the query body).

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

func (*GetNmsBackupsBackupidDownloadtokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get nms backups backupid downloadtoken params

func (*GetNmsBackupsBackupidDownloadtokenParams) WithTimeout

WithTimeout adds the timeout to the get nms backups backupid downloadtoken params

func (*GetNmsBackupsBackupidDownloadtokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNmsBackupsBackupidDownloadtokenReader

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

GetNmsBackupsBackupidDownloadtokenReader is a Reader for the GetNmsBackupsBackupidDownloadtoken structure.

func (*GetNmsBackupsBackupidDownloadtokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNmsBackupsBackupidDownloadtokenUnauthorized

type GetNmsBackupsBackupidDownloadtokenUnauthorized struct {
	Payload *models.Error
}
GetNmsBackupsBackupidDownloadtokenUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetNmsBackupsBackupidDownloadtokenUnauthorized

func NewGetNmsBackupsBackupidDownloadtokenUnauthorized() *GetNmsBackupsBackupidDownloadtokenUnauthorized

NewGetNmsBackupsBackupidDownloadtokenUnauthorized creates a GetNmsBackupsBackupidDownloadtokenUnauthorized with default headers values

func (*GetNmsBackupsBackupidDownloadtokenUnauthorized) Error

func (*GetNmsBackupsBackupidDownloadtokenUnauthorized) GetPayload

type GetNmsBackupsBackupidForbidden

type GetNmsBackupsBackupidForbidden struct {
	Payload *models.Error
}
GetNmsBackupsBackupidForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetNmsBackupsBackupidForbidden

func NewGetNmsBackupsBackupidForbidden() *GetNmsBackupsBackupidForbidden

NewGetNmsBackupsBackupidForbidden creates a GetNmsBackupsBackupidForbidden with default headers values

func (*GetNmsBackupsBackupidForbidden) Error

func (*GetNmsBackupsBackupidForbidden) GetPayload

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

type GetNmsBackupsBackupidInternalServerError

type GetNmsBackupsBackupidInternalServerError struct {
	Payload *models.Error
}
GetNmsBackupsBackupidInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetNmsBackupsBackupidInternalServerError

func NewGetNmsBackupsBackupidInternalServerError() *GetNmsBackupsBackupidInternalServerError

NewGetNmsBackupsBackupidInternalServerError creates a GetNmsBackupsBackupidInternalServerError with default headers values

func (*GetNmsBackupsBackupidInternalServerError) Error

func (*GetNmsBackupsBackupidInternalServerError) GetPayload

type GetNmsBackupsBackupidNotFound

type GetNmsBackupsBackupidNotFound struct {
	Payload *models.Error
}
GetNmsBackupsBackupidNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetNmsBackupsBackupidNotFound

func NewGetNmsBackupsBackupidNotFound() *GetNmsBackupsBackupidNotFound

NewGetNmsBackupsBackupidNotFound creates a GetNmsBackupsBackupidNotFound with default headers values

func (*GetNmsBackupsBackupidNotFound) Error

func (*GetNmsBackupsBackupidNotFound) GetPayload

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

type GetNmsBackupsBackupidParams

type GetNmsBackupsBackupidParams struct {

	// BackupID.
	BackupID string

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

GetNmsBackupsBackupidParams contains all the parameters to send to the API endpoint

for the get nms backups backupid operation.

Typically these are written to a http.Request.

func NewGetNmsBackupsBackupidParams

func NewGetNmsBackupsBackupidParams() *GetNmsBackupsBackupidParams

NewGetNmsBackupsBackupidParams creates a new GetNmsBackupsBackupidParams 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 NewGetNmsBackupsBackupidParamsWithContext

func NewGetNmsBackupsBackupidParamsWithContext(ctx context.Context) *GetNmsBackupsBackupidParams

NewGetNmsBackupsBackupidParamsWithContext creates a new GetNmsBackupsBackupidParams object with the ability to set a context for a request.

func NewGetNmsBackupsBackupidParamsWithHTTPClient

func NewGetNmsBackupsBackupidParamsWithHTTPClient(client *http.Client) *GetNmsBackupsBackupidParams

NewGetNmsBackupsBackupidParamsWithHTTPClient creates a new GetNmsBackupsBackupidParams object with the ability to set a custom HTTPClient for a request.

func NewGetNmsBackupsBackupidParamsWithTimeout

func NewGetNmsBackupsBackupidParamsWithTimeout(timeout time.Duration) *GetNmsBackupsBackupidParams

NewGetNmsBackupsBackupidParamsWithTimeout creates a new GetNmsBackupsBackupidParams object with the ability to set a timeout on a request.

func (*GetNmsBackupsBackupidParams) SetBackupID

func (o *GetNmsBackupsBackupidParams) SetBackupID(backupID string)

SetBackupID adds the backupId to the get nms backups backupid params

func (*GetNmsBackupsBackupidParams) SetContext

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

SetContext adds the context to the get nms backups backupid params

func (*GetNmsBackupsBackupidParams) SetDefaults

func (o *GetNmsBackupsBackupidParams) SetDefaults()

SetDefaults hydrates default values in the get nms backups backupid params (not the query body).

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

func (*GetNmsBackupsBackupidParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nms backups backupid params

func (*GetNmsBackupsBackupidParams) SetTimeout

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

SetTimeout adds the timeout to the get nms backups backupid params

func (*GetNmsBackupsBackupidParams) WithBackupID

WithBackupID adds the backupID to the get nms backups backupid params

func (*GetNmsBackupsBackupidParams) WithContext

WithContext adds the context to the get nms backups backupid params

func (*GetNmsBackupsBackupidParams) WithDefaults

WithDefaults hydrates default values in the get nms backups backupid params (not the query body).

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

func (*GetNmsBackupsBackupidParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get nms backups backupid params

func (*GetNmsBackupsBackupidParams) WithTimeout

WithTimeout adds the timeout to the get nms backups backupid params

func (*GetNmsBackupsBackupidParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNmsBackupsBackupidReader

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

GetNmsBackupsBackupidReader is a Reader for the GetNmsBackupsBackupid structure.

func (*GetNmsBackupsBackupidReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNmsBackupsBackupidUnauthorized

type GetNmsBackupsBackupidUnauthorized struct {
	Payload *models.Error
}
GetNmsBackupsBackupidUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetNmsBackupsBackupidUnauthorized

func NewGetNmsBackupsBackupidUnauthorized() *GetNmsBackupsBackupidUnauthorized

NewGetNmsBackupsBackupidUnauthorized creates a GetNmsBackupsBackupidUnauthorized with default headers values

func (*GetNmsBackupsBackupidUnauthorized) Error

func (*GetNmsBackupsBackupidUnauthorized) GetPayload

type GetNmsBackupsBadRequest

type GetNmsBackupsBadRequest struct {
	Payload *models.Error
}
GetNmsBackupsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetNmsBackupsBadRequest

func NewGetNmsBackupsBadRequest() *GetNmsBackupsBadRequest

NewGetNmsBackupsBadRequest creates a GetNmsBackupsBadRequest with default headers values

func (*GetNmsBackupsBadRequest) Error

func (o *GetNmsBackupsBadRequest) Error() string

func (*GetNmsBackupsBadRequest) GetPayload

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

type GetNmsBackupsForbidden

type GetNmsBackupsForbidden struct {
	Payload *models.Error
}
GetNmsBackupsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetNmsBackupsForbidden

func NewGetNmsBackupsForbidden() *GetNmsBackupsForbidden

NewGetNmsBackupsForbidden creates a GetNmsBackupsForbidden with default headers values

func (*GetNmsBackupsForbidden) Error

func (o *GetNmsBackupsForbidden) Error() string

func (*GetNmsBackupsForbidden) GetPayload

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

type GetNmsBackupsInternalServerError

type GetNmsBackupsInternalServerError struct {
	Payload *models.Error
}
GetNmsBackupsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetNmsBackupsInternalServerError

func NewGetNmsBackupsInternalServerError() *GetNmsBackupsInternalServerError

NewGetNmsBackupsInternalServerError creates a GetNmsBackupsInternalServerError with default headers values

func (*GetNmsBackupsInternalServerError) Error

func (*GetNmsBackupsInternalServerError) GetPayload

type GetNmsBackupsOK

type GetNmsBackupsOK struct {
	Payload models.UispBackupList
}
GetNmsBackupsOK describes a response with status code 200, with default header values.

Successful

func NewGetNmsBackupsOK

func NewGetNmsBackupsOK() *GetNmsBackupsOK

NewGetNmsBackupsOK creates a GetNmsBackupsOK with default headers values

func (*GetNmsBackupsOK) Error

func (o *GetNmsBackupsOK) Error() string

func (*GetNmsBackupsOK) GetPayload

func (o *GetNmsBackupsOK) GetPayload() models.UispBackupList

type GetNmsBackupsParams

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

GetNmsBackupsParams contains all the parameters to send to the API endpoint

for the get nms backups operation.

Typically these are written to a http.Request.

func NewGetNmsBackupsParams

func NewGetNmsBackupsParams() *GetNmsBackupsParams

NewGetNmsBackupsParams creates a new GetNmsBackupsParams 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 NewGetNmsBackupsParamsWithContext

func NewGetNmsBackupsParamsWithContext(ctx context.Context) *GetNmsBackupsParams

NewGetNmsBackupsParamsWithContext creates a new GetNmsBackupsParams object with the ability to set a context for a request.

func NewGetNmsBackupsParamsWithHTTPClient

func NewGetNmsBackupsParamsWithHTTPClient(client *http.Client) *GetNmsBackupsParams

NewGetNmsBackupsParamsWithHTTPClient creates a new GetNmsBackupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNmsBackupsParamsWithTimeout

func NewGetNmsBackupsParamsWithTimeout(timeout time.Duration) *GetNmsBackupsParams

NewGetNmsBackupsParamsWithTimeout creates a new GetNmsBackupsParams object with the ability to set a timeout on a request.

func (*GetNmsBackupsParams) SetContext

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

SetContext adds the context to the get nms backups params

func (*GetNmsBackupsParams) SetDefaults

func (o *GetNmsBackupsParams) SetDefaults()

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

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

func (*GetNmsBackupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nms backups params

func (*GetNmsBackupsParams) SetTimeout

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

SetTimeout adds the timeout to the get nms backups params

func (*GetNmsBackupsParams) WithContext

WithContext adds the context to the get nms backups params

func (*GetNmsBackupsParams) WithDefaults

func (o *GetNmsBackupsParams) WithDefaults() *GetNmsBackupsParams

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

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

func (*GetNmsBackupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get nms backups params

func (*GetNmsBackupsParams) WithTimeout

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

WithTimeout adds the timeout to the get nms backups params

func (*GetNmsBackupsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNmsBackupsReader

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

GetNmsBackupsReader is a Reader for the GetNmsBackups structure.

func (*GetNmsBackupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNmsBackupsUnauthorized

type GetNmsBackupsUnauthorized struct {
	Payload *models.Error
}
GetNmsBackupsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetNmsBackupsUnauthorized

func NewGetNmsBackupsUnauthorized() *GetNmsBackupsUnauthorized

NewGetNmsBackupsUnauthorized creates a GetNmsBackupsUnauthorized with default headers values

func (*GetNmsBackupsUnauthorized) Error

func (o *GetNmsBackupsUnauthorized) Error() string

func (*GetNmsBackupsUnauthorized) GetPayload

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

type GetNmsDownloadsTokenBadRequest

type GetNmsDownloadsTokenBadRequest struct {
	Payload *models.Error
}
GetNmsDownloadsTokenBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetNmsDownloadsTokenBadRequest

func NewGetNmsDownloadsTokenBadRequest() *GetNmsDownloadsTokenBadRequest

NewGetNmsDownloadsTokenBadRequest creates a GetNmsDownloadsTokenBadRequest with default headers values

func (*GetNmsDownloadsTokenBadRequest) Error

func (*GetNmsDownloadsTokenBadRequest) GetPayload

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

type GetNmsDownloadsTokenInternalServerError

type GetNmsDownloadsTokenInternalServerError struct {
	Payload *models.Error
}
GetNmsDownloadsTokenInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetNmsDownloadsTokenInternalServerError

func NewGetNmsDownloadsTokenInternalServerError() *GetNmsDownloadsTokenInternalServerError

NewGetNmsDownloadsTokenInternalServerError creates a GetNmsDownloadsTokenInternalServerError with default headers values

func (*GetNmsDownloadsTokenInternalServerError) Error

func (*GetNmsDownloadsTokenInternalServerError) GetPayload

type GetNmsDownloadsTokenNotFound

type GetNmsDownloadsTokenNotFound struct {
	Payload *models.Error
}
GetNmsDownloadsTokenNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetNmsDownloadsTokenNotFound

func NewGetNmsDownloadsTokenNotFound() *GetNmsDownloadsTokenNotFound

NewGetNmsDownloadsTokenNotFound creates a GetNmsDownloadsTokenNotFound with default headers values

func (*GetNmsDownloadsTokenNotFound) Error

func (*GetNmsDownloadsTokenNotFound) GetPayload

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

type GetNmsDownloadsTokenParams

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

GetNmsDownloadsTokenParams contains all the parameters to send to the API endpoint

for the get nms downloads token operation.

Typically these are written to a http.Request.

func NewGetNmsDownloadsTokenParams

func NewGetNmsDownloadsTokenParams() *GetNmsDownloadsTokenParams

NewGetNmsDownloadsTokenParams creates a new GetNmsDownloadsTokenParams 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 NewGetNmsDownloadsTokenParamsWithContext

func NewGetNmsDownloadsTokenParamsWithContext(ctx context.Context) *GetNmsDownloadsTokenParams

NewGetNmsDownloadsTokenParamsWithContext creates a new GetNmsDownloadsTokenParams object with the ability to set a context for a request.

func NewGetNmsDownloadsTokenParamsWithHTTPClient

func NewGetNmsDownloadsTokenParamsWithHTTPClient(client *http.Client) *GetNmsDownloadsTokenParams

NewGetNmsDownloadsTokenParamsWithHTTPClient creates a new GetNmsDownloadsTokenParams object with the ability to set a custom HTTPClient for a request.

func NewGetNmsDownloadsTokenParamsWithTimeout

func NewGetNmsDownloadsTokenParamsWithTimeout(timeout time.Duration) *GetNmsDownloadsTokenParams

NewGetNmsDownloadsTokenParamsWithTimeout creates a new GetNmsDownloadsTokenParams object with the ability to set a timeout on a request.

func (*GetNmsDownloadsTokenParams) SetContext

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

SetContext adds the context to the get nms downloads token params

func (*GetNmsDownloadsTokenParams) SetDefaults

func (o *GetNmsDownloadsTokenParams) SetDefaults()

SetDefaults hydrates default values in the get nms downloads token params (not the query body).

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

func (*GetNmsDownloadsTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nms downloads token params

func (*GetNmsDownloadsTokenParams) SetTimeout

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

SetTimeout adds the timeout to the get nms downloads token params

func (*GetNmsDownloadsTokenParams) WithContext

WithContext adds the context to the get nms downloads token params

func (*GetNmsDownloadsTokenParams) WithDefaults

WithDefaults hydrates default values in the get nms downloads token params (not the query body).

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

func (*GetNmsDownloadsTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get nms downloads token params

func (*GetNmsDownloadsTokenParams) WithTimeout

WithTimeout adds the timeout to the get nms downloads token params

func (*GetNmsDownloadsTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNmsDownloadsTokenReader

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

GetNmsDownloadsTokenReader is a Reader for the GetNmsDownloadsToken structure.

func (*GetNmsDownloadsTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostNmsBackupsBackupidRestoreBadRequest

type PostNmsBackupsBackupidRestoreBadRequest struct {
	Payload *models.Error
}
PostNmsBackupsBackupidRestoreBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostNmsBackupsBackupidRestoreBadRequest

func NewPostNmsBackupsBackupidRestoreBadRequest() *PostNmsBackupsBackupidRestoreBadRequest

NewPostNmsBackupsBackupidRestoreBadRequest creates a PostNmsBackupsBackupidRestoreBadRequest with default headers values

func (*PostNmsBackupsBackupidRestoreBadRequest) Error

func (*PostNmsBackupsBackupidRestoreBadRequest) GetPayload

type PostNmsBackupsBackupidRestoreForbidden

type PostNmsBackupsBackupidRestoreForbidden struct {
	Payload *models.Error
}
PostNmsBackupsBackupidRestoreForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostNmsBackupsBackupidRestoreForbidden

func NewPostNmsBackupsBackupidRestoreForbidden() *PostNmsBackupsBackupidRestoreForbidden

NewPostNmsBackupsBackupidRestoreForbidden creates a PostNmsBackupsBackupidRestoreForbidden with default headers values

func (*PostNmsBackupsBackupidRestoreForbidden) Error

func (*PostNmsBackupsBackupidRestoreForbidden) GetPayload

type PostNmsBackupsBackupidRestoreInternalServerError

type PostNmsBackupsBackupidRestoreInternalServerError struct {
	Payload *models.Error
}
PostNmsBackupsBackupidRestoreInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostNmsBackupsBackupidRestoreInternalServerError

func NewPostNmsBackupsBackupidRestoreInternalServerError() *PostNmsBackupsBackupidRestoreInternalServerError

NewPostNmsBackupsBackupidRestoreInternalServerError creates a PostNmsBackupsBackupidRestoreInternalServerError with default headers values

func (*PostNmsBackupsBackupidRestoreInternalServerError) Error

func (*PostNmsBackupsBackupidRestoreInternalServerError) GetPayload

type PostNmsBackupsBackupidRestoreNotFound

type PostNmsBackupsBackupidRestoreNotFound struct {
	Payload *models.Error
}
PostNmsBackupsBackupidRestoreNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostNmsBackupsBackupidRestoreNotFound

func NewPostNmsBackupsBackupidRestoreNotFound() *PostNmsBackupsBackupidRestoreNotFound

NewPostNmsBackupsBackupidRestoreNotFound creates a PostNmsBackupsBackupidRestoreNotFound with default headers values

func (*PostNmsBackupsBackupidRestoreNotFound) Error

func (*PostNmsBackupsBackupidRestoreNotFound) GetPayload

type PostNmsBackupsBackupidRestoreOK

type PostNmsBackupsBackupidRestoreOK struct {
	Payload *models.Status
}
PostNmsBackupsBackupidRestoreOK describes a response with status code 200, with default header values.

Successful

func NewPostNmsBackupsBackupidRestoreOK

func NewPostNmsBackupsBackupidRestoreOK() *PostNmsBackupsBackupidRestoreOK

NewPostNmsBackupsBackupidRestoreOK creates a PostNmsBackupsBackupidRestoreOK with default headers values

func (*PostNmsBackupsBackupidRestoreOK) Error

func (*PostNmsBackupsBackupidRestoreOK) GetPayload

type PostNmsBackupsBackupidRestoreParams

type PostNmsBackupsBackupidRestoreParams struct {

	// BackupID.
	BackupID string

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

PostNmsBackupsBackupidRestoreParams contains all the parameters to send to the API endpoint

for the post nms backups backupid restore operation.

Typically these are written to a http.Request.

func NewPostNmsBackupsBackupidRestoreParams

func NewPostNmsBackupsBackupidRestoreParams() *PostNmsBackupsBackupidRestoreParams

NewPostNmsBackupsBackupidRestoreParams creates a new PostNmsBackupsBackupidRestoreParams 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 NewPostNmsBackupsBackupidRestoreParamsWithContext

func NewPostNmsBackupsBackupidRestoreParamsWithContext(ctx context.Context) *PostNmsBackupsBackupidRestoreParams

NewPostNmsBackupsBackupidRestoreParamsWithContext creates a new PostNmsBackupsBackupidRestoreParams object with the ability to set a context for a request.

func NewPostNmsBackupsBackupidRestoreParamsWithHTTPClient

func NewPostNmsBackupsBackupidRestoreParamsWithHTTPClient(client *http.Client) *PostNmsBackupsBackupidRestoreParams

NewPostNmsBackupsBackupidRestoreParamsWithHTTPClient creates a new PostNmsBackupsBackupidRestoreParams object with the ability to set a custom HTTPClient for a request.

func NewPostNmsBackupsBackupidRestoreParamsWithTimeout

func NewPostNmsBackupsBackupidRestoreParamsWithTimeout(timeout time.Duration) *PostNmsBackupsBackupidRestoreParams

NewPostNmsBackupsBackupidRestoreParamsWithTimeout creates a new PostNmsBackupsBackupidRestoreParams object with the ability to set a timeout on a request.

func (*PostNmsBackupsBackupidRestoreParams) SetBackupID

func (o *PostNmsBackupsBackupidRestoreParams) SetBackupID(backupID string)

SetBackupID adds the backupId to the post nms backups backupid restore params

func (*PostNmsBackupsBackupidRestoreParams) SetContext

SetContext adds the context to the post nms backups backupid restore params

func (*PostNmsBackupsBackupidRestoreParams) SetDefaults

func (o *PostNmsBackupsBackupidRestoreParams) SetDefaults()

SetDefaults hydrates default values in the post nms backups backupid restore params (not the query body).

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

func (*PostNmsBackupsBackupidRestoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post nms backups backupid restore params

func (*PostNmsBackupsBackupidRestoreParams) SetTimeout

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

SetTimeout adds the timeout to the post nms backups backupid restore params

func (*PostNmsBackupsBackupidRestoreParams) WithBackupID

WithBackupID adds the backupID to the post nms backups backupid restore params

func (*PostNmsBackupsBackupidRestoreParams) WithContext

WithContext adds the context to the post nms backups backupid restore params

func (*PostNmsBackupsBackupidRestoreParams) WithDefaults

WithDefaults hydrates default values in the post nms backups backupid restore params (not the query body).

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

func (*PostNmsBackupsBackupidRestoreParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post nms backups backupid restore params

func (*PostNmsBackupsBackupidRestoreParams) WithTimeout

WithTimeout adds the timeout to the post nms backups backupid restore params

func (*PostNmsBackupsBackupidRestoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostNmsBackupsBackupidRestoreReader

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

PostNmsBackupsBackupidRestoreReader is a Reader for the PostNmsBackupsBackupidRestore structure.

func (*PostNmsBackupsBackupidRestoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostNmsBackupsBackupidRestoreUnauthorized

type PostNmsBackupsBackupidRestoreUnauthorized struct {
	Payload *models.Error
}
PostNmsBackupsBackupidRestoreUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostNmsBackupsBackupidRestoreUnauthorized

func NewPostNmsBackupsBackupidRestoreUnauthorized() *PostNmsBackupsBackupidRestoreUnauthorized

NewPostNmsBackupsBackupidRestoreUnauthorized creates a PostNmsBackupsBackupidRestoreUnauthorized with default headers values

func (*PostNmsBackupsBackupidRestoreUnauthorized) Error

func (*PostNmsBackupsBackupidRestoreUnauthorized) GetPayload

type PostNmsBackupsCreateBadRequest

type PostNmsBackupsCreateBadRequest struct {
	Payload *models.Error
}
PostNmsBackupsCreateBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostNmsBackupsCreateBadRequest

func NewPostNmsBackupsCreateBadRequest() *PostNmsBackupsCreateBadRequest

NewPostNmsBackupsCreateBadRequest creates a PostNmsBackupsCreateBadRequest with default headers values

func (*PostNmsBackupsCreateBadRequest) Error

func (*PostNmsBackupsCreateBadRequest) GetPayload

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

type PostNmsBackupsCreateForbidden

type PostNmsBackupsCreateForbidden struct {
	Payload *models.Error
}
PostNmsBackupsCreateForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostNmsBackupsCreateForbidden

func NewPostNmsBackupsCreateForbidden() *PostNmsBackupsCreateForbidden

NewPostNmsBackupsCreateForbidden creates a PostNmsBackupsCreateForbidden with default headers values

func (*PostNmsBackupsCreateForbidden) Error

func (*PostNmsBackupsCreateForbidden) GetPayload

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

type PostNmsBackupsCreateInternalServerError

type PostNmsBackupsCreateInternalServerError struct {
	Payload *models.Error
}
PostNmsBackupsCreateInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostNmsBackupsCreateInternalServerError

func NewPostNmsBackupsCreateInternalServerError() *PostNmsBackupsCreateInternalServerError

NewPostNmsBackupsCreateInternalServerError creates a PostNmsBackupsCreateInternalServerError with default headers values

func (*PostNmsBackupsCreateInternalServerError) Error

func (*PostNmsBackupsCreateInternalServerError) GetPayload

type PostNmsBackupsCreateNotFound

type PostNmsBackupsCreateNotFound struct {
	Payload *models.Error
}
PostNmsBackupsCreateNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostNmsBackupsCreateNotFound

func NewPostNmsBackupsCreateNotFound() *PostNmsBackupsCreateNotFound

NewPostNmsBackupsCreateNotFound creates a PostNmsBackupsCreateNotFound with default headers values

func (*PostNmsBackupsCreateNotFound) Error

func (*PostNmsBackupsCreateNotFound) GetPayload

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

type PostNmsBackupsCreateOK

type PostNmsBackupsCreateOK struct {
	Payload *models.UispBackup
}
PostNmsBackupsCreateOK describes a response with status code 200, with default header values.

Successful

func NewPostNmsBackupsCreateOK

func NewPostNmsBackupsCreateOK() *PostNmsBackupsCreateOK

NewPostNmsBackupsCreateOK creates a PostNmsBackupsCreateOK with default headers values

func (*PostNmsBackupsCreateOK) Error

func (o *PostNmsBackupsCreateOK) Error() string

func (*PostNmsBackupsCreateOK) GetPayload

func (o *PostNmsBackupsCreateOK) GetPayload() *models.UispBackup

type PostNmsBackupsCreateParams

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

PostNmsBackupsCreateParams contains all the parameters to send to the API endpoint

for the post nms backups create operation.

Typically these are written to a http.Request.

func NewPostNmsBackupsCreateParams

func NewPostNmsBackupsCreateParams() *PostNmsBackupsCreateParams

NewPostNmsBackupsCreateParams creates a new PostNmsBackupsCreateParams 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 NewPostNmsBackupsCreateParamsWithContext

func NewPostNmsBackupsCreateParamsWithContext(ctx context.Context) *PostNmsBackupsCreateParams

NewPostNmsBackupsCreateParamsWithContext creates a new PostNmsBackupsCreateParams object with the ability to set a context for a request.

func NewPostNmsBackupsCreateParamsWithHTTPClient

func NewPostNmsBackupsCreateParamsWithHTTPClient(client *http.Client) *PostNmsBackupsCreateParams

NewPostNmsBackupsCreateParamsWithHTTPClient creates a new PostNmsBackupsCreateParams object with the ability to set a custom HTTPClient for a request.

func NewPostNmsBackupsCreateParamsWithTimeout

func NewPostNmsBackupsCreateParamsWithTimeout(timeout time.Duration) *PostNmsBackupsCreateParams

NewPostNmsBackupsCreateParamsWithTimeout creates a new PostNmsBackupsCreateParams object with the ability to set a timeout on a request.

func (*PostNmsBackupsCreateParams) SetContext

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

SetContext adds the context to the post nms backups create params

func (*PostNmsBackupsCreateParams) SetDefaults

func (o *PostNmsBackupsCreateParams) SetDefaults()

SetDefaults hydrates default values in the post nms backups create params (not the query body).

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

func (*PostNmsBackupsCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post nms backups create params

func (*PostNmsBackupsCreateParams) SetTimeout

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

SetTimeout adds the timeout to the post nms backups create params

func (*PostNmsBackupsCreateParams) WithContext

WithContext adds the context to the post nms backups create params

func (*PostNmsBackupsCreateParams) WithDefaults

WithDefaults hydrates default values in the post nms backups create params (not the query body).

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

func (*PostNmsBackupsCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post nms backups create params

func (*PostNmsBackupsCreateParams) WithTimeout

WithTimeout adds the timeout to the post nms backups create params

func (*PostNmsBackupsCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostNmsBackupsCreateReader

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

PostNmsBackupsCreateReader is a Reader for the PostNmsBackupsCreate structure.

func (*PostNmsBackupsCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostNmsBackupsCreateUnauthorized

type PostNmsBackupsCreateUnauthorized struct {
	Payload *models.Error
}
PostNmsBackupsCreateUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPostNmsBackupsCreateUnauthorized

func NewPostNmsBackupsCreateUnauthorized() *PostNmsBackupsCreateUnauthorized

NewPostNmsBackupsCreateUnauthorized creates a PostNmsBackupsCreateUnauthorized with default headers values

func (*PostNmsBackupsCreateUnauthorized) Error

func (*PostNmsBackupsCreateUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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