Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteAPI24RemoteProtectionGroups(params *DeleteAPI24RemoteProtectionGroupsParams) (*DeleteApi24RemoteProtectionGroupsOK, error)
- func (a *Client) GetAPI24RemoteProtectionGroups(params *GetAPI24RemoteProtectionGroupsParams) (*GetApi24RemoteProtectionGroupsOK, error)
- func (a *Client) PatchAPI24RemoteProtectionGroups(params *PatchAPI24RemoteProtectionGroupsParams) (*PatchApi24RemoteProtectionGroupsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteAPI24RemoteProtectionGroupsParams
- func NewDeleteAPI24RemoteProtectionGroupsParams() *DeleteAPI24RemoteProtectionGroupsParams
- func NewDeleteAPI24RemoteProtectionGroupsParamsWithContext(ctx context.Context) *DeleteAPI24RemoteProtectionGroupsParams
- func NewDeleteAPI24RemoteProtectionGroupsParamsWithHTTPClient(client *http.Client) *DeleteAPI24RemoteProtectionGroupsParams
- func NewDeleteAPI24RemoteProtectionGroupsParamsWithTimeout(timeout time.Duration) *DeleteAPI24RemoteProtectionGroupsParams
- func (o *DeleteAPI24RemoteProtectionGroupsParams) SetAuthorization(authorization *string)
- func (o *DeleteAPI24RemoteProtectionGroupsParams) SetContext(ctx context.Context)
- func (o *DeleteAPI24RemoteProtectionGroupsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPI24RemoteProtectionGroupsParams) SetIds(ids []string)
- func (o *DeleteAPI24RemoteProtectionGroupsParams) SetNames(names []string)
- func (o *DeleteAPI24RemoteProtectionGroupsParams) SetOn(on *string)
- func (o *DeleteAPI24RemoteProtectionGroupsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPI24RemoteProtectionGroupsParams) SetXRequestID(xRequestID *string)
- func (o *DeleteAPI24RemoteProtectionGroupsParams) WithAuthorization(authorization *string) *DeleteAPI24RemoteProtectionGroupsParams
- func (o *DeleteAPI24RemoteProtectionGroupsParams) WithContext(ctx context.Context) *DeleteAPI24RemoteProtectionGroupsParams
- func (o *DeleteAPI24RemoteProtectionGroupsParams) WithHTTPClient(client *http.Client) *DeleteAPI24RemoteProtectionGroupsParams
- func (o *DeleteAPI24RemoteProtectionGroupsParams) WithIds(ids []string) *DeleteAPI24RemoteProtectionGroupsParams
- func (o *DeleteAPI24RemoteProtectionGroupsParams) WithNames(names []string) *DeleteAPI24RemoteProtectionGroupsParams
- func (o *DeleteAPI24RemoteProtectionGroupsParams) WithOn(on *string) *DeleteAPI24RemoteProtectionGroupsParams
- func (o *DeleteAPI24RemoteProtectionGroupsParams) WithTimeout(timeout time.Duration) *DeleteAPI24RemoteProtectionGroupsParams
- func (o *DeleteAPI24RemoteProtectionGroupsParams) WithXRequestID(xRequestID *string) *DeleteAPI24RemoteProtectionGroupsParams
- func (o *DeleteAPI24RemoteProtectionGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPI24RemoteProtectionGroupsReader
- type DeleteApi24RemoteProtectionGroupsBadRequest
- type DeleteApi24RemoteProtectionGroupsOK
- type GetAPI24RemoteProtectionGroupsParams
- func NewGetAPI24RemoteProtectionGroupsParams() *GetAPI24RemoteProtectionGroupsParams
- func NewGetAPI24RemoteProtectionGroupsParamsWithContext(ctx context.Context) *GetAPI24RemoteProtectionGroupsParams
- func NewGetAPI24RemoteProtectionGroupsParamsWithHTTPClient(client *http.Client) *GetAPI24RemoteProtectionGroupsParams
- func NewGetAPI24RemoteProtectionGroupsParamsWithTimeout(timeout time.Duration) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) SetAuthorization(authorization *string)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetContext(ctx context.Context)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetDestroyed(destroyed *bool)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetFilter(filter *string)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetIds(ids []string)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetLimit(limit *int32)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetNames(names []string)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetOffset(offset *int32)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetOn(on []string)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetSort(sort []string)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetTotalItemCount(totalItemCount *bool)
- func (o *GetAPI24RemoteProtectionGroupsParams) SetXRequestID(xRequestID *string)
- func (o *GetAPI24RemoteProtectionGroupsParams) WithAuthorization(authorization *string) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithContext(ctx context.Context) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithDestroyed(destroyed *bool) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithFilter(filter *string) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithHTTPClient(client *http.Client) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithIds(ids []string) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithLimit(limit *int32) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithNames(names []string) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithOffset(offset *int32) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithOn(on []string) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithSort(sort []string) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithTimeout(timeout time.Duration) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WithXRequestID(xRequestID *string) *GetAPI24RemoteProtectionGroupsParams
- func (o *GetAPI24RemoteProtectionGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPI24RemoteProtectionGroupsReader
- type GetApi24RemoteProtectionGroupsBadRequest
- type GetApi24RemoteProtectionGroupsOK
- type PatchAPI24RemoteProtectionGroupsParams
- func NewPatchAPI24RemoteProtectionGroupsParams() *PatchAPI24RemoteProtectionGroupsParams
- func NewPatchAPI24RemoteProtectionGroupsParamsWithContext(ctx context.Context) *PatchAPI24RemoteProtectionGroupsParams
- func NewPatchAPI24RemoteProtectionGroupsParamsWithHTTPClient(client *http.Client) *PatchAPI24RemoteProtectionGroupsParams
- func NewPatchAPI24RemoteProtectionGroupsParamsWithTimeout(timeout time.Duration) *PatchAPI24RemoteProtectionGroupsParams
- func (o *PatchAPI24RemoteProtectionGroupsParams) SetAuthorization(authorization *string)
- func (o *PatchAPI24RemoteProtectionGroupsParams) SetContext(ctx context.Context)
- func (o *PatchAPI24RemoteProtectionGroupsParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPI24RemoteProtectionGroupsParams) SetIds(ids []string)
- func (o *PatchAPI24RemoteProtectionGroupsParams) SetNames(names []string)
- func (o *PatchAPI24RemoteProtectionGroupsParams) SetOn(on *string)
- func (o *PatchAPI24RemoteProtectionGroupsParams) SetRemoteProtectionGroup(remoteProtectionGroup *models.RemoteProtectionGroup)
- func (o *PatchAPI24RemoteProtectionGroupsParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPI24RemoteProtectionGroupsParams) SetXRequestID(xRequestID *string)
- func (o *PatchAPI24RemoteProtectionGroupsParams) WithAuthorization(authorization *string) *PatchAPI24RemoteProtectionGroupsParams
- func (o *PatchAPI24RemoteProtectionGroupsParams) WithContext(ctx context.Context) *PatchAPI24RemoteProtectionGroupsParams
- func (o *PatchAPI24RemoteProtectionGroupsParams) WithHTTPClient(client *http.Client) *PatchAPI24RemoteProtectionGroupsParams
- func (o *PatchAPI24RemoteProtectionGroupsParams) WithIds(ids []string) *PatchAPI24RemoteProtectionGroupsParams
- func (o *PatchAPI24RemoteProtectionGroupsParams) WithNames(names []string) *PatchAPI24RemoteProtectionGroupsParams
- func (o *PatchAPI24RemoteProtectionGroupsParams) WithOn(on *string) *PatchAPI24RemoteProtectionGroupsParams
- func (o *PatchAPI24RemoteProtectionGroupsParams) WithRemoteProtectionGroup(remoteProtectionGroup *models.RemoteProtectionGroup) *PatchAPI24RemoteProtectionGroupsParams
- func (o *PatchAPI24RemoteProtectionGroupsParams) WithTimeout(timeout time.Duration) *PatchAPI24RemoteProtectionGroupsParams
- func (o *PatchAPI24RemoteProtectionGroupsParams) WithXRequestID(xRequestID *string) *PatchAPI24RemoteProtectionGroupsParams
- func (o *PatchAPI24RemoteProtectionGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPI24RemoteProtectionGroupsReader
- type PatchApi24RemoteProtectionGroupsBadRequest
- type PatchApi24RemoteProtectionGroupsOK
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 remote protection groups API
func (*Client) DeleteAPI24RemoteProtectionGroups ¶
func (a *Client) DeleteAPI24RemoteProtectionGroups(params *DeleteAPI24RemoteProtectionGroupsParams) (*DeleteApi24RemoteProtectionGroupsOK, error)
DeleteAPI24RemoteProtectionGroups eradicates a remote protection group
Eradicates a remote protection group that has been destroyed and is pending eradication. Eradicated remote protection groups cannot be recovered. Remote protection groups are destroyed through the `PATCH` method. The `on` parameter represents the name of the offload target. The `ids` or `names` parameter and the `on` parameter are required and must be used together.
func (*Client) GetAPI24RemoteProtectionGroups ¶
func (a *Client) GetAPI24RemoteProtectionGroups(params *GetAPI24RemoteProtectionGroupsParams) (*GetApi24RemoteProtectionGroupsOK, error)
GetAPI24RemoteProtectionGroups lists remote protection groups
Returns a list of remote protection groups.
func (*Client) PatchAPI24RemoteProtectionGroups ¶
func (a *Client) PatchAPI24RemoteProtectionGroups(params *PatchAPI24RemoteProtectionGroupsParams) (*PatchApi24RemoteProtectionGroupsOK, error)
PatchAPI24RemoteProtectionGroups manages a remote protection group
Configures the snapshot retention schedule of a remote protection group. Also destroys a remote protection group from the offload target. Before the remote protection group can be destroyed, the offload target must first be removed from the protection group via the source array. The `on` parameter represents the name of the offload target. The `ids` or `names` parameter and the `on` parameter are required and must be used together.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteAPI24RemoteProtectionGroups(params *DeleteAPI24RemoteProtectionGroupsParams) (*DeleteApi24RemoteProtectionGroupsOK, error) GetAPI24RemoteProtectionGroups(params *GetAPI24RemoteProtectionGroupsParams) (*GetApi24RemoteProtectionGroupsOK, error) PatchAPI24RemoteProtectionGroups(params *PatchAPI24RemoteProtectionGroupsParams) (*PatchApi24RemoteProtectionGroupsOK, 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 remote protection groups API client.
type DeleteAPI24RemoteProtectionGroupsParams ¶
type DeleteAPI24RemoteProtectionGroupsParams 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 /*On Performs the operation on the target name specified. For example, `targetName01`. */ On *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPI24RemoteProtectionGroupsParams contains all the parameters to send to the API endpoint for the delete API 24 remote protection groups operation typically these are written to a http.Request
func NewDeleteAPI24RemoteProtectionGroupsParams ¶
func NewDeleteAPI24RemoteProtectionGroupsParams() *DeleteAPI24RemoteProtectionGroupsParams
NewDeleteAPI24RemoteProtectionGroupsParams creates a new DeleteAPI24RemoteProtectionGroupsParams object with the default values initialized.
func NewDeleteAPI24RemoteProtectionGroupsParamsWithContext ¶
func NewDeleteAPI24RemoteProtectionGroupsParamsWithContext(ctx context.Context) *DeleteAPI24RemoteProtectionGroupsParams
NewDeleteAPI24RemoteProtectionGroupsParamsWithContext creates a new DeleteAPI24RemoteProtectionGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAPI24RemoteProtectionGroupsParamsWithHTTPClient ¶
func NewDeleteAPI24RemoteProtectionGroupsParamsWithHTTPClient(client *http.Client) *DeleteAPI24RemoteProtectionGroupsParams
NewDeleteAPI24RemoteProtectionGroupsParamsWithHTTPClient creates a new DeleteAPI24RemoteProtectionGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAPI24RemoteProtectionGroupsParamsWithTimeout ¶
func NewDeleteAPI24RemoteProtectionGroupsParamsWithTimeout(timeout time.Duration) *DeleteAPI24RemoteProtectionGroupsParams
NewDeleteAPI24RemoteProtectionGroupsParamsWithTimeout creates a new DeleteAPI24RemoteProtectionGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAPI24RemoteProtectionGroupsParams) SetAuthorization ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) SetContext ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) SetHTTPClient ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) SetIds ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) SetIds(ids []string)
SetIds adds the ids to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) SetNames ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) SetNames(names []string)
SetNames adds the names to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) SetOn ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) SetOn(on *string)
SetOn adds the on to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) SetTimeout ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) SetXRequestID ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) WithAuthorization ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) WithAuthorization(authorization *string) *DeleteAPI24RemoteProtectionGroupsParams
WithAuthorization adds the authorization to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) WithContext ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) WithContext(ctx context.Context) *DeleteAPI24RemoteProtectionGroupsParams
WithContext adds the context to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) WithHTTPClient ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) WithHTTPClient(client *http.Client) *DeleteAPI24RemoteProtectionGroupsParams
WithHTTPClient adds the HTTPClient to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) WithIds ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) WithIds(ids []string) *DeleteAPI24RemoteProtectionGroupsParams
WithIds adds the ids to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) WithNames ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) WithNames(names []string) *DeleteAPI24RemoteProtectionGroupsParams
WithNames adds the names to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) WithOn ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) WithOn(on *string) *DeleteAPI24RemoteProtectionGroupsParams
WithOn adds the on to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) WithTimeout ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) WithTimeout(timeout time.Duration) *DeleteAPI24RemoteProtectionGroupsParams
WithTimeout adds the timeout to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) WithXRequestID ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) WithXRequestID(xRequestID *string) *DeleteAPI24RemoteProtectionGroupsParams
WithXRequestID adds the xRequestID to the delete API 24 remote protection groups params
func (*DeleteAPI24RemoteProtectionGroupsParams) WriteToRequest ¶
func (o *DeleteAPI24RemoteProtectionGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPI24RemoteProtectionGroupsReader ¶
type DeleteAPI24RemoteProtectionGroupsReader struct {
// contains filtered or unexported fields
}
DeleteAPI24RemoteProtectionGroupsReader is a Reader for the DeleteAPI24RemoteProtectionGroups structure.
func (*DeleteAPI24RemoteProtectionGroupsReader) ReadResponse ¶
func (o *DeleteAPI24RemoteProtectionGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteApi24RemoteProtectionGroupsBadRequest ¶
DeleteApi24RemoteProtectionGroupsBadRequest handles this case with default header values.
BadRequest
func NewDeleteApi24RemoteProtectionGroupsBadRequest ¶
func NewDeleteApi24RemoteProtectionGroupsBadRequest() *DeleteApi24RemoteProtectionGroupsBadRequest
NewDeleteApi24RemoteProtectionGroupsBadRequest creates a DeleteApi24RemoteProtectionGroupsBadRequest with default headers values
func (*DeleteApi24RemoteProtectionGroupsBadRequest) Error ¶
func (o *DeleteApi24RemoteProtectionGroupsBadRequest) Error() string
func (*DeleteApi24RemoteProtectionGroupsBadRequest) GetPayload ¶
func (o *DeleteApi24RemoteProtectionGroupsBadRequest) GetPayload() *models.Error
type DeleteApi24RemoteProtectionGroupsOK ¶
type DeleteApi24RemoteProtectionGroupsOK struct { }
DeleteApi24RemoteProtectionGroupsOK handles this case with default header values.
OK
func NewDeleteApi24RemoteProtectionGroupsOK ¶
func NewDeleteApi24RemoteProtectionGroupsOK() *DeleteApi24RemoteProtectionGroupsOK
NewDeleteApi24RemoteProtectionGroupsOK creates a DeleteApi24RemoteProtectionGroupsOK with default headers values
func (*DeleteApi24RemoteProtectionGroupsOK) Error ¶
func (o *DeleteApi24RemoteProtectionGroupsOK) Error() string
type GetAPI24RemoteProtectionGroupsParams ¶
type GetAPI24RemoteProtectionGroupsParams 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 /*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 /*On Performs the operation on the target name specified. Enter multiple target names in comma-separated format. For example, `targetName01,targetName02`. */ On []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 }
GetAPI24RemoteProtectionGroupsParams contains all the parameters to send to the API endpoint for the get API 24 remote protection groups operation typically these are written to a http.Request
func NewGetAPI24RemoteProtectionGroupsParams ¶
func NewGetAPI24RemoteProtectionGroupsParams() *GetAPI24RemoteProtectionGroupsParams
NewGetAPI24RemoteProtectionGroupsParams creates a new GetAPI24RemoteProtectionGroupsParams object with the default values initialized.
func NewGetAPI24RemoteProtectionGroupsParamsWithContext ¶
func NewGetAPI24RemoteProtectionGroupsParamsWithContext(ctx context.Context) *GetAPI24RemoteProtectionGroupsParams
NewGetAPI24RemoteProtectionGroupsParamsWithContext creates a new GetAPI24RemoteProtectionGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAPI24RemoteProtectionGroupsParamsWithHTTPClient ¶
func NewGetAPI24RemoteProtectionGroupsParamsWithHTTPClient(client *http.Client) *GetAPI24RemoteProtectionGroupsParams
NewGetAPI24RemoteProtectionGroupsParamsWithHTTPClient creates a new GetAPI24RemoteProtectionGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAPI24RemoteProtectionGroupsParamsWithTimeout ¶
func NewGetAPI24RemoteProtectionGroupsParamsWithTimeout(timeout time.Duration) *GetAPI24RemoteProtectionGroupsParams
NewGetAPI24RemoteProtectionGroupsParamsWithTimeout creates a new GetAPI24RemoteProtectionGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAPI24RemoteProtectionGroupsParams) SetAuthorization ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetContext ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetDestroyed ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetDestroyed(destroyed *bool)
SetDestroyed adds the destroyed to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetFilter ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetFilter(filter *string)
SetFilter adds the filter to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetHTTPClient ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetIds ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetIds(ids []string)
SetIds adds the ids to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetLimit ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetNames ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetNames(names []string)
SetNames adds the names to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetOffset ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetOffset(offset *int32)
SetOffset adds the offset to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetOn ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetOn(on []string)
SetOn adds the on to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetSort ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetSort(sort []string)
SetSort adds the sort to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetTimeout ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetTotalItemCount ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetTotalItemCount(totalItemCount *bool)
SetTotalItemCount adds the totalItemCount to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) SetXRequestID ¶
func (o *GetAPI24RemoteProtectionGroupsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithAuthorization ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithAuthorization(authorization *string) *GetAPI24RemoteProtectionGroupsParams
WithAuthorization adds the authorization to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithContext ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithContext(ctx context.Context) *GetAPI24RemoteProtectionGroupsParams
WithContext adds the context to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithDestroyed ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithDestroyed(destroyed *bool) *GetAPI24RemoteProtectionGroupsParams
WithDestroyed adds the destroyed to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithFilter ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithFilter(filter *string) *GetAPI24RemoteProtectionGroupsParams
WithFilter adds the filter to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithHTTPClient ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithHTTPClient(client *http.Client) *GetAPI24RemoteProtectionGroupsParams
WithHTTPClient adds the HTTPClient to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithIds ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithIds(ids []string) *GetAPI24RemoteProtectionGroupsParams
WithIds adds the ids to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithLimit ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithLimit(limit *int32) *GetAPI24RemoteProtectionGroupsParams
WithLimit adds the limit to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithNames ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithNames(names []string) *GetAPI24RemoteProtectionGroupsParams
WithNames adds the names to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithOffset ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithOffset(offset *int32) *GetAPI24RemoteProtectionGroupsParams
WithOffset adds the offset to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithOn ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithOn(on []string) *GetAPI24RemoteProtectionGroupsParams
WithOn adds the on to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithSort ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithSort(sort []string) *GetAPI24RemoteProtectionGroupsParams
WithSort adds the sort to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithTimeout ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithTimeout(timeout time.Duration) *GetAPI24RemoteProtectionGroupsParams
WithTimeout adds the timeout to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithTotalItemCount ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24RemoteProtectionGroupsParams
WithTotalItemCount adds the totalItemCount to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WithXRequestID ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WithXRequestID(xRequestID *string) *GetAPI24RemoteProtectionGroupsParams
WithXRequestID adds the xRequestID to the get API 24 remote protection groups params
func (*GetAPI24RemoteProtectionGroupsParams) WriteToRequest ¶
func (o *GetAPI24RemoteProtectionGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPI24RemoteProtectionGroupsReader ¶
type GetAPI24RemoteProtectionGroupsReader struct {
// contains filtered or unexported fields
}
GetAPI24RemoteProtectionGroupsReader is a Reader for the GetAPI24RemoteProtectionGroups structure.
func (*GetAPI24RemoteProtectionGroupsReader) ReadResponse ¶
func (o *GetAPI24RemoteProtectionGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApi24RemoteProtectionGroupsBadRequest ¶
GetApi24RemoteProtectionGroupsBadRequest handles this case with default header values.
BadRequest
func NewGetApi24RemoteProtectionGroupsBadRequest ¶
func NewGetApi24RemoteProtectionGroupsBadRequest() *GetApi24RemoteProtectionGroupsBadRequest
NewGetApi24RemoteProtectionGroupsBadRequest creates a GetApi24RemoteProtectionGroupsBadRequest with default headers values
func (*GetApi24RemoteProtectionGroupsBadRequest) Error ¶
func (o *GetApi24RemoteProtectionGroupsBadRequest) Error() string
func (*GetApi24RemoteProtectionGroupsBadRequest) GetPayload ¶
func (o *GetApi24RemoteProtectionGroupsBadRequest) GetPayload() *models.Error
type GetApi24RemoteProtectionGroupsOK ¶
type GetApi24RemoteProtectionGroupsOK struct {
Payload *models.RemoteProtectionGroupGetResponse
}
GetApi24RemoteProtectionGroupsOK handles this case with default header values.
OK
func NewGetApi24RemoteProtectionGroupsOK ¶
func NewGetApi24RemoteProtectionGroupsOK() *GetApi24RemoteProtectionGroupsOK
NewGetApi24RemoteProtectionGroupsOK creates a GetApi24RemoteProtectionGroupsOK with default headers values
func (*GetApi24RemoteProtectionGroupsOK) Error ¶
func (o *GetApi24RemoteProtectionGroupsOK) Error() string
func (*GetApi24RemoteProtectionGroupsOK) GetPayload ¶
func (o *GetApi24RemoteProtectionGroupsOK) GetPayload() *models.RemoteProtectionGroupGetResponse
type PatchAPI24RemoteProtectionGroupsParams ¶
type PatchAPI24RemoteProtectionGroupsParams 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 /*On Performs the operation on the target name specified. For example, `targetName01`. */ On *string /*RemoteProtectionGroup*/ RemoteProtectionGroup *models.RemoteProtectionGroup Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPI24RemoteProtectionGroupsParams contains all the parameters to send to the API endpoint for the patch API 24 remote protection groups operation typically these are written to a http.Request
func NewPatchAPI24RemoteProtectionGroupsParams ¶
func NewPatchAPI24RemoteProtectionGroupsParams() *PatchAPI24RemoteProtectionGroupsParams
NewPatchAPI24RemoteProtectionGroupsParams creates a new PatchAPI24RemoteProtectionGroupsParams object with the default values initialized.
func NewPatchAPI24RemoteProtectionGroupsParamsWithContext ¶
func NewPatchAPI24RemoteProtectionGroupsParamsWithContext(ctx context.Context) *PatchAPI24RemoteProtectionGroupsParams
NewPatchAPI24RemoteProtectionGroupsParamsWithContext creates a new PatchAPI24RemoteProtectionGroupsParams object with the default values initialized, and the ability to set a context for a request
func NewPatchAPI24RemoteProtectionGroupsParamsWithHTTPClient ¶
func NewPatchAPI24RemoteProtectionGroupsParamsWithHTTPClient(client *http.Client) *PatchAPI24RemoteProtectionGroupsParams
NewPatchAPI24RemoteProtectionGroupsParamsWithHTTPClient creates a new PatchAPI24RemoteProtectionGroupsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchAPI24RemoteProtectionGroupsParamsWithTimeout ¶
func NewPatchAPI24RemoteProtectionGroupsParamsWithTimeout(timeout time.Duration) *PatchAPI24RemoteProtectionGroupsParams
NewPatchAPI24RemoteProtectionGroupsParamsWithTimeout creates a new PatchAPI24RemoteProtectionGroupsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchAPI24RemoteProtectionGroupsParams) SetAuthorization ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) SetContext ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) SetHTTPClient ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) SetIds ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) SetIds(ids []string)
SetIds adds the ids to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) SetNames ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) SetNames(names []string)
SetNames adds the names to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) SetOn ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) SetOn(on *string)
SetOn adds the on to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) SetRemoteProtectionGroup ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) SetRemoteProtectionGroup(remoteProtectionGroup *models.RemoteProtectionGroup)
SetRemoteProtectionGroup adds the remoteProtectionGroup to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) SetTimeout ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) SetXRequestID ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) WithAuthorization ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) WithAuthorization(authorization *string) *PatchAPI24RemoteProtectionGroupsParams
WithAuthorization adds the authorization to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) WithContext ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) WithContext(ctx context.Context) *PatchAPI24RemoteProtectionGroupsParams
WithContext adds the context to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) WithHTTPClient ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) WithHTTPClient(client *http.Client) *PatchAPI24RemoteProtectionGroupsParams
WithHTTPClient adds the HTTPClient to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) WithIds ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) WithIds(ids []string) *PatchAPI24RemoteProtectionGroupsParams
WithIds adds the ids to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) WithNames ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) WithNames(names []string) *PatchAPI24RemoteProtectionGroupsParams
WithNames adds the names to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) WithOn ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) WithOn(on *string) *PatchAPI24RemoteProtectionGroupsParams
WithOn adds the on to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) WithRemoteProtectionGroup ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) WithRemoteProtectionGroup(remoteProtectionGroup *models.RemoteProtectionGroup) *PatchAPI24RemoteProtectionGroupsParams
WithRemoteProtectionGroup adds the remoteProtectionGroup to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) WithTimeout ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) WithTimeout(timeout time.Duration) *PatchAPI24RemoteProtectionGroupsParams
WithTimeout adds the timeout to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) WithXRequestID ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) WithXRequestID(xRequestID *string) *PatchAPI24RemoteProtectionGroupsParams
WithXRequestID adds the xRequestID to the patch API 24 remote protection groups params
func (*PatchAPI24RemoteProtectionGroupsParams) WriteToRequest ¶
func (o *PatchAPI24RemoteProtectionGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPI24RemoteProtectionGroupsReader ¶
type PatchAPI24RemoteProtectionGroupsReader struct {
// contains filtered or unexported fields
}
PatchAPI24RemoteProtectionGroupsReader is a Reader for the PatchAPI24RemoteProtectionGroups structure.
func (*PatchAPI24RemoteProtectionGroupsReader) ReadResponse ¶
func (o *PatchAPI24RemoteProtectionGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchApi24RemoteProtectionGroupsBadRequest ¶
PatchApi24RemoteProtectionGroupsBadRequest handles this case with default header values.
BadRequest
func NewPatchApi24RemoteProtectionGroupsBadRequest ¶
func NewPatchApi24RemoteProtectionGroupsBadRequest() *PatchApi24RemoteProtectionGroupsBadRequest
NewPatchApi24RemoteProtectionGroupsBadRequest creates a PatchApi24RemoteProtectionGroupsBadRequest with default headers values
func (*PatchApi24RemoteProtectionGroupsBadRequest) Error ¶
func (o *PatchApi24RemoteProtectionGroupsBadRequest) Error() string
func (*PatchApi24RemoteProtectionGroupsBadRequest) GetPayload ¶
func (o *PatchApi24RemoteProtectionGroupsBadRequest) GetPayload() *models.Error
type PatchApi24RemoteProtectionGroupsOK ¶
type PatchApi24RemoteProtectionGroupsOK struct {
Payload *models.RemoteProtectionGroupResponse
}
PatchApi24RemoteProtectionGroupsOK handles this case with default header values.
OK
func NewPatchApi24RemoteProtectionGroupsOK ¶
func NewPatchApi24RemoteProtectionGroupsOK() *PatchApi24RemoteProtectionGroupsOK
NewPatchApi24RemoteProtectionGroupsOK creates a PatchApi24RemoteProtectionGroupsOK with default headers values
func (*PatchApi24RemoteProtectionGroupsOK) Error ¶
func (o *PatchApi24RemoteProtectionGroupsOK) Error() string
func (*PatchApi24RemoteProtectionGroupsOK) GetPayload ¶
func (o *PatchApi24RemoteProtectionGroupsOK) GetPayload() *models.RemoteProtectionGroupResponse
Source Files
¶
- delete_api_24_remote_protection_groups_parameters.go
- delete_api_24_remote_protection_groups_responses.go
- get_api_24_remote_protection_groups_parameters.go
- get_api_24_remote_protection_groups_responses.go
- patch_api_24_remote_protection_groups_parameters.go
- patch_api_24_remote_protection_groups_responses.go
- remote_protection_groups_client.go