iscsi_lun_snapshot

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: ISC 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 iscsi lun snapshot API

func (*Client) CreateIscsiLunSnapshot

func (a *Client) CreateIscsiLunSnapshot(params *CreateIscsiLunSnapshotParams, opts ...ClientOption) (*CreateIscsiLunSnapshotOK, error)

CreateIscsiLunSnapshot create iscsi lun snapshot API

func (*Client) DeleteIscsiLunSnapshot

func (a *Client) DeleteIscsiLunSnapshot(params *DeleteIscsiLunSnapshotParams, opts ...ClientOption) (*DeleteIscsiLunSnapshotOK, error)

DeleteIscsiLunSnapshot delete iscsi lun snapshot API

func (*Client) GetIscsiLunSnapshots

func (a *Client) GetIscsiLunSnapshots(params *GetIscsiLunSnapshotsParams, opts ...ClientOption) (*GetIscsiLunSnapshotsOK, error)

GetIscsiLunSnapshots get iscsi lun snapshots API

func (*Client) GetIscsiLunSnapshotsConnection

func (a *Client) GetIscsiLunSnapshotsConnection(params *GetIscsiLunSnapshotsConnectionParams, opts ...ClientOption) (*GetIscsiLunSnapshotsConnectionOK, error)

GetIscsiLunSnapshotsConnection get iscsi lun 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 {
	CreateIscsiLunSnapshot(params *CreateIscsiLunSnapshotParams, opts ...ClientOption) (*CreateIscsiLunSnapshotOK, error)

	DeleteIscsiLunSnapshot(params *DeleteIscsiLunSnapshotParams, opts ...ClientOption) (*DeleteIscsiLunSnapshotOK, error)

	GetIscsiLunSnapshots(params *GetIscsiLunSnapshotsParams, opts ...ClientOption) (*GetIscsiLunSnapshotsOK, error)

	GetIscsiLunSnapshotsConnection(params *GetIscsiLunSnapshotsConnectionParams, opts ...ClientOption) (*GetIscsiLunSnapshotsConnectionOK, 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 iscsi lun snapshot API client.

type CreateIscsiLunSnapshotBadRequest

type CreateIscsiLunSnapshotBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewCreateIscsiLunSnapshotBadRequest

func NewCreateIscsiLunSnapshotBadRequest() *CreateIscsiLunSnapshotBadRequest

NewCreateIscsiLunSnapshotBadRequest creates a CreateIscsiLunSnapshotBadRequest with default headers values

func (*CreateIscsiLunSnapshotBadRequest) Error

func (*CreateIscsiLunSnapshotBadRequest) GetPayload

type CreateIscsiLunSnapshotInternalServerError

type CreateIscsiLunSnapshotInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewCreateIscsiLunSnapshotInternalServerError

func NewCreateIscsiLunSnapshotInternalServerError() *CreateIscsiLunSnapshotInternalServerError

NewCreateIscsiLunSnapshotInternalServerError creates a CreateIscsiLunSnapshotInternalServerError with default headers values

func (*CreateIscsiLunSnapshotInternalServerError) Error

func (*CreateIscsiLunSnapshotInternalServerError) GetPayload

type CreateIscsiLunSnapshotNotFound

type CreateIscsiLunSnapshotNotFound struct {
	XTowerRequestID string

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

Not found

func NewCreateIscsiLunSnapshotNotFound

func NewCreateIscsiLunSnapshotNotFound() *CreateIscsiLunSnapshotNotFound

NewCreateIscsiLunSnapshotNotFound creates a CreateIscsiLunSnapshotNotFound with default headers values

func (*CreateIscsiLunSnapshotNotFound) Error

func (*CreateIscsiLunSnapshotNotFound) GetPayload

type CreateIscsiLunSnapshotOK

type CreateIscsiLunSnapshotOK struct {
	XTowerRequestID string

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

CreateIscsiLunSnapshotOK create iscsi lun snapshot o k

func NewCreateIscsiLunSnapshotOK

func NewCreateIscsiLunSnapshotOK() *CreateIscsiLunSnapshotOK

NewCreateIscsiLunSnapshotOK creates a CreateIscsiLunSnapshotOK with default headers values

func (*CreateIscsiLunSnapshotOK) Error

func (o *CreateIscsiLunSnapshotOK) Error() string

func (*CreateIscsiLunSnapshotOK) GetPayload

type CreateIscsiLunSnapshotParams

type CreateIscsiLunSnapshotParams struct {

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

	// RequestBody.
	RequestBody []*models.IscsiLunSnapshotCreationParams

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

CreateIscsiLunSnapshotParams contains all the parameters to send to the API endpoint

for the create iscsi lun snapshot operation.

Typically these are written to a http.Request.

func NewCreateIscsiLunSnapshotParams

func NewCreateIscsiLunSnapshotParams() *CreateIscsiLunSnapshotParams

NewCreateIscsiLunSnapshotParams creates a new CreateIscsiLunSnapshotParams 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 NewCreateIscsiLunSnapshotParamsWithContext

func NewCreateIscsiLunSnapshotParamsWithContext(ctx context.Context) *CreateIscsiLunSnapshotParams

NewCreateIscsiLunSnapshotParamsWithContext creates a new CreateIscsiLunSnapshotParams object with the ability to set a context for a request.

func NewCreateIscsiLunSnapshotParamsWithHTTPClient

func NewCreateIscsiLunSnapshotParamsWithHTTPClient(client *http.Client) *CreateIscsiLunSnapshotParams

NewCreateIscsiLunSnapshotParamsWithHTTPClient creates a new CreateIscsiLunSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewCreateIscsiLunSnapshotParamsWithTimeout

func NewCreateIscsiLunSnapshotParamsWithTimeout(timeout time.Duration) *CreateIscsiLunSnapshotParams

NewCreateIscsiLunSnapshotParamsWithTimeout creates a new CreateIscsiLunSnapshotParams object with the ability to set a timeout on a request.

func (*CreateIscsiLunSnapshotParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the create iscsi lun snapshot params

func (*CreateIscsiLunSnapshotParams) SetContext

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

SetContext adds the context to the create iscsi lun snapshot params

func (*CreateIscsiLunSnapshotParams) SetDefaults

func (o *CreateIscsiLunSnapshotParams) SetDefaults()

SetDefaults hydrates default values in the create iscsi lun snapshot params (not the query body).

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

func (*CreateIscsiLunSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create iscsi lun snapshot params

func (*CreateIscsiLunSnapshotParams) SetRequestBody

func (o *CreateIscsiLunSnapshotParams) SetRequestBody(requestBody []*models.IscsiLunSnapshotCreationParams)

SetRequestBody adds the requestBody to the create iscsi lun snapshot params

func (*CreateIscsiLunSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the create iscsi lun snapshot params

func (*CreateIscsiLunSnapshotParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the create iscsi lun snapshot params

func (*CreateIscsiLunSnapshotParams) WithContext

WithContext adds the context to the create iscsi lun snapshot params

func (*CreateIscsiLunSnapshotParams) WithDefaults

WithDefaults hydrates default values in the create iscsi lun snapshot params (not the query body).

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

func (*CreateIscsiLunSnapshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create iscsi lun snapshot params

func (*CreateIscsiLunSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the create iscsi lun snapshot params

func (*CreateIscsiLunSnapshotParams) WithTimeout

WithTimeout adds the timeout to the create iscsi lun snapshot params

func (*CreateIscsiLunSnapshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateIscsiLunSnapshotReader

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

CreateIscsiLunSnapshotReader is a Reader for the CreateIscsiLunSnapshot structure.

func (*CreateIscsiLunSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteIscsiLunSnapshotBadRequest

type DeleteIscsiLunSnapshotBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewDeleteIscsiLunSnapshotBadRequest

func NewDeleteIscsiLunSnapshotBadRequest() *DeleteIscsiLunSnapshotBadRequest

NewDeleteIscsiLunSnapshotBadRequest creates a DeleteIscsiLunSnapshotBadRequest with default headers values

func (*DeleteIscsiLunSnapshotBadRequest) Error

func (*DeleteIscsiLunSnapshotBadRequest) GetPayload

type DeleteIscsiLunSnapshotInternalServerError

type DeleteIscsiLunSnapshotInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewDeleteIscsiLunSnapshotInternalServerError

func NewDeleteIscsiLunSnapshotInternalServerError() *DeleteIscsiLunSnapshotInternalServerError

NewDeleteIscsiLunSnapshotInternalServerError creates a DeleteIscsiLunSnapshotInternalServerError with default headers values

func (*DeleteIscsiLunSnapshotInternalServerError) Error

func (*DeleteIscsiLunSnapshotInternalServerError) GetPayload

type DeleteIscsiLunSnapshotNotFound

type DeleteIscsiLunSnapshotNotFound struct {
	XTowerRequestID string

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

Not found

func NewDeleteIscsiLunSnapshotNotFound

func NewDeleteIscsiLunSnapshotNotFound() *DeleteIscsiLunSnapshotNotFound

NewDeleteIscsiLunSnapshotNotFound creates a DeleteIscsiLunSnapshotNotFound with default headers values

func (*DeleteIscsiLunSnapshotNotFound) Error

func (*DeleteIscsiLunSnapshotNotFound) GetPayload

type DeleteIscsiLunSnapshotOK

type DeleteIscsiLunSnapshotOK struct {
	XTowerRequestID string

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

DeleteIscsiLunSnapshotOK delete iscsi lun snapshot o k

func NewDeleteIscsiLunSnapshotOK

func NewDeleteIscsiLunSnapshotOK() *DeleteIscsiLunSnapshotOK

NewDeleteIscsiLunSnapshotOK creates a DeleteIscsiLunSnapshotOK with default headers values

func (*DeleteIscsiLunSnapshotOK) Error

func (o *DeleteIscsiLunSnapshotOK) Error() string

func (*DeleteIscsiLunSnapshotOK) GetPayload

type DeleteIscsiLunSnapshotParams

type DeleteIscsiLunSnapshotParams struct {

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

	// RequestBody.
	RequestBody *models.IscsiLunSnapshotDeletionParams

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

DeleteIscsiLunSnapshotParams contains all the parameters to send to the API endpoint

for the delete iscsi lun snapshot operation.

Typically these are written to a http.Request.

func NewDeleteIscsiLunSnapshotParams

func NewDeleteIscsiLunSnapshotParams() *DeleteIscsiLunSnapshotParams

NewDeleteIscsiLunSnapshotParams creates a new DeleteIscsiLunSnapshotParams 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 NewDeleteIscsiLunSnapshotParamsWithContext

func NewDeleteIscsiLunSnapshotParamsWithContext(ctx context.Context) *DeleteIscsiLunSnapshotParams

NewDeleteIscsiLunSnapshotParamsWithContext creates a new DeleteIscsiLunSnapshotParams object with the ability to set a context for a request.

func NewDeleteIscsiLunSnapshotParamsWithHTTPClient

func NewDeleteIscsiLunSnapshotParamsWithHTTPClient(client *http.Client) *DeleteIscsiLunSnapshotParams

NewDeleteIscsiLunSnapshotParamsWithHTTPClient creates a new DeleteIscsiLunSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIscsiLunSnapshotParamsWithTimeout

func NewDeleteIscsiLunSnapshotParamsWithTimeout(timeout time.Duration) *DeleteIscsiLunSnapshotParams

NewDeleteIscsiLunSnapshotParamsWithTimeout creates a new DeleteIscsiLunSnapshotParams object with the ability to set a timeout on a request.

func (*DeleteIscsiLunSnapshotParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the delete iscsi lun snapshot params

func (*DeleteIscsiLunSnapshotParams) SetContext

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

SetContext adds the context to the delete iscsi lun snapshot params

func (*DeleteIscsiLunSnapshotParams) SetDefaults

func (o *DeleteIscsiLunSnapshotParams) SetDefaults()

SetDefaults hydrates default values in the delete iscsi lun snapshot params (not the query body).

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

func (*DeleteIscsiLunSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete iscsi lun snapshot params

func (*DeleteIscsiLunSnapshotParams) SetRequestBody

func (o *DeleteIscsiLunSnapshotParams) SetRequestBody(requestBody *models.IscsiLunSnapshotDeletionParams)

SetRequestBody adds the requestBody to the delete iscsi lun snapshot params

func (*DeleteIscsiLunSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the delete iscsi lun snapshot params

func (*DeleteIscsiLunSnapshotParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the delete iscsi lun snapshot params

func (*DeleteIscsiLunSnapshotParams) WithContext

WithContext adds the context to the delete iscsi lun snapshot params

func (*DeleteIscsiLunSnapshotParams) WithDefaults

WithDefaults hydrates default values in the delete iscsi lun snapshot params (not the query body).

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

func (*DeleteIscsiLunSnapshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete iscsi lun snapshot params

func (*DeleteIscsiLunSnapshotParams) WithRequestBody

WithRequestBody adds the requestBody to the delete iscsi lun snapshot params

func (*DeleteIscsiLunSnapshotParams) WithTimeout

WithTimeout adds the timeout to the delete iscsi lun snapshot params

func (*DeleteIscsiLunSnapshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteIscsiLunSnapshotReader

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

DeleteIscsiLunSnapshotReader is a Reader for the DeleteIscsiLunSnapshot structure.

func (*DeleteIscsiLunSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIscsiLunSnapshotsBadRequest

type GetIscsiLunSnapshotsBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewGetIscsiLunSnapshotsBadRequest

func NewGetIscsiLunSnapshotsBadRequest() *GetIscsiLunSnapshotsBadRequest

NewGetIscsiLunSnapshotsBadRequest creates a GetIscsiLunSnapshotsBadRequest with default headers values

func (*GetIscsiLunSnapshotsBadRequest) Error

func (*GetIscsiLunSnapshotsBadRequest) GetPayload

type GetIscsiLunSnapshotsConnectionBadRequest

type GetIscsiLunSnapshotsConnectionBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewGetIscsiLunSnapshotsConnectionBadRequest

func NewGetIscsiLunSnapshotsConnectionBadRequest() *GetIscsiLunSnapshotsConnectionBadRequest

NewGetIscsiLunSnapshotsConnectionBadRequest creates a GetIscsiLunSnapshotsConnectionBadRequest with default headers values

func (*GetIscsiLunSnapshotsConnectionBadRequest) Error

func (*GetIscsiLunSnapshotsConnectionBadRequest) GetPayload

type GetIscsiLunSnapshotsConnectionInternalServerError

type GetIscsiLunSnapshotsConnectionInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewGetIscsiLunSnapshotsConnectionInternalServerError

func NewGetIscsiLunSnapshotsConnectionInternalServerError() *GetIscsiLunSnapshotsConnectionInternalServerError

NewGetIscsiLunSnapshotsConnectionInternalServerError creates a GetIscsiLunSnapshotsConnectionInternalServerError with default headers values

func (*GetIscsiLunSnapshotsConnectionInternalServerError) Error

func (*GetIscsiLunSnapshotsConnectionInternalServerError) GetPayload

type GetIscsiLunSnapshotsConnectionNotFound

type GetIscsiLunSnapshotsConnectionNotFound struct {
	XTowerRequestID string

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

Not found

func NewGetIscsiLunSnapshotsConnectionNotFound

func NewGetIscsiLunSnapshotsConnectionNotFound() *GetIscsiLunSnapshotsConnectionNotFound

NewGetIscsiLunSnapshotsConnectionNotFound creates a GetIscsiLunSnapshotsConnectionNotFound with default headers values

func (*GetIscsiLunSnapshotsConnectionNotFound) Error

func (*GetIscsiLunSnapshotsConnectionNotFound) GetPayload

type GetIscsiLunSnapshotsConnectionOK

type GetIscsiLunSnapshotsConnectionOK struct {
	XTowerRequestID string

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

GetIscsiLunSnapshotsConnectionOK get iscsi lun snapshots connection o k

func NewGetIscsiLunSnapshotsConnectionOK

func NewGetIscsiLunSnapshotsConnectionOK() *GetIscsiLunSnapshotsConnectionOK

NewGetIscsiLunSnapshotsConnectionOK creates a GetIscsiLunSnapshotsConnectionOK with default headers values

func (*GetIscsiLunSnapshotsConnectionOK) Error

func (*GetIscsiLunSnapshotsConnectionOK) GetPayload

type GetIscsiLunSnapshotsConnectionParams

type GetIscsiLunSnapshotsConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetIscsiLunSnapshotsConnectionRequestBody

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

GetIscsiLunSnapshotsConnectionParams contains all the parameters to send to the API endpoint

for the get iscsi lun snapshots connection operation.

Typically these are written to a http.Request.

func NewGetIscsiLunSnapshotsConnectionParams

func NewGetIscsiLunSnapshotsConnectionParams() *GetIscsiLunSnapshotsConnectionParams

NewGetIscsiLunSnapshotsConnectionParams creates a new GetIscsiLunSnapshotsConnectionParams 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 NewGetIscsiLunSnapshotsConnectionParamsWithContext

func NewGetIscsiLunSnapshotsConnectionParamsWithContext(ctx context.Context) *GetIscsiLunSnapshotsConnectionParams

NewGetIscsiLunSnapshotsConnectionParamsWithContext creates a new GetIscsiLunSnapshotsConnectionParams object with the ability to set a context for a request.

func NewGetIscsiLunSnapshotsConnectionParamsWithHTTPClient

func NewGetIscsiLunSnapshotsConnectionParamsWithHTTPClient(client *http.Client) *GetIscsiLunSnapshotsConnectionParams

NewGetIscsiLunSnapshotsConnectionParamsWithHTTPClient creates a new GetIscsiLunSnapshotsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetIscsiLunSnapshotsConnectionParamsWithTimeout

func NewGetIscsiLunSnapshotsConnectionParamsWithTimeout(timeout time.Duration) *GetIscsiLunSnapshotsConnectionParams

NewGetIscsiLunSnapshotsConnectionParamsWithTimeout creates a new GetIscsiLunSnapshotsConnectionParams object with the ability to set a timeout on a request.

func (*GetIscsiLunSnapshotsConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get iscsi lun snapshots connection params

func (*GetIscsiLunSnapshotsConnectionParams) SetContext

SetContext adds the context to the get iscsi lun snapshots connection params

func (*GetIscsiLunSnapshotsConnectionParams) SetDefaults

func (o *GetIscsiLunSnapshotsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get iscsi lun snapshots connection params (not the query body).

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

func (*GetIscsiLunSnapshotsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get iscsi lun snapshots connection params

func (*GetIscsiLunSnapshotsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get iscsi lun snapshots connection params

func (*GetIscsiLunSnapshotsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get iscsi lun snapshots connection params

func (*GetIscsiLunSnapshotsConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get iscsi lun snapshots connection params

func (*GetIscsiLunSnapshotsConnectionParams) WithContext

WithContext adds the context to the get iscsi lun snapshots connection params

func (*GetIscsiLunSnapshotsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get iscsi lun snapshots connection params (not the query body).

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

func (*GetIscsiLunSnapshotsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get iscsi lun snapshots connection params

func (*GetIscsiLunSnapshotsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get iscsi lun snapshots connection params

func (*GetIscsiLunSnapshotsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get iscsi lun snapshots connection params

func (*GetIscsiLunSnapshotsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIscsiLunSnapshotsConnectionReader

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

GetIscsiLunSnapshotsConnectionReader is a Reader for the GetIscsiLunSnapshotsConnection structure.

func (*GetIscsiLunSnapshotsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIscsiLunSnapshotsInternalServerError

type GetIscsiLunSnapshotsInternalServerError struct {
	XTowerRequestID string

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

Server error

func NewGetIscsiLunSnapshotsInternalServerError

func NewGetIscsiLunSnapshotsInternalServerError() *GetIscsiLunSnapshotsInternalServerError

NewGetIscsiLunSnapshotsInternalServerError creates a GetIscsiLunSnapshotsInternalServerError with default headers values

func (*GetIscsiLunSnapshotsInternalServerError) Error

func (*GetIscsiLunSnapshotsInternalServerError) GetPayload

type GetIscsiLunSnapshotsNotFound

type GetIscsiLunSnapshotsNotFound struct {
	XTowerRequestID string

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

Not found

func NewGetIscsiLunSnapshotsNotFound

func NewGetIscsiLunSnapshotsNotFound() *GetIscsiLunSnapshotsNotFound

NewGetIscsiLunSnapshotsNotFound creates a GetIscsiLunSnapshotsNotFound with default headers values

func (*GetIscsiLunSnapshotsNotFound) Error

func (*GetIscsiLunSnapshotsNotFound) GetPayload

type GetIscsiLunSnapshotsOK

type GetIscsiLunSnapshotsOK struct {
	XTowerRequestID string

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

GetIscsiLunSnapshotsOK get iscsi lun snapshots o k

func NewGetIscsiLunSnapshotsOK

func NewGetIscsiLunSnapshotsOK() *GetIscsiLunSnapshotsOK

NewGetIscsiLunSnapshotsOK creates a GetIscsiLunSnapshotsOK with default headers values

func (*GetIscsiLunSnapshotsOK) Error

func (o *GetIscsiLunSnapshotsOK) Error() string

func (*GetIscsiLunSnapshotsOK) GetPayload

func (o *GetIscsiLunSnapshotsOK) GetPayload() []*models.IscsiLunSnapshot

type GetIscsiLunSnapshotsParams

type GetIscsiLunSnapshotsParams struct {

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

	// RequestBody.
	RequestBody *models.GetIscsiLunSnapshotsRequestBody

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

GetIscsiLunSnapshotsParams contains all the parameters to send to the API endpoint

for the get iscsi lun snapshots operation.

Typically these are written to a http.Request.

func NewGetIscsiLunSnapshotsParams

func NewGetIscsiLunSnapshotsParams() *GetIscsiLunSnapshotsParams

NewGetIscsiLunSnapshotsParams creates a new GetIscsiLunSnapshotsParams 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 NewGetIscsiLunSnapshotsParamsWithContext

func NewGetIscsiLunSnapshotsParamsWithContext(ctx context.Context) *GetIscsiLunSnapshotsParams

NewGetIscsiLunSnapshotsParamsWithContext creates a new GetIscsiLunSnapshotsParams object with the ability to set a context for a request.

func NewGetIscsiLunSnapshotsParamsWithHTTPClient

func NewGetIscsiLunSnapshotsParamsWithHTTPClient(client *http.Client) *GetIscsiLunSnapshotsParams

NewGetIscsiLunSnapshotsParamsWithHTTPClient creates a new GetIscsiLunSnapshotsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIscsiLunSnapshotsParamsWithTimeout

func NewGetIscsiLunSnapshotsParamsWithTimeout(timeout time.Duration) *GetIscsiLunSnapshotsParams

NewGetIscsiLunSnapshotsParamsWithTimeout creates a new GetIscsiLunSnapshotsParams object with the ability to set a timeout on a request.

func (*GetIscsiLunSnapshotsParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get iscsi lun snapshots params

func (*GetIscsiLunSnapshotsParams) SetContext

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

SetContext adds the context to the get iscsi lun snapshots params

func (*GetIscsiLunSnapshotsParams) SetDefaults

func (o *GetIscsiLunSnapshotsParams) SetDefaults()

SetDefaults hydrates default values in the get iscsi lun snapshots params (not the query body).

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

func (*GetIscsiLunSnapshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get iscsi lun snapshots params

func (*GetIscsiLunSnapshotsParams) SetRequestBody

func (o *GetIscsiLunSnapshotsParams) SetRequestBody(requestBody *models.GetIscsiLunSnapshotsRequestBody)

SetRequestBody adds the requestBody to the get iscsi lun snapshots params

func (*GetIscsiLunSnapshotsParams) SetTimeout

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

SetTimeout adds the timeout to the get iscsi lun snapshots params

func (*GetIscsiLunSnapshotsParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get iscsi lun snapshots params

func (*GetIscsiLunSnapshotsParams) WithContext

WithContext adds the context to the get iscsi lun snapshots params

func (*GetIscsiLunSnapshotsParams) WithDefaults

WithDefaults hydrates default values in the get iscsi lun snapshots params (not the query body).

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

func (*GetIscsiLunSnapshotsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get iscsi lun snapshots params

func (*GetIscsiLunSnapshotsParams) WithRequestBody

WithRequestBody adds the requestBody to the get iscsi lun snapshots params

func (*GetIscsiLunSnapshotsParams) WithTimeout

WithTimeout adds the timeout to the get iscsi lun snapshots params

func (*GetIscsiLunSnapshotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIscsiLunSnapshotsReader

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

GetIscsiLunSnapshotsReader is a Reader for the GetIscsiLunSnapshots structure.

func (*GetIscsiLunSnapshotsReader) ReadResponse

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