nfs_export

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 nfs export API

func (*Client) CreateNfsExport

func (a *Client) CreateNfsExport(params *CreateNfsExportParams, opts ...ClientOption) (*CreateNfsExportOK, error)

CreateNfsExport create nfs export API

func (*Client) DeleteNfsExport

func (a *Client) DeleteNfsExport(params *DeleteNfsExportParams, opts ...ClientOption) (*DeleteNfsExportOK, error)

DeleteNfsExport delete nfs export API

func (*Client) GetNfsExports

func (a *Client) GetNfsExports(params *GetNfsExportsParams, opts ...ClientOption) (*GetNfsExportsOK, error)

GetNfsExports get nfs exports API

func (*Client) GetNfsExportsConnection

func (a *Client) GetNfsExportsConnection(params *GetNfsExportsConnectionParams, opts ...ClientOption) (*GetNfsExportsConnectionOK, error)

GetNfsExportsConnection get nfs exports connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNfsExport

func (a *Client) UpdateNfsExport(params *UpdateNfsExportParams, opts ...ClientOption) (*UpdateNfsExportOK, error)

UpdateNfsExport update nfs export API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateNfsExport(params *CreateNfsExportParams, opts ...ClientOption) (*CreateNfsExportOK, error)

	DeleteNfsExport(params *DeleteNfsExportParams, opts ...ClientOption) (*DeleteNfsExportOK, error)

	GetNfsExports(params *GetNfsExportsParams, opts ...ClientOption) (*GetNfsExportsOK, error)

	GetNfsExportsConnection(params *GetNfsExportsConnectionParams, opts ...ClientOption) (*GetNfsExportsConnectionOK, error)

	UpdateNfsExport(params *UpdateNfsExportParams, opts ...ClientOption) (*UpdateNfsExportOK, 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 nfs export API client.

type CreateNfsExportBadRequest

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

CreateNfsExportBadRequest create nfs export bad request

func NewCreateNfsExportBadRequest

func NewCreateNfsExportBadRequest() *CreateNfsExportBadRequest

NewCreateNfsExportBadRequest creates a CreateNfsExportBadRequest with default headers values

func (*CreateNfsExportBadRequest) Error

func (o *CreateNfsExportBadRequest) Error() string

func (*CreateNfsExportBadRequest) GetPayload

func (o *CreateNfsExportBadRequest) GetPayload() string

type CreateNfsExportOK

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

Ok

func NewCreateNfsExportOK

func NewCreateNfsExportOK() *CreateNfsExportOK

NewCreateNfsExportOK creates a CreateNfsExportOK with default headers values

func (*CreateNfsExportOK) Error

func (o *CreateNfsExportOK) Error() string

func (*CreateNfsExportOK) GetPayload

func (o *CreateNfsExportOK) GetPayload() []*models.WithTaskNfsExport

type CreateNfsExportParams

type CreateNfsExportParams struct {

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

	// RequestBody.
	RequestBody []*models.NfsExportCreationParams

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

CreateNfsExportParams contains all the parameters to send to the API endpoint

for the create nfs export operation.

Typically these are written to a http.Request.

func NewCreateNfsExportParams

func NewCreateNfsExportParams() *CreateNfsExportParams

NewCreateNfsExportParams creates a new CreateNfsExportParams 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 NewCreateNfsExportParamsWithContext

func NewCreateNfsExportParamsWithContext(ctx context.Context) *CreateNfsExportParams

NewCreateNfsExportParamsWithContext creates a new CreateNfsExportParams object with the ability to set a context for a request.

func NewCreateNfsExportParamsWithHTTPClient

func NewCreateNfsExportParamsWithHTTPClient(client *http.Client) *CreateNfsExportParams

NewCreateNfsExportParamsWithHTTPClient creates a new CreateNfsExportParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNfsExportParamsWithTimeout

func NewCreateNfsExportParamsWithTimeout(timeout time.Duration) *CreateNfsExportParams

NewCreateNfsExportParamsWithTimeout creates a new CreateNfsExportParams object with the ability to set a timeout on a request.

func (*CreateNfsExportParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the create nfs export params

func (*CreateNfsExportParams) SetContext

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

SetContext adds the context to the create nfs export params

func (*CreateNfsExportParams) SetDefaults

func (o *CreateNfsExportParams) SetDefaults()

SetDefaults hydrates default values in the create nfs export params (not the query body).

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

func (*CreateNfsExportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create nfs export params

func (*CreateNfsExportParams) SetRequestBody

func (o *CreateNfsExportParams) SetRequestBody(requestBody []*models.NfsExportCreationParams)

SetRequestBody adds the requestBody to the create nfs export params

func (*CreateNfsExportParams) SetTimeout

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

SetTimeout adds the timeout to the create nfs export params

func (*CreateNfsExportParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the create nfs export params

func (*CreateNfsExportParams) WithContext

WithContext adds the context to the create nfs export params

func (*CreateNfsExportParams) WithDefaults

func (o *CreateNfsExportParams) WithDefaults() *CreateNfsExportParams

WithDefaults hydrates default values in the create nfs export params (not the query body).

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

func (*CreateNfsExportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create nfs export params

func (*CreateNfsExportParams) WithRequestBody

func (o *CreateNfsExportParams) WithRequestBody(requestBody []*models.NfsExportCreationParams) *CreateNfsExportParams

WithRequestBody adds the requestBody to the create nfs export params

func (*CreateNfsExportParams) WithTimeout

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

WithTimeout adds the timeout to the create nfs export params

func (*CreateNfsExportParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateNfsExportReader

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

CreateNfsExportReader is a Reader for the CreateNfsExport structure.

func (*CreateNfsExportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNfsExportBadRequest

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

DeleteNfsExportBadRequest delete nfs export bad request

func NewDeleteNfsExportBadRequest

func NewDeleteNfsExportBadRequest() *DeleteNfsExportBadRequest

NewDeleteNfsExportBadRequest creates a DeleteNfsExportBadRequest with default headers values

func (*DeleteNfsExportBadRequest) Error

func (o *DeleteNfsExportBadRequest) Error() string

func (*DeleteNfsExportBadRequest) GetPayload

func (o *DeleteNfsExportBadRequest) GetPayload() string

type DeleteNfsExportOK

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

Ok

func NewDeleteNfsExportOK

func NewDeleteNfsExportOK() *DeleteNfsExportOK

NewDeleteNfsExportOK creates a DeleteNfsExportOK with default headers values

func (*DeleteNfsExportOK) Error

func (o *DeleteNfsExportOK) Error() string

func (*DeleteNfsExportOK) GetPayload

type DeleteNfsExportParams

type DeleteNfsExportParams struct {

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

	// RequestBody.
	RequestBody *models.NfsExportDeletionParams

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

DeleteNfsExportParams contains all the parameters to send to the API endpoint

for the delete nfs export operation.

Typically these are written to a http.Request.

func NewDeleteNfsExportParams

func NewDeleteNfsExportParams() *DeleteNfsExportParams

NewDeleteNfsExportParams creates a new DeleteNfsExportParams 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 NewDeleteNfsExportParamsWithContext

func NewDeleteNfsExportParamsWithContext(ctx context.Context) *DeleteNfsExportParams

NewDeleteNfsExportParamsWithContext creates a new DeleteNfsExportParams object with the ability to set a context for a request.

func NewDeleteNfsExportParamsWithHTTPClient

func NewDeleteNfsExportParamsWithHTTPClient(client *http.Client) *DeleteNfsExportParams

NewDeleteNfsExportParamsWithHTTPClient creates a new DeleteNfsExportParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNfsExportParamsWithTimeout

func NewDeleteNfsExportParamsWithTimeout(timeout time.Duration) *DeleteNfsExportParams

NewDeleteNfsExportParamsWithTimeout creates a new DeleteNfsExportParams object with the ability to set a timeout on a request.

func (*DeleteNfsExportParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the delete nfs export params

func (*DeleteNfsExportParams) SetContext

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

SetContext adds the context to the delete nfs export params

func (*DeleteNfsExportParams) SetDefaults

func (o *DeleteNfsExportParams) SetDefaults()

SetDefaults hydrates default values in the delete nfs export params (not the query body).

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

func (*DeleteNfsExportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete nfs export params

func (*DeleteNfsExportParams) SetRequestBody

func (o *DeleteNfsExportParams) SetRequestBody(requestBody *models.NfsExportDeletionParams)

SetRequestBody adds the requestBody to the delete nfs export params

func (*DeleteNfsExportParams) SetTimeout

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

SetTimeout adds the timeout to the delete nfs export params

func (*DeleteNfsExportParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the delete nfs export params

func (*DeleteNfsExportParams) WithContext

WithContext adds the context to the delete nfs export params

func (*DeleteNfsExportParams) WithDefaults

func (o *DeleteNfsExportParams) WithDefaults() *DeleteNfsExportParams

WithDefaults hydrates default values in the delete nfs export params (not the query body).

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

func (*DeleteNfsExportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete nfs export params

func (*DeleteNfsExportParams) WithRequestBody

WithRequestBody adds the requestBody to the delete nfs export params

func (*DeleteNfsExportParams) WithTimeout

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

WithTimeout adds the timeout to the delete nfs export params

func (*DeleteNfsExportParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteNfsExportReader

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

DeleteNfsExportReader is a Reader for the DeleteNfsExport structure.

func (*DeleteNfsExportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNfsExportsBadRequest

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

GetNfsExportsBadRequest get nfs exports bad request

func NewGetNfsExportsBadRequest

func NewGetNfsExportsBadRequest() *GetNfsExportsBadRequest

NewGetNfsExportsBadRequest creates a GetNfsExportsBadRequest with default headers values

func (*GetNfsExportsBadRequest) Error

func (o *GetNfsExportsBadRequest) Error() string

func (*GetNfsExportsBadRequest) GetPayload

func (o *GetNfsExportsBadRequest) GetPayload() string

type GetNfsExportsConnectionBadRequest

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

GetNfsExportsConnectionBadRequest get nfs exports connection bad request

func NewGetNfsExportsConnectionBadRequest

func NewGetNfsExportsConnectionBadRequest() *GetNfsExportsConnectionBadRequest

NewGetNfsExportsConnectionBadRequest creates a GetNfsExportsConnectionBadRequest with default headers values

func (*GetNfsExportsConnectionBadRequest) Error

func (*GetNfsExportsConnectionBadRequest) GetPayload

func (o *GetNfsExportsConnectionBadRequest) GetPayload() string

type GetNfsExportsConnectionOK

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

Ok

func NewGetNfsExportsConnectionOK

func NewGetNfsExportsConnectionOK() *GetNfsExportsConnectionOK

NewGetNfsExportsConnectionOK creates a GetNfsExportsConnectionOK with default headers values

func (*GetNfsExportsConnectionOK) Error

func (o *GetNfsExportsConnectionOK) Error() string

func (*GetNfsExportsConnectionOK) GetPayload

type GetNfsExportsConnectionParams

type GetNfsExportsConnectionParams struct {

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

	// RequestBody.
	RequestBody *models.GetNfsExportsConnectionRequestBody

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

GetNfsExportsConnectionParams contains all the parameters to send to the API endpoint

for the get nfs exports connection operation.

Typically these are written to a http.Request.

func NewGetNfsExportsConnectionParams

func NewGetNfsExportsConnectionParams() *GetNfsExportsConnectionParams

NewGetNfsExportsConnectionParams creates a new GetNfsExportsConnectionParams 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 NewGetNfsExportsConnectionParamsWithContext

func NewGetNfsExportsConnectionParamsWithContext(ctx context.Context) *GetNfsExportsConnectionParams

NewGetNfsExportsConnectionParamsWithContext creates a new GetNfsExportsConnectionParams object with the ability to set a context for a request.

func NewGetNfsExportsConnectionParamsWithHTTPClient

func NewGetNfsExportsConnectionParamsWithHTTPClient(client *http.Client) *GetNfsExportsConnectionParams

NewGetNfsExportsConnectionParamsWithHTTPClient creates a new GetNfsExportsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetNfsExportsConnectionParamsWithTimeout

func NewGetNfsExportsConnectionParamsWithTimeout(timeout time.Duration) *GetNfsExportsConnectionParams

NewGetNfsExportsConnectionParamsWithTimeout creates a new GetNfsExportsConnectionParams object with the ability to set a timeout on a request.

func (*GetNfsExportsConnectionParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get nfs exports connection params

func (*GetNfsExportsConnectionParams) SetContext

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

SetContext adds the context to the get nfs exports connection params

func (*GetNfsExportsConnectionParams) SetDefaults

func (o *GetNfsExportsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get nfs exports connection params (not the query body).

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

func (*GetNfsExportsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nfs exports connection params

func (*GetNfsExportsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get nfs exports connection params

func (*GetNfsExportsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get nfs exports connection params

func (*GetNfsExportsConnectionParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get nfs exports connection params

func (*GetNfsExportsConnectionParams) WithContext

WithContext adds the context to the get nfs exports connection params

func (*GetNfsExportsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get nfs exports connection params (not the query body).

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

func (*GetNfsExportsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get nfs exports connection params

func (*GetNfsExportsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get nfs exports connection params

func (*GetNfsExportsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get nfs exports connection params

func (*GetNfsExportsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNfsExportsConnectionReader

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

GetNfsExportsConnectionReader is a Reader for the GetNfsExportsConnection structure.

func (*GetNfsExportsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNfsExportsOK

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

Ok

func NewGetNfsExportsOK

func NewGetNfsExportsOK() *GetNfsExportsOK

NewGetNfsExportsOK creates a GetNfsExportsOK with default headers values

func (*GetNfsExportsOK) Error

func (o *GetNfsExportsOK) Error() string

func (*GetNfsExportsOK) GetPayload

func (o *GetNfsExportsOK) GetPayload() []*models.NfsExport

type GetNfsExportsParams

type GetNfsExportsParams struct {

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

	// RequestBody.
	RequestBody *models.GetNfsExportsRequestBody

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

GetNfsExportsParams contains all the parameters to send to the API endpoint

for the get nfs exports operation.

Typically these are written to a http.Request.

func NewGetNfsExportsParams

func NewGetNfsExportsParams() *GetNfsExportsParams

NewGetNfsExportsParams creates a new GetNfsExportsParams 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 NewGetNfsExportsParamsWithContext

func NewGetNfsExportsParamsWithContext(ctx context.Context) *GetNfsExportsParams

NewGetNfsExportsParamsWithContext creates a new GetNfsExportsParams object with the ability to set a context for a request.

func NewGetNfsExportsParamsWithHTTPClient

func NewGetNfsExportsParamsWithHTTPClient(client *http.Client) *GetNfsExportsParams

NewGetNfsExportsParamsWithHTTPClient creates a new GetNfsExportsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNfsExportsParamsWithTimeout

func NewGetNfsExportsParamsWithTimeout(timeout time.Duration) *GetNfsExportsParams

NewGetNfsExportsParamsWithTimeout creates a new GetNfsExportsParams object with the ability to set a timeout on a request.

func (*GetNfsExportsParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the get nfs exports params

func (*GetNfsExportsParams) SetContext

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

SetContext adds the context to the get nfs exports params

func (*GetNfsExportsParams) SetDefaults

func (o *GetNfsExportsParams) SetDefaults()

SetDefaults hydrates default values in the get nfs exports params (not the query body).

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

func (*GetNfsExportsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get nfs exports params

func (*GetNfsExportsParams) SetRequestBody

func (o *GetNfsExportsParams) SetRequestBody(requestBody *models.GetNfsExportsRequestBody)

SetRequestBody adds the requestBody to the get nfs exports params

func (*GetNfsExportsParams) SetTimeout

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

SetTimeout adds the timeout to the get nfs exports params

func (*GetNfsExportsParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get nfs exports params

func (*GetNfsExportsParams) WithContext

WithContext adds the context to the get nfs exports params

func (*GetNfsExportsParams) WithDefaults

func (o *GetNfsExportsParams) WithDefaults() *GetNfsExportsParams

WithDefaults hydrates default values in the get nfs exports params (not the query body).

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

func (*GetNfsExportsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get nfs exports params

func (*GetNfsExportsParams) WithRequestBody

func (o *GetNfsExportsParams) WithRequestBody(requestBody *models.GetNfsExportsRequestBody) *GetNfsExportsParams

WithRequestBody adds the requestBody to the get nfs exports params

func (*GetNfsExportsParams) WithTimeout

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

WithTimeout adds the timeout to the get nfs exports params

func (*GetNfsExportsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNfsExportsReader

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

GetNfsExportsReader is a Reader for the GetNfsExports structure.

func (*GetNfsExportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNfsExportBadRequest

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

UpdateNfsExportBadRequest update nfs export bad request

func NewUpdateNfsExportBadRequest

func NewUpdateNfsExportBadRequest() *UpdateNfsExportBadRequest

NewUpdateNfsExportBadRequest creates a UpdateNfsExportBadRequest with default headers values

func (*UpdateNfsExportBadRequest) Error

func (o *UpdateNfsExportBadRequest) Error() string

func (*UpdateNfsExportBadRequest) GetPayload

func (o *UpdateNfsExportBadRequest) GetPayload() string

type UpdateNfsExportOK

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

Ok

func NewUpdateNfsExportOK

func NewUpdateNfsExportOK() *UpdateNfsExportOK

NewUpdateNfsExportOK creates a UpdateNfsExportOK with default headers values

func (*UpdateNfsExportOK) Error

func (o *UpdateNfsExportOK) Error() string

func (*UpdateNfsExportOK) GetPayload

func (o *UpdateNfsExportOK) GetPayload() []*models.WithTaskNfsExport

type UpdateNfsExportParams

type UpdateNfsExportParams struct {

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

	// RequestBody.
	RequestBody *models.NfsExportUpdationParams

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

UpdateNfsExportParams contains all the parameters to send to the API endpoint

for the update nfs export operation.

Typically these are written to a http.Request.

func NewUpdateNfsExportParams

func NewUpdateNfsExportParams() *UpdateNfsExportParams

NewUpdateNfsExportParams creates a new UpdateNfsExportParams 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 NewUpdateNfsExportParamsWithContext

func NewUpdateNfsExportParamsWithContext(ctx context.Context) *UpdateNfsExportParams

NewUpdateNfsExportParamsWithContext creates a new UpdateNfsExportParams object with the ability to set a context for a request.

func NewUpdateNfsExportParamsWithHTTPClient

func NewUpdateNfsExportParamsWithHTTPClient(client *http.Client) *UpdateNfsExportParams

NewUpdateNfsExportParamsWithHTTPClient creates a new UpdateNfsExportParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNfsExportParamsWithTimeout

func NewUpdateNfsExportParamsWithTimeout(timeout time.Duration) *UpdateNfsExportParams

NewUpdateNfsExportParamsWithTimeout creates a new UpdateNfsExportParams object with the ability to set a timeout on a request.

func (*UpdateNfsExportParams) SetContentLanguage

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

SetContentLanguage adds the contentLanguage to the update nfs export params

func (*UpdateNfsExportParams) SetContext

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

SetContext adds the context to the update nfs export params

func (*UpdateNfsExportParams) SetDefaults

func (o *UpdateNfsExportParams) SetDefaults()

SetDefaults hydrates default values in the update nfs export params (not the query body).

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

func (*UpdateNfsExportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update nfs export params

func (*UpdateNfsExportParams) SetRequestBody

func (o *UpdateNfsExportParams) SetRequestBody(requestBody *models.NfsExportUpdationParams)

SetRequestBody adds the requestBody to the update nfs export params

func (*UpdateNfsExportParams) SetTimeout

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

SetTimeout adds the timeout to the update nfs export params

func (*UpdateNfsExportParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the update nfs export params

func (*UpdateNfsExportParams) WithContext

WithContext adds the context to the update nfs export params

func (*UpdateNfsExportParams) WithDefaults

func (o *UpdateNfsExportParams) WithDefaults() *UpdateNfsExportParams

WithDefaults hydrates default values in the update nfs export params (not the query body).

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

func (*UpdateNfsExportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update nfs export params

func (*UpdateNfsExportParams) WithRequestBody

WithRequestBody adds the requestBody to the update nfs export params

func (*UpdateNfsExportParams) WithTimeout

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

WithTimeout adds the timeout to the update nfs export params

func (*UpdateNfsExportParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateNfsExportReader

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

UpdateNfsExportReader is a Reader for the UpdateNfsExport structure.

func (*UpdateNfsExportReader) ReadResponse

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