file_systems

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 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 file systems API

func (*Client) DeleteAPI24FileSystems

func (a *Client) DeleteAPI24FileSystems(params *DeleteAPI24FileSystemsParams) (*DeleteApi24FileSystemsOK, error)

DeleteAPI24FileSystems deletes file system

Deletes a file system that has been destroyed and is pending eradication. Eradicated file systems cannot be recovered. File systems are destroyed using the PATCH method.

func (*Client) GetAPI24FileSystems

func (a *Client) GetAPI24FileSystems(params *GetAPI24FileSystemsParams) (*GetApi24FileSystemsOK, error)

GetAPI24FileSystems lists file systems

Displays a list of file systems, including those pending eradication.

func (*Client) PatchAPI24FileSystems

func (a *Client) PatchAPI24FileSystems(params *PatchAPI24FileSystemsParams) (*PatchApi24FileSystemsOK, error)

PatchAPI24FileSystems modifies a file system

Modifies a file system. You can rename, destroy, or recover a file system. To rename a file system, set `name` to the new name. To destroy a file system, set `destroyed=true`. To recover a file system that has been destroyed and is pending eradication, set `destroyed=false`.

func (*Client) PostAPI24FileSystems

func (a *Client) PostAPI24FileSystems(params *PostAPI24FileSystemsParams) (*PostApi24FileSystemsOK, error)

PostAPI24FileSystems creates file system

Creates one or more file systems.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAPI24FileSystems(params *DeleteAPI24FileSystemsParams) (*DeleteApi24FileSystemsOK, error)

	GetAPI24FileSystems(params *GetAPI24FileSystemsParams) (*GetApi24FileSystemsOK, error)

	PatchAPI24FileSystems(params *PatchAPI24FileSystemsParams) (*PatchApi24FileSystemsOK, error)

	PostAPI24FileSystems(params *PostAPI24FileSystemsParams) (*PostApi24FileSystemsOK, 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 file systems API client.

type DeleteAPI24FileSystemsParams

type DeleteAPI24FileSystemsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Ids
	  Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The `ids` and `names` parameters cannot be provided together.

	*/
	Ids []string
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string

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

DeleteAPI24FileSystemsParams contains all the parameters to send to the API endpoint for the delete API 24 file systems operation typically these are written to a http.Request

func NewDeleteAPI24FileSystemsParams

func NewDeleteAPI24FileSystemsParams() *DeleteAPI24FileSystemsParams

NewDeleteAPI24FileSystemsParams creates a new DeleteAPI24FileSystemsParams object with the default values initialized.

func NewDeleteAPI24FileSystemsParamsWithContext

func NewDeleteAPI24FileSystemsParamsWithContext(ctx context.Context) *DeleteAPI24FileSystemsParams

NewDeleteAPI24FileSystemsParamsWithContext creates a new DeleteAPI24FileSystemsParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAPI24FileSystemsParamsWithHTTPClient

func NewDeleteAPI24FileSystemsParamsWithHTTPClient(client *http.Client) *DeleteAPI24FileSystemsParams

NewDeleteAPI24FileSystemsParamsWithHTTPClient creates a new DeleteAPI24FileSystemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAPI24FileSystemsParamsWithTimeout

func NewDeleteAPI24FileSystemsParamsWithTimeout(timeout time.Duration) *DeleteAPI24FileSystemsParams

NewDeleteAPI24FileSystemsParamsWithTimeout creates a new DeleteAPI24FileSystemsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAPI24FileSystemsParams) SetAuthorization

func (o *DeleteAPI24FileSystemsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) SetContext

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

SetContext adds the context to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) SetIds

func (o *DeleteAPI24FileSystemsParams) SetIds(ids []string)

SetIds adds the ids to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) SetNames

func (o *DeleteAPI24FileSystemsParams) SetNames(names []string)

SetNames adds the names to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) SetTimeout

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

SetTimeout adds the timeout to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) SetXRequestID

