Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateNvmfNamespaceSnapshot(params *CreateNvmfNamespaceSnapshotParams, opts ...ClientOption) (*CreateNvmfNamespaceSnapshotOK, error)
- func (a *Client) DeleteNvmfNamespaceSnapshot(params *DeleteNvmfNamespaceSnapshotParams, opts ...ClientOption) (*DeleteNvmfNamespaceSnapshotOK, error)
- func (a *Client) GetNvmfNamespaceSnapshots(params *GetNvmfNamespaceSnapshotsParams, opts ...ClientOption) (*GetNvmfNamespaceSnapshotsOK, error)
- func (a *Client) GetNvmfNamespaceSnapshotsConnection(params *GetNvmfNamespaceSnapshotsConnectionParams, opts ...ClientOption) (*GetNvmfNamespaceSnapshotsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateNvmfNamespaceSnapshotBadRequest
- type CreateNvmfNamespaceSnapshotInternalServerError
- type CreateNvmfNamespaceSnapshotNotFound
- type CreateNvmfNamespaceSnapshotOK
- type CreateNvmfNamespaceSnapshotParams
- func NewCreateNvmfNamespaceSnapshotParams() *CreateNvmfNamespaceSnapshotParams
- func NewCreateNvmfNamespaceSnapshotParamsWithContext(ctx context.Context) *CreateNvmfNamespaceSnapshotParams
- func NewCreateNvmfNamespaceSnapshotParamsWithHTTPClient(client *http.Client) *CreateNvmfNamespaceSnapshotParams
- func NewCreateNvmfNamespaceSnapshotParamsWithTimeout(timeout time.Duration) *CreateNvmfNamespaceSnapshotParams
- func (o *CreateNvmfNamespaceSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateNvmfNamespaceSnapshotParams) SetContext(ctx context.Context)
- func (o *CreateNvmfNamespaceSnapshotParams) SetDefaults()
- func (o *CreateNvmfNamespaceSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *CreateNvmfNamespaceSnapshotParams) SetRequestBody(requestBody []*models.NvmfNamespaceSnapshotCreationParams)
- func (o *CreateNvmfNamespaceSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *CreateNvmfNamespaceSnapshotParams) WithContentLanguage(contentLanguage *string) *CreateNvmfNamespaceSnapshotParams
- func (o *CreateNvmfNamespaceSnapshotParams) WithContext(ctx context.Context) *CreateNvmfNamespaceSnapshotParams
- func (o *CreateNvmfNamespaceSnapshotParams) WithDefaults() *CreateNvmfNamespaceSnapshotParams
- func (o *CreateNvmfNamespaceSnapshotParams) WithHTTPClient(client *http.Client) *CreateNvmfNamespaceSnapshotParams
- func (o *CreateNvmfNamespaceSnapshotParams) WithRequestBody(requestBody []*models.NvmfNamespaceSnapshotCreationParams) *CreateNvmfNamespaceSnapshotParams
- func (o *CreateNvmfNamespaceSnapshotParams) WithTimeout(timeout time.Duration) *CreateNvmfNamespaceSnapshotParams
- func (o *CreateNvmfNamespaceSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNvmfNamespaceSnapshotReader
- type DeleteNvmfNamespaceSnapshotBadRequest
- type DeleteNvmfNamespaceSnapshotInternalServerError
- type DeleteNvmfNamespaceSnapshotNotFound
- type DeleteNvmfNamespaceSnapshotOK
- type DeleteNvmfNamespaceSnapshotParams
- func NewDeleteNvmfNamespaceSnapshotParams() *DeleteNvmfNamespaceSnapshotParams
- func NewDeleteNvmfNamespaceSnapshotParamsWithContext(ctx context.Context) *DeleteNvmfNamespaceSnapshotParams
- func NewDeleteNvmfNamespaceSnapshotParamsWithHTTPClient(client *http.Client) *DeleteNvmfNamespaceSnapshotParams
- func NewDeleteNvmfNamespaceSnapshotParamsWithTimeout(timeout time.Duration) *DeleteNvmfNamespaceSnapshotParams
- func (o *DeleteNvmfNamespaceSnapshotParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteNvmfNamespaceSnapshotParams) SetContext(ctx context.Context)
- func (o *DeleteNvmfNamespaceSnapshotParams) SetDefaults()
- func (o *DeleteNvmfNamespaceSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNvmfNamespaceSnapshotParams) SetRequestBody(requestBody *models.NvmfNamespaceSnapshotDeletionParams)
- func (o *DeleteNvmfNamespaceSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNvmfNamespaceSnapshotParams) WithContentLanguage(contentLanguage *string) *DeleteNvmfNamespaceSnapshotParams
- func (o *DeleteNvmfNamespaceSnapshotParams) WithContext(ctx context.Context) *DeleteNvmfNamespaceSnapshotParams
- func (o *DeleteNvmfNamespaceSnapshotParams) WithDefaults() *DeleteNvmfNamespaceSnapshotParams
- func (o *DeleteNvmfNamespaceSnapshotParams) WithHTTPClient(client *http.Client) *DeleteNvmfNamespaceSnapshotParams
- func (o *DeleteNvmfNamespaceSnapshotParams) WithRequestBody(requestBody *models.NvmfNamespaceSnapshotDeletionParams) *DeleteNvmfNamespaceSnapshotParams
- func (o *DeleteNvmfNamespaceSnapshotParams) WithTimeout(timeout time.Duration) *DeleteNvmfNamespaceSnapshotParams
- func (o *DeleteNvmfNamespaceSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNvmfNamespaceSnapshotReader
- type GetNvmfNamespaceSnapshotsBadRequest
- type GetNvmfNamespaceSnapshotsConnectionBadRequest
- type GetNvmfNamespaceSnapshotsConnectionInternalServerError
- type GetNvmfNamespaceSnapshotsConnectionNotFound
- type GetNvmfNamespaceSnapshotsConnectionOK
- type GetNvmfNamespaceSnapshotsConnectionParams
- func NewGetNvmfNamespaceSnapshotsConnectionParams() *GetNvmfNamespaceSnapshotsConnectionParams
- func NewGetNvmfNamespaceSnapshotsConnectionParamsWithContext(ctx context.Context) *GetNvmfNamespaceSnapshotsConnectionParams
- func NewGetNvmfNamespaceSnapshotsConnectionParamsWithHTTPClient(client *http.Client) *GetNvmfNamespaceSnapshotsConnectionParams
- func NewGetNvmfNamespaceSnapshotsConnectionParamsWithTimeout(timeout time.Duration) *GetNvmfNamespaceSnapshotsConnectionParams
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetContext(ctx context.Context)
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetDefaults()
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetRequestBody(requestBody *models.GetNvmfNamespaceSnapshotsConnectionRequestBody)
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithContentLanguage(contentLanguage *string) *GetNvmfNamespaceSnapshotsConnectionParams
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithContext(ctx context.Context) *GetNvmfNamespaceSnapshotsConnectionParams
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithDefaults() *GetNvmfNamespaceSnapshotsConnectionParams
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithHTTPClient(client *http.Client) *GetNvmfNamespaceSnapshotsConnectionParams
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithRequestBody(requestBody *models.GetNvmfNamespaceSnapshotsConnectionRequestBody) *GetNvmfNamespaceSnapshotsConnectionParams
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithTimeout(timeout time.Duration) *GetNvmfNamespaceSnapshotsConnectionParams
- func (o *GetNvmfNamespaceSnapshotsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNvmfNamespaceSnapshotsConnectionReader
- type GetNvmfNamespaceSnapshotsInternalServerError
- type GetNvmfNamespaceSnapshotsNotFound
- type GetNvmfNamespaceSnapshotsOK
- type GetNvmfNamespaceSnapshotsParams
- func NewGetNvmfNamespaceSnapshotsParams() *GetNvmfNamespaceSnapshotsParams
- func NewGetNvmfNamespaceSnapshotsParamsWithContext(ctx context.Context) *GetNvmfNamespaceSnapshotsParams
- func NewGetNvmfNamespaceSnapshotsParamsWithHTTPClient(client *http.Client) *GetNvmfNamespaceSnapshotsParams
- func NewGetNvmfNamespaceSnapshotsParamsWithTimeout(timeout time.Duration) *GetNvmfNamespaceSnapshotsParams
- func (o *GetNvmfNamespaceSnapshotsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetNvmfNamespaceSnapshotsParams) SetContext(ctx context.Context)
- func (o *GetNvmfNamespaceSnapshotsParams) SetDefaults()
- func (o *GetNvmfNamespaceSnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *GetNvmfNamespaceSnapshotsParams) SetRequestBody(requestBody *models.GetNvmfNamespaceSnapshotsRequestBody)
- func (o *GetNvmfNamespaceSnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *GetNvmfNamespaceSnapshotsParams) WithContentLanguage(contentLanguage *string) *GetNvmfNamespaceSnapshotsParams
- func (o *GetNvmfNamespaceSnapshotsParams) WithContext(ctx context.Context) *GetNvmfNamespaceSnapshotsParams
- func (o *GetNvmfNamespaceSnapshotsParams) WithDefaults() *GetNvmfNamespaceSnapshotsParams
- func (o *GetNvmfNamespaceSnapshotsParams) WithHTTPClient(client *http.Client) *GetNvmfNamespaceSnapshotsParams
- func (o *GetNvmfNamespaceSnapshotsParams) WithRequestBody(requestBody *models.GetNvmfNamespaceSnapshotsRequestBody) *GetNvmfNamespaceSnapshotsParams
- func (o *GetNvmfNamespaceSnapshotsParams) WithTimeout(timeout time.Duration) *GetNvmfNamespaceSnapshotsParams
- func (o *GetNvmfNamespaceSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNvmfNamespaceSnapshotsReader
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 nvmf namespace snapshot API
func (*Client) CreateNvmfNamespaceSnapshot ¶
func (a *Client) CreateNvmfNamespaceSnapshot(params *CreateNvmfNamespaceSnapshotParams, opts ...ClientOption) (*CreateNvmfNamespaceSnapshotOK, error)
CreateNvmfNamespaceSnapshot create nvmf namespace snapshot API
func (*Client) DeleteNvmfNamespaceSnapshot ¶
func (a *Client) DeleteNvmfNamespaceSnapshot(params *DeleteNvmfNamespaceSnapshotParams, opts ...ClientOption) (*DeleteNvmfNamespaceSnapshotOK, error)
DeleteNvmfNamespaceSnapshot delete nvmf namespace snapshot API
func (*Client) GetNvmfNamespaceSnapshots ¶
func (a *Client) GetNvmfNamespaceSnapshots(params *GetNvmfNamespaceSnapshotsParams, opts ...ClientOption) (*GetNvmfNamespaceSnapshotsOK, error)
GetNvmfNamespaceSnapshots get nvmf namespace snapshots API
func (*Client) GetNvmfNamespaceSnapshotsConnection ¶
func (a *Client) GetNvmfNamespaceSnapshotsConnection(params *GetNvmfNamespaceSnapshotsConnectionParams, opts ...ClientOption) (*GetNvmfNamespaceSnapshotsConnectionOK, error)
GetNvmfNamespaceSnapshotsConnection get nvmf namespace snapshots connection API
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 { CreateNvmfNamespaceSnapshot(params *CreateNvmfNamespaceSnapshotParams, opts ...ClientOption) (*CreateNvmfNamespaceSnapshotOK, error) DeleteNvmfNamespaceSnapshot(params *DeleteNvmfNamespaceSnapshotParams, opts ...ClientOption) (*DeleteNvmfNamespaceSnapshotOK, error) GetNvmfNamespaceSnapshots(params *GetNvmfNamespaceSnapshotsParams, opts ...ClientOption) (*GetNvmfNamespaceSnapshotsOK, error) GetNvmfNamespaceSnapshotsConnection(params *GetNvmfNamespaceSnapshotsConnectionParams, opts ...ClientOption) (*GetNvmfNamespaceSnapshotsConnectionOK, 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 nvmf namespace snapshot API client.
type CreateNvmfNamespaceSnapshotBadRequest ¶
type CreateNvmfNamespaceSnapshotBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
CreateNvmfNamespaceSnapshotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateNvmfNamespaceSnapshotBadRequest ¶
func NewCreateNvmfNamespaceSnapshotBadRequest() *CreateNvmfNamespaceSnapshotBadRequest
NewCreateNvmfNamespaceSnapshotBadRequest creates a CreateNvmfNamespaceSnapshotBadRequest with default headers values
func (*CreateNvmfNamespaceSnapshotBadRequest) Error ¶
func (o *CreateNvmfNamespaceSnapshotBadRequest) Error() string
func (*CreateNvmfNamespaceSnapshotBadRequest) GetPayload ¶
func (o *CreateNvmfNamespaceSnapshotBadRequest) GetPayload() *models.ErrorBody
type CreateNvmfNamespaceSnapshotInternalServerError ¶
type CreateNvmfNamespaceSnapshotInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
CreateNvmfNamespaceSnapshotInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateNvmfNamespaceSnapshotInternalServerError ¶
func NewCreateNvmfNamespaceSnapshotInternalServerError() *CreateNvmfNamespaceSnapshotInternalServerError
NewCreateNvmfNamespaceSnapshotInternalServerError creates a CreateNvmfNamespaceSnapshotInternalServerError with default headers values
func (*CreateNvmfNamespaceSnapshotInternalServerError) Error ¶
func (o *CreateNvmfNamespaceSnapshotInternalServerError) Error() string
func (*CreateNvmfNamespaceSnapshotInternalServerError) GetPayload ¶
func (o *CreateNvmfNamespaceSnapshotInternalServerError) GetPayload() *models.ErrorBody
type CreateNvmfNamespaceSnapshotNotFound ¶
type CreateNvmfNamespaceSnapshotNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
CreateNvmfNamespaceSnapshotNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateNvmfNamespaceSnapshotNotFound ¶
func NewCreateNvmfNamespaceSnapshotNotFound() *CreateNvmfNamespaceSnapshotNotFound
NewCreateNvmfNamespaceSnapshotNotFound creates a CreateNvmfNamespaceSnapshotNotFound with default headers values
func (*CreateNvmfNamespaceSnapshotNotFound) Error ¶
func (o *CreateNvmfNamespaceSnapshotNotFound) Error() string
func (*CreateNvmfNamespaceSnapshotNotFound) GetPayload ¶
func (o *CreateNvmfNamespaceSnapshotNotFound) GetPayload() *models.ErrorBody
type CreateNvmfNamespaceSnapshotOK ¶
type CreateNvmfNamespaceSnapshotOK struct { XTowerRequestID string Payload []*models.WithTaskNvmfNamespaceSnapshot }
CreateNvmfNamespaceSnapshotOK describes a response with status code 200, with default header values.
CreateNvmfNamespaceSnapshotOK create nvmf namespace snapshot o k
func NewCreateNvmfNamespaceSnapshotOK ¶
func NewCreateNvmfNamespaceSnapshotOK() *CreateNvmfNamespaceSnapshotOK
NewCreateNvmfNamespaceSnapshotOK creates a CreateNvmfNamespaceSnapshotOK with default headers values
func (*CreateNvmfNamespaceSnapshotOK) Error ¶
func (o *CreateNvmfNamespaceSnapshotOK) Error() string
func (*CreateNvmfNamespaceSnapshotOK) GetPayload ¶
func (o *CreateNvmfNamespaceSnapshotOK) GetPayload() []*models.WithTaskNvmfNamespaceSnapshot
type CreateNvmfNamespaceSnapshotParams ¶
type CreateNvmfNamespaceSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.NvmfNamespaceSnapshotCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNvmfNamespaceSnapshotParams contains all the parameters to send to the API endpoint
for the create nvmf namespace snapshot operation. Typically these are written to a http.Request.
func NewCreateNvmfNamespaceSnapshotParams ¶
func NewCreateNvmfNamespaceSnapshotParams() *CreateNvmfNamespaceSnapshotParams
NewCreateNvmfNamespaceSnapshotParams creates a new CreateNvmfNamespaceSnapshotParams 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 NewCreateNvmfNamespaceSnapshotParamsWithContext ¶
func NewCreateNvmfNamespaceSnapshotParamsWithContext(ctx context.Context) *CreateNvmfNamespaceSnapshotParams
NewCreateNvmfNamespaceSnapshotParamsWithContext creates a new CreateNvmfNamespaceSnapshotParams object with the ability to set a context for a request.
func NewCreateNvmfNamespaceSnapshotParamsWithHTTPClient ¶
func NewCreateNvmfNamespaceSnapshotParamsWithHTTPClient(client *http.Client) *CreateNvmfNamespaceSnapshotParams
NewCreateNvmfNamespaceSnapshotParamsWithHTTPClient creates a new CreateNvmfNamespaceSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNvmfNamespaceSnapshotParamsWithTimeout ¶
func NewCreateNvmfNamespaceSnapshotParamsWithTimeout(timeout time.Duration) *CreateNvmfNamespaceSnapshotParams
NewCreateNvmfNamespaceSnapshotParamsWithTimeout creates a new CreateNvmfNamespaceSnapshotParams object with the ability to set a timeout on a request.
func (*CreateNvmfNamespaceSnapshotParams) SetContentLanguage ¶
func (o *CreateNvmfNamespaceSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create nvmf namespace snapshot params
func (*CreateNvmfNamespaceSnapshotParams) SetContext ¶
func (o *CreateNvmfNamespaceSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the create nvmf namespace snapshot params
func (*CreateNvmfNamespaceSnapshotParams) SetDefaults ¶
func (o *CreateNvmfNamespaceSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the create nvmf namespace snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNvmfNamespaceSnapshotParams) SetHTTPClient ¶
func (o *CreateNvmfNamespaceSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create nvmf namespace snapshot params
func (*CreateNvmfNamespaceSnapshotParams) SetRequestBody ¶
func (o *CreateNvmfNamespaceSnapshotParams) SetRequestBody(requestBody []*models.NvmfNamespaceSnapshotCreationParams)
SetRequestBody adds the requestBody to the create nvmf namespace snapshot params
func (*CreateNvmfNamespaceSnapshotParams) SetTimeout ¶
func (o *CreateNvmfNamespaceSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create nvmf namespace snapshot params
func (*CreateNvmfNamespaceSnapshotParams) WithContentLanguage ¶
func (o *CreateNvmfNamespaceSnapshotParams) WithContentLanguage(contentLanguage *string) *CreateNvmfNamespaceSnapshotParams
WithContentLanguage adds the contentLanguage to the create nvmf namespace snapshot params
func (*CreateNvmfNamespaceSnapshotParams) WithContext ¶
func (o *CreateNvmfNamespaceSnapshotParams) WithContext(ctx context.Context) *CreateNvmfNamespaceSnapshotParams
WithContext adds the context to the create nvmf namespace snapshot params
func (*CreateNvmfNamespaceSnapshotParams) WithDefaults ¶
func (o *CreateNvmfNamespaceSnapshotParams) WithDefaults() *CreateNvmfNamespaceSnapshotParams
WithDefaults hydrates default values in the create nvmf namespace snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNvmfNamespaceSnapshotParams) WithHTTPClient ¶
func (o *CreateNvmfNamespaceSnapshotParams) WithHTTPClient(client *http.Client) *CreateNvmfNamespaceSnapshotParams
WithHTTPClient adds the HTTPClient to the create nvmf namespace snapshot params
func (*CreateNvmfNamespaceSnapshotParams) WithRequestBody ¶
func (o *CreateNvmfNamespaceSnapshotParams) WithRequestBody(requestBody []*models.NvmfNamespaceSnapshotCreationParams) *CreateNvmfNamespaceSnapshotParams
WithRequestBody adds the requestBody to the create nvmf namespace snapshot params
func (*CreateNvmfNamespaceSnapshotParams) WithTimeout ¶
func (o *CreateNvmfNamespaceSnapshotParams) WithTimeout(timeout time.Duration) *CreateNvmfNamespaceSnapshotParams
WithTimeout adds the timeout to the create nvmf namespace snapshot params
func (*CreateNvmfNamespaceSnapshotParams) WriteToRequest ¶
func (o *CreateNvmfNamespaceSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNvmfNamespaceSnapshotReader ¶
type CreateNvmfNamespaceSnapshotReader struct {
// contains filtered or unexported fields
}
CreateNvmfNamespaceSnapshotReader is a Reader for the CreateNvmfNamespaceSnapshot structure.
func (*CreateNvmfNamespaceSnapshotReader) ReadResponse ¶
func (o *CreateNvmfNamespaceSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNvmfNamespaceSnapshotBadRequest ¶
type DeleteNvmfNamespaceSnapshotBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteNvmfNamespaceSnapshotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteNvmfNamespaceSnapshotBadRequest ¶
func NewDeleteNvmfNamespaceSnapshotBadRequest() *DeleteNvmfNamespaceSnapshotBadRequest
NewDeleteNvmfNamespaceSnapshotBadRequest creates a DeleteNvmfNamespaceSnapshotBadRequest with default headers values
func (*DeleteNvmfNamespaceSnapshotBadRequest) Error ¶
func (o *DeleteNvmfNamespaceSnapshotBadRequest) Error() string
func (*DeleteNvmfNamespaceSnapshotBadRequest) GetPayload ¶
func (o *DeleteNvmfNamespaceSnapshotBadRequest) GetPayload() *models.ErrorBody
type DeleteNvmfNamespaceSnapshotInternalServerError ¶
type DeleteNvmfNamespaceSnapshotInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteNvmfNamespaceSnapshotInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteNvmfNamespaceSnapshotInternalServerError ¶
func NewDeleteNvmfNamespaceSnapshotInternalServerError() *DeleteNvmfNamespaceSnapshotInternalServerError
NewDeleteNvmfNamespaceSnapshotInternalServerError creates a DeleteNvmfNamespaceSnapshotInternalServerError with default headers values
func (*DeleteNvmfNamespaceSnapshotInternalServerError) Error ¶
func (o *DeleteNvmfNamespaceSnapshotInternalServerError) Error() string
func (*DeleteNvmfNamespaceSnapshotInternalServerError) GetPayload ¶
func (o *DeleteNvmfNamespaceSnapshotInternalServerError) GetPayload() *models.ErrorBody
type DeleteNvmfNamespaceSnapshotNotFound ¶
type DeleteNvmfNamespaceSnapshotNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
DeleteNvmfNamespaceSnapshotNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteNvmfNamespaceSnapshotNotFound ¶
func NewDeleteNvmfNamespaceSnapshotNotFound() *DeleteNvmfNamespaceSnapshotNotFound
NewDeleteNvmfNamespaceSnapshotNotFound creates a DeleteNvmfNamespaceSnapshotNotFound with default headers values
func (*DeleteNvmfNamespaceSnapshotNotFound) Error ¶
func (o *DeleteNvmfNamespaceSnapshotNotFound) Error() string
func (*DeleteNvmfNamespaceSnapshotNotFound) GetPayload ¶
func (o *DeleteNvmfNamespaceSnapshotNotFound) GetPayload() *models.ErrorBody
type DeleteNvmfNamespaceSnapshotOK ¶
type DeleteNvmfNamespaceSnapshotOK struct { XTowerRequestID string Payload []*models.WithTaskDeleteNvmfNamespaceSnapshot }
DeleteNvmfNamespaceSnapshotOK describes a response with status code 200, with default header values.
DeleteNvmfNamespaceSnapshotOK delete nvmf namespace snapshot o k
func NewDeleteNvmfNamespaceSnapshotOK ¶
func NewDeleteNvmfNamespaceSnapshotOK() *DeleteNvmfNamespaceSnapshotOK
NewDeleteNvmfNamespaceSnapshotOK creates a DeleteNvmfNamespaceSnapshotOK with default headers values
func (*DeleteNvmfNamespaceSnapshotOK) Error ¶
func (o *DeleteNvmfNamespaceSnapshotOK) Error() string
func (*DeleteNvmfNamespaceSnapshotOK) GetPayload ¶
func (o *DeleteNvmfNamespaceSnapshotOK) GetPayload() []*models.WithTaskDeleteNvmfNamespaceSnapshot
type DeleteNvmfNamespaceSnapshotParams ¶
type DeleteNvmfNamespaceSnapshotParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.NvmfNamespaceSnapshotDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNvmfNamespaceSnapshotParams contains all the parameters to send to the API endpoint
for the delete nvmf namespace snapshot operation. Typically these are written to a http.Request.
func NewDeleteNvmfNamespaceSnapshotParams ¶
func NewDeleteNvmfNamespaceSnapshotParams() *DeleteNvmfNamespaceSnapshotParams
NewDeleteNvmfNamespaceSnapshotParams creates a new DeleteNvmfNamespaceSnapshotParams 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 NewDeleteNvmfNamespaceSnapshotParamsWithContext ¶
func NewDeleteNvmfNamespaceSnapshotParamsWithContext(ctx context.Context) *DeleteNvmfNamespaceSnapshotParams
NewDeleteNvmfNamespaceSnapshotParamsWithContext creates a new DeleteNvmfNamespaceSnapshotParams object with the ability to set a context for a request.
func NewDeleteNvmfNamespaceSnapshotParamsWithHTTPClient ¶
func NewDeleteNvmfNamespaceSnapshotParamsWithHTTPClient(client *http.Client) *DeleteNvmfNamespaceSnapshotParams
NewDeleteNvmfNamespaceSnapshotParamsWithHTTPClient creates a new DeleteNvmfNamespaceSnapshotParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNvmfNamespaceSnapshotParamsWithTimeout ¶
func NewDeleteNvmfNamespaceSnapshotParamsWithTimeout(timeout time.Duration) *DeleteNvmfNamespaceSnapshotParams
NewDeleteNvmfNamespaceSnapshotParamsWithTimeout creates a new DeleteNvmfNamespaceSnapshotParams object with the ability to set a timeout on a request.
func (*DeleteNvmfNamespaceSnapshotParams) SetContentLanguage ¶
func (o *DeleteNvmfNamespaceSnapshotParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete nvmf namespace snapshot params
func (*DeleteNvmfNamespaceSnapshotParams) SetContext ¶
func (o *DeleteNvmfNamespaceSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete nvmf namespace snapshot params
func (*DeleteNvmfNamespaceSnapshotParams) SetDefaults ¶
func (o *DeleteNvmfNamespaceSnapshotParams) SetDefaults()
SetDefaults hydrates default values in the delete nvmf namespace snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNvmfNamespaceSnapshotParams) SetHTTPClient ¶
func (o *DeleteNvmfNamespaceSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete nvmf namespace snapshot params
func (*DeleteNvmfNamespaceSnapshotParams) SetRequestBody ¶
func (o *DeleteNvmfNamespaceSnapshotParams) SetRequestBody(requestBody *models.NvmfNamespaceSnapshotDeletionParams)
SetRequestBody adds the requestBody to the delete nvmf namespace snapshot params
func (*DeleteNvmfNamespaceSnapshotParams) SetTimeout ¶
func (o *DeleteNvmfNamespaceSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete nvmf namespace snapshot params
func (*DeleteNvmfNamespaceSnapshotParams) WithContentLanguage ¶
func (o *DeleteNvmfNamespaceSnapshotParams) WithContentLanguage(contentLanguage *string) *DeleteNvmfNamespaceSnapshotParams
WithContentLanguage adds the contentLanguage to the delete nvmf namespace snapshot params
func (*DeleteNvmfNamespaceSnapshotParams) WithContext ¶
func (o *DeleteNvmfNamespaceSnapshotParams) WithContext(ctx context.Context) *DeleteNvmfNamespaceSnapshotParams
WithContext adds the context to the delete nvmf namespace snapshot params
func (*DeleteNvmfNamespaceSnapshotParams) WithDefaults ¶
func (o *DeleteNvmfNamespaceSnapshotParams) WithDefaults() *DeleteNvmfNamespaceSnapshotParams
WithDefaults hydrates default values in the delete nvmf namespace snapshot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNvmfNamespaceSnapshotParams) WithHTTPClient ¶
func (o *DeleteNvmfNamespaceSnapshotParams) WithHTTPClient(client *http.Client) *DeleteNvmfNamespaceSnapshotParams
WithHTTPClient adds the HTTPClient to the delete nvmf namespace snapshot params
func (*DeleteNvmfNamespaceSnapshotParams) WithRequestBody ¶
func (o *DeleteNvmfNamespaceSnapshotParams) WithRequestBody(requestBody *models.NvmfNamespaceSnapshotDeletionParams) *DeleteNvmfNamespaceSnapshotParams
WithRequestBody adds the requestBody to the delete nvmf namespace snapshot params
func (*DeleteNvmfNamespaceSnapshotParams) WithTimeout ¶
func (o *DeleteNvmfNamespaceSnapshotParams) WithTimeout(timeout time.Duration) *DeleteNvmfNamespaceSnapshotParams
WithTimeout adds the timeout to the delete nvmf namespace snapshot params
func (*DeleteNvmfNamespaceSnapshotParams) WriteToRequest ¶
func (o *DeleteNvmfNamespaceSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNvmfNamespaceSnapshotReader ¶
type DeleteNvmfNamespaceSnapshotReader struct {
// contains filtered or unexported fields
}
DeleteNvmfNamespaceSnapshotReader is a Reader for the DeleteNvmfNamespaceSnapshot structure.
func (*DeleteNvmfNamespaceSnapshotReader) ReadResponse ¶
func (o *DeleteNvmfNamespaceSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNvmfNamespaceSnapshotsBadRequest ¶
type GetNvmfNamespaceSnapshotsBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfNamespaceSnapshotsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNvmfNamespaceSnapshotsBadRequest ¶
func NewGetNvmfNamespaceSnapshotsBadRequest() *GetNvmfNamespaceSnapshotsBadRequest
NewGetNvmfNamespaceSnapshotsBadRequest creates a GetNvmfNamespaceSnapshotsBadRequest with default headers values
func (*GetNvmfNamespaceSnapshotsBadRequest) Error ¶
func (o *GetNvmfNamespaceSnapshotsBadRequest) Error() string
func (*GetNvmfNamespaceSnapshotsBadRequest) GetPayload ¶
func (o *GetNvmfNamespaceSnapshotsBadRequest) GetPayload() *models.ErrorBody
type GetNvmfNamespaceSnapshotsConnectionBadRequest ¶
type GetNvmfNamespaceSnapshotsConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfNamespaceSnapshotsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetNvmfNamespaceSnapshotsConnectionBadRequest ¶
func NewGetNvmfNamespaceSnapshotsConnectionBadRequest() *GetNvmfNamespaceSnapshotsConnectionBadRequest
NewGetNvmfNamespaceSnapshotsConnectionBadRequest creates a GetNvmfNamespaceSnapshotsConnectionBadRequest with default headers values
func (*GetNvmfNamespaceSnapshotsConnectionBadRequest) Error ¶
func (o *GetNvmfNamespaceSnapshotsConnectionBadRequest) Error() string
func (*GetNvmfNamespaceSnapshotsConnectionBadRequest) GetPayload ¶
func (o *GetNvmfNamespaceSnapshotsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetNvmfNamespaceSnapshotsConnectionInternalServerError ¶
type GetNvmfNamespaceSnapshotsConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfNamespaceSnapshotsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNvmfNamespaceSnapshotsConnectionInternalServerError ¶
func NewGetNvmfNamespaceSnapshotsConnectionInternalServerError() *GetNvmfNamespaceSnapshotsConnectionInternalServerError
NewGetNvmfNamespaceSnapshotsConnectionInternalServerError creates a GetNvmfNamespaceSnapshotsConnectionInternalServerError with default headers values
func (*GetNvmfNamespaceSnapshotsConnectionInternalServerError) Error ¶
func (o *GetNvmfNamespaceSnapshotsConnectionInternalServerError) Error() string
func (*GetNvmfNamespaceSnapshotsConnectionInternalServerError) GetPayload ¶
func (o *GetNvmfNamespaceSnapshotsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetNvmfNamespaceSnapshotsConnectionNotFound ¶
type GetNvmfNamespaceSnapshotsConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfNamespaceSnapshotsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNvmfNamespaceSnapshotsConnectionNotFound ¶
func NewGetNvmfNamespaceSnapshotsConnectionNotFound() *GetNvmfNamespaceSnapshotsConnectionNotFound
NewGetNvmfNamespaceSnapshotsConnectionNotFound creates a GetNvmfNamespaceSnapshotsConnectionNotFound with default headers values
func (*GetNvmfNamespaceSnapshotsConnectionNotFound) Error ¶
func (o *GetNvmfNamespaceSnapshotsConnectionNotFound) Error() string
func (*GetNvmfNamespaceSnapshotsConnectionNotFound) GetPayload ¶
func (o *GetNvmfNamespaceSnapshotsConnectionNotFound) GetPayload() *models.ErrorBody
type GetNvmfNamespaceSnapshotsConnectionOK ¶
type GetNvmfNamespaceSnapshotsConnectionOK struct { XTowerRequestID string Payload *models.NvmfNamespaceSnapshotConnection }
GetNvmfNamespaceSnapshotsConnectionOK describes a response with status code 200, with default header values.
GetNvmfNamespaceSnapshotsConnectionOK get nvmf namespace snapshots connection o k
func NewGetNvmfNamespaceSnapshotsConnectionOK ¶
func NewGetNvmfNamespaceSnapshotsConnectionOK() *GetNvmfNamespaceSnapshotsConnectionOK
NewGetNvmfNamespaceSnapshotsConnectionOK creates a GetNvmfNamespaceSnapshotsConnectionOK with default headers values
func (*GetNvmfNamespaceSnapshotsConnectionOK) Error ¶
func (o *GetNvmfNamespaceSnapshotsConnectionOK) Error() string
func (*GetNvmfNamespaceSnapshotsConnectionOK) GetPayload ¶
func (o *GetNvmfNamespaceSnapshotsConnectionOK) GetPayload() *models.NvmfNamespaceSnapshotConnection
type GetNvmfNamespaceSnapshotsConnectionParams ¶
type GetNvmfNamespaceSnapshotsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNvmfNamespaceSnapshotsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNvmfNamespaceSnapshotsConnectionParams contains all the parameters to send to the API endpoint
for the get nvmf namespace snapshots connection operation. Typically these are written to a http.Request.
func NewGetNvmfNamespaceSnapshotsConnectionParams ¶
func NewGetNvmfNamespaceSnapshotsConnectionParams() *GetNvmfNamespaceSnapshotsConnectionParams
NewGetNvmfNamespaceSnapshotsConnectionParams creates a new GetNvmfNamespaceSnapshotsConnectionParams 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 NewGetNvmfNamespaceSnapshotsConnectionParamsWithContext ¶
func NewGetNvmfNamespaceSnapshotsConnectionParamsWithContext(ctx context.Context) *GetNvmfNamespaceSnapshotsConnectionParams
NewGetNvmfNamespaceSnapshotsConnectionParamsWithContext creates a new GetNvmfNamespaceSnapshotsConnectionParams object with the ability to set a context for a request.
func NewGetNvmfNamespaceSnapshotsConnectionParamsWithHTTPClient ¶
func NewGetNvmfNamespaceSnapshotsConnectionParamsWithHTTPClient(client *http.Client) *GetNvmfNamespaceSnapshotsConnectionParams
NewGetNvmfNamespaceSnapshotsConnectionParamsWithHTTPClient creates a new GetNvmfNamespaceSnapshotsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetNvmfNamespaceSnapshotsConnectionParamsWithTimeout ¶
func NewGetNvmfNamespaceSnapshotsConnectionParamsWithTimeout(timeout time.Duration) *GetNvmfNamespaceSnapshotsConnectionParams
NewGetNvmfNamespaceSnapshotsConnectionParamsWithTimeout creates a new GetNvmfNamespaceSnapshotsConnectionParams object with the ability to set a timeout on a request.
func (*GetNvmfNamespaceSnapshotsConnectionParams) SetContentLanguage ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get nvmf namespace snapshots connection params
func (*GetNvmfNamespaceSnapshotsConnectionParams) SetContext ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get nvmf namespace snapshots connection params
func (*GetNvmfNamespaceSnapshotsConnectionParams) SetDefaults ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get nvmf namespace snapshots connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfNamespaceSnapshotsConnectionParams) SetHTTPClient ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nvmf namespace snapshots connection params
func (*GetNvmfNamespaceSnapshotsConnectionParams) SetRequestBody ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetRequestBody(requestBody *models.GetNvmfNamespaceSnapshotsConnectionRequestBody)
SetRequestBody adds the requestBody to the get nvmf namespace snapshots connection params
func (*GetNvmfNamespaceSnapshotsConnectionParams) SetTimeout ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nvmf namespace snapshots connection params
func (*GetNvmfNamespaceSnapshotsConnectionParams) WithContentLanguage ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithContentLanguage(contentLanguage *string) *GetNvmfNamespaceSnapshotsConnectionParams
WithContentLanguage adds the contentLanguage to the get nvmf namespace snapshots connection params
func (*GetNvmfNamespaceSnapshotsConnectionParams) WithContext ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithContext(ctx context.Context) *GetNvmfNamespaceSnapshotsConnectionParams
WithContext adds the context to the get nvmf namespace snapshots connection params
func (*GetNvmfNamespaceSnapshotsConnectionParams) WithDefaults ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithDefaults() *GetNvmfNamespaceSnapshotsConnectionParams
WithDefaults hydrates default values in the get nvmf namespace snapshots connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfNamespaceSnapshotsConnectionParams) WithHTTPClient ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithHTTPClient(client *http.Client) *GetNvmfNamespaceSnapshotsConnectionParams
WithHTTPClient adds the HTTPClient to the get nvmf namespace snapshots connection params
func (*GetNvmfNamespaceSnapshotsConnectionParams) WithRequestBody ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithRequestBody(requestBody *models.GetNvmfNamespaceSnapshotsConnectionRequestBody) *GetNvmfNamespaceSnapshotsConnectionParams
WithRequestBody adds the requestBody to the get nvmf namespace snapshots connection params
func (*GetNvmfNamespaceSnapshotsConnectionParams) WithTimeout ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) WithTimeout(timeout time.Duration) *GetNvmfNamespaceSnapshotsConnectionParams
WithTimeout adds the timeout to the get nvmf namespace snapshots connection params
func (*GetNvmfNamespaceSnapshotsConnectionParams) WriteToRequest ¶
func (o *GetNvmfNamespaceSnapshotsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNvmfNamespaceSnapshotsConnectionReader ¶
type GetNvmfNamespaceSnapshotsConnectionReader struct {
// contains filtered or unexported fields
}
GetNvmfNamespaceSnapshotsConnectionReader is a Reader for the GetNvmfNamespaceSnapshotsConnection structure.
func (*GetNvmfNamespaceSnapshotsConnectionReader) ReadResponse ¶
func (o *GetNvmfNamespaceSnapshotsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNvmfNamespaceSnapshotsInternalServerError ¶
type GetNvmfNamespaceSnapshotsInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetNvmfNamespaceSnapshotsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetNvmfNamespaceSnapshotsInternalServerError ¶
func NewGetNvmfNamespaceSnapshotsInternalServerError() *GetNvmfNamespaceSnapshotsInternalServerError
NewGetNvmfNamespaceSnapshotsInternalServerError creates a GetNvmfNamespaceSnapshotsInternalServerError with default headers values
func (*GetNvmfNamespaceSnapshotsInternalServerError) Error ¶
func (o *GetNvmfNamespaceSnapshotsInternalServerError) Error() string
func (*GetNvmfNamespaceSnapshotsInternalServerError) GetPayload ¶
func (o *GetNvmfNamespaceSnapshotsInternalServerError) GetPayload() *models.ErrorBody
type GetNvmfNamespaceSnapshotsNotFound ¶
GetNvmfNamespaceSnapshotsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetNvmfNamespaceSnapshotsNotFound ¶
func NewGetNvmfNamespaceSnapshotsNotFound() *GetNvmfNamespaceSnapshotsNotFound
NewGetNvmfNamespaceSnapshotsNotFound creates a GetNvmfNamespaceSnapshotsNotFound with default headers values
func (*GetNvmfNamespaceSnapshotsNotFound) Error ¶
func (o *GetNvmfNamespaceSnapshotsNotFound) Error() string
func (*GetNvmfNamespaceSnapshotsNotFound) GetPayload ¶
func (o *GetNvmfNamespaceSnapshotsNotFound) GetPayload() *models.ErrorBody
type GetNvmfNamespaceSnapshotsOK ¶
type GetNvmfNamespaceSnapshotsOK struct { XTowerRequestID string Payload []*models.NvmfNamespaceSnapshot }
GetNvmfNamespaceSnapshotsOK describes a response with status code 200, with default header values.
GetNvmfNamespaceSnapshotsOK get nvmf namespace snapshots o k
func NewGetNvmfNamespaceSnapshotsOK ¶
func NewGetNvmfNamespaceSnapshotsOK() *GetNvmfNamespaceSnapshotsOK
NewGetNvmfNamespaceSnapshotsOK creates a GetNvmfNamespaceSnapshotsOK with default headers values
func (*GetNvmfNamespaceSnapshotsOK) Error ¶
func (o *GetNvmfNamespaceSnapshotsOK) Error() string
func (*GetNvmfNamespaceSnapshotsOK) GetPayload ¶
func (o *GetNvmfNamespaceSnapshotsOK) GetPayload() []*models.NvmfNamespaceSnapshot
type GetNvmfNamespaceSnapshotsParams ¶
type GetNvmfNamespaceSnapshotsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetNvmfNamespaceSnapshotsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNvmfNamespaceSnapshotsParams contains all the parameters to send to the API endpoint
for the get nvmf namespace snapshots operation. Typically these are written to a http.Request.
func NewGetNvmfNamespaceSnapshotsParams ¶
func NewGetNvmfNamespaceSnapshotsParams() *GetNvmfNamespaceSnapshotsParams
NewGetNvmfNamespaceSnapshotsParams creates a new GetNvmfNamespaceSnapshotsParams 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 NewGetNvmfNamespaceSnapshotsParamsWithContext ¶
func NewGetNvmfNamespaceSnapshotsParamsWithContext(ctx context.Context) *GetNvmfNamespaceSnapshotsParams
NewGetNvmfNamespaceSnapshotsParamsWithContext creates a new GetNvmfNamespaceSnapshotsParams object with the ability to set a context for a request.
func NewGetNvmfNamespaceSnapshotsParamsWithHTTPClient ¶
func NewGetNvmfNamespaceSnapshotsParamsWithHTTPClient(client *http.Client) *GetNvmfNamespaceSnapshotsParams
NewGetNvmfNamespaceSnapshotsParamsWithHTTPClient creates a new GetNvmfNamespaceSnapshotsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNvmfNamespaceSnapshotsParamsWithTimeout ¶
func NewGetNvmfNamespaceSnapshotsParamsWithTimeout(timeout time.Duration) *GetNvmfNamespaceSnapshotsParams
NewGetNvmfNamespaceSnapshotsParamsWithTimeout creates a new GetNvmfNamespaceSnapshotsParams object with the ability to set a timeout on a request.
func (*GetNvmfNamespaceSnapshotsParams) SetContentLanguage ¶
func (o *GetNvmfNamespaceSnapshotsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get nvmf namespace snapshots params
func (*GetNvmfNamespaceSnapshotsParams) SetContext ¶
func (o *GetNvmfNamespaceSnapshotsParams) SetContext(ctx context.Context)
SetContext adds the context to the get nvmf namespace snapshots params
func (*GetNvmfNamespaceSnapshotsParams) SetDefaults ¶
func (o *GetNvmfNamespaceSnapshotsParams) SetDefaults()
SetDefaults hydrates default values in the get nvmf namespace snapshots params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfNamespaceSnapshotsParams) SetHTTPClient ¶
func (o *GetNvmfNamespaceSnapshotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nvmf namespace snapshots params
func (*GetNvmfNamespaceSnapshotsParams) SetRequestBody ¶
func (o *GetNvmfNamespaceSnapshotsParams) SetRequestBody(requestBody *models.GetNvmfNamespaceSnapshotsRequestBody)
SetRequestBody adds the requestBody to the get nvmf namespace snapshots params
func (*GetNvmfNamespaceSnapshotsParams) SetTimeout ¶
func (o *GetNvmfNamespaceSnapshotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nvmf namespace snapshots params
func (*GetNvmfNamespaceSnapshotsParams) WithContentLanguage ¶
func (o *GetNvmfNamespaceSnapshotsParams) WithContentLanguage(contentLanguage *string) *GetNvmfNamespaceSnapshotsParams
WithContentLanguage adds the contentLanguage to the get nvmf namespace snapshots params
func (*GetNvmfNamespaceSnapshotsParams) WithContext ¶
func (o *GetNvmfNamespaceSnapshotsParams) WithContext(ctx context.Context) *GetNvmfNamespaceSnapshotsParams
WithContext adds the context to the get nvmf namespace snapshots params
func (*GetNvmfNamespaceSnapshotsParams) WithDefaults ¶
func (o *GetNvmfNamespaceSnapshotsParams) WithDefaults() *GetNvmfNamespaceSnapshotsParams
WithDefaults hydrates default values in the get nvmf namespace snapshots params (not the query body).
All values with no default are reset to their zero value.
func (*GetNvmfNamespaceSnapshotsParams) WithHTTPClient ¶
func (o *GetNvmfNamespaceSnapshotsParams) WithHTTPClient(client *http.Client) *GetNvmfNamespaceSnapshotsParams
WithHTTPClient adds the HTTPClient to the get nvmf namespace snapshots params
func (*GetNvmfNamespaceSnapshotsParams) WithRequestBody ¶
func (o *GetNvmfNamespaceSnapshotsParams) WithRequestBody(requestBody *models.GetNvmfNamespaceSnapshotsRequestBody) *GetNvmfNamespaceSnapshotsParams
WithRequestBody adds the requestBody to the get nvmf namespace snapshots params
func (*GetNvmfNamespaceSnapshotsParams) WithTimeout ¶
func (o *GetNvmfNamespaceSnapshotsParams) WithTimeout(timeout time.Duration) *GetNvmfNamespaceSnapshotsParams
WithTimeout adds the timeout to the get nvmf namespace snapshots params
func (*GetNvmfNamespaceSnapshotsParams) WriteToRequest ¶
func (o *GetNvmfNamespaceSnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNvmfNamespaceSnapshotsReader ¶
type GetNvmfNamespaceSnapshotsReader struct {
// contains filtered or unexported fields
}
GetNvmfNamespaceSnapshotsReader is a Reader for the GetNvmfNamespaceSnapshots structure.
func (*GetNvmfNamespaceSnapshotsReader) ReadResponse ¶
func (o *GetNvmfNamespaceSnapshotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_nvmf_namespace_snapshot_parameters.go
- create_nvmf_namespace_snapshot_responses.go
- delete_nvmf_namespace_snapshot_parameters.go
- delete_nvmf_namespace_snapshot_responses.go
- get_nvmf_namespace_snapshots_connection_parameters.go
- get_nvmf_namespace_snapshots_connection_responses.go
- get_nvmf_namespace_snapshots_parameters.go
- get_nvmf_namespace_snapshots_responses.go
- nvmf_namespace_snapshot_client.go