Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAPI24DirectorySnapshots(params *DeleteAPI24DirectorySnapshotsParams) (*DeleteApi24DirectorySnapshotsOK, error)
- func (a *Client) GetAPI24DirectorySnapshots(params *GetAPI24DirectorySnapshotsParams) (*GetApi24DirectorySnapshotsOK, error)
- func (a *Client) PatchAPI24DirectorySnapshots(params *PatchAPI24DirectorySnapshotsParams) (*PatchApi24DirectorySnapshotsOK, error)
- func (a *Client) PostAPI24DirectorySnapshots(params *PostAPI24DirectorySnapshotsParams) (*PostApi24DirectorySnapshotsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAPI24DirectorySnapshotsParams
- func NewDeleteAPI24DirectorySnapshotsParams() *DeleteAPI24DirectorySnapshotsParams
- func NewDeleteAPI24DirectorySnapshotsParamsWithContext(ctx context.Context) *DeleteAPI24DirectorySnapshotsParams
- func NewDeleteAPI24DirectorySnapshotsParamsWithHTTPClient(client *http.Client) *DeleteAPI24DirectorySnapshotsParams
- func NewDeleteAPI24DirectorySnapshotsParamsWithTimeout(timeout time.Duration) *DeleteAPI24DirectorySnapshotsParams
- func (o *DeleteAPI24DirectorySnapshotsParams) SetAuthorization(authorization *string)
- func (o *DeleteAPI24DirectorySnapshotsParams) SetContext(ctx context.Context)
- func (o *DeleteAPI24DirectorySnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPI24DirectorySnapshotsParams) SetIds(ids []string)
- func (o *DeleteAPI24DirectorySnapshotsParams) SetNames(names []string)
- func (o *DeleteAPI24DirectorySnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPI24DirectorySnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAPI24DirectorySnapshotsParams) WithAuthorization(authorization *string) *DeleteAPI24DirectorySnapshotsParams
- func (o *DeleteAPI24DirectorySnapshotsParams) WithContext(ctx context.Context) *DeleteAPI24DirectorySnapshotsParams
- func (o *DeleteAPI24DirectorySnapshotsParams) WithHTTPClient(client *http.Client) *DeleteAPI24DirectorySnapshotsParams
- func (o *DeleteAPI24DirectorySnapshotsParams) WithIds(ids []string) *DeleteAPI24DirectorySnapshotsParams
- func (o *DeleteAPI24DirectorySnapshotsParams) WithNames(names []string) *DeleteAPI24DirectorySnapshotsParams
- func (o *DeleteAPI24DirectorySnapshotsParams) WithTimeout(timeout time.Duration) *DeleteAPI24DirectorySnapshotsParams
- func (o *DeleteAPI24DirectorySnapshotsParams) WithXRequestID(xRequestID *string) *DeleteAPI24DirectorySnapshotsParams
- func (o *DeleteAPI24DirectorySnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPI24DirectorySnapshotsReader
- type DeleteApi24DirectorySnapshotsBadRequest
- type DeleteApi24DirectorySnapshotsOK
- type GetAPI24DirectorySnapshotsParams
- func NewGetAPI24DirectorySnapshotsParams() *GetAPI24DirectorySnapshotsParams
- func NewGetAPI24DirectorySnapshotsParamsWithContext(ctx context.Context) *GetAPI24DirectorySnapshotsParams
- func NewGetAPI24DirectorySnapshotsParamsWithHTTPClient(client *http.Client) *GetAPI24DirectorySnapshotsParams
- func NewGetAPI24DirectorySnapshotsParamsWithTimeout(timeout time.Duration) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24DirectorySnapshotsParams) SetContext(ctx context.Context)
- func (o *GetAPI24DirectorySnapshotsParams) SetContinuationToken(continuationToken *string)
- func (o *GetAPI24DirectorySnapshotsParams) SetDestroyed(destroyed *bool)
- func (o *GetAPI24DirectorySnapshotsParams) SetFilter(filter *string)
- func (o *GetAPI24DirectorySnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24DirectorySnapshotsParams) SetIds(ids []string)
- func (o *GetAPI24DirectorySnapshotsParams) SetLimit(limit *int32)
- func (o *GetAPI24DirectorySnapshotsParams) SetNames(names []string)
- func (o *GetAPI24DirectorySnapshotsParams) SetOffset(offset *int32)
- func (o *GetAPI24DirectorySnapshotsParams) SetSort(sort []string)
- func (o *GetAPI24DirectorySnapshotsParams) SetSourceIds(sourceIds []string)
- func (o *GetAPI24DirectorySnapshotsParams) SetSourceNames(sourceNames []string)
- func (o *GetAPI24DirectorySnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24DirectorySnapshotsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24DirectorySnapshotsParams) SetTotalOnly(totalOnly *bool)
- func (o *GetAPI24DirectorySnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24DirectorySnapshotsParams) WithAuthorization(authorization *string) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithContext(ctx context.Context) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithContinuationToken(continuationToken *string) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithDestroyed(destroyed *bool) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithFilter(filter *string) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithHTTPClient(client *http.Client) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithIds(ids []string) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithLimit(limit *int32) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithNames(names []string) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithOffset(offset *int32) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithSort(sort []string) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithSourceIds(sourceIds []string) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithSourceNames(sourceNames []string) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithTimeout(timeout time.Duration) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithTotalOnly(totalOnly *bool) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WithXRequestID(xRequestID *string) *GetAPI24DirectorySnapshotsParams
- func (o *GetAPI24DirectorySnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24DirectorySnapshotsReader
- type GetApi24DirectorySnapshotsBadRequest
- type GetApi24DirectorySnapshotsOK
- type PatchAPI24DirectorySnapshotsParams
- func NewPatchAPI24DirectorySnapshotsParams() *PatchAPI24DirectorySnapshotsParams
- func NewPatchAPI24DirectorySnapshotsParamsWithContext(ctx context.Context) *PatchAPI24DirectorySnapshotsParams
- func NewPatchAPI24DirectorySnapshotsParamsWithHTTPClient(client *http.Client) *PatchAPI24DirectorySnapshotsParams
- func NewPatchAPI24DirectorySnapshotsParamsWithTimeout(timeout time.Duration) *PatchAPI24DirectorySnapshotsParams
- func (o *PatchAPI24DirectorySnapshotsParams) SetAuthorization(authorization *string)
- func (o *PatchAPI24DirectorySnapshotsParams) SetContext(ctx context.Context)
- func (o *PatchAPI24DirectorySnapshotsParams) SetDirectorySnapshot(directorySnapshot *models.DirectorySnapshotPatch)
- func (o *PatchAPI24DirectorySnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPI24DirectorySnapshotsParams) SetIds(ids []string)
- func (o *PatchAPI24DirectorySnapshotsParams) SetNames(names []string)
- func (o *PatchAPI24DirectorySnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPI24DirectorySnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *PatchAPI24DirectorySnapshotsParams) WithAuthorization(authorization *string) *PatchAPI24DirectorySnapshotsParams
- func (o *PatchAPI24DirectorySnapshotsParams) WithContext(ctx context.Context) *PatchAPI24DirectorySnapshotsParams
- func (o *PatchAPI24DirectorySnapshotsParams) WithDirectorySnapshot(directorySnapshot *models.DirectorySnapshotPatch) *PatchAPI24DirectorySnapshotsParams
- func (o *PatchAPI24DirectorySnapshotsParams) WithHTTPClient(client *http.Client) *PatchAPI24DirectorySnapshotsParams
- func (o *PatchAPI24DirectorySnapshotsParams) WithIds(ids []string) *PatchAPI24DirectorySnapshotsParams
- func (o *PatchAPI24DirectorySnapshotsParams) WithNames(names []string) *PatchAPI24DirectorySnapshotsParams
- func (o *PatchAPI24DirectorySnapshotsParams) WithTimeout(timeout time.Duration) *PatchAPI24DirectorySnapshotsParams
- func (o *PatchAPI24DirectorySnapshotsParams) WithXRequestID(xRequestID *string) *PatchAPI24DirectorySnapshotsParams
- func (o *PatchAPI24DirectorySnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPI24DirectorySnapshotsReader
- type PatchApi24DirectorySnapshotsBadRequest
- type PatchApi24DirectorySnapshotsOK
- type PostAPI24DirectorySnapshotsParams
- func NewPostAPI24DirectorySnapshotsParams() *PostAPI24DirectorySnapshotsParams
- func NewPostAPI24DirectorySnapshotsParamsWithContext(ctx context.Context) *PostAPI24DirectorySnapshotsParams
- func NewPostAPI24DirectorySnapshotsParamsWithHTTPClient(client *http.Client) *PostAPI24DirectorySnapshotsParams
- func NewPostAPI24DirectorySnapshotsParamsWithTimeout(timeout time.Duration) *PostAPI24DirectorySnapshotsParams
- func (o *PostAPI24DirectorySnapshotsParams) SetAuthorization(authorization *string)
- func (o *PostAPI24DirectorySnapshotsParams) SetContext(ctx context.Context)
- func (o *PostAPI24DirectorySnapshotsParams) SetDirectorySnapshot(directorySnapshot *models.DirectorySnapshotPost)
- func (o *PostAPI24DirectorySnapshotsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPI24DirectorySnapshotsParams) SetSourceIds(sourceIds []string)
- func (o *PostAPI24DirectorySnapshotsParams) SetSourceNames(sourceNames []string)
- func (o *PostAPI24DirectorySnapshotsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPI24DirectorySnapshotsParams) SetXRequestID(xRequestID *string)
- func (o *PostAPI24DirectorySnapshotsParams) WithAuthorization(authorization *string) *PostAPI24DirectorySnapshotsParams
- func (o *PostAPI24DirectorySnapshotsParams) WithContext(ctx context.Context) *PostAPI24DirectorySnapshotsParams
- func (o *PostAPI24DirectorySnapshotsParams) WithDirectorySnapshot(directorySnapshot *models.DirectorySnapshotPost) *PostAPI24DirectorySnapshotsParams
- func (o *PostAPI24DirectorySnapshotsParams) WithHTTPClient(client *http.Client) *PostAPI24DirectorySnapshotsParams
- func (o *PostAPI24DirectorySnapshotsParams) WithSourceIds(sourceIds []string) *PostAPI24DirectorySnapshotsParams
- func (o *PostAPI24DirectorySnapshotsParams) WithSourceNames(sourceNames []string) *PostAPI24DirectorySnapshotsParams
- func (o *PostAPI24DirectorySnapshotsParams) WithTimeout(timeout time.Duration) *PostAPI24DirectorySnapshotsParams
- func (o *PostAPI24DirectorySnapshotsParams) WithXRequestID(xRequestID *string) *PostAPI24DirectorySnapshotsParams
- func (o *PostAPI24DirectorySnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPI24DirectorySnapshotsReader
- type PostApi24DirectorySnapshotsBadRequest
- type PostApi24DirectorySnapshotsOK
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 ¶
func (o *DeleteAPI24DirectorySnapshotsParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteAPI24DirectorySnapshotsParams) SetIds(ids []string)
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 ¶
func (o *DeleteAPI24DirectorySnapshotsParams) WithAuthorization(authorization *string) *DeleteAPI24DirectorySnapshotsParams
WithAuthorization adds the authorization to the delete API 24 directory snapshots params
func (*DeleteAPI24DirectorySnapshotsParams) WithContext ¶
func (o *DeleteAPI24DirectorySnapshotsParams) WithContext(ctx context.Context) *DeleteAPI24DirectorySnapshotsParams
WithContext adds the context to the delete API 24 directory snapshots params
func (*DeleteAPI24DirectorySnapshotsParams) WithHTTPClient ¶
func (o *DeleteAPI24DirectorySnapshotsParams) WithHTTPClient(client *http.Client) *DeleteAPI24DirectorySnapshotsParams
WithHTTPClient adds the HTTPClient to the delete API 24 directory snapshots params
func (*DeleteAPI24DirectorySnapshotsParams) WithIds ¶
func (o *DeleteAPI24DirectorySnapshotsParams) WithIds(ids []string) *DeleteAPI24DirectorySnapshotsParams
WithIds adds the ids to the delete API 24 directory snapshots params
func (*DeleteAPI24DirectorySnapshotsParams) WithNames ¶
func (o *DeleteAPI24DirectorySnapshotsParams) WithNames(names []string) *DeleteAPI24DirectorySnapshotsParams
WithNames adds the names to the delete API 24 directory snapshots params
func (*DeleteAPI24DirectorySnapshotsParams) WithTimeout ¶
func (o *DeleteAPI24DirectorySnapshotsParams) WithTimeout(timeout time.Duration) *DeleteAPI24DirectorySnapshotsParams
WithTimeout adds the timeout to the delete API 24 directory snapshots params
func (*DeleteAPI24DirectorySnapshotsParams) WithXRequestID ¶
func (o *DeleteAPI24DirectorySnapshotsParams) WithXRequestID(xRequestID *string) *DeleteAPI24DirectorySnapshotsParams
WithXRequestID adds the xRequestID to the delete API 24 directory snapshots params
func (*DeleteAPI24DirectorySnapshotsParams) WriteToRequest ¶
func (o *DeleteAPI24DirectorySnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *DeleteApi24DirectorySnapshotsBadRequest) Error() string
func (*DeleteApi24DirectorySnapshotsBadRequest) GetPayload ¶
func (o *DeleteApi24DirectorySnapshotsBadRequest) GetPayload() *models.Error
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 ¶
func (o *DeleteApi24DirectorySnapshotsOK) Error() string
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 ¶
func (o *GetAPI24DirectorySnapshotsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetAPI24DirectorySnapshotsParams) WithContext(ctx context.Context) *GetAPI24DirectorySnapshotsParams
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 ¶
func (o *GetAPI24DirectorySnapshotsParams) WithDestroyed(destroyed *bool) *GetAPI24DirectorySnapshotsParams
WithDestroyed adds the destroyed to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithFilter ¶
func (o *GetAPI24DirectorySnapshotsParams) WithFilter(filter *string) *GetAPI24DirectorySnapshotsParams
WithFilter adds the filter to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithHTTPClient ¶
func (o *GetAPI24DirectorySnapshotsParams) WithHTTPClient(client *http.Client) *GetAPI24DirectorySnapshotsParams
WithHTTPClient adds the HTTPClient to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithIds ¶
func (o *GetAPI24DirectorySnapshotsParams) WithIds(ids []string) *GetAPI24DirectorySnapshotsParams
WithIds adds the ids to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithLimit ¶
func (o *GetAPI24DirectorySnapshotsParams) WithLimit(limit *int32) *GetAPI24DirectorySnapshotsParams
WithLimit adds the limit to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithNames ¶
func (o *GetAPI24DirectorySnapshotsParams) WithNames(names []string) *GetAPI24DirectorySnapshotsParams
WithNames adds the names to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithOffset ¶
func (o *GetAPI24DirectorySnapshotsParams) WithOffset(offset *int32) *GetAPI24DirectorySnapshotsParams
WithOffset adds the offset to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithSort ¶
func (o *GetAPI24DirectorySnapshotsParams) WithSort(sort []string) *GetAPI24DirectorySnapshotsParams
WithSort adds the sort to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithSourceIds ¶
func (o *GetAPI24DirectorySnapshotsParams) WithSourceIds(sourceIds []string) *GetAPI24DirectorySnapshotsParams
WithSourceIds adds the sourceIds to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithSourceNames ¶
func (o *GetAPI24DirectorySnapshotsParams) WithSourceNames(sourceNames []string) *GetAPI24DirectorySnapshotsParams
WithSourceNames adds the sourceNames to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithTimeout ¶
func (o *GetAPI24DirectorySnapshotsParams) WithTimeout(timeout time.Duration) *GetAPI24DirectorySnapshotsParams
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 ¶
func (o *GetAPI24DirectorySnapshotsParams) WithTotalOnly(totalOnly *bool) *GetAPI24DirectorySnapshotsParams
WithTotalOnly adds the totalOnly to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WithXRequestID ¶
func (o *GetAPI24DirectorySnapshotsParams) WithXRequestID(xRequestID *string) *GetAPI24DirectorySnapshotsParams
WithXRequestID adds the xRequestID to the get API 24 directory snapshots params
func (*GetAPI24DirectorySnapshotsParams) WriteToRequest ¶
func (o *GetAPI24DirectorySnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetApi24DirectorySnapshotsBadRequest) Error() string
func (*GetApi24DirectorySnapshotsBadRequest) GetPayload ¶
func (o *GetApi24DirectorySnapshotsBadRequest) GetPayload() *models.Error
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 (o *GetApi24DirectorySnapshotsOK) Error() string
func (*GetApi24DirectorySnapshotsOK) GetPayload ¶
func (o *GetApi24DirectorySnapshotsOK) GetPayload() *models.DirectorySnapshotGetResponse
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 ¶
func (o *PatchAPI24DirectorySnapshotsParams) SetContext(ctx context.Context)
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 ¶
func (o *PatchAPI24DirectorySnapshotsParams) WithAuthorization(authorization *string) *PatchAPI24DirectorySnapshotsParams
WithAuthorization adds the authorization to the patch API 24 directory snapshots params
func (*PatchAPI24DirectorySnapshotsParams) WithContext ¶
func (o *PatchAPI24DirectorySnapshotsParams) WithContext(ctx context.Context) *PatchAPI24DirectorySnapshotsParams
WithContext adds the context to the patch API 24 directory snapshots params
func (*PatchAPI24DirectorySnapshotsParams) WithDirectorySnapshot ¶
func (o *PatchAPI24DirectorySnapshotsParams) WithDirectorySnapshot(directorySnapshot *models.DirectorySnapshotPatch) *PatchAPI24DirectorySnapshotsParams
WithDirectorySnapshot adds the directorySnapshot to the patch API 24 directory snapshots params
func (*PatchAPI24DirectorySnapshotsParams) WithHTTPClient ¶
func (o *PatchAPI24DirectorySnapshotsParams) WithHTTPClient(client *http.Client) *PatchAPI24DirectorySnapshotsParams
WithHTTPClient adds the HTTPClient to the patch API 24 directory snapshots params
func (*PatchAPI24DirectorySnapshotsParams) WithIds ¶
func (o *PatchAPI24DirectorySnapshotsParams) WithIds(ids []string) *PatchAPI24DirectorySnapshotsParams
WithIds adds the ids to the patch API 24 directory snapshots params
func (*PatchAPI24DirectorySnapshotsParams) WithNames ¶
func (o *PatchAPI24DirectorySnapshotsParams) WithNames(names []string) *PatchAPI24DirectorySnapshotsParams
WithNames adds the names to the patch API 24 directory snapshots params
func (*PatchAPI24DirectorySnapshotsParams) WithTimeout ¶
func (o *PatchAPI24DirectorySnapshotsParams) WithTimeout(timeout time.Duration) *PatchAPI24DirectorySnapshotsParams
WithTimeout adds the timeout to the patch API 24 directory snapshots params
func (*PatchAPI24DirectorySnapshotsParams) WithXRequestID ¶
func (o *PatchAPI24DirectorySnapshotsParams) WithXRequestID(xRequestID *string) *PatchAPI24DirectorySnapshotsParams
WithXRequestID adds the xRequestID to the patch API 24 directory snapshots params
func (*PatchAPI24DirectorySnapshotsParams) WriteToRequest ¶
func (o *PatchAPI24DirectorySnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PatchApi24DirectorySnapshotsBadRequest) Error() string
func (*PatchApi24DirectorySnapshotsBadRequest) GetPayload ¶
func (o *PatchApi24DirectorySnapshotsBadRequest) GetPayload() *models.Error
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 (o *PatchApi24DirectorySnapshotsOK) Error() string
func (*PatchApi24DirectorySnapshotsOK) GetPayload ¶
func (o *PatchApi24DirectorySnapshotsOK) GetPayload() *models.DirectorySnapshotResponse
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 ¶
func (o *PostAPI24DirectorySnapshotsParams) SetContext(ctx context.Context)
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 ¶
func (o *PostAPI24DirectorySnapshotsParams) WithContext(ctx context.Context) *PostAPI24DirectorySnapshotsParams
WithContext adds the context to the post API 24 directory snapshots params
func (*PostAPI24DirectorySnapshotsParams) WithDirectorySnapshot ¶
func (o *PostAPI24DirectorySnapshotsParams) WithDirectorySnapshot(directorySnapshot *models.DirectorySnapshotPost) *PostAPI24DirectorySnapshotsParams
WithDirectorySnapshot adds the directorySnapshot to the post API 24 directory snapshots params
func (*PostAPI24DirectorySnapshotsParams) WithHTTPClient ¶
func (o *PostAPI24DirectorySnapshotsParams) WithHTTPClient(client *http.Client) *PostAPI24DirectorySnapshotsParams
WithHTTPClient adds the HTTPClient to the post API 24 directory snapshots params
func (*PostAPI24DirectorySnapshotsParams) WithSourceIds ¶
func (o *PostAPI24DirectorySnapshotsParams) WithSourceIds(sourceIds []string) *PostAPI24DirectorySnapshotsParams
WithSourceIds adds the sourceIds to the post API 24 directory snapshots params
func (*PostAPI24DirectorySnapshotsParams) WithSourceNames ¶
func (o *PostAPI24DirectorySnapshotsParams) WithSourceNames(sourceNames []string) *PostAPI24DirectorySnapshotsParams
WithSourceNames adds the sourceNames to the post API 24 directory snapshots params
func (*PostAPI24DirectorySnapshotsParams) WithTimeout ¶
func (o *PostAPI24DirectorySnapshotsParams) WithTimeout(timeout time.Duration) *PostAPI24DirectorySnapshotsParams
WithTimeout adds the timeout to the post API 24 directory snapshots params
func (*PostAPI24DirectorySnapshotsParams) WithXRequestID ¶
func (o *PostAPI24DirectorySnapshotsParams) WithXRequestID(xRequestID *string) *PostAPI24DirectorySnapshotsParams
WithXRequestID adds the xRequestID to the post API 24 directory snapshots params
func (*PostAPI24DirectorySnapshotsParams) WriteToRequest ¶
func (o *PostAPI24DirectorySnapshotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *PostApi24DirectorySnapshotsBadRequest) Error() string
func (*PostApi24DirectorySnapshotsBadRequest) GetPayload ¶
func (o *PostApi24DirectorySnapshotsBadRequest) GetPayload() *models.Error
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 (o *PostApi24DirectorySnapshotsOK) Error() string
func (*PostApi24DirectorySnapshotsOK) GetPayload ¶
func (o *PostApi24DirectorySnapshotsOK) GetPayload() *models.DirectorySnapshotResponse
Source Files
¶
- delete_api_24_directory_snapshots_parameters.go
- delete_api_24_directory_snapshots_responses.go
- directory_snapshots_client.go
- get_api_24_directory_snapshots_parameters.go
- get_api_24_directory_snapshots_responses.go
- patch_api_24_directory_snapshots_parameters.go
- patch_api_24_directory_snapshots_responses.go
- post_api_24_directory_snapshots_parameters.go
- post_api_24_directory_snapshots_responses.go