Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAPI24DirectoryExports(params *DeleteAPI24DirectoryExportsParams) (*DeleteApi24DirectoryExportsOK, error)
- func (a *Client) GetAPI24DirectoryExports(params *GetAPI24DirectoryExportsParams) (*GetApi24DirectoryExportsOK, error)
- func (a *Client) PostAPI24DirectoryExports(params *PostAPI24DirectoryExportsParams) (*PostApi24DirectoryExportsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAPI24DirectoryExportsParams
- func NewDeleteAPI24DirectoryExportsParams() *DeleteAPI24DirectoryExportsParams
- func NewDeleteAPI24DirectoryExportsParamsWithContext(ctx context.Context) *DeleteAPI24DirectoryExportsParams
- func NewDeleteAPI24DirectoryExportsParamsWithHTTPClient(client *http.Client) *DeleteAPI24DirectoryExportsParams
- func NewDeleteAPI24DirectoryExportsParamsWithTimeout(timeout time.Duration) *DeleteAPI24DirectoryExportsParams
- func (o *DeleteAPI24DirectoryExportsParams) SetAuthorization(authorization *string)
- func (o *DeleteAPI24DirectoryExportsParams) SetContext(ctx context.Context)
- func (o *DeleteAPI24DirectoryExportsParams) SetExportNames(exportNames []string)
- func (o *DeleteAPI24DirectoryExportsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPI24DirectoryExportsParams) SetPolicyIds(policyIds []string)
- func (o *DeleteAPI24DirectoryExportsParams) SetPolicyNames(policyNames []string)
- func (o *DeleteAPI24DirectoryExportsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPI24DirectoryExportsParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAPI24DirectoryExportsParams) WithAuthorization(authorization *string) *DeleteAPI24DirectoryExportsParams
- func (o *DeleteAPI24DirectoryExportsParams) WithContext(ctx context.Context) *DeleteAPI24DirectoryExportsParams
- func (o *DeleteAPI24DirectoryExportsParams) WithExportNames(exportNames []string) *DeleteAPI24DirectoryExportsParams
- func (o *DeleteAPI24DirectoryExportsParams) WithHTTPClient(client *http.Client) *DeleteAPI24DirectoryExportsParams
- func (o *DeleteAPI24DirectoryExportsParams) WithPolicyIds(policyIds []string) *DeleteAPI24DirectoryExportsParams
- func (o *DeleteAPI24DirectoryExportsParams) WithPolicyNames(policyNames []string) *DeleteAPI24DirectoryExportsParams
- func (o *DeleteAPI24DirectoryExportsParams) WithTimeout(timeout time.Duration) *DeleteAPI24DirectoryExportsParams
- func (o *DeleteAPI24DirectoryExportsParams) WithXRequestID(xRequestID *string) *DeleteAPI24DirectoryExportsParams
- func (o *DeleteAPI24DirectoryExportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPI24DirectoryExportsReader
- type DeleteApi24DirectoryExportsBadRequest
- type DeleteApi24DirectoryExportsOK
- type GetAPI24DirectoryExportsParams
- func NewGetAPI24DirectoryExportsParams() *GetAPI24DirectoryExportsParams
- func NewGetAPI24DirectoryExportsParamsWithContext(ctx context.Context) *GetAPI24DirectoryExportsParams
- func NewGetAPI24DirectoryExportsParamsWithHTTPClient(client *http.Client) *GetAPI24DirectoryExportsParams
- func NewGetAPI24DirectoryExportsParamsWithTimeout(timeout time.Duration) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24DirectoryExportsParams) SetContext(ctx context.Context)
- func (o *GetAPI24DirectoryExportsParams) SetContinuationToken(continuationToken *string)
- func (o *GetAPI24DirectoryExportsParams) SetDestroyed(destroyed *bool)
- func (o *GetAPI24DirectoryExportsParams) SetDirectoryIds(directoryIds []string)
- func (o *GetAPI24DirectoryExportsParams) SetDirectoryNames(directoryNames []string)
- func (o *GetAPI24DirectoryExportsParams) SetExportNames(exportNames []string)
- func (o *GetAPI24DirectoryExportsParams) SetFilter(filter *string)
- func (o *GetAPI24DirectoryExportsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24DirectoryExportsParams) SetLimit(limit *int32)
- func (o *GetAPI24DirectoryExportsParams) SetOffset(offset *int32)
- func (o *GetAPI24DirectoryExportsParams) SetPolicyIds(policyIds []string)
- func (o *GetAPI24DirectoryExportsParams) SetPolicyNames(policyNames []string)
- func (o *GetAPI24DirectoryExportsParams) SetSort(sort []string)
- func (o *GetAPI24DirectoryExportsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24DirectoryExportsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24DirectoryExportsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24DirectoryExportsParams) WithAuthorization(authorization *string) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithContext(ctx context.Context) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithContinuationToken(continuationToken *string) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithDestroyed(destroyed *bool) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithDirectoryIds(directoryIds []string) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithDirectoryNames(directoryNames []string) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithExportNames(exportNames []string) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithFilter(filter *string) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithHTTPClient(client *http.Client) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithLimit(limit *int32) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithOffset(offset *int32) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithPolicyIds(policyIds []string) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithPolicyNames(policyNames []string) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithSort(sort []string) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithTimeout(timeout time.Duration) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WithXRequestID(xRequestID *string) *GetAPI24DirectoryExportsParams
- func (o *GetAPI24DirectoryExportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24DirectoryExportsReader
- type GetApi24DirectoryExportsBadRequest
- type GetApi24DirectoryExportsOK
- type PostAPI24DirectoryExportsParams
- func NewPostAPI24DirectoryExportsParams() *PostAPI24DirectoryExportsParams
- func NewPostAPI24DirectoryExportsParamsWithContext(ctx context.Context) *PostAPI24DirectoryExportsParams
- func NewPostAPI24DirectoryExportsParamsWithHTTPClient(client *http.Client) *PostAPI24DirectoryExportsParams
- func NewPostAPI24DirectoryExportsParamsWithTimeout(timeout time.Duration) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) SetAuthorization(authorization *string)
- func (o *PostAPI24DirectoryExportsParams) SetContext(ctx context.Context)
- func (o *PostAPI24DirectoryExportsParams) SetDirectoryIds(directoryIds []string)
- func (o *PostAPI24DirectoryExportsParams) SetDirectoryNames(directoryNames []string)
- func (o *PostAPI24DirectoryExportsParams) SetExports(exports *models.DirectoryExportPost)
- func (o *PostAPI24DirectoryExportsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPI24DirectoryExportsParams) SetPolicyIds(policyIds []string)
- func (o *PostAPI24DirectoryExportsParams) SetPolicyNames(policyNames []string)
- func (o *PostAPI24DirectoryExportsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPI24DirectoryExportsParams) SetXRequestID(xRequestID *string)
- func (o *PostAPI24DirectoryExportsParams) WithAuthorization(authorization *string) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) WithContext(ctx context.Context) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) WithDirectoryIds(directoryIds []string) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) WithDirectoryNames(directoryNames []string) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) WithExports(exports *models.DirectoryExportPost) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) WithHTTPClient(client *http.Client) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) WithPolicyIds(policyIds []string) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) WithPolicyNames(policyNames []string) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) WithTimeout(timeout time.Duration) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) WithXRequestID(xRequestID *string) *PostAPI24DirectoryExportsParams
- func (o *PostAPI24DirectoryExportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPI24DirectoryExportsReader
- type PostApi24DirectoryExportsBadRequest
- type PostApi24DirectoryExportsOK
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 exports API
func (*Client) DeleteAPI24DirectoryExports ¶
func (a *Client) DeleteAPI24DirectoryExports(params *DeleteAPI24DirectoryExportsParams) (*DeleteApi24DirectoryExportsOK, error)
DeleteAPI24DirectoryExports deletes directory exports
Deletes one or more directory exports. If any of the `export_names` is not unique across the system, `policy_ids` or `policy_names` must be specified to determine the exports.
func (*Client) GetAPI24DirectoryExports ¶
func (a *Client) GetAPI24DirectoryExports(params *GetAPI24DirectoryExportsParams) (*GetApi24DirectoryExportsOK, error)
GetAPI24DirectoryExports lists directory exports
Displays a list of directory exports.
func (*Client) PostAPI24DirectoryExports ¶
func (a *Client) PostAPI24DirectoryExports(params *PostAPI24DirectoryExportsParams) (*PostApi24DirectoryExportsOK, error)
PostAPI24DirectoryExports creates directory exports
Creates an export of a managed directory. The `directory_ids` or `directory_names` parameter is required, but cannot be set together. The `policy_ids` or `policy_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 { DeleteAPI24DirectoryExports(params *DeleteAPI24DirectoryExportsParams) (*DeleteApi24DirectoryExportsOK, error) GetAPI24DirectoryExports(params *GetAPI24DirectoryExportsParams) (*GetApi24DirectoryExportsOK, error) PostAPI24DirectoryExports(params *PostAPI24DirectoryExportsParams) (*PostApi24DirectoryExportsOK, 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 exports API client.
type DeleteAPI24DirectoryExportsParams ¶
type DeleteAPI24DirectoryExportsParams 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 /*ExportNames Performs the operation on the export names specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ ExportNames []string /*PolicyIds Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The `policy_ids` and `policy_names` parameters cannot be provided together. */ PolicyIds []string /*PolicyNames Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, `name01,name02`. */ PolicyNames []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPI24DirectoryExportsParams contains all the parameters to send to the API endpoint for the delete API 24 directory exports operation typically these are written to a http.Request
func NewDeleteAPI24DirectoryExportsParams ¶
func NewDeleteAPI24DirectoryExportsParams() *DeleteAPI24DirectoryExportsParams
NewDeleteAPI24DirectoryExportsParams creates a new DeleteAPI24DirectoryExportsParams object with the default values initialized.
func NewDeleteAPI24DirectoryExportsParamsWithContext ¶
func NewDeleteAPI24DirectoryExportsParamsWithContext(ctx context.Context) *DeleteAPI24DirectoryExportsParams
NewDeleteAPI24DirectoryExportsParamsWithContext creates a new DeleteAPI24DirectoryExportsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAPI24DirectoryExportsParamsWithHTTPClient ¶
func NewDeleteAPI24DirectoryExportsParamsWithHTTPClient(client *http.Client) *DeleteAPI24DirectoryExportsParams
NewDeleteAPI24DirectoryExportsParamsWithHTTPClient creates a new DeleteAPI24DirectoryExportsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAPI24DirectoryExportsParamsWithTimeout ¶
func NewDeleteAPI24DirectoryExportsParamsWithTimeout(timeout time.Duration) *DeleteAPI24DirectoryExportsParams
NewDeleteAPI24DirectoryExportsParamsWithTimeout creates a new DeleteAPI24DirectoryExportsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAPI24DirectoryExportsParams) SetAuthorization ¶
func (o *DeleteAPI24DirectoryExportsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) SetContext ¶
func (o *DeleteAPI24DirectoryExportsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) SetExportNames ¶
func (o *DeleteAPI24DirectoryExportsParams) SetExportNames(exportNames []string)
SetExportNames adds the exportNames to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) SetHTTPClient ¶
func (o *DeleteAPI24DirectoryExportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) SetPolicyIds ¶
func (o *DeleteAPI24DirectoryExportsParams) SetPolicyIds(policyIds []string)
SetPolicyIds adds the policyIds to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) SetPolicyNames ¶
func (o *DeleteAPI24DirectoryExportsParams) SetPolicyNames(policyNames []string)
SetPolicyNames adds the policyNames to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) SetTimeout ¶
func (o *DeleteAPI24DirectoryExportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) SetXRequestID ¶
func (o *DeleteAPI24DirectoryExportsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) WithAuthorization ¶
func (o *DeleteAPI24DirectoryExportsParams) WithAuthorization(authorization *string) *DeleteAPI24DirectoryExportsParams
WithAuthorization adds the authorization to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) WithContext ¶
func (o *DeleteAPI24DirectoryExportsParams) WithContext(ctx context.Context) *DeleteAPI24DirectoryExportsParams
WithContext adds the context to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) WithExportNames ¶
func (o *DeleteAPI24DirectoryExportsParams) WithExportNames(exportNames []string) *DeleteAPI24DirectoryExportsParams
WithExportNames adds the exportNames to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) WithHTTPClient ¶
func (o *DeleteAPI24DirectoryExportsParams) WithHTTPClient(client *http.Client) *DeleteAPI24DirectoryExportsParams
WithHTTPClient adds the HTTPClient to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) WithPolicyIds ¶
func (o *DeleteAPI24DirectoryExportsParams) WithPolicyIds(policyIds []string) *DeleteAPI24DirectoryExportsParams
WithPolicyIds adds the policyIds to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) WithPolicyNames ¶
func (o *DeleteAPI24DirectoryExportsParams) WithPolicyNames(policyNames []string) *DeleteAPI24DirectoryExportsParams
WithPolicyNames adds the policyNames to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) WithTimeout ¶
func (o *DeleteAPI24DirectoryExportsParams) WithTimeout(timeout time.Duration) *DeleteAPI24DirectoryExportsParams
WithTimeout adds the timeout to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) WithXRequestID ¶
func (o *DeleteAPI24DirectoryExportsParams) WithXRequestID(xRequestID *string) *DeleteAPI24DirectoryExportsParams
WithXRequestID adds the xRequestID to the delete API 24 directory exports params
func (*DeleteAPI24DirectoryExportsParams) WriteToRequest ¶
func (o *DeleteAPI24DirectoryExportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPI24DirectoryExportsReader ¶
type DeleteAPI24DirectoryExportsReader struct {
// contains filtered or unexported fields
}
DeleteAPI24DirectoryExportsReader is a Reader for the DeleteAPI24DirectoryExports structure.
func (*DeleteAPI24DirectoryExportsReader) ReadResponse ¶
func (o *DeleteAPI24DirectoryExportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteApi24DirectoryExportsBadRequest ¶
DeleteApi24DirectoryExportsBadRequest handles this case with default header values.
BadRequest
func NewDeleteApi24DirectoryExportsBadRequest ¶
func NewDeleteApi24DirectoryExportsBadRequest() *DeleteApi24DirectoryExportsBadRequest
NewDeleteApi24DirectoryExportsBadRequest creates a DeleteApi24DirectoryExportsBadRequest with default headers values
func (*DeleteApi24DirectoryExportsBadRequest) Error ¶
func (o *DeleteApi24DirectoryExportsBadRequest) Error() string
func (*DeleteApi24DirectoryExportsBadRequest) GetPayload ¶
func (o *DeleteApi24DirectoryExportsBadRequest) GetPayload() *models.Error
type DeleteApi24DirectoryExportsOK ¶
type DeleteApi24DirectoryExportsOK struct { }
DeleteApi24DirectoryExportsOK handles this case with default header values.
OK
func NewDeleteApi24DirectoryExportsOK ¶
func NewDeleteApi24DirectoryExportsOK() *DeleteApi24DirectoryExportsOK
NewDeleteApi24DirectoryExportsOK creates a DeleteApi24DirectoryExportsOK with default headers values
func (*DeleteApi24DirectoryExportsOK) Error ¶
func (o *DeleteApi24DirectoryExportsOK) Error() string
type GetAPI24DirectoryExportsParams ¶
type GetAPI24DirectoryExportsParams 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 /*DirectoryIds Performs the operation on the unique managed directory IDs specified. Enter multiple managed directory IDs in comma-separated format. The `directory_ids` and `directory_names` parameters cannot be provided together. */ DirectoryIds []string /*DirectoryNames Performs the operation on the managed directory names specified. Enter multiple full managed directory names in comma-separated format. For example, `fs:dir01,fs:dir02`. */ DirectoryNames []string /*ExportNames Performs the operation on the export names specified. Enter multiple names in comma-separated format. For example, `name01,name02`. */ ExportNames []string /*Filter Narrows down the results to only the response objects that satisfy the filter criteria. */ Filter *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 /*Offset The starting position based on the results of the query in relation to the full set of response objects returned. */ Offset *int32 /*PolicyIds Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The `policy_ids` and `policy_names` parameters cannot be provided together. */ PolicyIds []string /*PolicyNames Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, `name01,name02`. */ PolicyNames []string /*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 }
GetAPI24DirectoryExportsParams contains all the parameters to send to the API endpoint for the get API 24 directory exports operation typically these are written to a http.Request
func NewGetAPI24DirectoryExportsParams ¶
func NewGetAPI24DirectoryExportsParams() *GetAPI24DirectoryExportsParams
NewGetAPI24DirectoryExportsParams creates a new GetAPI24DirectoryExportsParams object with the default values initialized.
func NewGetAPI24DirectoryExportsParamsWithContext ¶
func NewGetAPI24DirectoryExportsParamsWithContext(ctx context.Context) *GetAPI24DirectoryExportsParams
NewGetAPI24DirectoryExportsParamsWithContext creates a new GetAPI24DirectoryExportsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24DirectoryExportsParamsWithHTTPClient ¶
func NewGetAPI24DirectoryExportsParamsWithHTTPClient(client *http.Client) *GetAPI24DirectoryExportsParams
NewGetAPI24DirectoryExportsParamsWithHTTPClient creates a new GetAPI24DirectoryExportsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24DirectoryExportsParamsWithTimeout ¶
func NewGetAPI24DirectoryExportsParamsWithTimeout(timeout time.Duration) *GetAPI24DirectoryExportsParams
NewGetAPI24DirectoryExportsParamsWithTimeout creates a new GetAPI24DirectoryExportsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24DirectoryExportsParams) SetAuthorization ¶
func (o *GetAPI24DirectoryExportsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetContext ¶
func (o *GetAPI24DirectoryExportsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetContinuationToken ¶
func (o *GetAPI24DirectoryExportsParams) SetContinuationToken(continuationToken *string)
SetContinuationToken adds the continuationToken to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetDestroyed ¶
func (o *GetAPI24DirectoryExportsParams) SetDestroyed(destroyed *bool)
SetDestroyed adds the destroyed to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetDirectoryIds ¶
func (o *GetAPI24DirectoryExportsParams) SetDirectoryIds(directoryIds []string)
SetDirectoryIds adds the directoryIds to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetDirectoryNames ¶
func (o *GetAPI24DirectoryExportsParams) SetDirectoryNames(directoryNames []string)
SetDirectoryNames adds the directoryNames to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetExportNames ¶
func (o *GetAPI24DirectoryExportsParams) SetExportNames(exportNames []string)
SetExportNames adds the exportNames to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetFilter ¶
func (o *GetAPI24DirectoryExportsParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetHTTPClient ¶
func (o *GetAPI24DirectoryExportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetLimit ¶
func (o *GetAPI24DirectoryExportsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetOffset ¶
func (o *GetAPI24DirectoryExportsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetPolicyIds ¶
func (o *GetAPI24DirectoryExportsParams) SetPolicyIds(policyIds []string)
SetPolicyIds adds the policyIds to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetPolicyNames ¶
func (o *GetAPI24DirectoryExportsParams) SetPolicyNames(policyNames []string)
SetPolicyNames adds the policyNames to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetSort ¶
func (o *GetAPI24DirectoryExportsParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetTimeout ¶
func (o *GetAPI24DirectoryExportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetTotalItemCount ¶
func (o *GetAPI24DirectoryExportsParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) SetXRequestID ¶
func (o *GetAPI24DirectoryExportsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithAuthorization ¶
func (o *GetAPI24DirectoryExportsParams) WithAuthorization(authorization *string) *GetAPI24DirectoryExportsParams
WithAuthorization adds the authorization to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithContext ¶
func (o *GetAPI24DirectoryExportsParams) WithContext(ctx context.Context) *GetAPI24DirectoryExportsParams
WithContext adds the context to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithContinuationToken ¶
func (o *GetAPI24DirectoryExportsParams) WithContinuationToken(continuationToken *string) *GetAPI24DirectoryExportsParams
WithContinuationToken adds the continuationToken to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithDestroyed ¶
func (o *GetAPI24DirectoryExportsParams) WithDestroyed(destroyed *bool) *GetAPI24DirectoryExportsParams
WithDestroyed adds the destroyed to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithDirectoryIds ¶
func (o *GetAPI24DirectoryExportsParams) WithDirectoryIds(directoryIds []string) *GetAPI24DirectoryExportsParams
WithDirectoryIds adds the directoryIds to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithDirectoryNames ¶
func (o *GetAPI24DirectoryExportsParams) WithDirectoryNames(directoryNames []string) *GetAPI24DirectoryExportsParams
WithDirectoryNames adds the directoryNames to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithExportNames ¶
func (o *GetAPI24DirectoryExportsParams) WithExportNames(exportNames []string) *GetAPI24DirectoryExportsParams
WithExportNames adds the exportNames to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithFilter ¶
func (o *GetAPI24DirectoryExportsParams) WithFilter(filter *string) *GetAPI24DirectoryExportsParams
WithFilter adds the filter to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithHTTPClient ¶
func (o *GetAPI24DirectoryExportsParams) WithHTTPClient(client *http.Client) *GetAPI24DirectoryExportsParams
WithHTTPClient adds the HTTPClient to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithLimit ¶
func (o *GetAPI24DirectoryExportsParams) WithLimit(limit *int32) *GetAPI24DirectoryExportsParams
WithLimit adds the limit to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithOffset ¶
func (o *GetAPI24DirectoryExportsParams) WithOffset(offset *int32) *GetAPI24DirectoryExportsParams
WithOffset adds the offset to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithPolicyIds ¶
func (o *GetAPI24DirectoryExportsParams) WithPolicyIds(policyIds []string) *GetAPI24DirectoryExportsParams
WithPolicyIds adds the policyIds to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithPolicyNames ¶
func (o *GetAPI24DirectoryExportsParams) WithPolicyNames(policyNames []string) *GetAPI24DirectoryExportsParams
WithPolicyNames adds the policyNames to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithSort ¶
func (o *GetAPI24DirectoryExportsParams) WithSort(sort []string) *GetAPI24DirectoryExportsParams
WithSort adds the sort to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithTimeout ¶
func (o *GetAPI24DirectoryExportsParams) WithTimeout(timeout time.Duration) *GetAPI24DirectoryExportsParams
WithTimeout adds the timeout to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithTotalItemCount ¶
func (o *GetAPI24DirectoryExportsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24DirectoryExportsParams
WithTotalItemCount adds the totalItemCount to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WithXRequestID ¶
func (o *GetAPI24DirectoryExportsParams) WithXRequestID(xRequestID *string) *GetAPI24DirectoryExportsParams
WithXRequestID adds the xRequestID to the get API 24 directory exports params
func (*GetAPI24DirectoryExportsParams) WriteToRequest ¶
func (o *GetAPI24DirectoryExportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24DirectoryExportsReader ¶
type GetAPI24DirectoryExportsReader struct {
// contains filtered or unexported fields
}
GetAPI24DirectoryExportsReader is a Reader for the GetAPI24DirectoryExports structure.
func (*GetAPI24DirectoryExportsReader) ReadResponse ¶
func (o *GetAPI24DirectoryExportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24DirectoryExportsBadRequest ¶
GetApi24DirectoryExportsBadRequest handles this case with default header values.
BadRequest
func NewGetApi24DirectoryExportsBadRequest ¶
func NewGetApi24DirectoryExportsBadRequest() *GetApi24DirectoryExportsBadRequest
NewGetApi24DirectoryExportsBadRequest creates a GetApi24DirectoryExportsBadRequest with default headers values
func (*GetApi24DirectoryExportsBadRequest) Error ¶
func (o *GetApi24DirectoryExportsBadRequest) Error() string
func (*GetApi24DirectoryExportsBadRequest) GetPayload ¶
func (o *GetApi24DirectoryExportsBadRequest) GetPayload() *models.Error
type GetApi24DirectoryExportsOK ¶
type GetApi24DirectoryExportsOK struct {
Payload *models.DirectoryExportGetResponse
}
GetApi24DirectoryExportsOK handles this case with default header values.
OK
func NewGetApi24DirectoryExportsOK ¶
func NewGetApi24DirectoryExportsOK() *GetApi24DirectoryExportsOK
NewGetApi24DirectoryExportsOK creates a GetApi24DirectoryExportsOK with default headers values
func (*GetApi24DirectoryExportsOK) Error ¶
func (o *GetApi24DirectoryExportsOK) Error() string
func (*GetApi24DirectoryExportsOK) GetPayload ¶
func (o *GetApi24DirectoryExportsOK) GetPayload() *models.DirectoryExportGetResponse
type PostAPI24DirectoryExportsParams ¶
type PostAPI24DirectoryExportsParams 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 /*DirectoryIds Performs the operation on the unique managed directory IDs specified. Enter multiple managed directory IDs in comma-separated format. The `directory_ids` and `directory_names` parameters cannot be provided together. */ DirectoryIds []string /*DirectoryNames Performs the operation on the managed directory names specified. Enter multiple full managed directory names in comma-separated format. For example, `fs:dir01,fs:dir02`. */ DirectoryNames []string /*Exports*/ Exports *models.DirectoryExportPost /*PolicyIds Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The `policy_ids` and `policy_names` parameters cannot be provided together. */ PolicyIds []string /*PolicyNames Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, `name01,name02`. */ PolicyNames []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPI24DirectoryExportsParams contains all the parameters to send to the API endpoint for the post API 24 directory exports operation typically these are written to a http.Request
func NewPostAPI24DirectoryExportsParams ¶
func NewPostAPI24DirectoryExportsParams() *PostAPI24DirectoryExportsParams
NewPostAPI24DirectoryExportsParams creates a new PostAPI24DirectoryExportsParams object with the default values initialized.
func NewPostAPI24DirectoryExportsParamsWithContext ¶
func NewPostAPI24DirectoryExportsParamsWithContext(ctx context.Context) *PostAPI24DirectoryExportsParams
NewPostAPI24DirectoryExportsParamsWithContext creates a new PostAPI24DirectoryExportsParams object with the default values initialized, and the ability to set a context for a request
func NewPostAPI24DirectoryExportsParamsWithHTTPClient ¶
func NewPostAPI24DirectoryExportsParamsWithHTTPClient(client *http.Client) *PostAPI24DirectoryExportsParams
NewPostAPI24DirectoryExportsParamsWithHTTPClient creates a new PostAPI24DirectoryExportsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAPI24DirectoryExportsParamsWithTimeout ¶
func NewPostAPI24DirectoryExportsParamsWithTimeout(timeout time.Duration) *PostAPI24DirectoryExportsParams
NewPostAPI24DirectoryExportsParamsWithTimeout creates a new PostAPI24DirectoryExportsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAPI24DirectoryExportsParams) SetAuthorization ¶
func (o *PostAPI24DirectoryExportsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) SetContext ¶
func (o *PostAPI24DirectoryExportsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) SetDirectoryIds ¶
func (o *PostAPI24DirectoryExportsParams) SetDirectoryIds(directoryIds []string)
SetDirectoryIds adds the directoryIds to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) SetDirectoryNames ¶
func (o *PostAPI24DirectoryExportsParams) SetDirectoryNames(directoryNames []string)
SetDirectoryNames adds the directoryNames to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) SetExports ¶
func (o *PostAPI24DirectoryExportsParams) SetExports(exports *models.DirectoryExportPost)
SetExports adds the exports to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) SetHTTPClient ¶
func (o *PostAPI24DirectoryExportsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) SetPolicyIds ¶
func (o *PostAPI24DirectoryExportsParams) SetPolicyIds(policyIds []string)
SetPolicyIds adds the policyIds to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) SetPolicyNames ¶
func (o *PostAPI24DirectoryExportsParams) SetPolicyNames(policyNames []string)
SetPolicyNames adds the policyNames to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) SetTimeout ¶
func (o *PostAPI24DirectoryExportsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) SetXRequestID ¶
func (o *PostAPI24DirectoryExportsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WithAuthorization ¶
func (o *PostAPI24DirectoryExportsParams) WithAuthorization(authorization *string) *PostAPI24DirectoryExportsParams
WithAuthorization adds the authorization to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WithContext ¶
func (o *PostAPI24DirectoryExportsParams) WithContext(ctx context.Context) *PostAPI24DirectoryExportsParams
WithContext adds the context to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WithDirectoryIds ¶
func (o *PostAPI24DirectoryExportsParams) WithDirectoryIds(directoryIds []string) *PostAPI24DirectoryExportsParams
WithDirectoryIds adds the directoryIds to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WithDirectoryNames ¶
func (o *PostAPI24DirectoryExportsParams) WithDirectoryNames(directoryNames []string) *PostAPI24DirectoryExportsParams
WithDirectoryNames adds the directoryNames to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WithExports ¶
func (o *PostAPI24DirectoryExportsParams) WithExports(exports *models.DirectoryExportPost) *PostAPI24DirectoryExportsParams
WithExports adds the exports to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WithHTTPClient ¶
func (o *PostAPI24DirectoryExportsParams) WithHTTPClient(client *http.Client) *PostAPI24DirectoryExportsParams
WithHTTPClient adds the HTTPClient to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WithPolicyIds ¶
func (o *PostAPI24DirectoryExportsParams) WithPolicyIds(policyIds []string) *PostAPI24DirectoryExportsParams
WithPolicyIds adds the policyIds to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WithPolicyNames ¶
func (o *PostAPI24DirectoryExportsParams) WithPolicyNames(policyNames []string) *PostAPI24DirectoryExportsParams
WithPolicyNames adds the policyNames to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WithTimeout ¶
func (o *PostAPI24DirectoryExportsParams) WithTimeout(timeout time.Duration) *PostAPI24DirectoryExportsParams
WithTimeout adds the timeout to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WithXRequestID ¶
func (o *PostAPI24DirectoryExportsParams) WithXRequestID(xRequestID *string) *PostAPI24DirectoryExportsParams
WithXRequestID adds the xRequestID to the post API 24 directory exports params
func (*PostAPI24DirectoryExportsParams) WriteToRequest ¶
func (o *PostAPI24DirectoryExportsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPI24DirectoryExportsReader ¶
type PostAPI24DirectoryExportsReader struct {
// contains filtered or unexported fields
}
PostAPI24DirectoryExportsReader is a Reader for the PostAPI24DirectoryExports structure.
func (*PostAPI24DirectoryExportsReader) ReadResponse ¶
func (o *PostAPI24DirectoryExportsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostApi24DirectoryExportsBadRequest ¶
PostApi24DirectoryExportsBadRequest handles this case with default header values.
BadRequest
func NewPostApi24DirectoryExportsBadRequest ¶
func NewPostApi24DirectoryExportsBadRequest() *PostApi24DirectoryExportsBadRequest
NewPostApi24DirectoryExportsBadRequest creates a PostApi24DirectoryExportsBadRequest with default headers values
func (*PostApi24DirectoryExportsBadRequest) Error ¶
func (o *PostApi24DirectoryExportsBadRequest) Error() string
func (*PostApi24DirectoryExportsBadRequest) GetPayload ¶
func (o *PostApi24DirectoryExportsBadRequest) GetPayload() *models.Error
type PostApi24DirectoryExportsOK ¶
type PostApi24DirectoryExportsOK struct {
Payload *models.DirectoryExportResponse
}
PostApi24DirectoryExportsOK handles this case with default header values.
OK
func NewPostApi24DirectoryExportsOK ¶
func NewPostApi24DirectoryExportsOK() *PostApi24DirectoryExportsOK
NewPostApi24DirectoryExportsOK creates a PostApi24DirectoryExportsOK with default headers values
func (*PostApi24DirectoryExportsOK) Error ¶
func (o *PostApi24DirectoryExportsOK) Error() string
func (*PostApi24DirectoryExportsOK) GetPayload ¶
func (o *PostApi24DirectoryExportsOK) GetPayload() *models.DirectoryExportResponse