func (o *DeleteAPI24FileSystemsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) WithAuthorization

func (o *DeleteAPI24FileSystemsParams) WithAuthorization(authorization *string) *DeleteAPI24FileSystemsParams

WithAuthorization adds the authorization to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) WithContext

WithContext adds the context to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) WithIds

WithIds adds the ids to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) WithNames

WithNames adds the names to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) WithTimeout

WithTimeout adds the timeout to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) WithXRequestID

func (o *DeleteAPI24FileSystemsParams) WithXRequestID(xRequestID *string) *DeleteAPI24FileSystemsParams

WithXRequestID adds the xRequestID to the delete API 24 file systems params

func (*DeleteAPI24FileSystemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPI24FileSystemsReader

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

DeleteAPI24FileSystemsReader is a Reader for the DeleteAPI24FileSystems structure.

func (*DeleteAPI24FileSystemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteApi24FileSystemsBadRequest

type DeleteApi24FileSystemsBadRequest struct {
	Payload *models.Error
}

DeleteApi24FileSystemsBadRequest handles this case with default header values.

BadRequest

func NewDeleteApi24FileSystemsBadRequest

func NewDeleteApi24FileSystemsBadRequest() *DeleteApi24FileSystemsBadRequest

NewDeleteApi24FileSystemsBadRequest creates a DeleteApi24FileSystemsBadRequest with default headers values

func (*DeleteApi24FileSystemsBadRequest) Error

func (*DeleteApi24FileSystemsBadRequest) GetPayload

type DeleteApi24FileSystemsOK

type DeleteApi24FileSystemsOK struct {
}

DeleteApi24FileSystemsOK handles this case with default header values.

OK

func NewDeleteApi24FileSystemsOK

func NewDeleteApi24FileSystemsOK() *DeleteApi24FileSystemsOK

NewDeleteApi24FileSystemsOK creates a DeleteApi24FileSystemsOK with default headers values

func (*DeleteApi24FileSystemsOK) Error

func (o *DeleteApi24FileSystemsOK) Error() string

type GetAPI24FileSystemsParams

type GetAPI24FileSystemsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

	*/
	ContinuationToken *string
	/*Destroyed
	  If set to `true`, lists only destroyed objects that are in the eradication pending state. If set to `false`, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.

	*/
	Destroyed *bool
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*Ids
	  Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The `ids` and `names` parameters cannot be provided together.

	*/
	Ids []string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool

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

GetAPI24FileSystemsParams contains all the parameters to send to the API endpoint for the get API 24 file systems operation typically these are written to a http.Request

func NewGetAPI24FileSystemsParams

func NewGetAPI24FileSystemsParams() *GetAPI24FileSystemsParams

NewGetAPI24FileSystemsParams creates a new GetAPI24FileSystemsParams object with the default values initialized.

func NewGetAPI24FileSystemsParamsWithContext

func NewGetAPI24FileSystemsParamsWithContext(ctx context.Context) *GetAPI24FileSystemsParams

NewGetAPI24FileSystemsParamsWithContext creates a new GetAPI24FileSystemsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAPI24FileSystemsParamsWithHTTPClient

func NewGetAPI24FileSystemsParamsWithHTTPClient(client *http.Client) *GetAPI24FileSystemsParams

NewGetAPI24FileSystemsParamsWithHTTPClient creates a new GetAPI24FileSystemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAPI24FileSystemsParamsWithTimeout

func NewGetAPI24FileSystemsParamsWithTimeout(timeout time.Duration) *GetAPI24FileSystemsParams

NewGetAPI24FileSystemsParamsWithTimeout creates a new GetAPI24FileSystemsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAPI24FileSystemsParams) SetAuthorization

func (o *GetAPI24FileSystemsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetContext

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

SetContext adds the context to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetContinuationToken

func (o *GetAPI24FileSystemsParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetDestroyed

func (o *GetAPI24FileSystemsParams) SetDestroyed(destroyed *bool)

SetDestroyed adds the destroyed to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetFilter

func (o *GetAPI24FileSystemsParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetIds

func (o *GetAPI24FileSystemsParams) SetIds(ids []string)

SetIds adds the ids to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetLimit

func (o *GetAPI24FileSystemsParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetNames

func (o *GetAPI24FileSystemsParams) SetNames(names []string)

SetNames adds the names to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetOffset

func (o *GetAPI24FileSystemsParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetSort

func (o *GetAPI24FileSystemsParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetTotalItemCount

func (o *GetAPI24FileSystemsParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) SetXRequestID

func (o *GetAPI24FileSystemsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithAuthorization

func (o *GetAPI24FileSystemsParams) WithAuthorization(authorization *string) *GetAPI24FileSystemsParams

WithAuthorization adds the authorization to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithContext

WithContext adds the context to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithContinuationToken

func (o *GetAPI24FileSystemsParams) WithContinuationToken(continuationToken *string) *GetAPI24FileSystemsParams

WithContinuationToken adds the continuationToken to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithDestroyed

func (o *GetAPI24FileSystemsParams) WithDestroyed(destroyed *bool) *GetAPI24FileSystemsParams

WithDestroyed adds the destroyed to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithFilter

WithFilter adds the filter to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithIds

WithIds adds the ids to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithLimit

WithLimit adds the limit to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithNames

WithNames adds the names to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithOffset

WithOffset adds the offset to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithSort

WithSort adds the sort to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithTimeout

WithTimeout adds the timeout to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithTotalItemCount

func (o *GetAPI24FileSystemsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24FileSystemsParams

WithTotalItemCount adds the totalItemCount to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WithXRequestID

func (o *GetAPI24FileSystemsParams) WithXRequestID(xRequestID *string) *GetAPI24FileSystemsParams

WithXRequestID adds the xRequestID to the get API 24 file systems params

func (*GetAPI24FileSystemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24FileSystemsReader

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

GetAPI24FileSystemsReader is a Reader for the GetAPI24FileSystems structure.

func (*GetAPI24FileSystemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24FileSystemsBadRequest

type GetApi24FileSystemsBadRequest struct {
	Payload *models.Error
}

GetApi24FileSystemsBadRequest handles this case with default header values.

BadRequest

func NewGetApi24FileSystemsBadRequest

func NewGetApi24FileSystemsBadRequest() *GetApi24FileSystemsBadRequest

NewGetApi24FileSystemsBadRequest creates a GetApi24FileSystemsBadRequest with default headers values

func (*GetApi24FileSystemsBadRequest) Error

func (*GetApi24FileSystemsBadRequest) GetPayload

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

type GetApi24FileSystemsOK

type GetApi24FileSystemsOK struct {
	Payload *models.FileSystemGetResponse
}

GetApi24FileSystemsOK handles this case with default header values.

OK

func NewGetApi24FileSystemsOK

func NewGetApi24FileSystemsOK() *GetApi24FileSystemsOK

NewGetApi24FileSystemsOK creates a GetApi24FileSystemsOK with default headers values

func (*GetApi24FileSystemsOK) Error

func (o *GetApi24FileSystemsOK) Error() string

func (*GetApi24FileSystemsOK) GetPayload

type PatchAPI24FileSystemsParams

type PatchAPI24FileSystemsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*FileSystem*/
	FileSystem *models.FileSystemPatch
	/*Ids
	  Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The `ids` and `names` parameters cannot be provided together.

	*/
	Ids []string
	/*Names
	  Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, `name01,name02`.

	*/
	Names []string

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

PatchAPI24FileSystemsParams contains all the parameters to send to the API endpoint for the patch API 24 file systems operation typically these are written to a http.Request

func NewPatchAPI24FileSystemsParams

func NewPatchAPI24FileSystemsParams() *PatchAPI24FileSystemsParams

NewPatchAPI24FileSystemsParams creates a new PatchAPI24FileSystemsParams object with the default values initialized.

func NewPatchAPI24FileSystemsParamsWithContext

func NewPatchAPI24FileSystemsParamsWithContext(ctx context.Context) *PatchAPI24FileSystemsParams

NewPatchAPI24FileSystemsParamsWithContext creates a new PatchAPI24FileSystemsParams object with the default values initialized, and the ability to set a context for a request

func NewPatchAPI24FileSystemsParamsWithHTTPClient

func NewPatchAPI24FileSystemsParamsWithHTTPClient(client *http.Client) *PatchAPI24FileSystemsParams

NewPatchAPI24FileSystemsParamsWithHTTPClient creates a new PatchAPI24FileSystemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPatchAPI24FileSystemsParamsWithTimeout

func NewPatchAPI24FileSystemsParamsWithTimeout(timeout time.Duration) *PatchAPI24FileSystemsParams

NewPatchAPI24FileSystemsParamsWithTimeout creates a new PatchAPI24FileSystemsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PatchAPI24FileSystemsParams) SetAuthorization

func (o *PatchAPI24FileSystemsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) SetContext

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

SetContext adds the context to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) SetFileSystem

func (o *PatchAPI24FileSystemsParams) SetFileSystem(fileSystem *models.FileSystemPatch)

SetFileSystem adds the fileSystem to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) SetIds

func (o *PatchAPI24FileSystemsParams) SetIds(ids []string)

SetIds adds the ids to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) SetNames

func (o *PatchAPI24FileSystemsParams) SetNames(names []string)

SetNames adds the names to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) SetTimeout

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

SetTimeout adds the timeout to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) SetXRequestID

func (o *PatchAPI24FileSystemsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) WithAuthorization

func (o *PatchAPI24FileSystemsParams) WithAuthorization(authorization *string) *PatchAPI24FileSystemsParams

WithAuthorization adds the authorization to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) WithContext

WithContext adds the context to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) WithFileSystem

WithFileSystem adds the fileSystem to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) WithIds

WithIds adds the ids to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) WithNames

WithNames adds the names to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) WithTimeout

