directory_snapshots

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 directory snapshots API

func (*Client) DeleteAPI24DirectorySnapshots

func (a *Client) DeleteAPI24DirectorySnapshots(params *DeleteAPI24DirectorySnapshotsParams) (*DeleteApi24DirectorySnapshotsOK, error)

DeleteAPI24DirectorySnapshots deletes directory snapshot

Deletes a directory snapshot that has been destroyed and is pending eradication. Eradicated directory snapshots cannot be recovered. Directory snapshots are destroyed by using the PATCH method. The `ids` or `names` parameter is required, but cannot be set together.

func (*Client) GetAPI24DirectorySnapshots

func (a *Client) GetAPI24DirectorySnapshots(params *GetAPI24DirectorySnapshotsParams) (*GetApi24DirectorySnapshotsOK, error)

GetAPI24DirectorySnapshots lists directory snapshots

Displays a list of directory snapshots, including those pending eradication.

func (*Client) PatchAPI24DirectorySnapshots

func (a *Client) PatchAPI24DirectorySnapshots(params *PatchAPI24DirectorySnapshotsParams) (*PatchApi24DirectorySnapshotsOK, error)

PatchAPI24DirectorySnapshots modifies directory snapshot

Modifies a directory snapshot. You can destroy, recover, or update the policy or time remaining of a directory snapshot. To destroy a directory snapshot, set `destroyed=true`. To recover a directory snapshot that has been destroyed and is pending eradication, set `destroyed=false`. The `ids` or `names` parameter is required, but cannot be set together.

func (*Client) PostAPI24DirectorySnapshots

func (a *Client) PostAPI24DirectorySnapshots(params *PostAPI24DirectorySnapshotsParams) (*PostApi24DirectorySnapshotsOK, error)

PostAPI24DirectorySnapshots creates directory snapshot

Creates a snapshot of the contents of a directory. The `source_ids` or `source_names` parameter is required, but cannot be set together.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAPI24DirectorySnapshots(params *DeleteAPI24DirectorySnapshotsParams) (*DeleteApi24DirectorySnapshotsOK, error)

	GetAPI24DirectorySnapshots(params *GetAPI24DirectorySnapshotsParams) (*GetApi24DirectorySnapshotsOK, error)

	PatchAPI24DirectorySnapshots(params *PatchAPI24DirectorySnapshotsParams) (*PatchApi24DirectorySnapshotsOK, error)

	PostAPI24DirectorySnapshots(params *PostAPI24DirectorySnapshotsParams) (*PostApi24DirectorySnapshotsOK, 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 directory snapshots API client.

type DeleteAPI24DirectorySnapshotsParams

type DeleteAPI24DirectorySnapshotsParams 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
}

DeleteAPI24DirectorySnapshotsParams contains all the parameters to send to the API endpoint for the delete API 24 directory snapshots operation typically these are written to a http.Request

func NewDeleteAPI24DirectorySnapshotsParams

func NewDeleteAPI24DirectorySnapshotsParams() *DeleteAPI24DirectorySnapshotsParams

NewDeleteAPI24DirectorySnapshotsParams creates a new DeleteAPI24DirectorySnapshotsParams object with the default values initialized.

func NewDeleteAPI24DirectorySnapshotsParamsWithContext

func NewDeleteAPI24DirectorySnapshotsParamsWithContext(ctx context.Context) *DeleteAPI24DirectorySnapshotsParams

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

func NewDeleteAPI24DirectorySnapshotsParamsWithHTTPClient

func NewDeleteAPI24DirectorySnapshotsParamsWithHTTPClient(client *http.Client) *DeleteAPI24DirectorySnapshotsParams

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

func NewDeleteAPI24DirectorySnapshotsParamsWithTimeout

func NewDeleteAPI24DirectorySnapshotsParamsWithTimeout(timeout time.Duration) *DeleteAPI24DirectorySnapshotsParams

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

func (*DeleteAPI24DirectorySnapshotsParams) SetAuthorization

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

