nvmf_namespace_snapshot

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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 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 {
	Payload string
}
CreateNvmfNamespaceSnapshotBadRequest describes a response with status code 400, with default header values.

CreateNvmfNamespaceSnapshotBadRequest create nvmf namespace snapshot bad request

func NewCreateNvmfNamespaceSnapshotBadRequest

func NewCreateNvmfNamespaceSnapshotBadRequest() *CreateNvmfNamespaceSnapshotBadRequest

NewCreateNvmfNamespaceSnapshotBadRequest creates a CreateNvmfNamespaceSnapshotBadRequest with default headers values

func (*CreateNvmfNamespaceSnapshotBadRequest) Error

func (*CreateNvmfNamespaceSnapshotBadRequest) GetPayload

type CreateNvmfNamespaceSnapshotOK

type CreateNvmfNamespaceSnapshotOK struct {
	Payload []*models.WithTaskNvmfNamespaceSnapshot
}
CreateNvmfNamespaceSnapshotOK describes a response with status code 200, with default header values.

Ok

func NewCreateNvmfNamespaceSnapshotOK

func NewCreateNvmfNamespaceSnapshotOK() *CreateNvmfNamespaceSnapshotOK

NewCreateNvmfNamespaceSnapshotOK creates a CreateNvmfNamespaceSnapshotOK with default headers values

func (*CreateNvmfNamespaceSnapshotOK) Error

func (*CreateNvmfNamespaceSnapshotOK) GetPayload

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

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

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

WithContext adds the context to the create nvmf namespace snapshot params

func (*CreateNvmfNamespaceSnapshotParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the create nvmf namespace snapshot params

func (*CreateNvmfNamespaceSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the create nvmf namespace snapshot params

func (*CreateNvmfNamespaceSnapshotParams) WithTimeout

WithTimeout adds the timeout to the create nvmf namespace snapshot params

func (*CreateNvmfNamespaceSnapshotParams) WriteToRequest

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 {
	Payload string
}
DeleteNvmfNamespaceSnapshotBadRequest describes a response with status code 400, with default header values.

DeleteNvmfNamespaceSnapshotBadRequest delete nvmf namespace snapshot bad request

func NewDeleteNvmfNamespaceSnapshotBadRequest

func NewDeleteNvmfNamespaceSnapshotBadRequest() *DeleteNvmfNamespaceSnapshotBadRequest

NewDeleteNvmfNamespaceSnapshotBadRequest creates a DeleteNvmfNamespaceSnapshotBadRequest with default headers values

func (*DeleteNvmfNamespaceSnapshotBadRequest) Error

func (*DeleteNvmfNamespaceSnapshotBadRequest) GetPayload

type DeleteNvmfNamespaceSnapshotOK

type DeleteNvmfNamespaceSnapshotOK struct {
	Payload []*models.WithTaskDeleteNvmfNamespaceSnapshot
}
DeleteNvmfNamespaceSnapshotOK describes a response with status code 200, with default header values.

Ok

func NewDeleteNvmfNamespaceSnapshotOK

func NewDeleteNvmfNamespaceSnapshotOK() *DeleteNvmfNamespaceSnapshotOK

NewDeleteNvmfNamespaceSnapshotOK creates a DeleteNvmfNamespaceSnapshotOK with default headers values

func (*DeleteNvmfNamespaceSnapshotOK) Error

func (*DeleteNvmfNamespaceSnapshotOK) GetPayload

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

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

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

WithContext adds the context to the delete nvmf namespace snapshot params

func (*DeleteNvmfNamespaceSnapshotParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete nvmf namespace snapshot params

func (*DeleteNvmfNamespaceSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the delete nvmf namespace snapshot params

func (*DeleteNvmfNamespaceSnapshotParams) WithTimeout

WithTimeout adds the timeout to the delete nvmf namespace snapshot params

func (*DeleteNvmfNamespaceSnapshotParams) WriteToRequest

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 {
	Payload string
}
GetNvmfNamespaceSnapshotsBadRequest describes a response with status code 400, with default header values.

GetNvmfNamespaceSnapshotsBadRequest get nvmf namespace snapshots bad request

func NewGetNvmfNamespaceSnapshotsBadRequest

func NewGetNvmfNamespaceSnapshotsBadRequest() *GetNvmfNamespaceSnapshotsBadRequest

NewGetNvmfNamespaceSnapshotsBadRequest creates a GetNvmfNamespaceSnapshotsBadRequest with default headers values

func (*GetNvmfNamespaceSnapshotsBadRequest) Error

func (*GetNvmfNamespaceSnapshotsBadRequest) GetPayload

type GetNvmfNamespaceSnapshotsConnectionBadRequest

type GetNvmfNamespaceSnapshotsConnectionBadRequest struct {
	Payload string
}
GetNvmfNamespaceSnapshotsConnectionBadRequest describes a response with status code 400, with default header values.

GetNvmfNamespaceSnapshotsConnectionBadRequest get nvmf namespace snapshots connection bad request

func NewGetNvmfNamespaceSnapshotsConnectionBadRequest

func NewGetNvmfNamespaceSnapshotsConnectionBadRequest() *GetNvmfNamespaceSnapshotsConnectionBadRequest

NewGetNvmfNamespaceSnapshotsConnectionBadRequest creates a GetNvmfNamespaceSnapshotsConnectionBadRequest with default headers values

func (*GetNvmfNamespaceSnapshotsConnectionBadRequest) Error

func (*GetNvmfNamespaceSnapshotsConnectionBadRequest) GetPayload

type GetNvmfNamespaceSnapshotsConnectionOK

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

Ok

func NewGetNvmfNamespaceSnapshotsConnectionOK

func NewGetNvmfNamespaceSnapshotsConnectionOK() *GetNvmfNamespaceSnapshotsConnectionOK

NewGetNvmfNamespaceSnapshotsConnectionOK creates a GetNvmfNamespaceSnapshotsConnectionOK with default headers values

func (*GetNvmfNamespaceSnapshotsConnectionOK) Error

func (*GetNvmfNamespaceSnapshotsConnectionOK) GetPayload

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

SetContext adds the context to the get nvmf namespace snapshots connection params

func (*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

SetRequestBody adds the requestBody to the get nvmf namespace snapshots connection params

func (*GetNvmfNamespaceSnapshotsConnectionParams) SetTimeout

SetTimeout adds the timeout to the get nvmf namespace snapshots connection params

func (*GetNvmfNamespaceSnapshotsConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get nvmf namespace snapshots connection params

func (*GetNvmfNamespaceSnapshotsConnectionParams) WithContext

WithContext adds the context to the get nvmf namespace snapshots connection params

func (*GetNvmfNamespaceSnapshotsConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get nvmf namespace snapshots connection params

func (*GetNvmfNamespaceSnapshotsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get nvmf namespace snapshots connection params

func (*GetNvmfNamespaceSnapshotsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get nvmf namespace snapshots connection params

func (*GetNvmfNamespaceSnapshotsConnectionParams) WriteToRequest

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 GetNvmfNamespaceSnapshotsOK

type GetNvmfNamespaceSnapshotsOK struct {
	Payload []*models.NvmfNamespaceSnapshot
}
GetNvmfNamespaceSnapshotsOK describes a response with status code 200, with default header values.

Ok

func NewGetNvmfNamespaceSnapshotsOK

func NewGetNvmfNamespaceSnapshotsOK() *GetNvmfNamespaceSnapshotsOK

NewGetNvmfNamespaceSnapshotsOK creates a GetNvmfNamespaceSnapshotsOK with default headers values

func (*GetNvmfNamespaceSnapshotsOK) Error

func (*GetNvmfNamespaceSnapshotsOK) GetPayload

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

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

WithContext adds the context to the get nvmf namespace snapshots params

func (*GetNvmfNamespaceSnapshotsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get nvmf namespace snapshots params

func (*GetNvmfNamespaceSnapshotsParams) WithRequestBody

WithRequestBody adds the requestBody to the get nvmf namespace snapshots params

func (*GetNvmfNamespaceSnapshotsParams) WithTimeout

WithTimeout adds the timeout to the get nvmf namespace snapshots params

func (*GetNvmfNamespaceSnapshotsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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