WithTimeout adds the timeout to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) WithXRequestID

func (o *PatchAPI24FileSystemsParams) WithXRequestID(xRequestID *string) *PatchAPI24FileSystemsParams

WithXRequestID adds the xRequestID to the patch API 24 file systems params

func (*PatchAPI24FileSystemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPI24FileSystemsReader

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

PatchAPI24FileSystemsReader is a Reader for the PatchAPI24FileSystems structure.

func (*PatchAPI24FileSystemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchApi24FileSystemsBadRequest

type PatchApi24FileSystemsBadRequest struct {
	Payload *models.Error
}

PatchApi24FileSystemsBadRequest handles this case with default header values.

BadRequest

func NewPatchApi24FileSystemsBadRequest

func NewPatchApi24FileSystemsBadRequest() *PatchApi24FileSystemsBadRequest

NewPatchApi24FileSystemsBadRequest creates a PatchApi24FileSystemsBadRequest with default headers values

func (*PatchApi24FileSystemsBadRequest) Error

func (*PatchApi24FileSystemsBadRequest) GetPayload

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

type PatchApi24FileSystemsOK

type PatchApi24FileSystemsOK struct {
	Payload *models.FileSystemResponse
}

PatchApi24FileSystemsOK handles this case with default header values.

OK

func NewPatchApi24FileSystemsOK

func NewPatchApi24FileSystemsOK() *PatchApi24FileSystemsOK

NewPatchApi24FileSystemsOK creates a PatchApi24FileSystemsOK with default headers values

func (*PatchApi24FileSystemsOK) Error

func (o *PatchApi24FileSystemsOK) Error() string

func (*PatchApi24FileSystemsOK) GetPayload

type PostAPI24FileSystemsParams

type PostAPI24FileSystemsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Names
	  Performs the operation on the unique name specified. For example, `name01`. Enter multiple names in comma-separated format.

	*/
	Names []string

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

PostAPI24FileSystemsParams contains all the parameters to send to the API endpoint for the post API 24 file systems operation typically these are written to a http.Request

func NewPostAPI24FileSystemsParams

func NewPostAPI24FileSystemsParams() *PostAPI24FileSystemsParams

NewPostAPI24FileSystemsParams creates a new PostAPI24FileSystemsParams object with the default values initialized.

func NewPostAPI24FileSystemsParamsWithContext

func NewPostAPI24FileSystemsParamsWithContext(ctx context.Context) *PostAPI24FileSystemsParams

NewPostAPI24FileSystemsParamsWithContext creates a new PostAPI24FileSystemsParams object with the default values initialized, and the ability to set a context for a request

func NewPostAPI24FileSystemsParamsWithHTTPClient

func NewPostAPI24FileSystemsParamsWithHTTPClient(client *http.Client) *PostAPI24FileSystemsParams

NewPostAPI24FileSystemsParamsWithHTTPClient creates a new PostAPI24FileSystemsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostAPI24FileSystemsParamsWithTimeout

func NewPostAPI24FileSystemsParamsWithTimeout(timeout time.Duration) *PostAPI24FileSystemsParams

NewPostAPI24FileSystemsParamsWithTimeout creates a new PostAPI24FileSystemsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostAPI24FileSystemsParams) SetAuthorization

func (o *PostAPI24FileSystemsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) SetContext

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

SetContext adds the context to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) SetNames