SetAuthorization adds the authorization to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) SetContext

SetContext adds the context to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) SetIds

SetIds adds the ids to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) SetNames

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

SetNames adds the names to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) SetTimeout

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

SetTimeout adds the timeout to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) WithAuthorization

WithAuthorization adds the authorization to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) WithContext

WithContext adds the context to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) WithIds

WithIds adds the ids to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) WithNames

WithNames adds the names to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) WithTimeout

WithTimeout adds the timeout to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) WithXRequestID

WithXRequestID adds the xRequestID to the delete API 24 directory snapshots params

func (*DeleteAPI24DirectorySnapshotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPI24DirectorySnapshotsReader

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

DeleteAPI24DirectorySnapshotsReader is a Reader for the DeleteAPI24DirectorySnapshots structure.

func (*DeleteAPI24DirectorySnapshotsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteApi24DirectorySnapshotsBadRequest

type DeleteApi24DirectorySnapshotsBadRequest struct {
	Payload *models.Error
}

DeleteApi24DirectorySnapshotsBadRequest handles this case with default header values.

BadRequest

func NewDeleteApi24DirectorySnapshotsBadRequest

func NewDeleteApi24DirectorySnapshotsBadRequest() *DeleteApi24DirectorySnapshotsBadRequest

NewDeleteApi24DirectorySnapshotsBadRequest creates a DeleteApi24DirectorySnapshotsBadRequest with default headers values

func (*DeleteApi24DirectorySnapshotsBadRequest) Error

func (*DeleteApi24DirectorySnapshotsBadRequest) GetPayload

type DeleteApi24DirectorySnapshotsOK

type DeleteApi24DirectorySnapshotsOK struct {
}

DeleteApi24DirectorySnapshotsOK handles this case with default header values.

OK

func NewDeleteApi24DirectorySnapshotsOK

func NewDeleteApi24DirectorySnapshotsOK() *DeleteApi24DirectorySnapshotsOK

NewDeleteApi24DirectorySnapshotsOK creates a DeleteApi24DirectorySnapshotsOK with default headers values

func (*DeleteApi24DirectorySnapshotsOK) Error

type GetAPI24DirectorySnapshotsParams

type GetAPI24DirectorySnapshotsParams 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
	/*SourceIds
	  Performs the operation on the source ID specified. Enter multiple source IDs in comma-separated format.

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

	*/
	SourceNames []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
	/*TotalOnly
	  If set to `true`, returns the aggregate value of all items after filtering. Where it makes more sense, the average value is displayed instead. The values are displayed for each name where meaningful. If `total_only=true`, the `items` list will be empty.

	*/
	TotalOnly *bool

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

GetAPI24DirectorySnapshotsParams contains all the parameters to send to the API endpoint for the get API 24 directory snapshots operation typically these are written to a http.Request

func NewGetAPI24DirectorySnapshotsParams

func NewGetAPI24DirectorySnapshotsParams() *GetAPI24DirectorySnapshotsParams

NewGetAPI24DirectorySnapshotsParams creates a new GetAPI24DirectorySnapshotsParams object with the default values initialized.

func NewGetAPI24DirectorySnapshotsParamsWithContext

func NewGetAPI24DirectorySnapshotsParamsWithContext(ctx context.Context) *GetAPI24DirectorySnapshotsParams

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

func NewGetAPI24DirectorySnapshotsParamsWithHTTPClient

func NewGetAPI24DirectorySnapshotsParamsWithHTTPClient(client *http.Client) *GetAPI24DirectorySnapshotsParams

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

func NewGetAPI24DirectorySnapshotsParamsWithTimeout

func NewGetAPI24DirectorySnapshotsParamsWithTimeout(timeout time.Duration) *GetAPI24DirectorySnapshotsParams

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

func (*GetAPI24DirectorySnapshotsParams) SetAuthorization

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

SetAuthorization adds the authorization to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetContext

SetContext adds the context to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetContinuationToken

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

SetContinuationToken adds the continuationToken to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetDestroyed

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

SetDestroyed adds the destroyed to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetFilter

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

SetFilter adds the filter to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetIds

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

SetIds adds the ids to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetLimit

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

SetLimit adds the limit to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetNames

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

SetNames adds the names to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetOffset

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

SetOffset adds the offset to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetSort

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

SetSort adds the sort to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetSourceIds

func (o *GetAPI24DirectorySnapshotsParams) SetSourceIds(sourceIds []string)

SetSourceIds adds the sourceIds to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetSourceNames

func (o *GetAPI24DirectorySnapshotsParams) SetSourceNames(sourceNames []string)

SetSourceNames adds the sourceNames to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetTotalItemCount

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

SetTotalItemCount adds the totalItemCount to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetTotalOnly

func (o *GetAPI24DirectorySnapshotsParams) SetTotalOnly(totalOnly *bool)

SetTotalOnly adds the totalOnly to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithAuthorization

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

WithAuthorization adds the authorization to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithContext

WithContext adds the context to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithContinuationToken

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

WithContinuationToken adds the continuationToken to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithDestroyed

WithDestroyed adds the destroyed to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithFilter

WithFilter adds the filter to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithIds

WithIds adds the ids to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithLimit

WithLimit adds the limit to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithNames

WithNames adds the names to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithOffset

WithOffset adds the offset to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithSort

WithSort adds the sort to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithSourceIds

WithSourceIds adds the sourceIds to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithSourceNames

WithSourceNames adds the sourceNames to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithTimeout

WithTimeout adds the timeout to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithTotalItemCount

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

WithTotalItemCount adds the totalItemCount to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithTotalOnly

WithTotalOnly adds the totalOnly to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WithXRequestID

WithXRequestID adds the xRequestID to the get API 24 directory snapshots params

func (*GetAPI24DirectorySnapshotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24DirectorySnapshotsReader

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

GetAPI24DirectorySnapshotsReader is a Reader for the GetAPI24DirectorySnapshots structure.

func (*GetAPI24DirectorySnapshotsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24DirectorySnapshotsBadRequest

type GetApi24DirectorySnapshotsBadRequest struct {
	Payload *models.Error
}

GetApi24DirectorySnapshotsBadRequest handles this case with default header values.

BadRequest

func NewGetApi24DirectorySnapshotsBadRequest

func NewGetApi24DirectorySnapshotsBadRequest() *GetApi24DirectorySnapshotsBadRequest

NewGetApi24DirectorySnapshotsBadRequest creates a GetApi24DirectorySnapshotsBadRequest with default headers values

func (*GetApi24DirectorySnapshotsBadRequest) Error

func (*GetApi24DirectorySnapshotsBadRequest) GetPayload

type GetApi24DirectorySnapshotsOK

type GetApi24DirectorySnapshotsOK struct {
	Payload *models.DirectorySnapshotGetResponse
}

GetApi24DirectorySnapshotsOK handles this case with default header values.

OK

func NewGetApi24DirectorySnapshotsOK

func NewGetApi24DirectorySnapshotsOK() *GetApi24DirectorySnapshotsOK

NewGetApi24DirectorySnapshotsOK creates a GetApi24DirectorySnapshotsOK with default headers values

func (*GetApi24DirectorySnapshotsOK) Error

func (*GetApi24DirectorySnapshotsOK) GetPayload

type PatchAPI24DirectorySnapshotsParams

type PatchAPI24DirectorySnapshotsParams 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
	/*DirectorySnapshot*/
	DirectorySnapshot *models.DirectorySnapshotPatch
	/*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
}

PatchAPI24DirectorySnapshotsParams contains all the parameters to send to the API endpoint for the patch API 24 directory snapshots operation typically these are written to a http.Request

func NewPatchAPI24DirectorySnapshotsParams

func NewPatchAPI24DirectorySnapshotsParams() *PatchAPI24DirectorySnapshotsParams

NewPatchAPI24DirectorySnapshotsParams creates a new PatchAPI24DirectorySnapshotsParams object with the default values initialized.

func NewPatchAPI24DirectorySnapshotsParamsWithContext

func NewPatchAPI24DirectorySnapshotsParamsWithContext(ctx context.Context) *PatchAPI24DirectorySnapshotsParams

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

func NewPatchAPI24DirectorySnapshotsParamsWithHTTPClient

func NewPatchAPI24DirectorySnapshotsParamsWithHTTPClient(client *http.Client) *PatchAPI24DirectorySnapshotsParams

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

func NewPatchAPI24DirectorySnapshotsParamsWithTimeout

func NewPatchAPI24DirectorySnapshotsParamsWithTimeout(timeout time.Duration) *PatchAPI24DirectorySnapshotsParams

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

func (*PatchAPI24DirectorySnapshotsParams) SetAuthorization

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

SetAuthorization adds the authorization to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) SetContext

SetContext adds the context to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) SetDirectorySnapshot

func (o *PatchAPI24DirectorySnapshotsParams) SetDirectorySnapshot(directorySnapshot *models.DirectorySnapshotPatch)

SetDirectorySnapshot adds the directorySnapshot to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) SetIds

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

SetIds adds the ids to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) SetNames

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

SetNames adds the names to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) SetTimeout

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

SetTimeout adds the timeout to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) WithAuthorization

WithAuthorization adds the authorization to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) WithContext

WithContext adds the context to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) WithDirectorySnapshot

WithDirectorySnapshot adds the directorySnapshot to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) WithIds

WithIds adds the ids to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) WithNames

WithNames adds the names to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) WithTimeout

WithTimeout adds the timeout to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) WithXRequestID

WithXRequestID adds the xRequestID to the patch API 24 directory snapshots params

func (*PatchAPI24DirectorySnapshotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPI24DirectorySnapshotsReader

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

PatchAPI24DirectorySnapshotsReader is a Reader for the PatchAPI24DirectorySnapshots structure.

func (*PatchAPI24DirectorySnapshotsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchApi24DirectorySnapshotsBadRequest

type PatchApi24DirectorySnapshotsBadRequest struct {
	Payload *models.Error
}

PatchApi24DirectorySnapshotsBadRequest handles this case with default header values.

BadRequest

func NewPatchApi24DirectorySnapshotsBadRequest

func NewPatchApi24DirectorySnapshotsBadRequest() *PatchApi24DirectorySnapshotsBadRequest

NewPatchApi24DirectorySnapshotsBadRequest creates a PatchApi24DirectorySnapshotsBadRequest with default headers values

func (*PatchApi24DirectorySnapshotsBadRequest) Error

func (*PatchApi24DirectorySnapshotsBadRequest) GetPayload

type PatchApi24DirectorySnapshotsOK

type PatchApi24DirectorySnapshotsOK struct {
	Payload *models.DirectorySnapshotResponse
}

PatchApi24DirectorySnapshotsOK handles this case with default header values.

OK

func NewPatchApi24DirectorySnapshotsOK

func NewPatchApi24DirectorySnapshotsOK() *PatchApi24DirectorySnapshotsOK

NewPatchApi24DirectorySnapshotsOK creates a PatchApi24DirectorySnapshotsOK with default headers values

func (*PatchApi24DirectorySnapshotsOK) Error

func (*PatchApi24DirectorySnapshotsOK) GetPayload

type PostAPI24DirectorySnapshotsParams

type PostAPI24DirectorySnapshotsParams 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
	/*DirectorySnapshot*/
	DirectorySnapshot *models.DirectorySnapshotPost
	/*SourceIds
	  Performs the operation on the source ID specified. Enter multiple source IDs in comma-separated format.

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

	*/
	SourceNames []string

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

PostAPI24DirectorySnapshotsParams contains all the parameters to send to the API endpoint for the post API 24 directory snapshots operation typically these are written to a http.Request

func NewPostAPI24DirectorySnapshotsParams

func NewPostAPI24DirectorySnapshotsParams() *PostAPI24DirectorySnapshotsParams

NewPostAPI24DirectorySnapshotsParams creates a new PostAPI24DirectorySnapshotsParams object with the default values initialized.

func NewPostAPI24DirectorySnapshotsParamsWithContext

func NewPostAPI24DirectorySnapshotsParamsWithContext(ctx context.Context) *PostAPI24DirectorySnapshotsParams

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

func NewPostAPI24DirectorySnapshotsParamsWithHTTPClient

func NewPostAPI24DirectorySnapshotsParamsWithHTTPClient(client *http.Client) *PostAPI24DirectorySnapshotsParams

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

func NewPostAPI24DirectorySnapshotsParamsWithTimeout

func NewPostAPI24DirectorySnapshotsParamsWithTimeout(timeout time.Duration) *PostAPI24DirectorySnapshotsParams

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

func (*PostAPI24DirectorySnapshotsParams) SetAuthorization

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

SetAuthorization adds the authorization to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) SetContext

SetContext adds the context to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) SetDirectorySnapshot

func (o *PostAPI24DirectorySnapshotsParams) SetDirectorySnapshot(directorySnapshot *models.DirectorySnapshotPost)

SetDirectorySnapshot adds the directorySnapshot to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) SetSourceIds

func (o *PostAPI24DirectorySnapshotsParams) SetSourceIds(sourceIds []string)

SetSourceIds adds the sourceIds to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) SetSourceNames

func (o *PostAPI24DirectorySnapshotsParams) SetSourceNames(sourceNames []string)

SetSourceNames adds the sourceNames to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) SetTimeout

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

SetTimeout adds the timeout to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) SetXRequestID

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

SetXRequestID adds the xRequestId to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) WithAuthorization

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

WithAuthorization adds the authorization to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) WithContext

WithContext adds the context to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) WithDirectorySnapshot

WithDirectorySnapshot adds the directorySnapshot to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) WithSourceIds

WithSourceIds adds the sourceIds to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) WithSourceNames

WithSourceNames adds the sourceNames to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) WithTimeout

WithTimeout adds the timeout to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) WithXRequestID

WithXRequestID adds the xRequestID to the post API 24 directory snapshots params

func (*PostAPI24DirectorySnapshotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPI24DirectorySnapshotsReader

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

PostAPI24DirectorySnapshotsReader is a Reader for the PostAPI24DirectorySnapshots structure.

func (*PostAPI24DirectorySnapshotsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostApi24DirectorySnapshotsBadRequest

type PostApi24DirectorySnapshotsBadRequest struct {
	Payload *models.Error
}

PostApi24DirectorySnapshotsBadRequest handles this case with default header values.

BadRequest

func NewPostApi24DirectorySnapshotsBadRequest

func NewPostApi24DirectorySnapshotsBadRequest() *PostApi24DirectorySnapshotsBadRequest

NewPostApi24DirectorySnapshotsBadRequest creates a PostApi24DirectorySnapshotsBadRequest with default headers values

func (*PostApi24DirectorySnapshotsBadRequest) Error

func (*PostApi24DirectorySnapshotsBadRequest) GetPayload

type PostApi24DirectorySnapshotsOK

type PostApi24DirectorySnapshotsOK struct {
	Payload *models.DirectorySnapshotResponse
}

PostApi24DirectorySnapshotsOK handles this case with default header values.

OK

func NewPostApi24DirectorySnapshotsOK

func NewPostApi24DirectorySnapshotsOK() *PostApi24DirectorySnapshotsOK

NewPostApi24DirectorySnapshotsOK creates a PostApi24DirectorySnapshotsOK with default headers values

func (*PostApi24DirectorySnapshotsOK) Error

func (*PostApi24DirectorySnapshotsOK) GetPayload

Jump to

Keyboard shortcuts

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