func (o *PostAPI24FileSystemsParams) SetNames(names []string)

SetNames adds the names to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) SetTimeout

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

SetTimeout adds the timeout to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) SetXRequestID

func (o *PostAPI24FileSystemsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) WithAuthorization

func (o *PostAPI24FileSystemsParams) WithAuthorization(authorization *string) *PostAPI24FileSystemsParams

WithAuthorization adds the authorization to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) WithContext

WithContext adds the context to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) WithNames

WithNames adds the names to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) WithTimeout

WithTimeout adds the timeout to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) WithXRequestID

func (o *PostAPI24FileSystemsParams) WithXRequestID(xRequestID *string) *PostAPI24FileSystemsParams

WithXRequestID adds the xRequestID to the post API 24 file systems params

func (*PostAPI24FileSystemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPI24FileSystemsReader

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

PostAPI24FileSystemsReader is a Reader for the PostAPI24FileSystems structure.

func (*PostAPI24FileSystemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostApi24FileSystemsBadRequest

type PostApi24FileSystemsBadRequest struct {
	Payload *models.Error
}

PostApi24FileSystemsBadRequest handles this case with default header values.

BadRequest

func NewPostApi24FileSystemsBadRequest

func NewPostApi24FileSystemsBadRequest() *PostApi24FileSystemsBadRequest

NewPostApi24FileSystemsBadRequest creates a PostApi24FileSystemsBadRequest with default headers values

func (*PostApi24FileSystemsBadRequest) Error

func (*PostApi24FileSystemsBadRequest) GetPayload

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

type PostApi24FileSystemsOK

type PostApi24FileSystemsOK struct {
	Payload *models.FileSystemResponse
}

PostApi24FileSystemsOK handles this case with default header values.

OK

func NewPostApi24FileSystemsOK

func NewPostApi24FileSystemsOK() *PostApi24FileSystemsOK

NewPostApi24FileSystemsOK creates a PostApi24FileSystemsOK with default headers values

func (*PostApi24FileSystemsOK) Error

func (o *PostApi24FileSystemsOK) Error() string

func (*PostApi24FileSystemsOK) GetPayload

Jump to

Keyboard shortcuts

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