snapmirror

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for snapmirror API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SnapmirrorPoliciesGet

func (a *Client) SnapmirrorPoliciesGet(params *SnapmirrorPoliciesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPoliciesGetOK, error)
SnapmirrorPoliciesGet Retrieves SnapMirror policies of type "async" and "sync".

### Related ONTAP commands * `snapmirror policy show` ### Example The following example shows how to retrieve a collection of SnapMirror policies. <br/> ``` GET "/api/snapmirror/policies" ``` <br/> ### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)

func (*Client) SnapmirrorPolicyCreate

func (a *Client) SnapmirrorPolicyCreate(params *SnapmirrorPolicyCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyCreateAccepted, error)
SnapmirrorPolicyCreate Creates a SnapMirror policy. The property "identity_preservation" is applicable to only SnapMirror relationships with SVM endpoints and it indicates which configuration of the source SVM is replicated to the destination SVM.</br>

It takes the following values: - `full` - indicates that the source SVM configuration is replicated to the destination SVM endpoint. - `exclude_network_config` - indicates that the source SVM configuration other than network configuration is replicated to the destination SVM endpoint. - `exclude_network_and_protocol_config` - indicates that the source SVM configuration is not replicated to the destination SVM endpoint.<br/> ### Important notes - The property "identity_preservation" is applicable to only SnapMirror relationships with SVM endpoints and it indicates which configuration of the source SVM is replicated to the destination SVM. - The properties "identity_preservation" and "transfer_schedule" are not applicable for "sync" type policies. - The properties "copy_all_source_snapshots", "copy_latest_source_snapshot", and "create_snapshot_on_source" are mutually exclusive. - The properties "copy_all_source_snapshots", "copy_latest_source_snapshot", and "create_snapshot_on_source" are not applicable for "sync" type policies. - No "retention" properties can be specified if "copy_all_source_snapshots" or 'copy_latest_source_snapshot' is specified. - The properties "retention.creation_schedule" and "retention.prefix" are not applicable for "sync" type policies. - The property "retention.creation_schedule" is not applicable for "async" policies with "create_snapshot_on_source" set to "false". - The property "sync_common_snapshot_schedule" is not applicable for an "async" type policy. - The property "retention.count" specifies the maximum number of Snapshot copies that are retained on the SnapMirror destination volume. - When the property "retention.label" is specified, the Snapshot copies that have a SnapMirror label matching this property is transferred to the SnapMirror destination. - When the property "retention.creation_schedule" is specified, Snapshot copies are directly created on the SnapMirror destination. The Snapshot copies created have the same content as the latest Snapshot copy already present on the SnapMirror destination. - The property "transfer_schedule" cannot be set to null (no-quotes) during SnapMirror policy POST. - The properties "retention.label" and "retention.count" must be specified for "async" policies with "create_snapshot_on_source" set to "false".

### Required properties * `name` - Name of the new SnapMirror policy. ### Recommended optional properties * `svm.name` or `svm.uuid` - Name or UUID of the SVM that owns the SnapMirror policy. ### Default property values If not specified in POST, the following default property values are assigned: * `type` - _async_ * `sync_type` - _sync_ (when `type` is _sync_) * `network_compression_enabled` - _false_ * `throttle` - _0_ * `identity_preservation` - `_exclude_network_and_protocol_config_`

### Related ONTAP commands * `snapmirror policy create` ### Examples

Creating a SnapMirror policy of type "sync"
 <br/>
 ```
 POST "/api/snapmirror/policies/" '{"name": "policy1", "svm.name": "VS0", "type": "sync", "sync_type": "sync"}'
 ```
 <br/>
Creating a SnapMirror policy of type "async" with two sets of retention values, one with a creation_schedule
 <br/>
 ```
 POST "/api/snapmirror/policies" '{"name": "policy_ret", "svm": {"name": "vs1"}, "retention": [{"label": "weekly", "count": "2", "creation_schedule": {"name": "weekly"}}, {"label":"daily", "count":"7"}]}'
 ```
 <br/>
Creating a SnapMirror policy of type "async"
 ```
 POST "/api/snapmirror/policies" '{"name": "newPolicy", "svm":{"name" : "vs1"}, "type": "async"}'
 ```
 <br/>
Creating a SnapMirror policy of type "async" which replicates all Snapshot copies
 ```
 POST "/api/snapmirror/policies" '{"name": "newPolicy", "svm":{"name" : "vs1"}, "type": "async", "copy_all_source_snapshots": "true"}'
 ```
 <br/>
Creating a SnapMirror policy of type "async" which replicates latest Snapshot copy
 ```
 POST "/api/snapmirror/policies" '{"name": "newPolicy2", "svm":{"name" : "vs1"}, "type": "async", "copy_latest_source_snapshot": "true"}'
 ```
 <br/>
Creating a SnapMirror policy of type "async" which does not create Snapshot copies on source
 ```
 POST "/api/snapmirror/policies" '{"name": "newPolicy", "svm":{"name" : "vs1"}, "type": "async", "create_snapshot_on_source": "false", "retention": [{"label": "daily", "count": 7}]}'
 ```
 <br/>
Creating a SnapMirror policy of type "sync" with sync_type as "automated_failover"
 <br/>
 ```
 POST "/api/snapmirror/policies/" '{"name": "policy1", "svm.name": "VS0", "type": "sync", "sync_type": "automated_failover" }'
 ```
 <br/>

### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)

func (*Client) SnapmirrorPolicyDelete

func (a *Client) SnapmirrorPolicyDelete(params *SnapmirrorPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyDeleteAccepted, error)
SnapmirrorPolicyDelete Deletes a SnapMirror policy.

### Related ONTAP commands * `snapmirror policy delete` ### Example <br/> ``` DELETE "/api/snapmirror/policies/510c15d4-f9e6-11e8-bdb5-0050568e12c2" ``` <br/> ### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)

func (*Client) SnapmirrorPolicyGet

func (a *Client) SnapmirrorPolicyGet(params *SnapmirrorPolicyGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyGetOK, error)
SnapmirrorPolicyGet Retrieves a specific SnapMirror policy.

### Example <br/> ``` GET "/api/snapmirror/policies/567aaac0-f863-11e8-a666-0050568e12c2" ``` <br/> ### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)

func (*Client) SnapmirrorPolicyModify

func (a *Client) SnapmirrorPolicyModify(params *SnapmirrorPolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyModifyAccepted, error)
SnapmirrorPolicyModify Updates the SnapMirror policy.

### Important notes * The properties "retention.label" and "retention.count" are mandatory if "retention" is provided in the input. The provided "retention.label" is the final list and it replaces the existing values. * The value of the "identity_preservation" property cannot be changed if the SnapMirror relationships associated with the policy have different identity_preservation configurations. * If the SnapMirror policy "identity_preservation" value matches the "identity_preservation" value of the associated SnapMirror relationships, then the "identity_preservation" value can be changed from a higher "identity_preservation" threshold value to a lower "identity_preservation" threshold value but not vice-versa. For example, the threshold value of the "identity_preservation" property can be changed from "full" to "exclude_network_config", but cannot be increased from "exclude_network_and_protocol_config" to "exclude_network_config" to "full". The threshold value of the "identity_preservation" cannot be changed to "exclude_network_and_protocol_config" for IDP SVMDR.<br/> * The policy properties "copy_all_source_snapshots", "copy_latest_source_snapshot", and "create_snapshot_on_source" cannot be modified. * No "retention" properties can be modified if the "copy_all_source_snapshots" or "copy_latest_source_snapshot" property is present in the policy. * Replacing or deleting all retention rules of a policy that has the "create_snapshot_on_source" property set to false in a single API call is not supported. * Modifying the property "retention.label" for all retention rules of a policy that has the "create_snapshot_on_source" property set to false in a single API call is not supported. * To remove a transfer_schedule on a SnapMirror policy set the "transfer_schedule" to null (no-quotes) during SnapMirror policy PATCH.

### Related ONTAP commands * `snapmirror policy modify` ### Example

Updating the "retention" property to add rules to a policy without any rules.
 <br/>
 ```
 PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "newlabel", "count": 2}, {"label": "weekly", "count": 2, "creation_schedule": {"name": "weekly"}}, {"label": "daily", "count": 14}]}'
 ```
 <br/>
Updating the "retention" property to add rules to a policy with existing rules {"retention": [{"label": "oldLabel1", "count": 2}, {"label": "oldLabel2", "count": 5}]
 <br/>
 ```
 PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "oldLabel1", "count": 2}, {"label": "oldLabel2", "count": 5}, {"label": "newlabel", "count": 3}, {"label": "weekly", "count": 1}]}'
 ```
 <br/>
Updating the "retention" property to remove a rule (oldLabel1) and add new rule to a policy with existing rules {"retention": [{"label": "oldLabel1", "count": 2}, {"label": "oldLabel2", "count": 3}]
 <br/>
 ```
 PATCH "/api/snapmirror/policies/fe65686d-00dc-11e9-b5fb-0050568e3f83" '{"retention": [{"label": "oldLabel2", "count": 3}, {"label": "newlabel", "count": 2}]}'
 ```
 <br/>
Updating "transfer_schedule", "throttle", and "identity_preservation" properties
 <br/>
 ```
 PATCH "/api/snapmirror/policies/8aef950b-3bef-11e9-80ac-0050568ea591" '{"transfer_schedule.name" : "weekly", "throttle" : "100", "identity_preservation":"exclude_network_and_protocol_config"}'
 ```
 <br/>
 Removing the SnapMirror transfer_schedule for a SnapMirror policy. Transfer_schedule can be specified as UUID or name or both with the value set to null (no-quotes).
 <br/>
 ```
 PATCH "/api/snapmirror/policies/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"transfer_schedule":{"uuid":null, "name":null}}'
 ```
 <br/>

### Learn more * [`DOC /snapmirror/policies`](#docs-snapmirror-snapmirror_policies)

func (*Client) SnapmirrorRelationshipCreate

SnapmirrorRelationshipCreate Creates a SnapMirror relationship. This API can optionally provision the destination endpoint when it does not exist. This API must be executed on the cluster containing the destination endpoint unless the destination endpoint is being provisioned. When the destination endpoint is being provisioned, this API can also be executed from the cluster containing the source endpoint. Provisioning of the destination endpoint from the source cluster is supported for the FlexVol volume, FlexGroup volume and Consistency Group endpoints. For SVM endpoint, provisioning of the destination SVM endpoint is not supported from the source cluster.<br>When the destination endpoint exists the source SVM and the destination SVM must be in an SVM peer relationship. When provisioning the destination endpoint, the SVM peer relationship between the source SVM and the destination SVM is established as part of the destination, provision provided the source SVM has SVM peering permission for the destination cluster.

### Required properties * `source.path` - Path to the source endpoint of the SnapMirror relationship. * `destination.path` - Path to the destination endpoint of the SnapMirror relationship. * `destination.consistency_group_volumes` - List of FlexVol volumes of type "RW" that are constituents of a Consistency Group. * `destination.consistency_group_volumes` - List of FlexVol volumes of type "DP" that are constituents of a Consistency Group. ### Recommended optional properties * `policy.name` or `policy.uuid` - Policy governing the SnapMirror relationship. * `state` - Set the state to "snapmirrored" to automatically initialize the relationship. * `create_destination.enabled` - Enable this property to provision the destination endpoint.

### Default property values If not specified in POST, the following default property values are assigned: * `policy.name` - _Asynchronous_ * `restore` - _false_ * `create_destination.tiering.policy` - `_snapshot_only_` (when `create_destination.tiering.supported` is _true_ for FlexVol volume) * `create_destination.tiering.policy` - `_none_` (when `create_destination.tiering.supported` is _true_ for FlexGroup volume) * `create_destination.storage_service.enforce_performance` - `_false_` * `source.ipspace` - `_Default_` * `destination.ipspace` - `_Default_` * `throttle` - _0_ ### Related ONTAP commands * `snapmirror create` * `snapmirror protect` ### Important notes * The property "transfer_schedule" if set on a SnapMirror relationship overrides the "transfer_schedule" set on the policy being used with the SnapMirror relationship. * The property "throttle" if set on a SnapMirror relationship overrides the "throttle" set on the policy being used with the SnapMirror relationship. * The properties "transfer_schedule" and "throttle" are not supported when "restore" is set to "true". * The property "transfer_schedule" cannot be set to null (no-quotes) during SnapMirror relationship POST. * The property "throttle" is not supported when "create_destination.enabled" is set to "true". * The property "identity_preservation" is applicable to only SnapMirror relationships with SVM endpoints and it indicates which configuration of the source SVM is replicated to the destination SVM. ### Examples The following examples show how to create FlexVol, FlexGroup, SVM and Consistency Group SnapMirror relationships. Note that the source SVM name should be the local name of the peer SVM.</br>

Creating a FlexVol SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}}'
```
<br/>
Creating a FlexGroup SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:source_flexgrp"}, "destination": { "path": "dst_svm:dest_flexgrp"}}'
```
<br/>
Creating a SVM SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": { "path": "src_svm:"}, "destination": { "path": "dst_svm:"}}'
```
<br/>
Creating a SnapMirror relationship in order to restore from a destination.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "restore": "true"}'
```
<br/>
Provision the destination FlexVol volume endpoint and create a SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "create_destination": { "enabled": "true" }}'
```
Provision the destination FlexVol volume endpoint on a Fabricpool with a tiering policy and create a SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "create_destination": { "enabled": "true", "tiering": { "supported": "true", "policy": "auto" } } }'
```
Provision the destination FlexVol volume endpoint using storage service and create a SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "create_destination": { "enabled": "true", "storage_service": { "enabled": "true", "name": "extreme", "enforce_performance": "true" } } }'
```
Provision the destination SVM endpoint and create a SnapMirror relationship of type XDP.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:", "cluster": { "name": "cluster_src" }}, "destination": { "path": "dst_svm:"}, "create_destination": { "enabled: "true" }}'
```
Create a SnapMirror relationship with Consistency Group endpoint.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": { "path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": "src_vol_1, src_vol_2"}, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": "dst_vol_1, dst_vol_2"}, "policy": "AutomatedFailOver" }'
```
Provision the destination Consistency Group endpoint on a Fabricpool with a tiering policy, create a SnapMirror relationship with a SnapMirror policy of type "sync" and sync_type of "automated_failover", and initialize the SnapMirror relationship with state as "in_sync".
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": "src_vol_1, src_vol_2"}, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": "dst_vol_1, dst_vol_2"}, "create_destination": { "enabled": "true", "tiering": { "supported": "true" } }, "policy": "AutomatedFailOver", "state": "in_sync" }'
```
Provision the destination Consistency Group endpoint with storage service, create a SnapMirror relationship with a SnapMirror policy of type "sync" and sync_type of "automated_failover", and initialize the SnapMirror relationship with state as "in_sync".
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:/cg/cg_src_vol", "consistency_group_volumes": "src_vol_1, src_vol_2"}, "destination": { "path": "dst_svm:/cg/cg_dst_vol", "consistency_group_volumes": "dst_vol_1, dst_vol_2"}, "create_destination": { "enabled": "true", "storage_service": { "enabled": "true", "name": "extreme", "enforce_performance": "true" } }, "policy": "AutomatedFailOver", "state": "in_sync" }'
```
<br/>
Creating a FlexVol volume SnapMirror relationship of type XDP with transfer_schedule and throttle.
<br/>
```
POST "/api/snapmirror/relationships/" '{"source": {"path": "src_svm:src_vol"}, "destination": { "path": "dst_svm:dst_vol"}, "transfer_schedule":{"uuid":"817500fa-092d-44c5-9c10-7b54f7b2f20a", "name":"5min"}, "throttle":100}'
```
<br/>

### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)

func (*Client) SnapmirrorRelationshipDelete

SnapmirrorRelationshipDelete Deletes a SnapMirror relationship.

### Important notes * The "destination_only", "source_only", and "source_info_only" flags are mutually exclusive. If no flag is specified, the relationship is deleted from both the source and destination and all common Snapshot copies between the source and destination are also deleted. * For a restore relationship, the call must be executed on the cluster containing the destination endpoint without specifying the destination_only, source_only, or source_info_only parameters. * Additionally, ensure that there are no ongoing transfers on a restore relationship before calling this API. * The "failover", "force-failover" and "failback" query parameters are only applicable for SVM-DR SnapMirror relationships. * When a SnapMirror relationship associated with a pair of source and destination Consistency Groups is deleted, the corresponding Consistency Groups on the source and destination clusters are not automatically deleted and remain in place. ### Related ONTAP commands * `snapmirror delete` * `snapmirror release` ### Examples The following examples show how to delete the relationship from both the source and destination, the destination only, and the source only. <br/>

Deleting the relationship from both the source and destination. This API must be run on the cluster containing the destination endpoint.
<br/>
```
DELETE "/api/snapmirror/relationships/4512b2d2-fd60-11e8-8929-005056bbfe52"
```
<br/>
Deleting the relationship on the destination only. This API must be run on the cluster containing the destination endpoint.
<br/>
```
DELETE "/api/snapmirror/relationships/fd1e0697-02ba-11e9-acc7-005056a7697f/?destination_only=true"
```
<br/>
Deleting the relationship on the source only. This API must be run on the cluster containing the source endpoint.
<br/>
```
DELETE "/api/snapmirror/relationships/93e828ba-02bc-11e9-acc7-005056a7697f/?source_only=true"
```
<br/>
Deleting the source information only. This API must be run on the cluster containing the source endpoint. This does not delete the common Snapshot copies between the source and destination.
<br/>
```
DELETE "/api/snapmirror/relationships/caf545a2-fc60-11e8-aa13-005056a707ff/?source_info_only=true"
```
<br/>

### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)

func (*Client) SnapmirrorRelationshipGet

func (a *Client) SnapmirrorRelationshipGet(params *SnapmirrorRelationshipGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipGetOK, error)
SnapmirrorRelationshipGet Retrieves a SnapMirror relationship.

### Related ONTAP commands * `snapmirror show` * `snapmirror list-destinations` ### Expensive properties

* `source.consistency_group_volumes.name` * `destination.consistency_group_volumes.name` ### Example <br/> ``` GET "/api/snapmirror/relationships/caf545a2-fc60-11e8-aa13-005056a707ff/" ``` <br/> ### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)

func (*Client) SnapmirrorRelationshipModify

SnapmirrorRelationshipModify Updates a SnapMirror relationship. This API is used to initiate SnapMirror operations such as "initialize", "resync", "break", "quiesce", and "resume" by specifying the appropriate value for the "state" field. It is also used to modify the SnapMirror policy associated with the specified relationship. Additionally, a SnapMirror relationship can be failed over to the destination endpoint or a failed over SnapMirror relationship can be failed back to the original state or a SnapMirror relationship direction can be reversed using this API.

<br>To initialize the relationship, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". <br>To break the relationship or to failover to the destination endpoint and start serving data from the destination endpoint, PATCH the state to "broken_off" for relationships with a policy of type "async" or "sync". SnapMirror relationships with the policy type as "sync" and sync_type as "automated_failover" cannot be "broken_off". <br>To resync the broken relationship, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". <br>To failback the failed over relationship and start serving data from the source endpoint, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync" and set the query flag "failback" as "true". SnapMirror relationships with the policy type as "sync" and sync_type as "automated_failover" can be in "broken_off" state due to a failed attempt of automated SnapMirror failover operation. <br>To pause the relationship, suspending further transfers, PATCH the state to "paused" for relationships with a policy of type "async" or "sync". SnapMirror relationships with the policy type as "sync" and sync_type as "automated_failover" cannot be "paused". <br>To resume transfers for a paused relationship, PATCH the state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". <br>To reverse the direction of the relationship, PATCH the "source.path" with the destination endpoint and the "destination.path" with the source endpoint and the relationship state to "snapmirrored" for relationships with a policy of type "async" or "in_sync" for relationships with a policy of type "sync". For relationships with a policy of type "async" and relationship state as "snapmirrored", stop IO on the source endpoint and perform a SnapMirror transfer POST operation before reversing the direction of the relationship to prevent any loss of data. <br>The values "in_sync", "out_of_sync", and "synchronizing" are only applicable to relationships with a policy of type "sync". <br>When "transfer_schedule" is specified along with "state" during PATCH, first the schedule is modified on the relationship and then the respective SnapMirror operation is initiated. The "transfer_schedule" specified is used to update asynchronous relationships. <br>When "throttle" is specified along with "state" during PATCH, first the throttle is modified on the relationship, which will be used by any upcoming transfers and then the respective SnapMirror operation is initiated. If the SnapMirror operation initiated a transfer then it will also use the new throttle. If "throttle" needs to be applied for a specific transfer use SnapMirror Transfer REST API.

### Examples ### Related ONTAP commands * `snapmirror modify` * `snapmirror initialize` * `snapmirror resync` * `snapmirror break` * `snapmirror quiesce` * `snapmirror resume` ### Important notes * The property "transfer_schedule" if set on a SnapMirror relationship overrides the "transfer_schedule" set on the policy being used with the SnapMirror relationship. * The property "throttle" if set on a SnapMirror relationship overrides the "throttle" set on the policy being used with the SnapMirror relationship. * The properties "transfer_schedule" and "throttle" are not supported when "failback" is set to "true". * The properties "transfer_schedule" and "throttle" are not supported when "failover" is set to "true". * The properties "transfer_schedule" and "throttle" are not supported when "force_failover" is set to "true". * The properties "transfer_schedule" and "throttle" are not supported when the direction of the relationship is being reversed. * To remove a transfer_schedule on a SnapMirror relationship set the "transfer_schedule" to null (no-quotes) during SnapMirror relationship PATCH. * The property "identity_preservation" value can be changed from a higher "identity_preservation" threshold value to a lower "identity_preservation" threshold value but not vice-versa. For example, the threshold value of the "identity_preservation" property can be changed from "full" to "exclude_network_config", but cannot be increased from "exclude_network_and_protocol_config" to "exclude_network_config" to "full". The threshold value of the "identity_preservation" cannot be changed to "exclude_network_and_protocol_config" for IDP SVMDR.

### Examples The following examples show how to perform the SnapMirror "resync", "initialize", "resume", "quiesce", and "break" operations. In addition, a relationship can be failed over to the destination endpoint and start serving data from the destination endpoint. A failed over relationship can be failed back to the source endpoint and serve data from the source endpoint. Also a relationship can be reversed by making the source endpoint as the new destination endpoint and the destination endpoint as the new source endpoint. <br/>

To update an associated SnapMirror policy.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"policy": { "name" : "MirrorAndVaultDiscardNetwork"}}'
```
<br/>
To perform SnapMirror "resync" for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored"}'
```
<br/>
To perform SnapMirror "initialize" for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored"}'
```
<br/>
To perform SnapMirror "resume" for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored"}'
```
<br/>
To perform SnapMirror "quiesce" for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff" '{"state":"paused"}'
```
<br/>
To perform SnapMirror "break" for an asynchronous SnapMirror relationship. This operation does a failover to the destination endpoint. After a the failover, data can then be served from the destination endpoint.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff" '{"state":"broken_off"}'
```
<br/>
To forcefully failover to the destination endpoint and start serving data from the destination endpoint.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/?force=true" '{"state":"broken_off"}'
```
<br/>
To failback to the source endpoint and start serving data from the source endpoint for an asynchronous relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/?failback=true" '{"state":"snapmirrored"}'
```
<br/>
To failback to the source endpoint and start serving data from the source endpoint for a synchronous relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/?failback=true" '{"state":"in_sync"}'
```
<br/>
To reverse the direction of an asynchronous relationship, that is, make the source endpoint as the new destination endpoint and make the destination endpoint as the new source endpoint.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"source": {"path": "dst_svm:dst_vol"}, "destination": {"path": "src_svm:src_vol"}, "state": "snapmirrored"}'
```
<br/>
To reverse the direction of a synchronous relationship, that is, make the source endpoint as the new destination endpoint and make the destination endpoint as the new source endpoint.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"source": {"path": "dst_svm:dst_vol"}, "destination": {"path": "src_svm:src_vol"}, "state": "in_sync"}'
```
<br/>
Updating SnapMirror transfer_schedule and throttle for an asynchronous SnapMirror relationship. Transfer_schedule can be specified as UUID or name or both.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"transfer_schedule":{"uuid":"817500fa-092d-44c5-9c10-7b54f7b2f20a", "name":"5min"}, "throttle":100}'
```
<br/>
Removing the SnapMirror transfer_schedule for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"transfer_schedule":{"uuid":null, "name":null}}'
```
<br/>
Removing the SnapMirror throttle for an asynchronous SnapMirror relationship.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"throttle":0}'
```
<br/>
To perform SnapMirror "resync" and update the SnapMirror transfer_schedule for an asynchronous SnapMirror relationship. First the transfer_schedule is modified and then the resync transfer is initiated.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", transfer_schedule":{"uuid":"817500fa-092d-44c5-9c10-7b54f7b2f20a", "name":"5min"}}'
```
<br/>
To perform SnapMirror "initialize" and update the SnapMirror throttle for an asynchronous SnapMirror relationship. First the throttle is modified and then the initialize transfer is initiated. The initialize transfer will use this new throttle.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", "throttle":100}'
```
<br/>
To perform SnapMirror "resync" and update the SnapMirror throttle for an asynchronous SnapMirror relationship. First the throttle is modified and then the resync transfer is initiated. The resync transfer will use this new throttle.
<br/>
```
PATCH "/api/snapmirror/relationships/98bb2608-fc60-11e8-aa13-005056a707ff/" '{"state":"snapmirrored", "throttle":100}'

### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)

func (*Client) SnapmirrorRelationshipTransferCreate

SnapmirrorRelationshipTransferCreate Starts a SnapMirror transfer operation. This API initiates a restore operation if the SnapMirror relationship is of type "restore". Otherwise, it intiates a SnapMirror "initialize" operation or "update" operation based on the current SnapMirror state.

### Default property values * `storage_efficiency_enabled` - _true_ ### Related ONTAP commands * `snapmirror update` * `snapmirror initialize` * `snapmirror restore`

### Examples The following examples show how to perform SnapMirror "initialize", "update", and "restore" operations. <br/>

Perform SnapMirror initialize or update
<br/>
```
POST "/api/snapmirror/relationships/e4e7e130-0279-11e9-b566-0050568e9909/transfers" '{}'
```
<br/>
Perform SnapMirror initialize, update or restore with throttle value set
<br/>
```
POST "/api/snapmirror/relationships/e4e7e130-0279-11e9-b566-0050568e9909/transfers" '{"throttle":"100"}'
```
<br/>
Perform SnapMirror restore transfer of a file
<br/>
```
POST "/api/snapmirror/relationships/c8c62a90-0fef-11e9-b09e-0050568e7067/transfers" '{"source_snapshot": "src", "files":[{"source_path": "/a1.txt.0", "destination_path": "/a1-renamed.txt.0"}]}'
```
<br/>
Performing a SnapMirror initialize or update using a particular Snapshot copy.
<br/>
```
POST "/api/snapmirror/relationships/e4e7e130-0279-11e9-b566-0050568e9909/transfers" '{"source_snapshot":"snap1"}'
```
<br/>

### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers)

func (*Client) SnapmirrorRelationshipTransferGet

func (a *Client) SnapmirrorRelationshipTransferGet(params *SnapmirrorRelationshipTransferGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferGetOK, error)
SnapmirrorRelationshipTransferGet Retrieves the attributes of a specific ongoing SnapMirror transfer.

### Related ONTAP commands * `snapmirror show` ### Example <br/> ``` GET "/api/snapmirror/relationships/293baa53-e63d-11e8-bff1-005056a793dd/transfers/293baa53-e63d-11e8-bff1-005056a793dd" ``` <br/> ### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers)

func (*Client) SnapmirrorRelationshipTransferModify

func (a *Client) SnapmirrorRelationshipTransferModify(params *SnapmirrorRelationshipTransferModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferModifyOK, error)
SnapmirrorRelationshipTransferModify Aborts an ongoing SnapMirror transfer. This operation is applicable on asynchronous SnapMirror relationships.

### Related ONTAP commands * `snapmirror abort` ### Example <br/> ``` PATCH "/api/snapmirror/relationships/293baa53-e63d-11e8-bff1-005056a793dd/transfers/293baa53-e63d-11e8-bff1-005056a793dd" '{"state":"aborted"}' ``` <br/> ### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers)

func (*Client) SnapmirrorRelationshipTransfersGet

func (a *Client) SnapmirrorRelationshipTransfersGet(params *SnapmirrorRelationshipTransfersGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransfersGetOK, error)
SnapmirrorRelationshipTransfersGet Retrieves the list of ongoing SnapMirror transfers for the specified relationship.

### Related ONTAP commands * `snapmirror show` ### Example <br/> ``` GET "/api/snapmirror/relationships/293baa53-e63d-11e8-bff1-005056a793dd/transfers" ``` ### Learn more * [`DOC /snapmirror/relationships/{relationship.uuid}/transfers`](#docs-snapmirror-snapmirror_relationships_{relationship.uuid}_transfers) <br/>

func (*Client) SnapmirrorRelationshipsGet

func (a *Client) SnapmirrorRelationshipsGet(params *SnapmirrorRelationshipsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipsGetOK, error)
SnapmirrorRelationshipsGet Retrieves information for SnapMirror relationships whose destination endpoints are in the current SVM or the current cluster, depending on the cluster context.

### Related ONTAP commands * `snapmirror show` * `snapmirror list-destinations` ### Expensive properties

* `source.consistency_group_volumes.name` * `destination.consistency_group_volumes.name` ### Examples The following examples show how to retrieve the list of SnapMirror relationships and the list of SnapMirror destinations.

  1. Retrieving the list of SnapMirror relationships. This API must be run on the cluster containing the destination endpoint. <br/> ``` GET "/api/snapmirror/relationships/" ``` <br/>
  2. Retrieving the list of SnapMirror destinations on source. This must be run on the cluster containing the source endpoint. <br/> ``` GET "/api/snapmirror/relationships/?list_destinations_only=true" ``` <br/>
  3. Retrieving the relationship UUID of SnapMirror relationships with lag time greater than 2 days. This API must be run on the cluster containing the destination endpoint. <br/> ``` GET "/api/snapmirror/relationships/?fields=uuid&lag_time=>P2DT" ``` <br/>
  4. Retrieving the list of SnapMirror relationships with lag time less than 10 hours. This API must be run on the cluster containing the destination endpoint. <br/> ``` GET "/api/snapmirror/relationships/?lag_time=<PT10H" ``` <br/>

### Learn more * [`DOC /snapmirror/relationships`](#docs-snapmirror-snapmirror_relationships)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	SnapmirrorPoliciesGet(params *SnapmirrorPoliciesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPoliciesGetOK, error)

	SnapmirrorPolicyCreate(params *SnapmirrorPolicyCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyCreateAccepted, error)

	SnapmirrorPolicyDelete(params *SnapmirrorPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyDeleteAccepted, error)

	SnapmirrorPolicyGet(params *SnapmirrorPolicyGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyGetOK, error)

	SnapmirrorPolicyModify(params *SnapmirrorPolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorPolicyModifyAccepted, error)

	SnapmirrorRelationshipCreate(params *SnapmirrorRelationshipCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipCreateAccepted, error)

	SnapmirrorRelationshipDelete(params *SnapmirrorRelationshipDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipDeleteAccepted, error)

	SnapmirrorRelationshipGet(params *SnapmirrorRelationshipGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipGetOK, error)

	SnapmirrorRelationshipModify(params *SnapmirrorRelationshipModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipModifyAccepted, error)

	SnapmirrorRelationshipTransferCreate(params *SnapmirrorRelationshipTransferCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferCreateCreated, error)

	SnapmirrorRelationshipTransferGet(params *SnapmirrorRelationshipTransferGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferGetOK, error)

	SnapmirrorRelationshipTransferModify(params *SnapmirrorRelationshipTransferModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransferModifyOK, error)

	SnapmirrorRelationshipTransfersGet(params *SnapmirrorRelationshipTransfersGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipTransfersGetOK, error)

	SnapmirrorRelationshipsGet(params *SnapmirrorRelationshipsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapmirrorRelationshipsGetOK, 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 snapmirror API client.

type SnapmirrorPoliciesGetDefault

type SnapmirrorPoliciesGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorPoliciesGetDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303842 | SnapMirror policy is not supported.|

func NewSnapmirrorPoliciesGetDefault

func NewSnapmirrorPoliciesGetDefault(code int) *SnapmirrorPoliciesGetDefault

NewSnapmirrorPoliciesGetDefault creates a SnapmirrorPoliciesGetDefault with default headers values

func (*SnapmirrorPoliciesGetDefault) Code

Code gets the status code for the snapmirror policies get default response

func (*SnapmirrorPoliciesGetDefault) Error

func (*SnapmirrorPoliciesGetDefault) GetPayload

func (*SnapmirrorPoliciesGetDefault) IsClientError

func (o *SnapmirrorPoliciesGetDefault) IsClientError() bool

IsClientError returns true when this snapmirror policies get default response has a 4xx status code

func (*SnapmirrorPoliciesGetDefault) IsCode

func (o *SnapmirrorPoliciesGetDefault) IsCode(code int) bool

IsCode returns true when this snapmirror policies get default response a status code equal to that given

func (*SnapmirrorPoliciesGetDefault) IsRedirect

func (o *SnapmirrorPoliciesGetDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror policies get default response has a 3xx status code

func (*SnapmirrorPoliciesGetDefault) IsServerError

func (o *SnapmirrorPoliciesGetDefault) IsServerError() bool

IsServerError returns true when this snapmirror policies get default response has a 5xx status code

func (*SnapmirrorPoliciesGetDefault) IsSuccess

func (o *SnapmirrorPoliciesGetDefault) IsSuccess() bool

IsSuccess returns true when this snapmirror policies get default response has a 2xx status code

func (*SnapmirrorPoliciesGetDefault) String

type SnapmirrorPoliciesGetOK

type SnapmirrorPoliciesGetOK struct {
	Payload *models.SnapmirrorPolicyResponse
}

SnapmirrorPoliciesGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorPoliciesGetOK

func NewSnapmirrorPoliciesGetOK() *SnapmirrorPoliciesGetOK

NewSnapmirrorPoliciesGetOK creates a SnapmirrorPoliciesGetOK with default headers values

func (*SnapmirrorPoliciesGetOK) Error

func (o *SnapmirrorPoliciesGetOK) Error() string

func (*SnapmirrorPoliciesGetOK) GetPayload

func (*SnapmirrorPoliciesGetOK) IsClientError

func (o *SnapmirrorPoliciesGetOK) IsClientError() bool

IsClientError returns true when this snapmirror policies get o k response has a 4xx status code

func (*SnapmirrorPoliciesGetOK) IsCode

func (o *SnapmirrorPoliciesGetOK) IsCode(code int) bool

IsCode returns true when this snapmirror policies get o k response a status code equal to that given

func (*SnapmirrorPoliciesGetOK) IsRedirect

func (o *SnapmirrorPoliciesGetOK) IsRedirect() bool

IsRedirect returns true when this snapmirror policies get o k response has a 3xx status code

func (*SnapmirrorPoliciesGetOK) IsServerError

func (o *SnapmirrorPoliciesGetOK) IsServerError() bool

IsServerError returns true when this snapmirror policies get o k response has a 5xx status code

func (*SnapmirrorPoliciesGetOK) IsSuccess

func (o *SnapmirrorPoliciesGetOK) IsSuccess() bool

IsSuccess returns true when this snapmirror policies get o k response has a 2xx status code

func (*SnapmirrorPoliciesGetOK) String

func (o *SnapmirrorPoliciesGetOK) String() string

type SnapmirrorPoliciesGetParams

type SnapmirrorPoliciesGetParams struct {

	/* ArchiveAfterDays.

	   Filter by archive.after_days
	*/
	ArchiveAfterDaysQueryParameter *int64

	/* ArchiveEnabled.

	   Filter by archive.enabled
	*/
	ArchiveEnabledQueryParameter *bool

	/* Comment.

	   Filter by comment
	*/
	CommentQueryParameter *string

	/* CopyAllSourceSnapshots.

	   Filter by copy_all_source_snapshots
	*/
	CopyAllSourceSnapshotsQueryParameter *bool

	/* CopyLatestSourceSnapshot.

	   Filter by copy_latest_source_snapshot
	*/
	CopyLatestSourceSnapshotQueryParameter *bool

	/* CreateSnapshotOnSource.

	   Filter by create_snapshot_on_source
	*/
	CreateSnapshotOnSourceQueryParameter *bool

	/* Fields.

	   Specify the fields to return.
	*/
	FieldsQueryParameter []string

	/* IdentityPreservation.

	   Filter by identity_preservation
	*/
	IdentityPreservationQueryParameter *string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecordsQueryParameter *int64

	/* Name.

	   Filter by name
	*/
	NameQueryParameter *string

	/* NetworkCompressionEnabled.

	   Filter by network_compression_enabled
	*/
	NetworkCompressionEnabledQueryParameter *bool

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderByQueryParameter []string

	/* RetentionCount.

	   Filter by retention.count
	*/
	RetentionCountQueryParameter *int64

	/* RetentionCreationScheduleName.

	   Filter by retention.creation_schedule.name
	*/
	RetentionCreationScheduleNameQueryParameter *string

	/* RetentionCreationScheduleUUID.

	   Filter by retention.creation_schedule.uuid
	*/
	RetentionCreationScheduleUUIDQueryParameter *string

	/* RetentionLabel.

	   Filter by retention.label
	*/
	RetentionLabelQueryParameter *string

	/* RetentionPeriod.

	   Filter by retention.period
	*/
	RetentionPeriodQueryParameter *string

	/* RetentionPrefix.

	   Filter by retention.prefix
	*/
	RetentionPrefixQueryParameter *string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	/* Rpo.

	   Filter by rpo
	*/
	RpoQueryParameter *int64

	/* Scope.

	   Filter by scope
	*/
	ScopeQueryParameter *string

	/* SnapshotLockMode.

	   Filter by snapshot_lock_mode
	*/
	SnapshotLockModeQueryParameter *string

	/* SvmName.

	   Filter by svm.name
	*/
	SVMNameQueryParameter *string

	/* SvmUUID.

	   Filter by svm.uuid
	*/
	SVMUUIDQueryParameter *string

	/* SyncCommonSnapshotScheduleName.

	   Filter by sync_common_snapshot_schedule.name
	*/
	SyncCommonSnapshotScheduleNameQueryParameter *string

	/* SyncCommonSnapshotScheduleUUID.

	   Filter by sync_common_snapshot_schedule.uuid
	*/
	SyncCommonSnapshotScheduleUUIDQueryParameter *string

	/* SyncType.

	   Filter by sync_type
	*/
	SyncTypeQueryParameter *string

	/* Throttle.

	   Filter by throttle
	*/
	ThrottleQueryParameter *int64

	/* TransferScheduleName.

	   Filter by transfer_schedule.name
	*/
	TransferScheduleNameQueryParameter *string

	/* TransferScheduleUUID.

	   Filter by transfer_schedule.uuid
	*/
	TransferScheduleUUIDQueryParameter *string

	/* Type.

	   Filter by type
	*/
	TypeQueryParameter *string

	/* UUID.

	   Filter by uuid
	*/
	UUIDQueryParameter *string

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

SnapmirrorPoliciesGetParams contains all the parameters to send to the API endpoint

for the snapmirror policies get operation.

Typically these are written to a http.Request.

func NewSnapmirrorPoliciesGetParams

func NewSnapmirrorPoliciesGetParams() *SnapmirrorPoliciesGetParams

NewSnapmirrorPoliciesGetParams creates a new SnapmirrorPoliciesGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorPoliciesGetParamsWithContext

func NewSnapmirrorPoliciesGetParamsWithContext(ctx context.Context) *SnapmirrorPoliciesGetParams

NewSnapmirrorPoliciesGetParamsWithContext creates a new SnapmirrorPoliciesGetParams object with the ability to set a context for a request.

func NewSnapmirrorPoliciesGetParamsWithHTTPClient

func NewSnapmirrorPoliciesGetParamsWithHTTPClient(client *http.Client) *SnapmirrorPoliciesGetParams

NewSnapmirrorPoliciesGetParamsWithHTTPClient creates a new SnapmirrorPoliciesGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorPoliciesGetParamsWithTimeout

func NewSnapmirrorPoliciesGetParamsWithTimeout(timeout time.Duration) *SnapmirrorPoliciesGetParams

NewSnapmirrorPoliciesGetParamsWithTimeout creates a new SnapmirrorPoliciesGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorPoliciesGetParams) SetArchiveAfterDaysQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetArchiveAfterDaysQueryParameter(archiveAfterDays *int64)

SetArchiveAfterDaysQueryParameter adds the archiveAfterDays to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetArchiveEnabledQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetArchiveEnabledQueryParameter(archiveEnabled *bool)

SetArchiveEnabledQueryParameter adds the archiveEnabled to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetCommentQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetCommentQueryParameter(comment *string)

SetCommentQueryParameter adds the comment to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetContext

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

SetContext adds the context to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetCopyAllSourceSnapshotsQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetCopyAllSourceSnapshotsQueryParameter(copyAllSourceSnapshots *bool)

SetCopyAllSourceSnapshotsQueryParameter adds the copyAllSourceSnapshots to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetCopyLatestSourceSnapshotQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetCopyLatestSourceSnapshotQueryParameter(copyLatestSourceSnapshot *bool)

SetCopyLatestSourceSnapshotQueryParameter adds the copyLatestSourceSnapshot to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetCreateSnapshotOnSourceQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetCreateSnapshotOnSourceQueryParameter(createSnapshotOnSource *bool)

SetCreateSnapshotOnSourceQueryParameter adds the createSnapshotOnSource to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetDefaults

func (o *SnapmirrorPoliciesGetParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror policies get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPoliciesGetParams) SetFieldsQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetFieldsQueryParameter(fields []string)

SetFieldsQueryParameter adds the fields to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetIdentityPreservationQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetIdentityPreservationQueryParameter(identityPreservation *string)

SetIdentityPreservationQueryParameter adds the identityPreservation to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetMaxRecordsQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)

SetMaxRecordsQueryParameter adds the maxRecords to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetNameQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetNameQueryParameter(name *string)

SetNameQueryParameter adds the name to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetNetworkCompressionEnabledQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetNetworkCompressionEnabledQueryParameter(networkCompressionEnabled *bool)

SetNetworkCompressionEnabledQueryParameter adds the networkCompressionEnabled to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetOrderByQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetOrderByQueryParameter(orderBy []string)

SetOrderByQueryParameter adds the orderBy to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionCountQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetRetentionCountQueryParameter(retentionCount *int64)

SetRetentionCountQueryParameter adds the retentionCount to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleNameQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleNameQueryParameter(retentionCreationScheduleName *string)

SetRetentionCreationScheduleNameQueryParameter adds the retentionCreationScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleUUIDQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetRetentionCreationScheduleUUIDQueryParameter(retentionCreationScheduleUUID *string)

SetRetentionCreationScheduleUUIDQueryParameter adds the retentionCreationScheduleUuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionLabelQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetRetentionLabelQueryParameter(retentionLabel *string)

SetRetentionLabelQueryParameter adds the retentionLabel to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionPeriodQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetRetentionPeriodQueryParameter(retentionPeriod *string)

SetRetentionPeriodQueryParameter adds the retentionPeriod to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRetentionPrefixQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetRetentionPrefixQueryParameter(retentionPrefix *string)

SetRetentionPrefixQueryParameter adds the retentionPrefix to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetReturnRecordsQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)

SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetReturnTimeoutQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetRpoQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetRpoQueryParameter(rpo *int64)

SetRpoQueryParameter adds the rpo to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSVMNameQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetSVMNameQueryParameter(svmName *string)

SetSVMNameQueryParameter adds the svmName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSVMUUIDQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetSVMUUIDQueryParameter(svmUUID *string)

SetSVMUUIDQueryParameter adds the svmUuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetScopeQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetScopeQueryParameter(scope *string)

SetScopeQueryParameter adds the scope to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSnapshotLockModeQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetSnapshotLockModeQueryParameter(snapshotLockMode *string)

SetSnapshotLockModeQueryParameter adds the snapshotLockMode to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleNameQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleNameQueryParameter(syncCommonSnapshotScheduleName *string)

SetSyncCommonSnapshotScheduleNameQueryParameter adds the syncCommonSnapshotScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleUUIDQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetSyncCommonSnapshotScheduleUUIDQueryParameter(syncCommonSnapshotScheduleUUID *string)

SetSyncCommonSnapshotScheduleUUIDQueryParameter adds the syncCommonSnapshotScheduleUuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetSyncTypeQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetSyncTypeQueryParameter(syncType *string)

SetSyncTypeQueryParameter adds the syncType to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetThrottleQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetThrottleQueryParameter(throttle *int64)

SetThrottleQueryParameter adds the throttle to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetTransferScheduleNameQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleNameQueryParameter(transferScheduleName *string)

SetTransferScheduleNameQueryParameter adds the transferScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetTransferScheduleUUIDQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetTransferScheduleUUIDQueryParameter(transferScheduleUUID *string)

SetTransferScheduleUUIDQueryParameter adds the transferScheduleUuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetTypeQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetTypeQueryParameter(typeVar *string)

SetTypeQueryParameter adds the type to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) SetUUIDQueryParameter

func (o *SnapmirrorPoliciesGetParams) SetUUIDQueryParameter(uuid *string)

SetUUIDQueryParameter adds the uuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithArchiveAfterDaysQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithArchiveAfterDaysQueryParameter(archiveAfterDays *int64) *SnapmirrorPoliciesGetParams

WithArchiveAfterDaysQueryParameter adds the archiveAfterDays to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithArchiveEnabledQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithArchiveEnabledQueryParameter(archiveEnabled *bool) *SnapmirrorPoliciesGetParams

WithArchiveEnabledQueryParameter adds the archiveEnabled to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithCommentQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithCommentQueryParameter(comment *string) *SnapmirrorPoliciesGetParams

WithCommentQueryParameter adds the comment to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithContext

WithContext adds the context to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithCopyAllSourceSnapshotsQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithCopyAllSourceSnapshotsQueryParameter(copyAllSourceSnapshots *bool) *SnapmirrorPoliciesGetParams

WithCopyAllSourceSnapshotsQueryParameter adds the copyAllSourceSnapshots to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithCopyLatestSourceSnapshotQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithCopyLatestSourceSnapshotQueryParameter(copyLatestSourceSnapshot *bool) *SnapmirrorPoliciesGetParams

WithCopyLatestSourceSnapshotQueryParameter adds the copyLatestSourceSnapshot to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithCreateSnapshotOnSourceQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithCreateSnapshotOnSourceQueryParameter(createSnapshotOnSource *bool) *SnapmirrorPoliciesGetParams

WithCreateSnapshotOnSourceQueryParameter adds the createSnapshotOnSource to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror policies get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPoliciesGetParams) WithFieldsQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorPoliciesGetParams

WithFieldsQueryParameter adds the fields to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithIdentityPreservationQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithIdentityPreservationQueryParameter(identityPreservation *string) *SnapmirrorPoliciesGetParams

WithIdentityPreservationQueryParameter adds the identityPreservation to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithMaxRecordsQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnapmirrorPoliciesGetParams

WithMaxRecordsQueryParameter adds the maxRecords to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithNameQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithNameQueryParameter(name *string) *SnapmirrorPoliciesGetParams

WithNameQueryParameter adds the name to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithNetworkCompressionEnabledQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithNetworkCompressionEnabledQueryParameter(networkCompressionEnabled *bool) *SnapmirrorPoliciesGetParams

WithNetworkCompressionEnabledQueryParameter adds the networkCompressionEnabled to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithOrderByQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithOrderByQueryParameter(orderBy []string) *SnapmirrorPoliciesGetParams

WithOrderByQueryParameter adds the orderBy to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionCountQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithRetentionCountQueryParameter(retentionCount *int64) *SnapmirrorPoliciesGetParams

WithRetentionCountQueryParameter adds the retentionCount to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleNameQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleNameQueryParameter(retentionCreationScheduleName *string) *SnapmirrorPoliciesGetParams

WithRetentionCreationScheduleNameQueryParameter adds the retentionCreationScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleUUIDQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithRetentionCreationScheduleUUIDQueryParameter(retentionCreationScheduleUUID *string) *SnapmirrorPoliciesGetParams

WithRetentionCreationScheduleUUIDQueryParameter adds the retentionCreationScheduleUUID to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionLabelQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithRetentionLabelQueryParameter(retentionLabel *string) *SnapmirrorPoliciesGetParams

WithRetentionLabelQueryParameter adds the retentionLabel to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionPeriodQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithRetentionPeriodQueryParameter(retentionPeriod *string) *SnapmirrorPoliciesGetParams

WithRetentionPeriodQueryParameter adds the retentionPeriod to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRetentionPrefixQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithRetentionPrefixQueryParameter(retentionPrefix *string) *SnapmirrorPoliciesGetParams

WithRetentionPrefixQueryParameter adds the retentionPrefix to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithReturnRecordsQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorPoliciesGetParams

WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithReturnTimeoutQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPoliciesGetParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithRpoQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithRpoQueryParameter(rpo *int64) *SnapmirrorPoliciesGetParams

WithRpoQueryParameter adds the rpo to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSVMNameQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithSVMNameQueryParameter(svmName *string) *SnapmirrorPoliciesGetParams

WithSVMNameQueryParameter adds the svmName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSVMUUIDQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithSVMUUIDQueryParameter(svmUUID *string) *SnapmirrorPoliciesGetParams

WithSVMUUIDQueryParameter adds the svmUUID to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithScopeQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithScopeQueryParameter(scope *string) *SnapmirrorPoliciesGetParams

WithScopeQueryParameter adds the scope to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSnapshotLockModeQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithSnapshotLockModeQueryParameter(snapshotLockMode *string) *SnapmirrorPoliciesGetParams

WithSnapshotLockModeQueryParameter adds the snapshotLockMode to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleNameQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleNameQueryParameter(syncCommonSnapshotScheduleName *string) *SnapmirrorPoliciesGetParams

WithSyncCommonSnapshotScheduleNameQueryParameter adds the syncCommonSnapshotScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleUUIDQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithSyncCommonSnapshotScheduleUUIDQueryParameter(syncCommonSnapshotScheduleUUID *string) *SnapmirrorPoliciesGetParams

WithSyncCommonSnapshotScheduleUUIDQueryParameter adds the syncCommonSnapshotScheduleUUID to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithSyncTypeQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithSyncTypeQueryParameter(syncType *string) *SnapmirrorPoliciesGetParams

WithSyncTypeQueryParameter adds the syncType to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithThrottleQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithThrottleQueryParameter(throttle *int64) *SnapmirrorPoliciesGetParams

WithThrottleQueryParameter adds the throttle to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithTransferScheduleNameQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleNameQueryParameter(transferScheduleName *string) *SnapmirrorPoliciesGetParams

WithTransferScheduleNameQueryParameter adds the transferScheduleName to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithTransferScheduleUUIDQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithTransferScheduleUUIDQueryParameter(transferScheduleUUID *string) *SnapmirrorPoliciesGetParams

WithTransferScheduleUUIDQueryParameter adds the transferScheduleUUID to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithTypeQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithTypeQueryParameter(typeVar *string) *SnapmirrorPoliciesGetParams

WithTypeQueryParameter adds the typeVar to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WithUUIDQueryParameter

func (o *SnapmirrorPoliciesGetParams) WithUUIDQueryParameter(uuid *string) *SnapmirrorPoliciesGetParams

WithUUIDQueryParameter adds the uuid to the snapmirror policies get params

func (*SnapmirrorPoliciesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorPoliciesGetReader

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

SnapmirrorPoliciesGetReader is a Reader for the SnapmirrorPoliciesGet structure.

func (*SnapmirrorPoliciesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorPolicyCreateAccepted

type SnapmirrorPolicyCreateAccepted struct {
	Payload *models.JobLinkResponse
}

SnapmirrorPolicyCreateAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorPolicyCreateAccepted

func NewSnapmirrorPolicyCreateAccepted() *SnapmirrorPolicyCreateAccepted

NewSnapmirrorPolicyCreateAccepted creates a SnapmirrorPolicyCreateAccepted with default headers values

func (*SnapmirrorPolicyCreateAccepted) Error

func (*SnapmirrorPolicyCreateAccepted) GetPayload

func (*SnapmirrorPolicyCreateAccepted) IsClientError

func (o *SnapmirrorPolicyCreateAccepted) IsClientError() bool

IsClientError returns true when this snapmirror policy create accepted response has a 4xx status code

func (*SnapmirrorPolicyCreateAccepted) IsCode

func (o *SnapmirrorPolicyCreateAccepted) IsCode(code int) bool

IsCode returns true when this snapmirror policy create accepted response a status code equal to that given

func (*SnapmirrorPolicyCreateAccepted) IsRedirect

func (o *SnapmirrorPolicyCreateAccepted) IsRedirect() bool

IsRedirect returns true when this snapmirror policy create accepted response has a 3xx status code

func (*SnapmirrorPolicyCreateAccepted) IsServerError

func (o *SnapmirrorPolicyCreateAccepted) IsServerError() bool

IsServerError returns true when this snapmirror policy create accepted response has a 5xx status code

func (*SnapmirrorPolicyCreateAccepted) IsSuccess

func (o *SnapmirrorPolicyCreateAccepted) IsSuccess() bool

IsSuccess returns true when this snapmirror policy create accepted response has a 2xx status code

func (*SnapmirrorPolicyCreateAccepted) String

type SnapmirrorPolicyCreateDefault

type SnapmirrorPolicyCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorPolicyCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 6619714 | Schedule specified is an interval schedule. SnapMirror does not support interval schedules. | | 13303850 | Invalid input parameter| | 13303887 | Failed to create SnapMirror policy. Reason: Maximum number of allowed retention rules reached | | 13304083 | The specified property is not supported because all nodes in the cluster are not capable of supporting this property. | | 13304084 | Properties specified are mutually exclusive. Provide only one property. | | 13304085 | The specified property does not support the specified value. |

func NewSnapmirrorPolicyCreateDefault

func NewSnapmirrorPolicyCreateDefault(code int) *SnapmirrorPolicyCreateDefault

NewSnapmirrorPolicyCreateDefault creates a SnapmirrorPolicyCreateDefault with default headers values

func (*SnapmirrorPolicyCreateDefault) Code

Code gets the status code for the snapmirror policy create default response

func (*SnapmirrorPolicyCreateDefault) Error

func (*SnapmirrorPolicyCreateDefault) GetPayload

func (*SnapmirrorPolicyCreateDefault) IsClientError

func (o *SnapmirrorPolicyCreateDefault) IsClientError() bool

IsClientError returns true when this snapmirror policy create default response has a 4xx status code

func (*SnapmirrorPolicyCreateDefault) IsCode

func (o *SnapmirrorPolicyCreateDefault) IsCode(code int) bool

IsCode returns true when this snapmirror policy create default response a status code equal to that given

func (*SnapmirrorPolicyCreateDefault) IsRedirect

func (o *SnapmirrorPolicyCreateDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror policy create default response has a 3xx status code

func (*SnapmirrorPolicyCreateDefault) IsServerError

func (o *SnapmirrorPolicyCreateDefault) IsServerError() bool

IsServerError returns true when this snapmirror policy create default response has a 5xx status code

func (*SnapmirrorPolicyCreateDefault) IsSuccess

func (o *SnapmirrorPolicyCreateDefault) IsSuccess() bool

IsSuccess returns true when this snapmirror policy create default response has a 2xx status code

func (*SnapmirrorPolicyCreateDefault) String

type SnapmirrorPolicyCreateParams

type SnapmirrorPolicyCreateParams struct {

	/* Info.

	   Information on the SnapMirror policy
	*/
	Info *models.SnapmirrorPolicy

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeoutQueryParameter *int64

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

SnapmirrorPolicyCreateParams contains all the parameters to send to the API endpoint

for the snapmirror policy create operation.

Typically these are written to a http.Request.

func NewSnapmirrorPolicyCreateParams

func NewSnapmirrorPolicyCreateParams() *SnapmirrorPolicyCreateParams

NewSnapmirrorPolicyCreateParams creates a new SnapmirrorPolicyCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorPolicyCreateParamsWithContext

func NewSnapmirrorPolicyCreateParamsWithContext(ctx context.Context) *SnapmirrorPolicyCreateParams

NewSnapmirrorPolicyCreateParamsWithContext creates a new SnapmirrorPolicyCreateParams object with the ability to set a context for a request.

func NewSnapmirrorPolicyCreateParamsWithHTTPClient

func NewSnapmirrorPolicyCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyCreateParams

NewSnapmirrorPolicyCreateParamsWithHTTPClient creates a new SnapmirrorPolicyCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorPolicyCreateParamsWithTimeout

func NewSnapmirrorPolicyCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyCreateParams

NewSnapmirrorPolicyCreateParamsWithTimeout creates a new SnapmirrorPolicyCreateParams object with the ability to set a timeout on a request.

func (*SnapmirrorPolicyCreateParams) SetContext

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

SetContext adds the context to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) SetDefaults

func (o *SnapmirrorPolicyCreateParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror policy create params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) SetInfo

SetInfo adds the info to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) SetReturnRecordsQueryParameter

func (o *SnapmirrorPolicyCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)

SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) SetReturnTimeoutQueryParameter

func (o *SnapmirrorPolicyCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithContext

WithContext adds the context to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithDefaults

WithDefaults hydrates default values in the snapmirror policy create params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithInfo

WithInfo adds the info to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithReturnRecordsQueryParameter

func (o *SnapmirrorPolicyCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorPolicyCreateParams

WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithReturnTimeoutQueryParameter

func (o *SnapmirrorPolicyCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPolicyCreateParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WithTimeout

WithTimeout adds the timeout to the snapmirror policy create params

func (*SnapmirrorPolicyCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorPolicyCreateReader

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

SnapmirrorPolicyCreateReader is a Reader for the SnapmirrorPolicyCreate structure.

func (*SnapmirrorPolicyCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorPolicyDeleteAccepted

type SnapmirrorPolicyDeleteAccepted struct {
	Payload *models.JobLinkResponse
}

SnapmirrorPolicyDeleteAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorPolicyDeleteAccepted

func NewSnapmirrorPolicyDeleteAccepted() *SnapmirrorPolicyDeleteAccepted

NewSnapmirrorPolicyDeleteAccepted creates a SnapmirrorPolicyDeleteAccepted with default headers values

func (*SnapmirrorPolicyDeleteAccepted) Error

func (*SnapmirrorPolicyDeleteAccepted) GetPayload

func (*SnapmirrorPolicyDeleteAccepted) IsClientError

func (o *SnapmirrorPolicyDeleteAccepted) IsClientError() bool

IsClientError returns true when this snapmirror policy delete accepted response has a 4xx status code

func (*SnapmirrorPolicyDeleteAccepted) IsCode

func (o *SnapmirrorPolicyDeleteAccepted) IsCode(code int) bool

IsCode returns true when this snapmirror policy delete accepted response a status code equal to that given

func (*SnapmirrorPolicyDeleteAccepted) IsRedirect

func (o *SnapmirrorPolicyDeleteAccepted) IsRedirect() bool

IsRedirect returns true when this snapmirror policy delete accepted response has a 3xx status code

func (*SnapmirrorPolicyDeleteAccepted) IsServerError

func (o *SnapmirrorPolicyDeleteAccepted) IsServerError() bool

IsServerError returns true when this snapmirror policy delete accepted response has a 5xx status code

func (*SnapmirrorPolicyDeleteAccepted) IsSuccess

func (o *SnapmirrorPolicyDeleteAccepted) IsSuccess() bool

IsSuccess returns true when this snapmirror policy delete accepted response has a 2xx status code

func (*SnapmirrorPolicyDeleteAccepted) String

type SnapmirrorPolicyDeleteDefault

type SnapmirrorPolicyDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

SnapmirrorPolicyDeleteDefault describes a response with status code -1, with default header values.

Error

func NewSnapmirrorPolicyDeleteDefault

func NewSnapmirrorPolicyDeleteDefault(code int) *SnapmirrorPolicyDeleteDefault

NewSnapmirrorPolicyDeleteDefault creates a SnapmirrorPolicyDeleteDefault with default headers values

func (*SnapmirrorPolicyDeleteDefault) Code

Code gets the status code for the snapmirror policy delete default response

func (*SnapmirrorPolicyDeleteDefault) Error

func (*SnapmirrorPolicyDeleteDefault) GetPayload

func (*SnapmirrorPolicyDeleteDefault) IsClientError

func (o *SnapmirrorPolicyDeleteDefault) IsClientError() bool

IsClientError returns true when this snapmirror policy delete default response has a 4xx status code

func (*SnapmirrorPolicyDeleteDefault) IsCode

func (o *SnapmirrorPolicyDeleteDefault) IsCode(code int) bool

IsCode returns true when this snapmirror policy delete default response a status code equal to that given

func (*SnapmirrorPolicyDeleteDefault) IsRedirect

func (o *SnapmirrorPolicyDeleteDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror policy delete default response has a 3xx status code

func (*SnapmirrorPolicyDeleteDefault) IsServerError

func (o *SnapmirrorPolicyDeleteDefault) IsServerError() bool

IsServerError returns true when this snapmirror policy delete default response has a 5xx status code

func (*SnapmirrorPolicyDeleteDefault) IsSuccess

func (o *SnapmirrorPolicyDeleteDefault) IsSuccess() bool

IsSuccess returns true when this snapmirror policy delete default response has a 2xx status code

func (*SnapmirrorPolicyDeleteDefault) String

type SnapmirrorPolicyDeleteParams

type SnapmirrorPolicyDeleteParams struct {

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeoutQueryParameter *int64

	/* UUID.

	   Policy UUID
	*/
	UUIDPathParameter string

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

SnapmirrorPolicyDeleteParams contains all the parameters to send to the API endpoint

for the snapmirror policy delete operation.

Typically these are written to a http.Request.

func NewSnapmirrorPolicyDeleteParams

func NewSnapmirrorPolicyDeleteParams() *SnapmirrorPolicyDeleteParams

NewSnapmirrorPolicyDeleteParams creates a new SnapmirrorPolicyDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorPolicyDeleteParamsWithContext

func NewSnapmirrorPolicyDeleteParamsWithContext(ctx context.Context) *SnapmirrorPolicyDeleteParams

NewSnapmirrorPolicyDeleteParamsWithContext creates a new SnapmirrorPolicyDeleteParams object with the ability to set a context for a request.

func NewSnapmirrorPolicyDeleteParamsWithHTTPClient

func NewSnapmirrorPolicyDeleteParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyDeleteParams

NewSnapmirrorPolicyDeleteParamsWithHTTPClient creates a new SnapmirrorPolicyDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorPolicyDeleteParamsWithTimeout

func NewSnapmirrorPolicyDeleteParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyDeleteParams

NewSnapmirrorPolicyDeleteParamsWithTimeout creates a new SnapmirrorPolicyDeleteParams object with the ability to set a timeout on a request.

func (*SnapmirrorPolicyDeleteParams) SetContext

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

SetContext adds the context to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) SetDefaults

func (o *SnapmirrorPolicyDeleteParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror policy delete params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) SetReturnTimeoutQueryParameter

func (o *SnapmirrorPolicyDeleteParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) SetUUIDPathParameter

func (o *SnapmirrorPolicyDeleteParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WithContext

WithContext adds the context to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WithDefaults

WithDefaults hydrates default values in the snapmirror policy delete params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WithReturnTimeoutQueryParameter

func (o *SnapmirrorPolicyDeleteParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPolicyDeleteParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WithTimeout

WithTimeout adds the timeout to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WithUUIDPathParameter

func (o *SnapmirrorPolicyDeleteParams) WithUUIDPathParameter(uuid string) *SnapmirrorPolicyDeleteParams

WithUUIDPathParameter adds the uuid to the snapmirror policy delete params

func (*SnapmirrorPolicyDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorPolicyDeleteReader

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

SnapmirrorPolicyDeleteReader is a Reader for the SnapmirrorPolicyDelete structure.

func (*SnapmirrorPolicyDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorPolicyGetDefault

type SnapmirrorPolicyGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorPolicyGetDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303842 | SnapMirror policy is not supported.|

func NewSnapmirrorPolicyGetDefault

func NewSnapmirrorPolicyGetDefault(code int) *SnapmirrorPolicyGetDefault

NewSnapmirrorPolicyGetDefault creates a SnapmirrorPolicyGetDefault with default headers values

func (*SnapmirrorPolicyGetDefault) Code

func (o *SnapmirrorPolicyGetDefault) Code() int

Code gets the status code for the snapmirror policy get default response

func (*SnapmirrorPolicyGetDefault) Error

func (*SnapmirrorPolicyGetDefault) GetPayload

func (*SnapmirrorPolicyGetDefault) IsClientError

func (o *SnapmirrorPolicyGetDefault) IsClientError() bool

IsClientError returns true when this snapmirror policy get default response has a 4xx status code

func (*SnapmirrorPolicyGetDefault) IsCode

func (o *SnapmirrorPolicyGetDefault) IsCode(code int) bool

IsCode returns true when this snapmirror policy get default response a status code equal to that given

func (*SnapmirrorPolicyGetDefault) IsRedirect

func (o *SnapmirrorPolicyGetDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror policy get default response has a 3xx status code

func (*SnapmirrorPolicyGetDefault) IsServerError

func (o *SnapmirrorPolicyGetDefault) IsServerError() bool

IsServerError returns true when this snapmirror policy get default response has a 5xx status code

func (*SnapmirrorPolicyGetDefault) IsSuccess

func (o *SnapmirrorPolicyGetDefault) IsSuccess() bool

IsSuccess returns true when this snapmirror policy get default response has a 2xx status code

func (*SnapmirrorPolicyGetDefault) String

func (o *SnapmirrorPolicyGetDefault) String() string

type SnapmirrorPolicyGetOK

type SnapmirrorPolicyGetOK struct {
	Payload *models.SnapmirrorPolicy
}

SnapmirrorPolicyGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorPolicyGetOK

func NewSnapmirrorPolicyGetOK() *SnapmirrorPolicyGetOK

NewSnapmirrorPolicyGetOK creates a SnapmirrorPolicyGetOK with default headers values

func (*SnapmirrorPolicyGetOK) Error

func (o *SnapmirrorPolicyGetOK) Error() string

func (*SnapmirrorPolicyGetOK) GetPayload

func (*SnapmirrorPolicyGetOK) IsClientError

func (o *SnapmirrorPolicyGetOK) IsClientError() bool

IsClientError returns true when this snapmirror policy get o k response has a 4xx status code

func (*SnapmirrorPolicyGetOK) IsCode

func (o *SnapmirrorPolicyGetOK) IsCode(code int) bool

IsCode returns true when this snapmirror policy get o k response a status code equal to that given

func (*SnapmirrorPolicyGetOK) IsRedirect

func (o *SnapmirrorPolicyGetOK) IsRedirect() bool

IsRedirect returns true when this snapmirror policy get o k response has a 3xx status code

func (*SnapmirrorPolicyGetOK) IsServerError

func (o *SnapmirrorPolicyGetOK) IsServerError() bool

IsServerError returns true when this snapmirror policy get o k response has a 5xx status code

func (*SnapmirrorPolicyGetOK) IsSuccess

func (o *SnapmirrorPolicyGetOK) IsSuccess() bool

IsSuccess returns true when this snapmirror policy get o k response has a 2xx status code

func (*SnapmirrorPolicyGetOK) String

func (o *SnapmirrorPolicyGetOK) String() string

type SnapmirrorPolicyGetParams

type SnapmirrorPolicyGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	FieldsQueryParameter []string

	/* UUID.

	   Policy UUID
	*/
	UUIDPathParameter string

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

SnapmirrorPolicyGetParams contains all the parameters to send to the API endpoint

for the snapmirror policy get operation.

Typically these are written to a http.Request.

func NewSnapmirrorPolicyGetParams

func NewSnapmirrorPolicyGetParams() *SnapmirrorPolicyGetParams

NewSnapmirrorPolicyGetParams creates a new SnapmirrorPolicyGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorPolicyGetParamsWithContext

func NewSnapmirrorPolicyGetParamsWithContext(ctx context.Context) *SnapmirrorPolicyGetParams

NewSnapmirrorPolicyGetParamsWithContext creates a new SnapmirrorPolicyGetParams object with the ability to set a context for a request.

func NewSnapmirrorPolicyGetParamsWithHTTPClient

func NewSnapmirrorPolicyGetParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyGetParams

NewSnapmirrorPolicyGetParamsWithHTTPClient creates a new SnapmirrorPolicyGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorPolicyGetParamsWithTimeout

func NewSnapmirrorPolicyGetParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyGetParams

NewSnapmirrorPolicyGetParamsWithTimeout creates a new SnapmirrorPolicyGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorPolicyGetParams) SetContext

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

SetContext adds the context to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) SetDefaults

func (o *SnapmirrorPolicyGetParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror policy get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyGetParams) SetFieldsQueryParameter

func (o *SnapmirrorPolicyGetParams) SetFieldsQueryParameter(fields []string)

SetFieldsQueryParameter adds the fields to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) SetUUIDPathParameter

func (o *SnapmirrorPolicyGetParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WithContext

WithContext adds the context to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror policy get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyGetParams) WithFieldsQueryParameter

func (o *SnapmirrorPolicyGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorPolicyGetParams

WithFieldsQueryParameter adds the fields to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WithUUIDPathParameter

func (o *SnapmirrorPolicyGetParams) WithUUIDPathParameter(uuid string) *SnapmirrorPolicyGetParams

WithUUIDPathParameter adds the uuid to the snapmirror policy get params

func (*SnapmirrorPolicyGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorPolicyGetReader

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

SnapmirrorPolicyGetReader is a Reader for the SnapmirrorPolicyGet structure.

func (*SnapmirrorPolicyGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorPolicyModifyAccepted

type SnapmirrorPolicyModifyAccepted struct {
	Payload *models.JobLinkResponse
}

SnapmirrorPolicyModifyAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorPolicyModifyAccepted

func NewSnapmirrorPolicyModifyAccepted() *SnapmirrorPolicyModifyAccepted

NewSnapmirrorPolicyModifyAccepted creates a SnapmirrorPolicyModifyAccepted with default headers values

func (*SnapmirrorPolicyModifyAccepted) Error

func (*SnapmirrorPolicyModifyAccepted) GetPayload

func (*SnapmirrorPolicyModifyAccepted) IsClientError

func (o *SnapmirrorPolicyModifyAccepted) IsClientError() bool

IsClientError returns true when this snapmirror policy modify accepted response has a 4xx status code

func (*SnapmirrorPolicyModifyAccepted) IsCode

func (o *SnapmirrorPolicyModifyAccepted) IsCode(code int) bool

IsCode returns true when this snapmirror policy modify accepted response a status code equal to that given

func (*SnapmirrorPolicyModifyAccepted) IsRedirect

func (o *SnapmirrorPolicyModifyAccepted) IsRedirect() bool

IsRedirect returns true when this snapmirror policy modify accepted response has a 3xx status code

func (*SnapmirrorPolicyModifyAccepted) IsServerError

func (o *SnapmirrorPolicyModifyAccepted) IsServerError() bool

IsServerError returns true when this snapmirror policy modify accepted response has a 5xx status code

func (*SnapmirrorPolicyModifyAccepted) IsSuccess

func (o *SnapmirrorPolicyModifyAccepted) IsSuccess() bool

IsSuccess returns true when this snapmirror policy modify accepted response has a 2xx status code

func (*SnapmirrorPolicyModifyAccepted) String

type SnapmirrorPolicyModifyDefault

type SnapmirrorPolicyModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorPolicyModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 6619714 | Schedule specified is an interval schedule. SnapMirror does not support interval schedules. | | 13303842 | SnapMirror policy is not supported.| | 13303843 | Conflicting values between SnapMirror policy and SnapMirror relationships for either 'transfer_schedule, throttle or identity_preservation' properties | | 13303850 | Invalid input parameter | | 13303887 | Failed to create SnapMirror policy. Reason: Maximum number of allowed retention rules reached | | 13304050 | Retention cannot be empty for a SnapMirror policy with 'create_snapshot_on_source' set to false. |

func NewSnapmirrorPolicyModifyDefault

func NewSnapmirrorPolicyModifyDefault(code int) *SnapmirrorPolicyModifyDefault

NewSnapmirrorPolicyModifyDefault creates a SnapmirrorPolicyModifyDefault with default headers values

func (*SnapmirrorPolicyModifyDefault) Code

Code gets the status code for the snapmirror policy modify default response

func (*SnapmirrorPolicyModifyDefault) Error

func (*SnapmirrorPolicyModifyDefault) GetPayload

func (*SnapmirrorPolicyModifyDefault) IsClientError

func (o *SnapmirrorPolicyModifyDefault) IsClientError() bool

IsClientError returns true when this snapmirror policy modify default response has a 4xx status code

func (*SnapmirrorPolicyModifyDefault) IsCode

func (o *SnapmirrorPolicyModifyDefault) IsCode(code int) bool

IsCode returns true when this snapmirror policy modify default response a status code equal to that given

func (*SnapmirrorPolicyModifyDefault) IsRedirect

func (o *SnapmirrorPolicyModifyDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror policy modify default response has a 3xx status code

func (*SnapmirrorPolicyModifyDefault) IsServerError

func (o *SnapmirrorPolicyModifyDefault) IsServerError() bool

IsServerError returns true when this snapmirror policy modify default response has a 5xx status code

func (*SnapmirrorPolicyModifyDefault) IsSuccess

func (o *SnapmirrorPolicyModifyDefault) IsSuccess() bool

IsSuccess returns true when this snapmirror policy modify default response has a 2xx status code

func (*SnapmirrorPolicyModifyDefault) String

type SnapmirrorPolicyModifyParams

type SnapmirrorPolicyModifyParams struct {

	/* Info.

	   Information on the SnapMirror policy
	*/
	Info *models.SnapmirrorPolicy

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeoutQueryParameter *int64

	/* UUID.

	   Policy UUID
	*/
	UUIDPathParameter string

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

SnapmirrorPolicyModifyParams contains all the parameters to send to the API endpoint

for the snapmirror policy modify operation.

Typically these are written to a http.Request.

func NewSnapmirrorPolicyModifyParams

func NewSnapmirrorPolicyModifyParams() *SnapmirrorPolicyModifyParams

NewSnapmirrorPolicyModifyParams creates a new SnapmirrorPolicyModifyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorPolicyModifyParamsWithContext

func NewSnapmirrorPolicyModifyParamsWithContext(ctx context.Context) *SnapmirrorPolicyModifyParams

NewSnapmirrorPolicyModifyParamsWithContext creates a new SnapmirrorPolicyModifyParams object with the ability to set a context for a request.

func NewSnapmirrorPolicyModifyParamsWithHTTPClient

func NewSnapmirrorPolicyModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorPolicyModifyParams

NewSnapmirrorPolicyModifyParamsWithHTTPClient creates a new SnapmirrorPolicyModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorPolicyModifyParamsWithTimeout

func NewSnapmirrorPolicyModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorPolicyModifyParams

NewSnapmirrorPolicyModifyParamsWithTimeout creates a new SnapmirrorPolicyModifyParams object with the ability to set a timeout on a request.

func (*SnapmirrorPolicyModifyParams) SetContext

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

SetContext adds the context to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) SetDefaults

func (o *SnapmirrorPolicyModifyParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror policy modify params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) SetInfo

SetInfo adds the info to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) SetReturnTimeoutQueryParameter

func (o *SnapmirrorPolicyModifyParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) SetUUIDPathParameter

func (o *SnapmirrorPolicyModifyParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithContext

WithContext adds the context to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithDefaults

WithDefaults hydrates default values in the snapmirror policy modify params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorPolicyModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithInfo

WithInfo adds the info to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithReturnTimeoutQueryParameter

func (o *SnapmirrorPolicyModifyParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorPolicyModifyParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithTimeout

WithTimeout adds the timeout to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WithUUIDPathParameter

func (o *SnapmirrorPolicyModifyParams) WithUUIDPathParameter(uuid string) *SnapmirrorPolicyModifyParams

WithUUIDPathParameter adds the uuid to the snapmirror policy modify params

func (*SnapmirrorPolicyModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorPolicyModifyReader

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

SnapmirrorPolicyModifyReader is a Reader for the SnapmirrorPolicyModify structure.

func (*SnapmirrorPolicyModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipCreateAccepted

type SnapmirrorRelationshipCreateAccepted struct {
	Payload *models.JobLinkResponse
}

SnapmirrorRelationshipCreateAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorRelationshipCreateAccepted

func NewSnapmirrorRelationshipCreateAccepted() *SnapmirrorRelationshipCreateAccepted

NewSnapmirrorRelationshipCreateAccepted creates a SnapmirrorRelationshipCreateAccepted with default headers values

func (*SnapmirrorRelationshipCreateAccepted) Error

func (*SnapmirrorRelationshipCreateAccepted) GetPayload

func (*SnapmirrorRelationshipCreateAccepted) IsClientError

func (o *SnapmirrorRelationshipCreateAccepted) IsClientError() bool

IsClientError returns true when this snapmirror relationship create accepted response has a 4xx status code

func (*SnapmirrorRelationshipCreateAccepted) IsCode

IsCode returns true when this snapmirror relationship create accepted response a status code equal to that given

func (*SnapmirrorRelationshipCreateAccepted) IsRedirect

IsRedirect returns true when this snapmirror relationship create accepted response has a 3xx status code

func (*SnapmirrorRelationshipCreateAccepted) IsServerError

func (o *SnapmirrorRelationshipCreateAccepted) IsServerError() bool

IsServerError returns true when this snapmirror relationship create accepted response has a 5xx status code

func (*SnapmirrorRelationshipCreateAccepted) IsSuccess

IsSuccess returns true when this snapmirror relationship create accepted response has a 2xx status code

func (*SnapmirrorRelationshipCreateAccepted) String

type SnapmirrorRelationshipCreateDefault

type SnapmirrorRelationshipCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorRelationshipCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response Codes

| Error Code | Description | | ---------- | ----------- | | 1115545 | Access token has an invalid signature. | | 1115546 | Access token expired at a time. | | 1115547 | Access token not valid until a time. | | 1115548 | Access token is malformed. | | 1115549 | Internal error. Failed to validate access token. | | 6619637 | Relationship with specified destination volume already exists. | | 6620374 | Internal error. Failed to get SVM information. | | 6620478 | Internal error. Failed to check SnapMirror capability. | | 6621834 | Object store configuration does not exist for specified vserver. | | 13303819 | Could not retrieve SnapMirror policy information. | | 13303821 | Invalid SnapMirror policy UUID. | | 13303841 | This operation is not supported for SnapMirror relationships between these endpoints. | | 13303852 | destination.path provided does not contain \\\":\\\". | | 13303853 | Restore relationships are not supported for SVM-DR endpoints. | | 13303868 | Create of destination endpoint and SnapMirror relationship failed. | | 13303869 | Creating a destination endpoint is not supported for restore relationships. | | 13303870 | A tiering policy cannot be specified if tiering is not being set to supported. | | 13303871 | Storage service properties cannot be specified if the storage service is not being enabled. | | 13303872 | Specified property requires a later effective cluster version. | | 13303873 | Specifying a state when creating a relationship is only supported when creating a destination endpoint. | | 13303874 | Specified state is not supported when creating this relationship. | | 13303875 | Destination aggregates do not have sufficient space for hosting copies of source volumes. | | 13303876 | Destination cluster does not have composite aggregates. | | 13303877 | Source or destination cluster must be specified. | | 13303878 | The specified fields do not match. | | 13303879 | Source cluster name or UUID is needed to provision a destination SVM on the local cluster. | | 13303880 | Source cluster must be remote for provisioning a destination SVM on the local cluster. | | 13303881 | Network validation failed. | | 13303882 | SVM validation failed. | | 13303883 | Encryption is not enabled on the destination cluster. | | 13303887 | Synchronous SnapMirror relationships between FlexGroup volumes are not supported. | | 13303888 | Synchronous SnapMirror relationships require an effective cluster version of 9.5 or later on both the source and destination clusters. | | 13303889 | Asynchronous SnapMirror relationships between FlexGroup volumes require an effective cluster version of 9.5 or later on both the source and destination clusters. | | 13303890 | Asynchronous SnapMirror relationships between FlexVol volumes require an effective cluster version of 9.3, 9.5, or later on both the source and destination clusters. | | 13303891 | Creating a destination endpoint with storage service requires an effective cluster version of 9.7 or later. | | 13303892 | Fetching remote information from the destination cluster failed. | | 13303893 | Updating job description failed. | | 13303894 | Destination volume name is invalid. It must contain the source volume name and have a suffix when creating a destination endpoint on a cluster with an effective cluster version of 9.6 or earlier. | | 13303895 | Operation on the remote destination cluster is not supported. | | 13303897 | Specifying transfer_schedule is only supported for an asynchronous SnapMirror relationship with a remote destination cluster that has an effective cluster version of 9.6 or earlier. | | 13303916 | FlexGroup volumes are not supported on SnapLock aggregates. | | 13303918 | No suitable destination aggregate type is available. | | 13303919 | Only FabricPool enabled aggregates are available on the destination. | | 13303920 | Only SnapLock aggregates are available on the destination. FlexGroup volumes are not supported on SnapLock aggregates. | | 13303921 | Unable to retrieve the SnapMirror capabilities of the destination cluster. | | 13303922 | Specified source SVM is not a data SVM. | | 13303923 | Specified destination SVM is not a data SVM. | | 13303924 | Source SVM has an invalid Snapshot copy policy. | | 13303925 | SnapMirror validation has failed. | | 13303930 | The specified tiering policy is not supported for destination volumes of Synchronous relationships. | | 13303938 | Fetching information from the local cluster failed. | | 13303939 | Could not create an SVM peer relationship. | | 13303944 | An SVM-DR relationship is not supported because the source SVM has CIFS configured and the associated SnapMirror policy has either the "identity_preservation" property not set or set to "exclude_network_and_protocol_config". | | 13303945 | Schedule specified cannot be associated with the relationship because the policy used for the relationship has a schedule. | | 13303953 | SnapMirror relationships between FlexGroup volumes and object store endpoints are not supported. | | 13303957 | Restore to the specified destination endpoint is not supported. | | 13303958 | The \\\"source.uuid\\\" property must be specified. | | 13303959 | The \\\"source.uuid\\\" property can only be specified when using the \\\"restore\\\" property to create a SnapMirror relationship from an object store endpoint. | | 13303960 | The \\\"destination.uuid\\\" property cannot be specified for these endpoints. | | 13303961 | Creating a destination endpoint is not supported with the \\\"source.uuid\\\" property. | | 13303962 | Creating a destination endpoint is not supported with the \\\"destination.uuid\\\" property. | | 13303964 | Specified property is not supported for object store relationships. | | 13303965 | Specified endpoint not found. | | 13303966 | Consistency Group relationships require a policy of type \"sync\" with a sync_type of \"automated_failover\". | | 13303967 | Consistency Group volume is not a FlexVol volume. | | 13303968 | Unsupported volume type for the Consistency Group. | | 13303969 | SnapMirror relationships between SVM endpoints and object store endpoints are not supported. | | 13303970 | Unsupported policy type for the Consistency Group. | | 13303971 | SnapMirror relationships between Consistency Group endpoints and object store endpoints are not supported. | | 13303976 | Source or destination SVM is already part of an SVM-DR relation. | | 13303977 | Destination Consistency Group volume UUIDs are not expected while provisioning the destination volumes. | | 13303978 | Number of Consistency Group volume names and UUIDs does not match. | | 13303979 | Number of Consistency Group volumes exceeds the allowed limit. | | 13303980 | Number of source and destination Consistency Group volumes do not match. | | 13303981 | ISCSI or FCP protocol is not configured. | | 13303982 | SAN data interface is not configured on the SVM. | | 13304021 | No suitable storage can be found meeting the specified requirements. No FabricPool enabled aggregates are available on the destination. | | 13304022 | No suitable storage can be found meeting the specified requirements. No non-root, non-taken-over, non-SnapLock, non-composite aggregates are available on the destination. | | 13304026 | API license token is required for this operation. | | 13304027 | Invalid API license token specified. | | 13304032 | In an "All SAN Array", an SVM-DR relationship is not supported when the associated SnapMirror policy does not have the "identity_preservation" property set to "exclude_network_and_protocol_config". | | 13304034 | SnapMirror Cloud license must be installed to use this feature. | | 13304035 | SnapMirror Cloud license capacity limit has been exceeded. | | 13304036 | SnapmMirror Cloud license term has expired. | | 13304038 | SnapMirror Cloud License capacity limit would be exceeded with this SnapMirror operation. | | 13304042 | The specified destination or source cluster for relationships with an object store destination must be local. | | 13304043 | The property must be specified for a restore from an object store endpoint. | | 13304044 | File restore from object store endpoints is not supported for relationship restore. | | 13304045 | Incremental restore from an object store endpoint is not supported. | | 13304077 | Specified property is only supported for creating a destination endpoint for FabricLink SnapMirror relationships.</private> | | 13304080 | Specified UUID and name do not match. | | 13304082 | Specified properties are mutually exclusive. | | 13304083 | The specified property is not supported because all nodes in the cluster are not capable of supporting the property.<private> |

func NewSnapmirrorRelationshipCreateDefault

func NewSnapmirrorRelationshipCreateDefault(code int) *SnapmirrorRelationshipCreateDefault

NewSnapmirrorRelationshipCreateDefault creates a SnapmirrorRelationshipCreateDefault with default headers values

func (*SnapmirrorRelationshipCreateDefault) Code

Code gets the status code for the snapmirror relationship create default response

func (*SnapmirrorRelationshipCreateDefault) Error

func (*SnapmirrorRelationshipCreateDefault) GetPayload

func (*SnapmirrorRelationshipCreateDefault) IsClientError

func (o *SnapmirrorRelationshipCreateDefault) IsClientError() bool

IsClientError returns true when this snapmirror relationship create default response has a 4xx status code

func (*SnapmirrorRelationshipCreateDefault) IsCode

IsCode returns true when this snapmirror relationship create default response a status code equal to that given

func (*SnapmirrorRelationshipCreateDefault) IsRedirect

func (o *SnapmirrorRelationshipCreateDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror relationship create default response has a 3xx status code

func (*SnapmirrorRelationshipCreateDefault) IsServerError

func (o *SnapmirrorRelationshipCreateDefault) IsServerError() bool

IsServerError returns true when this snapmirror relationship create default response has a 5xx status code

func (*SnapmirrorRelationshipCreateDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship create default response has a 2xx status code

func (*SnapmirrorRelationshipCreateDefault) String

type SnapmirrorRelationshipCreateParams

type SnapmirrorRelationshipCreateParams struct {

	/* Info.

	   Information on the SnapMirror relationship
	*/
	Info *models.SnapmirrorRelationship

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeoutQueryParameter *int64

	/* ValidateOnly.

	   Validate the operation and its parameters, without actually performing the operation.
	*/
	ValidateOnlyQueryParameter *bool

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

SnapmirrorRelationshipCreateParams contains all the parameters to send to the API endpoint

for the snapmirror relationship create operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipCreateParams

func NewSnapmirrorRelationshipCreateParams() *SnapmirrorRelationshipCreateParams

NewSnapmirrorRelationshipCreateParams creates a new SnapmirrorRelationshipCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipCreateParamsWithContext

func NewSnapmirrorRelationshipCreateParamsWithContext(ctx context.Context) *SnapmirrorRelationshipCreateParams

NewSnapmirrorRelationshipCreateParamsWithContext creates a new SnapmirrorRelationshipCreateParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipCreateParamsWithHTTPClient

func NewSnapmirrorRelationshipCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipCreateParams

NewSnapmirrorRelationshipCreateParamsWithHTTPClient creates a new SnapmirrorRelationshipCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipCreateParamsWithTimeout

func NewSnapmirrorRelationshipCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipCreateParams

NewSnapmirrorRelationshipCreateParamsWithTimeout creates a new SnapmirrorRelationshipCreateParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipCreateParams) SetContext

SetContext adds the context to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) SetDefaults

func (o *SnapmirrorRelationshipCreateParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationship create params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) SetInfo

SetInfo adds the info to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) SetReturnRecordsQueryParameter

func (o *SnapmirrorRelationshipCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)

SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) SetReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) SetValidateOnlyQueryParameter

func (o *SnapmirrorRelationshipCreateParams) SetValidateOnlyQueryParameter(validateOnly *bool)

SetValidateOnlyQueryParameter adds the validateOnly to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithContext

WithContext adds the context to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship create params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithInfo

WithInfo adds the info to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithReturnRecordsQueryParameter

func (o *SnapmirrorRelationshipCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipCreateParams

WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipCreateParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WithValidateOnlyQueryParameter

func (o *SnapmirrorRelationshipCreateParams) WithValidateOnlyQueryParameter(validateOnly *bool) *SnapmirrorRelationshipCreateParams

WithValidateOnlyQueryParameter adds the validateOnly to the snapmirror relationship create params

func (*SnapmirrorRelationshipCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipCreateReader

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

SnapmirrorRelationshipCreateReader is a Reader for the SnapmirrorRelationshipCreate structure.

func (*SnapmirrorRelationshipCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipDeleteAccepted

type SnapmirrorRelationshipDeleteAccepted struct {
	Payload *models.JobLinkResponse
}

SnapmirrorRelationshipDeleteAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorRelationshipDeleteAccepted

func NewSnapmirrorRelationshipDeleteAccepted() *SnapmirrorRelationshipDeleteAccepted

NewSnapmirrorRelationshipDeleteAccepted creates a SnapmirrorRelationshipDeleteAccepted with default headers values

func (*SnapmirrorRelationshipDeleteAccepted) Error

func (*SnapmirrorRelationshipDeleteAccepted) GetPayload

func (*SnapmirrorRelationshipDeleteAccepted) IsClientError

func (o *SnapmirrorRelationshipDeleteAccepted) IsClientError() bool

IsClientError returns true when this snapmirror relationship delete accepted response has a 4xx status code

func (*SnapmirrorRelationshipDeleteAccepted) IsCode

IsCode returns true when this snapmirror relationship delete accepted response a status code equal to that given

func (*SnapmirrorRelationshipDeleteAccepted) IsRedirect

IsRedirect returns true when this snapmirror relationship delete accepted response has a 3xx status code

func (*SnapmirrorRelationshipDeleteAccepted) IsServerError

func (o *SnapmirrorRelationshipDeleteAccepted) IsServerError() bool

IsServerError returns true when this snapmirror relationship delete accepted response has a 5xx status code

func (*SnapmirrorRelationshipDeleteAccepted) IsSuccess

IsSuccess returns true when this snapmirror relationship delete accepted response has a 2xx status code

func (*SnapmirrorRelationshipDeleteAccepted) String

type SnapmirrorRelationshipDeleteDefault

type SnapmirrorRelationshipDeleteDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorRelationshipDeleteDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303825 | Could not retrieve information for the SnapMirror policy type | | 13303814 | Could not retrieve the source or destination SVM UUID | | 13303815 | Could not retrieve information for the peer cluster | | 13303822 | SnapMirror release has failed | | 13303813 | SnapMirror release was successful but delete has failed | | 13303854 | Cleanup of restore relationship failed | | 13303855 | DELETE call on a restore relationship does not support the given flags | | 13303865 | Deleting the specified SnapMirror policy is not supported. | | 6619715 | Modification of relationship is in progress. Retry the command after a few minutes. |

func NewSnapmirrorRelationshipDeleteDefault

func NewSnapmirrorRelationshipDeleteDefault(code int) *SnapmirrorRelationshipDeleteDefault

NewSnapmirrorRelationshipDeleteDefault creates a SnapmirrorRelationshipDeleteDefault with default headers values

func (*SnapmirrorRelationshipDeleteDefault) Code

Code gets the status code for the snapmirror relationship delete default response

func (*SnapmirrorRelationshipDeleteDefault) Error

func (*SnapmirrorRelationshipDeleteDefault) GetPayload

func (*SnapmirrorRelationshipDeleteDefault) IsClientError

func (o *SnapmirrorRelationshipDeleteDefault) IsClientError() bool

IsClientError returns true when this snapmirror relationship delete default response has a 4xx status code

func (*SnapmirrorRelationshipDeleteDefault) IsCode

IsCode returns true when this snapmirror relationship delete default response a status code equal to that given

func (*SnapmirrorRelationshipDeleteDefault) IsRedirect

func (o *SnapmirrorRelationshipDeleteDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror relationship delete default response has a 3xx status code

func (*SnapmirrorRelationshipDeleteDefault) IsServerError

func (o *SnapmirrorRelationshipDeleteDefault) IsServerError() bool

IsServerError returns true when this snapmirror relationship delete default response has a 5xx status code

func (*SnapmirrorRelationshipDeleteDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship delete default response has a 2xx status code

func (*SnapmirrorRelationshipDeleteDefault) String

type SnapmirrorRelationshipDeleteParams

type SnapmirrorRelationshipDeleteParams struct {

	/* DestinationOnly.

	   Deletes a relationship on the destination only. This parameter is applicable only when the call is executed on the cluster that contains the destination endpoint.
	*/
	DestinationOnlyQueryParameter *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeoutQueryParameter *int64

	/* SourceInfoOnly.

	   Deletes relationship information on the source only. This parameter is applicable only when the call is executed on the cluster that contains the source endpoint.
	*/
	SourceInfoOnlyQueryParameter *bool

	/* SourceOnly.

	   Deletes a relationship on the source only. This parameter is applicable only when the call is executed on the cluster that contains the source endpoint. In the case of a relationship that uses SnapMirror policy of type 'continuous', this parameter is used to delete the source end of the relationship while ignoring errors when the destination endpoint is not reachable.
	*/
	SourceOnlyQueryParameter *bool

	/* UUID.

	   Relationship UUID
	*/
	UUIDPathParameter string

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

SnapmirrorRelationshipDeleteParams contains all the parameters to send to the API endpoint

for the snapmirror relationship delete operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipDeleteParams

func NewSnapmirrorRelationshipDeleteParams() *SnapmirrorRelationshipDeleteParams

NewSnapmirrorRelationshipDeleteParams creates a new SnapmirrorRelationshipDeleteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipDeleteParamsWithContext

func NewSnapmirrorRelationshipDeleteParamsWithContext(ctx context.Context) *SnapmirrorRelationshipDeleteParams

NewSnapmirrorRelationshipDeleteParamsWithContext creates a new SnapmirrorRelationshipDeleteParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipDeleteParamsWithHTTPClient

func NewSnapmirrorRelationshipDeleteParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipDeleteParams

NewSnapmirrorRelationshipDeleteParamsWithHTTPClient creates a new SnapmirrorRelationshipDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipDeleteParamsWithTimeout

func NewSnapmirrorRelationshipDeleteParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipDeleteParams

NewSnapmirrorRelationshipDeleteParamsWithTimeout creates a new SnapmirrorRelationshipDeleteParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipDeleteParams) SetContext

SetContext adds the context to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetDefaults

func (o *SnapmirrorRelationshipDeleteParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationship delete params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipDeleteParams) SetDestinationOnlyQueryParameter

func (o *SnapmirrorRelationshipDeleteParams) SetDestinationOnlyQueryParameter(destinationOnly *bool)

SetDestinationOnlyQueryParameter adds the destinationOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipDeleteParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetSourceInfoOnlyQueryParameter

func (o *SnapmirrorRelationshipDeleteParams) SetSourceInfoOnlyQueryParameter(sourceInfoOnly *bool)

SetSourceInfoOnlyQueryParameter adds the sourceInfoOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetSourceOnlyQueryParameter

func (o *SnapmirrorRelationshipDeleteParams) SetSourceOnlyQueryParameter(sourceOnly *bool)

SetSourceOnlyQueryParameter adds the sourceOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) SetUUIDPathParameter

func (o *SnapmirrorRelationshipDeleteParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithContext

WithContext adds the context to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship delete params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipDeleteParams) WithDestinationOnlyQueryParameter

func (o *SnapmirrorRelationshipDeleteParams) WithDestinationOnlyQueryParameter(destinationOnly *bool) *SnapmirrorRelationshipDeleteParams

WithDestinationOnlyQueryParameter adds the destinationOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipDeleteParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipDeleteParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithSourceInfoOnlyQueryParameter

func (o *SnapmirrorRelationshipDeleteParams) WithSourceInfoOnlyQueryParameter(sourceInfoOnly *bool) *SnapmirrorRelationshipDeleteParams

WithSourceInfoOnlyQueryParameter adds the sourceInfoOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithSourceOnlyQueryParameter

func (o *SnapmirrorRelationshipDeleteParams) WithSourceOnlyQueryParameter(sourceOnly *bool) *SnapmirrorRelationshipDeleteParams

WithSourceOnlyQueryParameter adds the sourceOnly to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WithUUIDPathParameter

WithUUIDPathParameter adds the uuid to the snapmirror relationship delete params

func (*SnapmirrorRelationshipDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipDeleteReader

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

SnapmirrorRelationshipDeleteReader is a Reader for the SnapmirrorRelationshipDelete structure.

func (*SnapmirrorRelationshipDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipGetDefault

type SnapmirrorRelationshipGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorRelationshipGetDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303825 | Could not retrieve information for the SnapMirror policy type | | 13303817 | Unknown value for the Snapmirror State |

func NewSnapmirrorRelationshipGetDefault

func NewSnapmirrorRelationshipGetDefault(code int) *SnapmirrorRelationshipGetDefault

NewSnapmirrorRelationshipGetDefault creates a SnapmirrorRelationshipGetDefault with default headers values

func (*SnapmirrorRelationshipGetDefault) Code

Code gets the status code for the snapmirror relationship get default response

func (*SnapmirrorRelationshipGetDefault) Error

func (*SnapmirrorRelationshipGetDefault) GetPayload

func (*SnapmirrorRelationshipGetDefault) IsClientError

func (o *SnapmirrorRelationshipGetDefault) IsClientError() bool

IsClientError returns true when this snapmirror relationship get default response has a 4xx status code

func (*SnapmirrorRelationshipGetDefault) IsCode

func (o *SnapmirrorRelationshipGetDefault) IsCode(code int) bool

IsCode returns true when this snapmirror relationship get default response a status code equal to that given

func (*SnapmirrorRelationshipGetDefault) IsRedirect

func (o *SnapmirrorRelationshipGetDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror relationship get default response has a 3xx status code

func (*SnapmirrorRelationshipGetDefault) IsServerError

func (o *SnapmirrorRelationshipGetDefault) IsServerError() bool

IsServerError returns true when this snapmirror relationship get default response has a 5xx status code

func (*SnapmirrorRelationshipGetDefault) IsSuccess

func (o *SnapmirrorRelationshipGetDefault) IsSuccess() bool

IsSuccess returns true when this snapmirror relationship get default response has a 2xx status code

func (*SnapmirrorRelationshipGetDefault) String

type SnapmirrorRelationshipGetOK

type SnapmirrorRelationshipGetOK struct {
	Payload *models.SnapmirrorRelationship
}

SnapmirrorRelationshipGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipGetOK

func NewSnapmirrorRelationshipGetOK() *SnapmirrorRelationshipGetOK

NewSnapmirrorRelationshipGetOK creates a SnapmirrorRelationshipGetOK with default headers values

func (*SnapmirrorRelationshipGetOK) Error

func (*SnapmirrorRelationshipGetOK) GetPayload

func (*SnapmirrorRelationshipGetOK) IsClientError

func (o *SnapmirrorRelationshipGetOK) IsClientError() bool

IsClientError returns true when this snapmirror relationship get o k response has a 4xx status code

func (*SnapmirrorRelationshipGetOK) IsCode

func (o *SnapmirrorRelationshipGetOK) IsCode(code int) bool

IsCode returns true when this snapmirror relationship get o k response a status code equal to that given

func (*SnapmirrorRelationshipGetOK) IsRedirect

func (o *SnapmirrorRelationshipGetOK) IsRedirect() bool

IsRedirect returns true when this snapmirror relationship get o k response has a 3xx status code

func (*SnapmirrorRelationshipGetOK) IsServerError

func (o *SnapmirrorRelationshipGetOK) IsServerError() bool

IsServerError returns true when this snapmirror relationship get o k response has a 5xx status code

func (*SnapmirrorRelationshipGetOK) IsSuccess

func (o *SnapmirrorRelationshipGetOK) IsSuccess() bool

IsSuccess returns true when this snapmirror relationship get o k response has a 2xx status code

func (*SnapmirrorRelationshipGetOK) String

func (o *SnapmirrorRelationshipGetOK) String() string

type SnapmirrorRelationshipGetParams

type SnapmirrorRelationshipGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	FieldsQueryParameter []string

	/* ListDestinationsOnly.

	   Set to true to show relationships from the source only.
	*/
	ListDestinationsOnlyQueryParameter *bool

	/* UUID.

	   Relationship UUID
	*/
	UUIDPathParameter string

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

SnapmirrorRelationshipGetParams contains all the parameters to send to the API endpoint

for the snapmirror relationship get operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipGetParams

func NewSnapmirrorRelationshipGetParams() *SnapmirrorRelationshipGetParams

NewSnapmirrorRelationshipGetParams creates a new SnapmirrorRelationshipGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipGetParamsWithContext

func NewSnapmirrorRelationshipGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipGetParams

NewSnapmirrorRelationshipGetParamsWithContext creates a new SnapmirrorRelationshipGetParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipGetParamsWithHTTPClient

func NewSnapmirrorRelationshipGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipGetParams

NewSnapmirrorRelationshipGetParamsWithHTTPClient creates a new SnapmirrorRelationshipGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipGetParamsWithTimeout

func NewSnapmirrorRelationshipGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipGetParams

NewSnapmirrorRelationshipGetParamsWithTimeout creates a new SnapmirrorRelationshipGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipGetParams) SetContext

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

SetContext adds the context to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) SetDefaults

func (o *SnapmirrorRelationshipGetParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationship get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipGetParams) SetFieldsQueryParameter

func (o *SnapmirrorRelationshipGetParams) SetFieldsQueryParameter(fields []string)

SetFieldsQueryParameter adds the fields to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) SetListDestinationsOnlyQueryParameter

func (o *SnapmirrorRelationshipGetParams) SetListDestinationsOnlyQueryParameter(listDestinationsOnly *bool)

SetListDestinationsOnlyQueryParameter adds the listDestinationsOnly to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) SetUUIDPathParameter

func (o *SnapmirrorRelationshipGetParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithContext

WithContext adds the context to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipGetParams) WithFieldsQueryParameter

func (o *SnapmirrorRelationshipGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorRelationshipGetParams

WithFieldsQueryParameter adds the fields to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithListDestinationsOnlyQueryParameter

func (o *SnapmirrorRelationshipGetParams) WithListDestinationsOnlyQueryParameter(listDestinationsOnly *bool) *SnapmirrorRelationshipGetParams

WithListDestinationsOnlyQueryParameter adds the listDestinationsOnly to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WithUUIDPathParameter

WithUUIDPathParameter adds the uuid to the snapmirror relationship get params

func (*SnapmirrorRelationshipGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipGetReader

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

SnapmirrorRelationshipGetReader is a Reader for the SnapmirrorRelationshipGet structure.

func (*SnapmirrorRelationshipGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipModifyAccepted

type SnapmirrorRelationshipModifyAccepted struct {
	Payload *models.JobLinkResponse
}

SnapmirrorRelationshipModifyAccepted describes a response with status code 202, with default header values.

Accepted

func NewSnapmirrorRelationshipModifyAccepted

func NewSnapmirrorRelationshipModifyAccepted() *SnapmirrorRelationshipModifyAccepted

NewSnapmirrorRelationshipModifyAccepted creates a SnapmirrorRelationshipModifyAccepted with default headers values

func (*SnapmirrorRelationshipModifyAccepted) Error

func (*SnapmirrorRelationshipModifyAccepted) GetPayload

func (*SnapmirrorRelationshipModifyAccepted) IsClientError

func (o *SnapmirrorRelationshipModifyAccepted) IsClientError() bool

IsClientError returns true when this snapmirror relationship modify accepted response has a 4xx status code

func (*SnapmirrorRelationshipModifyAccepted) IsCode

IsCode returns true when this snapmirror relationship modify accepted response a status code equal to that given

func (*SnapmirrorRelationshipModifyAccepted) IsRedirect

IsRedirect returns true when this snapmirror relationship modify accepted response has a 3xx status code

func (*SnapmirrorRelationshipModifyAccepted) IsServerError

func (o *SnapmirrorRelationshipModifyAccepted) IsServerError() bool

IsServerError returns true when this snapmirror relationship modify accepted response has a 5xx status code

func (*SnapmirrorRelationshipModifyAccepted) IsSuccess

IsSuccess returns true when this snapmirror relationship modify accepted response has a 2xx status code

func (*SnapmirrorRelationshipModifyAccepted) String

type SnapmirrorRelationshipModifyDefault

type SnapmirrorRelationshipModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorRelationshipModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303825 | Could not retrieve information for the SnapMirror policy type | | 13303817 | Unknown value for the SnapMirror state | | 13303829 | Invalid state | | 13303830 | Transient state | | 13303831 | Invalid state for async SnapMirror relationship | | 13303834 | Given input valid only for FlexGroup SnapMirror relationship | | 13303835 | Given flag is valid only when PATCH state is broken_off | | 13303836 | Given flag is valid only when PATCH state is snapmirrored or in_sync | | 13303818 | Invalid state transition requested | | 13303828 | Given state change is not possible for SVM SnapMirror relationship | | 13303833 | Requested state change is not possible | | 13303832 | SnapMirror relationship is already initialized | | 13303824 | Quiescing the SnapMirror relationship has failed | | 13303826 | Required environment variables are not set | | 13303827 | Internal Error | | 13303823 | Quiesce operation timed out | | 13303821 | Invalid SnapMirror policy name/UUID | | 13303819 | Could not retrieve SnapMirror policy information | | 13303851 | Cannot modify attributes of SnapMirror restore relationship | | 13303816 | Could not retrieve state or status values | | 13303837 | Given flags are valid only if SnapMirror state change is requested | | 6619546 | Destination must be a dp volume | | 13303808 | Transition to broken_off state failed | | 13303809 | Transition to paused state failed | | 13303810 | Transition to snapmirrored state failed | | 13303811 | Transition from paused state failed | | 13303820 | SnapMirror policy, transfer_schedule, and throttle, if specified were successfully updated, state transition failed | | 13303856 | SVM is not configured with any data protocol | | 13303857 | SVM is not configured with any network interface | | 13303858 | Internal error. Failed to check LIF and protocols details for SVM | | 13303859 | Internal error. SVM Failover operation failed. SVM operational state is unavailable. | | 13303865 | Modifying the specified SnapMirror policy is not supported. | | 13303866 | Cannot use the specified policy to modify the policy of the relationship. | | 13303867 | Modifying the policy of an async-mirror or a vault relationship is not supported. | | 13303884 | LIF and protocols details are configured incorrectly for SVM. | | 13303996 | The source and destination clusters both have a policy with the same name, but they have different properties. | | 13304062 | Cannot reverse the direction of a SnapMirror DP relationship when the source cluster version is earlier than the destination cluster version. | | 13304070 | Remote peer cluster requires the dp_rest_support capability to support reversing the direction of a DP relationship. | | 13304071 | Failed to access capabilities on remote cluster. | | 13304080 | Specified uuid and name do not match. | | 13304081 | Modifying a property during the opertaion is not supported. | | 13304082 | The specified properties are mutually exclusive. | | 13304083 | The specified property is not supported because all nodes in the cluster are not capable of supporting the property. | | 13304086 | Reversing the direction of a SnapMirror relationship associated with a policy containing the property create_snapshot_on_source set to false is not supported. | | 6619715 | Modification of relationship is in progress. Retry the command after a few minutes. |

func NewSnapmirrorRelationshipModifyDefault

func NewSnapmirrorRelationshipModifyDefault(code int) *SnapmirrorRelationshipModifyDefault

NewSnapmirrorRelationshipModifyDefault creates a SnapmirrorRelationshipModifyDefault with default headers values

func (*SnapmirrorRelationshipModifyDefault) Code

Code gets the status code for the snapmirror relationship modify default response

func (*SnapmirrorRelationshipModifyDefault) Error

func (*SnapmirrorRelationshipModifyDefault) GetPayload

func (*SnapmirrorRelationshipModifyDefault) IsClientError

func (o *SnapmirrorRelationshipModifyDefault) IsClientError() bool

IsClientError returns true when this snapmirror relationship modify default response has a 4xx status code

func (*SnapmirrorRelationshipModifyDefault) IsCode

IsCode returns true when this snapmirror relationship modify default response a status code equal to that given

func (*SnapmirrorRelationshipModifyDefault) IsRedirect

func (o *SnapmirrorRelationshipModifyDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror relationship modify default response has a 3xx status code

func (*SnapmirrorRelationshipModifyDefault) IsServerError

func (o *SnapmirrorRelationshipModifyDefault) IsServerError() bool

IsServerError returns true when this snapmirror relationship modify default response has a 5xx status code

func (*SnapmirrorRelationshipModifyDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship modify default response has a 2xx status code

func (*SnapmirrorRelationshipModifyDefault) String

type SnapmirrorRelationshipModifyParams

type SnapmirrorRelationshipModifyParams struct {

	/* Failback.

	   If this parameter is set while specifying the state as "snapmirrored", indicates recovery of the failed over SnapMirror relationship by preserving the data written on the destination endpoint when the SnapMirror relationship was in failed over state. This flag is only applicable to SVM-DR SnapMirror relationships.
	*/
	FailbackQueryParameter *bool

	/* Failover.

	   If this parameter is set, validation and failover will occur to the SVM-DR SnapMirror relationship destination endpoint. Any other fields specified with this parameter will be ignored. This parameter is supported only for SVM-DR SnapMirror relationships.
	*/
	FailoverQueryParameter *bool

	/* Force.

	   If this parameter is set while specifying the state as "broken_off", indicates a forced failover overriding the validation errors.
	*/
	ForceQueryParameter *bool

	/* ForceFailover.

	   If this parameter is set, failover will occur to the SVM-DR SnapMirror relationship destination endpoint, overriding the validation errors. Any other fields specified with this parameter will be ignored. This parameter is supported only for SVM-DR SnapMirror relationships.
	*/
	ForceFailoverQueryParameter *bool

	/* Info.

	   Information on the SnapMirror relationship.
	*/
	Info *models.SnapmirrorRelationship

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeoutQueryParameter *int64

	/* UUID.

	   Relationship UUID
	*/
	UUIDPathParameter string

	/* ValidateOnly.

	   Validate the operation and its parameters, without actually performing the operation.
	*/
	ValidateOnlyQueryParameter *bool

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

SnapmirrorRelationshipModifyParams contains all the parameters to send to the API endpoint

for the snapmirror relationship modify operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipModifyParams

func NewSnapmirrorRelationshipModifyParams() *SnapmirrorRelationshipModifyParams

NewSnapmirrorRelationshipModifyParams creates a new SnapmirrorRelationshipModifyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipModifyParamsWithContext

func NewSnapmirrorRelationshipModifyParamsWithContext(ctx context.Context) *SnapmirrorRelationshipModifyParams

NewSnapmirrorRelationshipModifyParamsWithContext creates a new SnapmirrorRelationshipModifyParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipModifyParamsWithHTTPClient

func NewSnapmirrorRelationshipModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipModifyParams

NewSnapmirrorRelationshipModifyParamsWithHTTPClient creates a new SnapmirrorRelationshipModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipModifyParamsWithTimeout

func NewSnapmirrorRelationshipModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipModifyParams

NewSnapmirrorRelationshipModifyParamsWithTimeout creates a new SnapmirrorRelationshipModifyParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipModifyParams) SetContext

SetContext adds the context to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetDefaults

func (o *SnapmirrorRelationshipModifyParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationship modify params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipModifyParams) SetFailbackQueryParameter

func (o *SnapmirrorRelationshipModifyParams) SetFailbackQueryParameter(failback *bool)

SetFailbackQueryParameter adds the failback to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetFailoverQueryParameter

func (o *SnapmirrorRelationshipModifyParams) SetFailoverQueryParameter(failover *bool)

SetFailoverQueryParameter adds the failover to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetForceFailoverQueryParameter

func (o *SnapmirrorRelationshipModifyParams) SetForceFailoverQueryParameter(forceFailover *bool)

SetForceFailoverQueryParameter adds the forceFailover to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetForceQueryParameter

func (o *SnapmirrorRelationshipModifyParams) SetForceQueryParameter(force *bool)

SetForceQueryParameter adds the force to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetInfo

SetInfo adds the info to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipModifyParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetUUIDPathParameter

func (o *SnapmirrorRelationshipModifyParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) SetValidateOnlyQueryParameter

func (o *SnapmirrorRelationshipModifyParams) SetValidateOnlyQueryParameter(validateOnly *bool)

SetValidateOnlyQueryParameter adds the validateOnly to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithContext

WithContext adds the context to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship modify params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipModifyParams) WithFailbackQueryParameter

func (o *SnapmirrorRelationshipModifyParams) WithFailbackQueryParameter(failback *bool) *SnapmirrorRelationshipModifyParams

WithFailbackQueryParameter adds the failback to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithFailoverQueryParameter

func (o *SnapmirrorRelationshipModifyParams) WithFailoverQueryParameter(failover *bool) *SnapmirrorRelationshipModifyParams

WithFailoverQueryParameter adds the failover to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithForceFailoverQueryParameter

func (o *SnapmirrorRelationshipModifyParams) WithForceFailoverQueryParameter(forceFailover *bool) *SnapmirrorRelationshipModifyParams

WithForceFailoverQueryParameter adds the forceFailover to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithForceQueryParameter

WithForceQueryParameter adds the force to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithInfo

WithInfo adds the info to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipModifyParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipModifyParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithUUIDPathParameter

WithUUIDPathParameter adds the uuid to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WithValidateOnlyQueryParameter

func (o *SnapmirrorRelationshipModifyParams) WithValidateOnlyQueryParameter(validateOnly *bool) *SnapmirrorRelationshipModifyParams

WithValidateOnlyQueryParameter adds the validateOnly to the snapmirror relationship modify params

func (*SnapmirrorRelationshipModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipModifyReader

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

SnapmirrorRelationshipModifyReader is a Reader for the SnapmirrorRelationshipModify structure.

func (*SnapmirrorRelationshipModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipTransferCreateCreated

type SnapmirrorRelationshipTransferCreateCreated struct {
}

SnapmirrorRelationshipTransferCreateCreated describes a response with status code 201, with default header values.

Created

func NewSnapmirrorRelationshipTransferCreateCreated

func NewSnapmirrorRelationshipTransferCreateCreated() *SnapmirrorRelationshipTransferCreateCreated

NewSnapmirrorRelationshipTransferCreateCreated creates a SnapmirrorRelationshipTransferCreateCreated with default headers values

func (*SnapmirrorRelationshipTransferCreateCreated) Error

func (*SnapmirrorRelationshipTransferCreateCreated) IsClientError

IsClientError returns true when this snapmirror relationship transfer create created response has a 4xx status code

func (*SnapmirrorRelationshipTransferCreateCreated) IsCode

IsCode returns true when this snapmirror relationship transfer create created response a status code equal to that given

func (*SnapmirrorRelationshipTransferCreateCreated) IsRedirect

IsRedirect returns true when this snapmirror relationship transfer create created response has a 3xx status code

func (*SnapmirrorRelationshipTransferCreateCreated) IsServerError

IsServerError returns true when this snapmirror relationship transfer create created response has a 5xx status code

func (*SnapmirrorRelationshipTransferCreateCreated) IsSuccess

IsSuccess returns true when this snapmirror relationship transfer create created response has a 2xx status code

func (*SnapmirrorRelationshipTransferCreateCreated) String

type SnapmirrorRelationshipTransferCreateDefault

type SnapmirrorRelationshipTransferCreateDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorRelationshipTransferCreateDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303845 | Restore operation failed | | 13303812 | Initialize operation failed | | 13303844 | Update operation failed | | 13303846 | Empty source path file list | | 13303847 | Invalid arguments | | 13304040 | Throttle not supported for update of Synchronous SnapMirror relationships | | 6620237 | SnapMirror relationship database write failed | | 6620238 | SnapMirror relationship database read failed |

func NewSnapmirrorRelationshipTransferCreateDefault

func NewSnapmirrorRelationshipTransferCreateDefault(code int) *SnapmirrorRelationshipTransferCreateDefault

NewSnapmirrorRelationshipTransferCreateDefault creates a SnapmirrorRelationshipTransferCreateDefault with default headers values

func (*SnapmirrorRelationshipTransferCreateDefault) Code

Code gets the status code for the snapmirror relationship transfer create default response

func (*SnapmirrorRelationshipTransferCreateDefault) Error

func (*SnapmirrorRelationshipTransferCreateDefault) GetPayload

func (*SnapmirrorRelationshipTransferCreateDefault) IsClientError

IsClientError returns true when this snapmirror relationship transfer create default response has a 4xx status code

func (*SnapmirrorRelationshipTransferCreateDefault) IsCode

IsCode returns true when this snapmirror relationship transfer create default response a status code equal to that given

func (*SnapmirrorRelationshipTransferCreateDefault) IsRedirect

IsRedirect returns true when this snapmirror relationship transfer create default response has a 3xx status code

func (*SnapmirrorRelationshipTransferCreateDefault) IsServerError

IsServerError returns true when this snapmirror relationship transfer create default response has a 5xx status code

func (*SnapmirrorRelationshipTransferCreateDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship transfer create default response has a 2xx status code

func (*SnapmirrorRelationshipTransferCreateDefault) String

type SnapmirrorRelationshipTransferCreateParams

type SnapmirrorRelationshipTransferCreateParams struct {

	/* Info.

	   Information on the SnapMirror transfer
	*/
	Info *models.SnapmirrorTransfer

	/* RelationshipUUID.

	   Relationship UUID
	*/
	RelationshIPUUIDPathParameter string

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds.  This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job.  If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
	*/
	ReturnTimeoutQueryParameter *int64

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

SnapmirrorRelationshipTransferCreateParams contains all the parameters to send to the API endpoint

for the snapmirror relationship transfer create operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipTransferCreateParams

func NewSnapmirrorRelationshipTransferCreateParams() *SnapmirrorRelationshipTransferCreateParams

NewSnapmirrorRelationshipTransferCreateParams creates a new SnapmirrorRelationshipTransferCreateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipTransferCreateParamsWithContext

func NewSnapmirrorRelationshipTransferCreateParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferCreateParams

NewSnapmirrorRelationshipTransferCreateParamsWithContext creates a new SnapmirrorRelationshipTransferCreateParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipTransferCreateParamsWithHTTPClient

func NewSnapmirrorRelationshipTransferCreateParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferCreateParams

NewSnapmirrorRelationshipTransferCreateParamsWithHTTPClient creates a new SnapmirrorRelationshipTransferCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipTransferCreateParamsWithTimeout

func NewSnapmirrorRelationshipTransferCreateParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferCreateParams

NewSnapmirrorRelationshipTransferCreateParamsWithTimeout creates a new SnapmirrorRelationshipTransferCreateParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipTransferCreateParams) SetContext

SetContext adds the context to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) SetDefaults

SetDefaults hydrates default values in the snapmirror relationship transfer create params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransferCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) SetInfo

SetInfo adds the info to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) SetRelationshIPUUIDPathParameter

func (o *SnapmirrorRelationshipTransferCreateParams) SetRelationshIPUUIDPathParameter(relationshipUUID string)

SetRelationshIPUUIDPathParameter adds the relationshipUuid to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) SetReturnRecordsQueryParameter

func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)

SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) SetReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipTransferCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) SetTimeout

SetTimeout adds the timeout to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithContext

WithContext adds the context to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship transfer create params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransferCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithInfo

WithInfo adds the info to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithRelationshIPUUIDPathParameter

func (o *SnapmirrorRelationshipTransferCreateParams) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransferCreateParams

WithRelationshIPUUIDPathParameter adds the relationshipUUID to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithReturnRecordsQueryParameter

func (o *SnapmirrorRelationshipTransferCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipTransferCreateParams

WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipTransferCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipTransferCreateParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship transfer create params

func (*SnapmirrorRelationshipTransferCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipTransferCreateReader

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

SnapmirrorRelationshipTransferCreateReader is a Reader for the SnapmirrorRelationshipTransferCreate structure.

func (*SnapmirrorRelationshipTransferCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipTransferGetDefault

type SnapmirrorRelationshipTransferGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

SnapmirrorRelationshipTransferGetDefault describes a response with status code -1, with default header values.

Error

func NewSnapmirrorRelationshipTransferGetDefault

func NewSnapmirrorRelationshipTransferGetDefault(code int) *SnapmirrorRelationshipTransferGetDefault

NewSnapmirrorRelationshipTransferGetDefault creates a SnapmirrorRelationshipTransferGetDefault with default headers values

func (*SnapmirrorRelationshipTransferGetDefault) Code

Code gets the status code for the snapmirror relationship transfer get default response

func (*SnapmirrorRelationshipTransferGetDefault) Error

func (*SnapmirrorRelationshipTransferGetDefault) GetPayload

func (*SnapmirrorRelationshipTransferGetDefault) IsClientError

IsClientError returns true when this snapmirror relationship transfer get default response has a 4xx status code

func (*SnapmirrorRelationshipTransferGetDefault) IsCode

IsCode returns true when this snapmirror relationship transfer get default response a status code equal to that given

func (*SnapmirrorRelationshipTransferGetDefault) IsRedirect

IsRedirect returns true when this snapmirror relationship transfer get default response has a 3xx status code

func (*SnapmirrorRelationshipTransferGetDefault) IsServerError

IsServerError returns true when this snapmirror relationship transfer get default response has a 5xx status code

func (*SnapmirrorRelationshipTransferGetDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship transfer get default response has a 2xx status code

func (*SnapmirrorRelationshipTransferGetDefault) String

type SnapmirrorRelationshipTransferGetOK

type SnapmirrorRelationshipTransferGetOK struct {
	Payload *models.SnapmirrorTransfer
}

SnapmirrorRelationshipTransferGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipTransferGetOK

func NewSnapmirrorRelationshipTransferGetOK() *SnapmirrorRelationshipTransferGetOK

NewSnapmirrorRelationshipTransferGetOK creates a SnapmirrorRelationshipTransferGetOK with default headers values

func (*SnapmirrorRelationshipTransferGetOK) Error

func (*SnapmirrorRelationshipTransferGetOK) GetPayload

func (*SnapmirrorRelationshipTransferGetOK) IsClientError

func (o *SnapmirrorRelationshipTransferGetOK) IsClientError() bool

IsClientError returns true when this snapmirror relationship transfer get o k response has a 4xx status code

func (*SnapmirrorRelationshipTransferGetOK) IsCode

IsCode returns true when this snapmirror relationship transfer get o k response a status code equal to that given

func (*SnapmirrorRelationshipTransferGetOK) IsRedirect

func (o *SnapmirrorRelationshipTransferGetOK) IsRedirect() bool

IsRedirect returns true when this snapmirror relationship transfer get o k response has a 3xx status code

func (*SnapmirrorRelationshipTransferGetOK) IsServerError

func (o *SnapmirrorRelationshipTransferGetOK) IsServerError() bool

IsServerError returns true when this snapmirror relationship transfer get o k response has a 5xx status code

func (*SnapmirrorRelationshipTransferGetOK) IsSuccess

IsSuccess returns true when this snapmirror relationship transfer get o k response has a 2xx status code

func (*SnapmirrorRelationshipTransferGetOK) String

type SnapmirrorRelationshipTransferGetParams

type SnapmirrorRelationshipTransferGetParams struct {

	/* Fields.

	   Specify the fields to return.
	*/
	FieldsQueryParameter []string

	/* RelationshipUUID.

	   Relationship UUID
	*/
	RelationshIPUUIDPathParameter string

	/* UUID.

	   Transfer UUID
	*/
	UUIDPathParameter string

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

SnapmirrorRelationshipTransferGetParams contains all the parameters to send to the API endpoint

for the snapmirror relationship transfer get operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipTransferGetParams

func NewSnapmirrorRelationshipTransferGetParams() *SnapmirrorRelationshipTransferGetParams

NewSnapmirrorRelationshipTransferGetParams creates a new SnapmirrorRelationshipTransferGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipTransferGetParamsWithContext

func NewSnapmirrorRelationshipTransferGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferGetParams

NewSnapmirrorRelationshipTransferGetParamsWithContext creates a new SnapmirrorRelationshipTransferGetParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipTransferGetParamsWithHTTPClient

func NewSnapmirrorRelationshipTransferGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferGetParams

NewSnapmirrorRelationshipTransferGetParamsWithHTTPClient creates a new SnapmirrorRelationshipTransferGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipTransferGetParamsWithTimeout

func NewSnapmirrorRelationshipTransferGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferGetParams

NewSnapmirrorRelationshipTransferGetParamsWithTimeout creates a new SnapmirrorRelationshipTransferGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipTransferGetParams) SetContext

SetContext adds the context to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) SetDefaults

func (o *SnapmirrorRelationshipTransferGetParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationship transfer get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransferGetParams) SetFieldsQueryParameter

func (o *SnapmirrorRelationshipTransferGetParams) SetFieldsQueryParameter(fields []string)

SetFieldsQueryParameter adds the fields to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) SetRelationshIPUUIDPathParameter

func (o *SnapmirrorRelationshipTransferGetParams) SetRelationshIPUUIDPathParameter(relationshipUUID string)

SetRelationshIPUUIDPathParameter adds the relationshipUuid to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) SetUUIDPathParameter

func (o *SnapmirrorRelationshipTransferGetParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithContext

WithContext adds the context to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship transfer get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransferGetParams) WithFieldsQueryParameter

WithFieldsQueryParameter adds the fields to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithRelationshIPUUIDPathParameter

func (o *SnapmirrorRelationshipTransferGetParams) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransferGetParams

WithRelationshIPUUIDPathParameter adds the relationshipUUID to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WithUUIDPathParameter

WithUUIDPathParameter adds the uuid to the snapmirror relationship transfer get params

func (*SnapmirrorRelationshipTransferGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipTransferGetReader

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

SnapmirrorRelationshipTransferGetReader is a Reader for the SnapmirrorRelationshipTransferGet structure.

func (*SnapmirrorRelationshipTransferGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipTransferModifyDefault

type SnapmirrorRelationshipTransferModifyDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorRelationshipTransferModifyDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303848 | Abort of sync SnapMirror is not allowed | | 13303849 | SnapMirror transfer state is invalid |

func NewSnapmirrorRelationshipTransferModifyDefault

func NewSnapmirrorRelationshipTransferModifyDefault(code int) *SnapmirrorRelationshipTransferModifyDefault

NewSnapmirrorRelationshipTransferModifyDefault creates a SnapmirrorRelationshipTransferModifyDefault with default headers values

func (*SnapmirrorRelationshipTransferModifyDefault) Code

Code gets the status code for the snapmirror relationship transfer modify default response

func (*SnapmirrorRelationshipTransferModifyDefault) Error

func (*SnapmirrorRelationshipTransferModifyDefault) GetPayload

func (*SnapmirrorRelationshipTransferModifyDefault) IsClientError

IsClientError returns true when this snapmirror relationship transfer modify default response has a 4xx status code

func (*SnapmirrorRelationshipTransferModifyDefault) IsCode

IsCode returns true when this snapmirror relationship transfer modify default response a status code equal to that given

func (*SnapmirrorRelationshipTransferModifyDefault) IsRedirect

IsRedirect returns true when this snapmirror relationship transfer modify default response has a 3xx status code

func (*SnapmirrorRelationshipTransferModifyDefault) IsServerError

IsServerError returns true when this snapmirror relationship transfer modify default response has a 5xx status code

func (*SnapmirrorRelationshipTransferModifyDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship transfer modify default response has a 2xx status code

func (*SnapmirrorRelationshipTransferModifyDefault) String

type SnapmirrorRelationshipTransferModifyOK

type SnapmirrorRelationshipTransferModifyOK struct {
}

SnapmirrorRelationshipTransferModifyOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipTransferModifyOK

func NewSnapmirrorRelationshipTransferModifyOK() *SnapmirrorRelationshipTransferModifyOK

NewSnapmirrorRelationshipTransferModifyOK creates a SnapmirrorRelationshipTransferModifyOK with default headers values

func (*SnapmirrorRelationshipTransferModifyOK) Error

func (*SnapmirrorRelationshipTransferModifyOK) IsClientError

func (o *SnapmirrorRelationshipTransferModifyOK) IsClientError() bool

IsClientError returns true when this snapmirror relationship transfer modify o k response has a 4xx status code

func (*SnapmirrorRelationshipTransferModifyOK) IsCode

IsCode returns true when this snapmirror relationship transfer modify o k response a status code equal to that given

func (*SnapmirrorRelationshipTransferModifyOK) IsRedirect

IsRedirect returns true when this snapmirror relationship transfer modify o k response has a 3xx status code

func (*SnapmirrorRelationshipTransferModifyOK) IsServerError

func (o *SnapmirrorRelationshipTransferModifyOK) IsServerError() bool

IsServerError returns true when this snapmirror relationship transfer modify o k response has a 5xx status code

func (*SnapmirrorRelationshipTransferModifyOK) IsSuccess

IsSuccess returns true when this snapmirror relationship transfer modify o k response has a 2xx status code

func (*SnapmirrorRelationshipTransferModifyOK) String

type SnapmirrorRelationshipTransferModifyParams

type SnapmirrorRelationshipTransferModifyParams struct {

	/* Info.

	   Information on the SnapMirror transfer
	*/
	Info *models.SnapmirrorTransfer

	/* RelationshipUUID.

	   Relationship UUID
	*/
	RelationshIPUUIDPathParameter string

	/* UUID.

	   Transfer UUID
	*/
	UUIDPathParameter string

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

SnapmirrorRelationshipTransferModifyParams contains all the parameters to send to the API endpoint

for the snapmirror relationship transfer modify operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipTransferModifyParams

func NewSnapmirrorRelationshipTransferModifyParams() *SnapmirrorRelationshipTransferModifyParams

NewSnapmirrorRelationshipTransferModifyParams creates a new SnapmirrorRelationshipTransferModifyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipTransferModifyParamsWithContext

func NewSnapmirrorRelationshipTransferModifyParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransferModifyParams

NewSnapmirrorRelationshipTransferModifyParamsWithContext creates a new SnapmirrorRelationshipTransferModifyParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipTransferModifyParamsWithHTTPClient

func NewSnapmirrorRelationshipTransferModifyParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransferModifyParams

NewSnapmirrorRelationshipTransferModifyParamsWithHTTPClient creates a new SnapmirrorRelationshipTransferModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipTransferModifyParamsWithTimeout

func NewSnapmirrorRelationshipTransferModifyParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransferModifyParams

NewSnapmirrorRelationshipTransferModifyParamsWithTimeout creates a new SnapmirrorRelationshipTransferModifyParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipTransferModifyParams) SetContext

SetContext adds the context to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) SetDefaults

SetDefaults hydrates default values in the snapmirror relationship transfer modify params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransferModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) SetInfo

SetInfo adds the info to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) SetRelationshIPUUIDPathParameter

func (o *SnapmirrorRelationshipTransferModifyParams) SetRelationshIPUUIDPathParameter(relationshipUUID string)

SetRelationshIPUUIDPathParameter adds the relationshipUuid to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) SetTimeout

SetTimeout adds the timeout to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) SetUUIDPathParameter

func (o *SnapmirrorRelationshipTransferModifyParams) SetUUIDPathParameter(uuid string)

SetUUIDPathParameter adds the uuid to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithContext

WithContext adds the context to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship transfer modify params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransferModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithInfo

WithInfo adds the info to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithRelationshIPUUIDPathParameter

func (o *SnapmirrorRelationshipTransferModifyParams) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransferModifyParams

WithRelationshIPUUIDPathParameter adds the relationshipUUID to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WithUUIDPathParameter

WithUUIDPathParameter adds the uuid to the snapmirror relationship transfer modify params

func (*SnapmirrorRelationshipTransferModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipTransferModifyReader

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

SnapmirrorRelationshipTransferModifyReader is a Reader for the SnapmirrorRelationshipTransferModify structure.

func (*SnapmirrorRelationshipTransferModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipTransfersGetDefault

type SnapmirrorRelationshipTransfersGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

SnapmirrorRelationshipTransfersGetDefault describes a response with status code -1, with default header values.

Error

func NewSnapmirrorRelationshipTransfersGetDefault

func NewSnapmirrorRelationshipTransfersGetDefault(code int) *SnapmirrorRelationshipTransfersGetDefault

NewSnapmirrorRelationshipTransfersGetDefault creates a SnapmirrorRelationshipTransfersGetDefault with default headers values

func (*SnapmirrorRelationshipTransfersGetDefault) Code

Code gets the status code for the snapmirror relationship transfers get default response

func (*SnapmirrorRelationshipTransfersGetDefault) Error

func (*SnapmirrorRelationshipTransfersGetDefault) GetPayload

func (*SnapmirrorRelationshipTransfersGetDefault) IsClientError

IsClientError returns true when this snapmirror relationship transfers get default response has a 4xx status code

func (*SnapmirrorRelationshipTransfersGetDefault) IsCode

IsCode returns true when this snapmirror relationship transfers get default response a status code equal to that given

func (*SnapmirrorRelationshipTransfersGetDefault) IsRedirect

IsRedirect returns true when this snapmirror relationship transfers get default response has a 3xx status code

func (*SnapmirrorRelationshipTransfersGetDefault) IsServerError

IsServerError returns true when this snapmirror relationship transfers get default response has a 5xx status code

func (*SnapmirrorRelationshipTransfersGetDefault) IsSuccess

IsSuccess returns true when this snapmirror relationship transfers get default response has a 2xx status code

func (*SnapmirrorRelationshipTransfersGetDefault) String

type SnapmirrorRelationshipTransfersGetOK

type SnapmirrorRelationshipTransfersGetOK struct {
	Payload *models.SnapmirrorTransferResponse
}

SnapmirrorRelationshipTransfersGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipTransfersGetOK

func NewSnapmirrorRelationshipTransfersGetOK() *SnapmirrorRelationshipTransfersGetOK

NewSnapmirrorRelationshipTransfersGetOK creates a SnapmirrorRelationshipTransfersGetOK with default headers values

func (*SnapmirrorRelationshipTransfersGetOK) Error

func (*SnapmirrorRelationshipTransfersGetOK) GetPayload

func (*SnapmirrorRelationshipTransfersGetOK) IsClientError

func (o *SnapmirrorRelationshipTransfersGetOK) IsClientError() bool

IsClientError returns true when this snapmirror relationship transfers get o k response has a 4xx status code

func (*SnapmirrorRelationshipTransfersGetOK) IsCode

IsCode returns true when this snapmirror relationship transfers get o k response a status code equal to that given

func (*SnapmirrorRelationshipTransfersGetOK) IsRedirect

IsRedirect returns true when this snapmirror relationship transfers get o k response has a 3xx status code

func (*SnapmirrorRelationshipTransfersGetOK) IsServerError

func (o *SnapmirrorRelationshipTransfersGetOK) IsServerError() bool

IsServerError returns true when this snapmirror relationship transfers get o k response has a 5xx status code

func (*SnapmirrorRelationshipTransfersGetOK) IsSuccess

IsSuccess returns true when this snapmirror relationship transfers get o k response has a 2xx status code

func (*SnapmirrorRelationshipTransfersGetOK) String

type SnapmirrorRelationshipTransfersGetParams

type SnapmirrorRelationshipTransfersGetParams struct {

	/* ArchiveRetrievalPriority.

	   Filter by archive_retrieval_priority
	*/
	ArchiveRetrievalPriorityQueryParameter *string

	/* BytesTransferred.

	   Filter by bytes_transferred
	*/
	BytesTransferredQueryParameter *int64

	/* CheckpointSize.

	   Filter by checkpoint_size
	*/
	CheckpointSizeQueryParameter *int64

	/* EndTime.

	   Filter by end_time
	*/
	EndTimeQueryParameter *string

	/* ErrorInfoCode.

	   Filter by error_info.code
	*/
	ErrorInfoCodeQueryParameter *int64

	/* ErrorInfoMessage.

	   Filter by error_info.message
	*/
	ErrorInfoMessageQueryParameter *string

	/* Fields.

	   Specify the fields to return.
	*/
	FieldsQueryParameter []string

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecordsQueryParameter *int64

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderByQueryParameter []string

	/* RelationshipDestinationClusterName.

	   Filter by relationship.destination.cluster.name
	*/
	RelationshIPDestinationClusterNameQueryParameter *string

	/* RelationshipDestinationClusterUUID.

	   Filter by relationship.destination.cluster.uuid
	*/
	RelationshIPDestinationClusterUUIDQueryParameter *string

	/* RelationshipDestinationConsistencyGroupVolumesName.

	   Filter by relationship.destination.consistency_group_volumes.name
	*/
	RelationshIPDestinationConsistencyGroupVolumesNameQueryParameter *string

	/* RelationshipDestinationPath.

	   Filter by relationship.destination.path
	*/
	RelationshIPDestinationPathQueryParameter *string

	/* RelationshipDestinationSvmName.

	   Filter by relationship.destination.svm.name
	*/
	RelationshIPDestinationSVMNameQueryParameter *string

	/* RelationshipDestinationSvmUUID.

	   Filter by relationship.destination.svm.uuid
	*/
	RelationshIPDestinationSVMUUIDQueryParameter *string

	/* RelationshipDestinationUUID.

	   Filter by relationship.destination.uuid
	*/
	RelationshIPDestinationUUIDQueryParameter *string

	/* RelationshipRestore.

	   Filter by relationship.restore
	*/
	RelationshIPRestoreQueryParameter *bool

	/* RelationshipUUID.

	   Relationship UUID
	*/
	RelationshIPUUIDPathParameter string

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	/* Snapshot.

	   Filter by snapshot
	*/
	SnapshotQueryParameter *string

	/* State.

	   Filter by state
	*/
	StateQueryParameter *string

	/* Throttle.

	   Filter by throttle
	*/
	ThrottleQueryParameter *int64

	/* TotalDuration.

	   Filter by total_duration
	*/
	TotalDurationQueryParameter *string

	/* UUID.

	   Filter by uuid
	*/
	UUIDQueryParameter *string

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

SnapmirrorRelationshipTransfersGetParams contains all the parameters to send to the API endpoint

for the snapmirror relationship transfers get operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipTransfersGetParams

func NewSnapmirrorRelationshipTransfersGetParams() *SnapmirrorRelationshipTransfersGetParams

NewSnapmirrorRelationshipTransfersGetParams creates a new SnapmirrorRelationshipTransfersGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipTransfersGetParamsWithContext

func NewSnapmirrorRelationshipTransfersGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipTransfersGetParams

NewSnapmirrorRelationshipTransfersGetParamsWithContext creates a new SnapmirrorRelationshipTransfersGetParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipTransfersGetParamsWithHTTPClient

func NewSnapmirrorRelationshipTransfersGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipTransfersGetParams

NewSnapmirrorRelationshipTransfersGetParamsWithHTTPClient creates a new SnapmirrorRelationshipTransfersGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipTransfersGetParamsWithTimeout

func NewSnapmirrorRelationshipTransfersGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipTransfersGetParams

NewSnapmirrorRelationshipTransfersGetParamsWithTimeout creates a new SnapmirrorRelationshipTransfersGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipTransfersGetParams) SetArchiveRetrievalPriorityQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetArchiveRetrievalPriorityQueryParameter(archiveRetrievalPriority *string)

SetArchiveRetrievalPriorityQueryParameter adds the archiveRetrievalPriority to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetBytesTransferredQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetBytesTransferredQueryParameter(bytesTransferred *int64)

SetBytesTransferredQueryParameter adds the bytesTransferred to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetCheckpointSizeQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetCheckpointSizeQueryParameter(checkpointSize *int64)

SetCheckpointSizeQueryParameter adds the checkpointSize to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetContext

SetContext adds the context to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetDefaults

SetDefaults hydrates default values in the snapmirror relationship transfers get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransfersGetParams) SetEndTimeQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetEndTimeQueryParameter(endTime *string)

SetEndTimeQueryParameter adds the endTime to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetErrorInfoCodeQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoCodeQueryParameter(errorInfoCode *int64)

SetErrorInfoCodeQueryParameter adds the errorInfoCode to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetErrorInfoMessageQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetErrorInfoMessageQueryParameter(errorInfoMessage *string)

SetErrorInfoMessageQueryParameter adds the errorInfoMessage to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetFieldsQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetFieldsQueryParameter(fields []string)

SetFieldsQueryParameter adds the fields to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetMaxRecordsQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)

SetMaxRecordsQueryParameter adds the maxRecords to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetOrderByQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetOrderByQueryParameter(orderBy []string)

SetOrderByQueryParameter adds the orderBy to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationClusterNameQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationClusterNameQueryParameter(relationshipDestinationClusterName *string)

SetRelationshIPDestinationClusterNameQueryParameter adds the relationshipDestinationClusterName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationClusterUUIDQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationClusterUUIDQueryParameter(relationshipDestinationClusterUUID *string)

SetRelationshIPDestinationClusterUUIDQueryParameter adds the relationshipDestinationClusterUuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter(relationshipDestinationConsistencyGroupVolumesName *string)

SetRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter adds the relationshipDestinationConsistencyGroupVolumesName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationPathQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationPathQueryParameter(relationshipDestinationPath *string)

SetRelationshIPDestinationPathQueryParameter adds the relationshipDestinationPath to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationSVMNameQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationSVMNameQueryParameter(relationshipDestinationSvmName *string)

SetRelationshIPDestinationSVMNameQueryParameter adds the relationshipDestinationSvmName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationSVMUUIDQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationSVMUUIDQueryParameter(relationshipDestinationSvmUUID *string)

SetRelationshIPDestinationSVMUUIDQueryParameter adds the relationshipDestinationSvmUuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationUUIDQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPDestinationUUIDQueryParameter(relationshipDestinationUUID *string)

SetRelationshIPDestinationUUIDQueryParameter adds the relationshipDestinationUuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPRestoreQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPRestoreQueryParameter(relationshipRestore *bool)

SetRelationshIPRestoreQueryParameter adds the relationshipRestore to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetRelationshIPUUIDPathParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetRelationshIPUUIDPathParameter(relationshipUUID string)

SetRelationshIPUUIDPathParameter adds the relationshipUuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetReturnRecordsQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)

SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetSnapshotQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetSnapshotQueryParameter(snapshot *string)

SetSnapshotQueryParameter adds the snapshot to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetStateQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetStateQueryParameter(state *string)

SetStateQueryParameter adds the state to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetThrottleQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetThrottleQueryParameter(throttle *int64)

SetThrottleQueryParameter adds the throttle to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetTimeout

SetTimeout adds the timeout to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetTotalDurationQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetTotalDurationQueryParameter(totalDuration *string)

SetTotalDurationQueryParameter adds the totalDuration to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) SetUUIDQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) SetUUIDQueryParameter(uuid *string)

SetUUIDQueryParameter adds the uuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithArchiveRetrievalPriorityQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithArchiveRetrievalPriorityQueryParameter(archiveRetrievalPriority *string) *SnapmirrorRelationshipTransfersGetParams

WithArchiveRetrievalPriorityQueryParameter adds the archiveRetrievalPriority to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithBytesTransferredQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithBytesTransferredQueryParameter(bytesTransferred *int64) *SnapmirrorRelationshipTransfersGetParams

WithBytesTransferredQueryParameter adds the bytesTransferred to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithCheckpointSizeQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithCheckpointSizeQueryParameter(checkpointSize *int64) *SnapmirrorRelationshipTransfersGetParams

WithCheckpointSizeQueryParameter adds the checkpointSize to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithContext

WithContext adds the context to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationship transfers get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipTransfersGetParams) WithEndTimeQueryParameter

WithEndTimeQueryParameter adds the endTime to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithErrorInfoCodeQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithErrorInfoCodeQueryParameter(errorInfoCode *int64) *SnapmirrorRelationshipTransfersGetParams

WithErrorInfoCodeQueryParameter adds the errorInfoCode to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithErrorInfoMessageQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithErrorInfoMessageQueryParameter(errorInfoMessage *string) *SnapmirrorRelationshipTransfersGetParams

WithErrorInfoMessageQueryParameter adds the errorInfoMessage to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithFieldsQueryParameter

WithFieldsQueryParameter adds the fields to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithMaxRecordsQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnapmirrorRelationshipTransfersGetParams

WithMaxRecordsQueryParameter adds the maxRecords to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithOrderByQueryParameter

WithOrderByQueryParameter adds the orderBy to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationClusterNameQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationClusterNameQueryParameter(relationshipDestinationClusterName *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshIPDestinationClusterNameQueryParameter adds the relationshipDestinationClusterName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationClusterUUIDQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationClusterUUIDQueryParameter(relationshipDestinationClusterUUID *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshIPDestinationClusterUUIDQueryParameter adds the relationshipDestinationClusterUUID to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter(relationshipDestinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshIPDestinationConsistencyGroupVolumesNameQueryParameter adds the relationshipDestinationConsistencyGroupVolumesName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationPathQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationPathQueryParameter(relationshipDestinationPath *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshIPDestinationPathQueryParameter adds the relationshipDestinationPath to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationSVMNameQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationSVMNameQueryParameter(relationshipDestinationSvmName *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshIPDestinationSVMNameQueryParameter adds the relationshipDestinationSvmName to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationSVMUUIDQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationSVMUUIDQueryParameter(relationshipDestinationSvmUUID *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshIPDestinationSVMUUIDQueryParameter adds the relationshipDestinationSvmUUID to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationUUIDQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPDestinationUUIDQueryParameter(relationshipDestinationUUID *string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshIPDestinationUUIDQueryParameter adds the relationshipDestinationUUID to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPRestoreQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPRestoreQueryParameter(relationshipRestore *bool) *SnapmirrorRelationshipTransfersGetParams

WithRelationshIPRestoreQueryParameter adds the relationshipRestore to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithRelationshIPUUIDPathParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithRelationshIPUUIDPathParameter(relationshipUUID string) *SnapmirrorRelationshipTransfersGetParams

WithRelationshIPUUIDPathParameter adds the relationshipUUID to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithReturnRecordsQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipTransfersGetParams

WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipTransfersGetParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithSnapshotQueryParameter

WithSnapshotQueryParameter adds the snapshot to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithStateQueryParameter

WithStateQueryParameter adds the state to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithThrottleQueryParameter

WithThrottleQueryParameter adds the throttle to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithTotalDurationQueryParameter

func (o *SnapmirrorRelationshipTransfersGetParams) WithTotalDurationQueryParameter(totalDuration *string) *SnapmirrorRelationshipTransfersGetParams

WithTotalDurationQueryParameter adds the totalDuration to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WithUUIDQueryParameter

WithUUIDQueryParameter adds the uuid to the snapmirror relationship transfers get params

func (*SnapmirrorRelationshipTransfersGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipTransfersGetReader

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

SnapmirrorRelationshipTransfersGetReader is a Reader for the SnapmirrorRelationshipTransfersGet structure.

func (*SnapmirrorRelationshipTransfersGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnapmirrorRelationshipsGetDefault

type SnapmirrorRelationshipsGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnapmirrorRelationshipsGetDefault describes a response with status code -1, with default header values.

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13303825 | Could not retrieve information for the SnapMirror policy type | | 13303817 | Unknown value for the Snapmirror State |

func NewSnapmirrorRelationshipsGetDefault

func NewSnapmirrorRelationshipsGetDefault(code int) *SnapmirrorRelationshipsGetDefault

NewSnapmirrorRelationshipsGetDefault creates a SnapmirrorRelationshipsGetDefault with default headers values

func (*SnapmirrorRelationshipsGetDefault) Code

Code gets the status code for the snapmirror relationships get default response

func (*SnapmirrorRelationshipsGetDefault) Error

func (*SnapmirrorRelationshipsGetDefault) GetPayload

func (*SnapmirrorRelationshipsGetDefault) IsClientError

func (o *SnapmirrorRelationshipsGetDefault) IsClientError() bool

IsClientError returns true when this snapmirror relationships get default response has a 4xx status code

func (*SnapmirrorRelationshipsGetDefault) IsCode

func (o *SnapmirrorRelationshipsGetDefault) IsCode(code int) bool

IsCode returns true when this snapmirror relationships get default response a status code equal to that given

func (*SnapmirrorRelationshipsGetDefault) IsRedirect

func (o *SnapmirrorRelationshipsGetDefault) IsRedirect() bool

IsRedirect returns true when this snapmirror relationships get default response has a 3xx status code

func (*SnapmirrorRelationshipsGetDefault) IsServerError

func (o *SnapmirrorRelationshipsGetDefault) IsServerError() bool

IsServerError returns true when this snapmirror relationships get default response has a 5xx status code

func (*SnapmirrorRelationshipsGetDefault) IsSuccess

func (o *SnapmirrorRelationshipsGetDefault) IsSuccess() bool

IsSuccess returns true when this snapmirror relationships get default response has a 2xx status code

func (*SnapmirrorRelationshipsGetDefault) String

type SnapmirrorRelationshipsGetOK

type SnapmirrorRelationshipsGetOK struct {
	Payload *models.SnapmirrorRelationshipResponse
}

SnapmirrorRelationshipsGetOK describes a response with status code 200, with default header values.

OK

func NewSnapmirrorRelationshipsGetOK

func NewSnapmirrorRelationshipsGetOK() *SnapmirrorRelationshipsGetOK

NewSnapmirrorRelationshipsGetOK creates a SnapmirrorRelationshipsGetOK with default headers values

func (*SnapmirrorRelationshipsGetOK) Error

func (*SnapmirrorRelationshipsGetOK) GetPayload

func (*SnapmirrorRelationshipsGetOK) IsClientError

func (o *SnapmirrorRelationshipsGetOK) IsClientError() bool

IsClientError returns true when this snapmirror relationships get o k response has a 4xx status code

func (*SnapmirrorRelationshipsGetOK) IsCode

func (o *SnapmirrorRelationshipsGetOK) IsCode(code int) bool

IsCode returns true when this snapmirror relationships get o k response a status code equal to that given

func (*SnapmirrorRelationshipsGetOK) IsRedirect

func (o *SnapmirrorRelationshipsGetOK) IsRedirect() bool

IsRedirect returns true when this snapmirror relationships get o k response has a 3xx status code

func (*SnapmirrorRelationshipsGetOK) IsServerError

func (o *SnapmirrorRelationshipsGetOK) IsServerError() bool

IsServerError returns true when this snapmirror relationships get o k response has a 5xx status code

func (*SnapmirrorRelationshipsGetOK) IsSuccess

func (o *SnapmirrorRelationshipsGetOK) IsSuccess() bool

IsSuccess returns true when this snapmirror relationships get o k response has a 2xx status code

func (*SnapmirrorRelationshipsGetOK) String

type SnapmirrorRelationshipsGetParams

type SnapmirrorRelationshipsGetParams struct {

	/* ConsistencyGroupFailoverErrorArgumentsCode.

	   Filter by consistency_group_failover.error.arguments.code
	*/
	ConsistencyGroupFailoverErrorArgumentsCodeQueryParameter *string

	/* ConsistencyGroupFailoverErrorArgumentsMessage.

	   Filter by consistency_group_failover.error.arguments.message
	*/
	ConsistencyGroupFailoverErrorArgumentsMessageQueryParameter *string

	/* ConsistencyGroupFailoverErrorCode.

	   Filter by consistency_group_failover.error.code
	*/
	ConsistencyGroupFailoverErrorCodeQueryParameter *string

	/* ConsistencyGroupFailoverErrorMessage.

	   Filter by consistency_group_failover.error.message
	*/
	ConsistencyGroupFailoverErrorMessageQueryParameter *string

	/* ConsistencyGroupFailoverErrorTarget.

	   Filter by consistency_group_failover.error.target
	*/
	ConsistencyGroupFailoverErrorTargetQueryParameter *string

	/* ConsistencyGroupFailoverStatusCode.

	   Filter by consistency_group_failover.status.code
	*/
	ConsistencyGroupFailoverStatusCodeQueryParameter *string

	/* ConsistencyGroupFailoverStatusMessage.

	   Filter by consistency_group_failover.status.message
	*/
	ConsistencyGroupFailoverStatusMessageQueryParameter *string

	/* DestinationClusterName.

	   Filter by destination.cluster.name
	*/
	DestinationClusterNameQueryParameter *string

	/* DestinationClusterUUID.

	   Filter by destination.cluster.uuid
	*/
	DestinationClusterUUIDQueryParameter *string

	/* DestinationConsistencyGroupVolumesName.

	   Filter by destination.consistency_group_volumes.name
	*/
	DestinationConsistencyGroupVolumesNameQueryParameter *string

	/* DestinationPath.

	   Filter by destination.path
	*/
	DestinationPathQueryParameter *string

	/* DestinationSvmName.

	   Filter by destination.svm.name
	*/
	DestinationSVMNameQueryParameter *string

	/* DestinationSvmUUID.

	   Filter by destination.svm.uuid
	*/
	DestinationSVMUUIDQueryParameter *string

	/* DestinationUUID.

	   Filter by destination.uuid
	*/
	DestinationUUIDQueryParameter *string

	/* ExportedSnapshot.

	   Filter by exported_snapshot
	*/
	ExportedSnapshotQueryParameter *string

	/* FabriclinkDestinationBucket.

	   Filter by fabriclink.destination_bucket
	*/
	FabriclinkDestinationBucketQueryParameter *string

	/* FabriclinkDestinationRole.

	   Filter by fabriclink.destination_role
	*/
	FabriclinkDestinationRoleQueryParameter *string

	/* FabriclinkPendingWorkTaskCount.

	   Filter by fabriclink.pending_work_task_count
	*/
	FabriclinkPendingWorkTaskCountQueryParameter *int64

	/* FabriclinkPullByteCount.

	   Filter by fabriclink.pull_byte_count
	*/
	FabriclinkPullByteCountQueryParameter *int64

	/* FabriclinkPushByteCount.

	   Filter by fabriclink.push_byte_count
	*/
	FabriclinkPushByteCountQueryParameter *int64

	/* FabriclinkSourceBucket.

	   Filter by fabriclink.source_bucket
	*/
	FabriclinkSourceBucketQueryParameter *string

	/* FabriclinkSourceRole.

	   Filter by fabriclink.source_role
	*/
	FabriclinkSourceRoleQueryParameter *string

	/* FabriclinkStatus.

	   Filter by fabriclink.status
	*/
	FabriclinkStatusQueryParameter *string

	/* FabriclinkTopologyUUID.

	   Filter by fabriclink.topology_uuid
	*/
	FabriclinkTopologyUUIDQueryParameter *string

	/* Fields.

	   Specify the fields to return.
	*/
	FieldsQueryParameter []string

	/* GroupType.

	   Filter by group_type
	*/
	GroupTypeQueryParameter *string

	/* Healthy.

	   Filter by healthy
	*/
	HealthyQueryParameter *bool

	/* IdentityPreservation.

	   Filter by identity_preservation
	*/
	IdentityPreservationQueryParameter *string

	/* LagTime.

	   Filter by lag_time
	*/
	LagTimeQueryParameter *string

	/* LastTransferType.

	   Filter by last_transfer_type
	*/
	LastTransferTypeQueryParameter *string

	/* ListDestinationsOnly.

	   Set to true to show relationships from the source only.
	*/
	ListDestinationsOnlyQueryParameter *bool

	/* MaxRecords.

	   Limit the number of records returned.
	*/
	MaxRecordsQueryParameter *int64

	/* OrderBy.

	   Order results by specified fields and optional [asc|desc] direction. Default direction is 'asc' for ascending.
	*/
	OrderByQueryParameter []string

	/* PolicyName.

	   Filter by policy.name
	*/
	PolicyNameQueryParameter *string

	/* PolicyTransferScheduleName.

	   Filter by policy.transfer_schedule.name
	*/
	PolicyTransferScheduleNameQueryParameter *string

	/* PolicyType.

	   Filter by policy.type
	*/
	PolicyTypeQueryParameter *string

	/* PolicyUUID.

	   Filter by policy.uuid
	*/
	PolicyUUIDQueryParameter *string

	/* Restore.

	   Filter by restore
	*/
	RestoreQueryParameter *bool

	/* ReturnRecords.

	   The default is true for GET calls.  When set to false, only the number of records is returned.

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

	   The number of seconds to allow the call to execute before returning.  When iterating over a collection, the default is 15 seconds.  ONTAP returns earlier if either max records or the end of the collection is reached.

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	/* SourceClusterName.

	   Filter by source.cluster.name
	*/
	SourceClusterNameQueryParameter *string

	/* SourceClusterUUID.

	   Filter by source.cluster.uuid
	*/
	SourceClusterUUIDQueryParameter *string

	/* SourceConsistencyGroupVolumesName.

	   Filter by source.consistency_group_volumes.name
	*/
	SourceConsistencyGroupVolumesNameQueryParameter *string

	/* SourcePath.

	   Filter by source.path
	*/
	SourcePathQueryParameter *string

	/* SourceSvmName.

	   Filter by source.svm.name
	*/
	SourceSVMNameQueryParameter *string

	/* SourceSvmUUID.

	   Filter by source.svm.uuid
	*/
	SourceSVMUUIDQueryParameter *string

	/* SourceUUID.

	   Filter by source.uuid
	*/
	SourceUUIDQueryParameter *string

	/* State.

	   Filter by state
	*/
	StateQueryParameter *string

	/* Throttle.

	   Filter by throttle
	*/
	ThrottleQueryParameter *int64

	/* TransferBytesTransferred.

	   Filter by transfer.bytes_transferred
	*/
	TransferBytesTransferredQueryParameter *int64

	/* TransferEndTime.

	   Filter by transfer.end_time
	*/
	TransferEndTimeQueryParameter *string

	/* TransferState.

	   Filter by transfer.state
	*/
	TransferStateQueryParameter *string

	/* TransferTotalDuration.

	   Filter by transfer.total_duration
	*/
	TransferTotalDurationQueryParameter *string

	/* TransferUUID.

	   Filter by transfer.uuid
	*/
	TransferUUIDQueryParameter *string

	/* TransferScheduleName.

	   Filter by transfer_schedule.name
	*/
	TransferScheduleNameQueryParameter *string

	/* TransferScheduleUUID.

	   Filter by transfer_schedule.uuid
	*/
	TransferScheduleUUIDQueryParameter *string

	/* UnhealthyReasonCode.

	   Filter by unhealthy_reason.code
	*/
	UnhealthyReasonCodeQueryParameter *int64

	/* UnhealthyReasonMessage.

	   Filter by unhealthy_reason.message
	*/
	UnhealthyReasonMessageQueryParameter *string

	/* UnhealthyReasonParameters.

	   Filter by unhealthy_reason.parameters
	*/
	UnhealthyReasonParametersQueryParameter *string

	/* UUID.

	   Filter by uuid
	*/
	UUIDQueryParameter *string

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

SnapmirrorRelationshipsGetParams contains all the parameters to send to the API endpoint

for the snapmirror relationships get operation.

Typically these are written to a http.Request.

func NewSnapmirrorRelationshipsGetParams

func NewSnapmirrorRelationshipsGetParams() *SnapmirrorRelationshipsGetParams

NewSnapmirrorRelationshipsGetParams creates a new SnapmirrorRelationshipsGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapmirrorRelationshipsGetParamsWithContext

func NewSnapmirrorRelationshipsGetParamsWithContext(ctx context.Context) *SnapmirrorRelationshipsGetParams

NewSnapmirrorRelationshipsGetParamsWithContext creates a new SnapmirrorRelationshipsGetParams object with the ability to set a context for a request.

func NewSnapmirrorRelationshipsGetParamsWithHTTPClient

func NewSnapmirrorRelationshipsGetParamsWithHTTPClient(client *http.Client) *SnapmirrorRelationshipsGetParams

NewSnapmirrorRelationshipsGetParamsWithHTTPClient creates a new SnapmirrorRelationshipsGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnapmirrorRelationshipsGetParamsWithTimeout

func NewSnapmirrorRelationshipsGetParamsWithTimeout(timeout time.Duration) *SnapmirrorRelationshipsGetParams

NewSnapmirrorRelationshipsGetParamsWithTimeout creates a new SnapmirrorRelationshipsGetParams object with the ability to set a timeout on a request.

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsCodeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsCodeQueryParameter(consistencyGroupFailoverErrorArgumentsCode *string)

SetConsistencyGroupFailoverErrorArgumentsCodeQueryParameter adds the consistencyGroupFailoverErrorArgumentsCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsMessageQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorArgumentsMessageQueryParameter(consistencyGroupFailoverErrorArgumentsMessage *string)

SetConsistencyGroupFailoverErrorArgumentsMessageQueryParameter adds the consistencyGroupFailoverErrorArgumentsMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorCodeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorCodeQueryParameter(consistencyGroupFailoverErrorCode *string)

SetConsistencyGroupFailoverErrorCodeQueryParameter adds the consistencyGroupFailoverErrorCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorMessageQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorMessageQueryParameter(consistencyGroupFailoverErrorMessage *string)

SetConsistencyGroupFailoverErrorMessageQueryParameter adds the consistencyGroupFailoverErrorMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorTargetQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverErrorTargetQueryParameter(consistencyGroupFailoverErrorTarget *string)

SetConsistencyGroupFailoverErrorTargetQueryParameter adds the consistencyGroupFailoverErrorTarget to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusCodeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusCodeQueryParameter(consistencyGroupFailoverStatusCode *string)

SetConsistencyGroupFailoverStatusCodeQueryParameter adds the consistencyGroupFailoverStatusCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusMessageQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetConsistencyGroupFailoverStatusMessageQueryParameter(consistencyGroupFailoverStatusMessage *string)

SetConsistencyGroupFailoverStatusMessageQueryParameter adds the consistencyGroupFailoverStatusMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetContext

SetContext adds the context to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDefaults

func (o *SnapmirrorRelationshipsGetParams) SetDefaults()

SetDefaults hydrates default values in the snapmirror relationships get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipsGetParams) SetDestinationClusterNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterNameQueryParameter(destinationClusterName *string)

SetDestinationClusterNameQueryParameter adds the destinationClusterName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationClusterUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetDestinationClusterUUIDQueryParameter(destinationClusterUUID *string)

SetDestinationClusterUUIDQueryParameter adds the destinationClusterUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationConsistencyGroupVolumesNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetDestinationConsistencyGroupVolumesNameQueryParameter(destinationConsistencyGroupVolumesName *string)

SetDestinationConsistencyGroupVolumesNameQueryParameter adds the destinationConsistencyGroupVolumesName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationPathQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetDestinationPathQueryParameter(destinationPath *string)

SetDestinationPathQueryParameter adds the destinationPath to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationSVMNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetDestinationSVMNameQueryParameter(destinationSvmName *string)

SetDestinationSVMNameQueryParameter adds the destinationSvmName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationSVMUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetDestinationSVMUUIDQueryParameter(destinationSvmUUID *string)

SetDestinationSVMUUIDQueryParameter adds the destinationSvmUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetDestinationUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetDestinationUUIDQueryParameter(destinationUUID *string)

SetDestinationUUIDQueryParameter adds the destinationUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetExportedSnapshotQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetExportedSnapshotQueryParameter(exportedSnapshot *string)

SetExportedSnapshotQueryParameter adds the exportedSnapshot to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFabriclinkDestinationBucketQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkDestinationBucketQueryParameter(fabriclinkDestinationBucket *string)

SetFabriclinkDestinationBucketQueryParameter adds the fabriclinkDestinationBucket to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFabriclinkDestinationRoleQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkDestinationRoleQueryParameter(fabriclinkDestinationRole *string)

SetFabriclinkDestinationRoleQueryParameter adds the fabriclinkDestinationRole to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFabriclinkPendingWorkTaskCountQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkPendingWorkTaskCountQueryParameter(fabriclinkPendingWorkTaskCount *int64)

SetFabriclinkPendingWorkTaskCountQueryParameter adds the fabriclinkPendingWorkTaskCount to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFabriclinkPullByteCountQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkPullByteCountQueryParameter(fabriclinkPullByteCount *int64)

SetFabriclinkPullByteCountQueryParameter adds the fabriclinkPullByteCount to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFabriclinkPushByteCountQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkPushByteCountQueryParameter(fabriclinkPushByteCount *int64)

SetFabriclinkPushByteCountQueryParameter adds the fabriclinkPushByteCount to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFabriclinkSourceBucketQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkSourceBucketQueryParameter(fabriclinkSourceBucket *string)

SetFabriclinkSourceBucketQueryParameter adds the fabriclinkSourceBucket to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFabriclinkSourceRoleQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkSourceRoleQueryParameter(fabriclinkSourceRole *string)

SetFabriclinkSourceRoleQueryParameter adds the fabriclinkSourceRole to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFabriclinkStatusQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkStatusQueryParameter(fabriclinkStatus *string)

SetFabriclinkStatusQueryParameter adds the fabriclinkStatus to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFabriclinkTopologyUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetFabriclinkTopologyUUIDQueryParameter(fabriclinkTopologyUUID *string)

SetFabriclinkTopologyUUIDQueryParameter adds the fabriclinkTopologyUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetFieldsQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetFieldsQueryParameter(fields []string)

SetFieldsQueryParameter adds the fields to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetGroupTypeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetGroupTypeQueryParameter(groupType *string)

SetGroupTypeQueryParameter adds the groupType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetHealthyQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetHealthyQueryParameter(healthy *bool)

SetHealthyQueryParameter adds the healthy to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetIdentityPreservationQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetIdentityPreservationQueryParameter(identityPreservation *string)

SetIdentityPreservationQueryParameter adds the identityPreservation to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetLagTimeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetLagTimeQueryParameter(lagTime *string)

SetLagTimeQueryParameter adds the lagTime to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetLastTransferTypeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetLastTransferTypeQueryParameter(lastTransferType *string)

SetLastTransferTypeQueryParameter adds the lastTransferType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetListDestinationsOnlyQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetListDestinationsOnlyQueryParameter(listDestinationsOnly *bool)

SetListDestinationsOnlyQueryParameter adds the listDestinationsOnly to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetMaxRecordsQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)

SetMaxRecordsQueryParameter adds the maxRecords to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetOrderByQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetOrderByQueryParameter(orderBy []string)

SetOrderByQueryParameter adds the orderBy to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetPolicyNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetPolicyNameQueryParameter(policyName *string)

SetPolicyNameQueryParameter adds the policyName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetPolicyTransferScheduleNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetPolicyTransferScheduleNameQueryParameter(policyTransferScheduleName *string)

SetPolicyTransferScheduleNameQueryParameter adds the policyTransferScheduleName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetPolicyTypeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetPolicyTypeQueryParameter(policyType *string)

SetPolicyTypeQueryParameter adds the policyType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetPolicyUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetPolicyUUIDQueryParameter(policyUUID *string)

SetPolicyUUIDQueryParameter adds the policyUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetRestoreQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetRestoreQueryParameter(restore *bool)

SetRestoreQueryParameter adds the restore to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetReturnRecordsQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)

SetReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)

SetReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceClusterNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterNameQueryParameter(sourceClusterName *string)

SetSourceClusterNameQueryParameter adds the sourceClusterName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceClusterUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetSourceClusterUUIDQueryParameter(sourceClusterUUID *string)

SetSourceClusterUUIDQueryParameter adds the sourceClusterUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceConsistencyGroupVolumesNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetSourceConsistencyGroupVolumesNameQueryParameter(sourceConsistencyGroupVolumesName *string)

SetSourceConsistencyGroupVolumesNameQueryParameter adds the sourceConsistencyGroupVolumesName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourcePathQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetSourcePathQueryParameter(sourcePath *string)

SetSourcePathQueryParameter adds the sourcePath to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceSVMNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetSourceSVMNameQueryParameter(sourceSvmName *string)

SetSourceSVMNameQueryParameter adds the sourceSvmName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceSVMUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetSourceSVMUUIDQueryParameter(sourceSvmUUID *string)

SetSourceSVMUUIDQueryParameter adds the sourceSvmUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetSourceUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetSourceUUIDQueryParameter(sourceUUID *string)

SetSourceUUIDQueryParameter adds the sourceUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetStateQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetStateQueryParameter(state *string)

SetStateQueryParameter adds the state to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetThrottleQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetThrottleQueryParameter(throttle *int64)

SetThrottleQueryParameter adds the throttle to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTimeout

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

SetTimeout adds the timeout to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferBytesTransferredQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetTransferBytesTransferredQueryParameter(transferBytesTransferred *int64)

SetTransferBytesTransferredQueryParameter adds the transferBytesTransferred to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferEndTimeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetTransferEndTimeQueryParameter(transferEndTime *string)

SetTransferEndTimeQueryParameter adds the transferEndTime to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferScheduleNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleNameQueryParameter(transferScheduleName *string)

SetTransferScheduleNameQueryParameter adds the transferScheduleName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferScheduleUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetTransferScheduleUUIDQueryParameter(transferScheduleUUID *string)

SetTransferScheduleUUIDQueryParameter adds the transferScheduleUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferStateQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetTransferStateQueryParameter(transferState *string)

SetTransferStateQueryParameter adds the transferState to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferTotalDurationQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetTransferTotalDurationQueryParameter(transferTotalDuration *string)

SetTransferTotalDurationQueryParameter adds the transferTotalDuration to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetTransferUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetTransferUUIDQueryParameter(transferUUID *string)

SetTransferUUIDQueryParameter adds the transferUuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetUUIDQueryParameter(uuid *string)

SetUUIDQueryParameter adds the uuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonCodeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonCodeQueryParameter(unhealthyReasonCode *int64)

SetUnhealthyReasonCodeQueryParameter adds the unhealthyReasonCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonMessageQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonMessageQueryParameter(unhealthyReasonMessage *string)

SetUnhealthyReasonMessageQueryParameter adds the unhealthyReasonMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) SetUnhealthyReasonParametersQueryParameter

func (o *SnapmirrorRelationshipsGetParams) SetUnhealthyReasonParametersQueryParameter(unhealthyReasonParameters *string)

SetUnhealthyReasonParametersQueryParameter adds the unhealthyReasonParameters to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsCodeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsCodeQueryParameter(consistencyGroupFailoverErrorArgumentsCode *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverErrorArgumentsCodeQueryParameter adds the consistencyGroupFailoverErrorArgumentsCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsMessageQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorArgumentsMessageQueryParameter(consistencyGroupFailoverErrorArgumentsMessage *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverErrorArgumentsMessageQueryParameter adds the consistencyGroupFailoverErrorArgumentsMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorCodeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorCodeQueryParameter(consistencyGroupFailoverErrorCode *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverErrorCodeQueryParameter adds the consistencyGroupFailoverErrorCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorMessageQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorMessageQueryParameter(consistencyGroupFailoverErrorMessage *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverErrorMessageQueryParameter adds the consistencyGroupFailoverErrorMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorTargetQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverErrorTargetQueryParameter(consistencyGroupFailoverErrorTarget *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverErrorTargetQueryParameter adds the consistencyGroupFailoverErrorTarget to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusCodeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusCodeQueryParameter(consistencyGroupFailoverStatusCode *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverStatusCodeQueryParameter adds the consistencyGroupFailoverStatusCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusMessageQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithConsistencyGroupFailoverStatusMessageQueryParameter(consistencyGroupFailoverStatusMessage *string) *SnapmirrorRelationshipsGetParams

WithConsistencyGroupFailoverStatusMessageQueryParameter adds the consistencyGroupFailoverStatusMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithContext

WithContext adds the context to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDefaults

WithDefaults hydrates default values in the snapmirror relationships get params (not the query body).

All values with no default are reset to their zero value.

func (*SnapmirrorRelationshipsGetParams) WithDestinationClusterNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterNameQueryParameter(destinationClusterName *string) *SnapmirrorRelationshipsGetParams

WithDestinationClusterNameQueryParameter adds the destinationClusterName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationClusterUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithDestinationClusterUUIDQueryParameter(destinationClusterUUID *string) *SnapmirrorRelationshipsGetParams

WithDestinationClusterUUIDQueryParameter adds the destinationClusterUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationConsistencyGroupVolumesNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithDestinationConsistencyGroupVolumesNameQueryParameter(destinationConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams

WithDestinationConsistencyGroupVolumesNameQueryParameter adds the destinationConsistencyGroupVolumesName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationPathQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithDestinationPathQueryParameter(destinationPath *string) *SnapmirrorRelationshipsGetParams

WithDestinationPathQueryParameter adds the destinationPath to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationSVMNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithDestinationSVMNameQueryParameter(destinationSvmName *string) *SnapmirrorRelationshipsGetParams

WithDestinationSVMNameQueryParameter adds the destinationSvmName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationSVMUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithDestinationSVMUUIDQueryParameter(destinationSvmUUID *string) *SnapmirrorRelationshipsGetParams

WithDestinationSVMUUIDQueryParameter adds the destinationSvmUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithDestinationUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithDestinationUUIDQueryParameter(destinationUUID *string) *SnapmirrorRelationshipsGetParams

WithDestinationUUIDQueryParameter adds the destinationUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithExportedSnapshotQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithExportedSnapshotQueryParameter(exportedSnapshot *string) *SnapmirrorRelationshipsGetParams

WithExportedSnapshotQueryParameter adds the exportedSnapshot to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFabriclinkDestinationBucketQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkDestinationBucketQueryParameter(fabriclinkDestinationBucket *string) *SnapmirrorRelationshipsGetParams

WithFabriclinkDestinationBucketQueryParameter adds the fabriclinkDestinationBucket to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFabriclinkDestinationRoleQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkDestinationRoleQueryParameter(fabriclinkDestinationRole *string) *SnapmirrorRelationshipsGetParams

WithFabriclinkDestinationRoleQueryParameter adds the fabriclinkDestinationRole to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFabriclinkPendingWorkTaskCountQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkPendingWorkTaskCountQueryParameter(fabriclinkPendingWorkTaskCount *int64) *SnapmirrorRelationshipsGetParams

WithFabriclinkPendingWorkTaskCountQueryParameter adds the fabriclinkPendingWorkTaskCount to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFabriclinkPullByteCountQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkPullByteCountQueryParameter(fabriclinkPullByteCount *int64) *SnapmirrorRelationshipsGetParams

WithFabriclinkPullByteCountQueryParameter adds the fabriclinkPullByteCount to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFabriclinkPushByteCountQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkPushByteCountQueryParameter(fabriclinkPushByteCount *int64) *SnapmirrorRelationshipsGetParams

WithFabriclinkPushByteCountQueryParameter adds the fabriclinkPushByteCount to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFabriclinkSourceBucketQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkSourceBucketQueryParameter(fabriclinkSourceBucket *string) *SnapmirrorRelationshipsGetParams

WithFabriclinkSourceBucketQueryParameter adds the fabriclinkSourceBucket to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFabriclinkSourceRoleQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkSourceRoleQueryParameter(fabriclinkSourceRole *string) *SnapmirrorRelationshipsGetParams

WithFabriclinkSourceRoleQueryParameter adds the fabriclinkSourceRole to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFabriclinkStatusQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkStatusQueryParameter(fabriclinkStatus *string) *SnapmirrorRelationshipsGetParams

WithFabriclinkStatusQueryParameter adds the fabriclinkStatus to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFabriclinkTopologyUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithFabriclinkTopologyUUIDQueryParameter(fabriclinkTopologyUUID *string) *SnapmirrorRelationshipsGetParams

WithFabriclinkTopologyUUIDQueryParameter adds the fabriclinkTopologyUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithFieldsQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithFieldsQueryParameter(fields []string) *SnapmirrorRelationshipsGetParams

WithFieldsQueryParameter adds the fields to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithGroupTypeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithGroupTypeQueryParameter(groupType *string) *SnapmirrorRelationshipsGetParams

WithGroupTypeQueryParameter adds the groupType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithHealthyQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithHealthyQueryParameter(healthy *bool) *SnapmirrorRelationshipsGetParams

WithHealthyQueryParameter adds the healthy to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithIdentityPreservationQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithIdentityPreservationQueryParameter(identityPreservation *string) *SnapmirrorRelationshipsGetParams

WithIdentityPreservationQueryParameter adds the identityPreservation to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithLagTimeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithLagTimeQueryParameter(lagTime *string) *SnapmirrorRelationshipsGetParams

WithLagTimeQueryParameter adds the lagTime to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithLastTransferTypeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithLastTransferTypeQueryParameter(lastTransferType *string) *SnapmirrorRelationshipsGetParams

WithLastTransferTypeQueryParameter adds the lastTransferType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithListDestinationsOnlyQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithListDestinationsOnlyQueryParameter(listDestinationsOnly *bool) *SnapmirrorRelationshipsGetParams

WithListDestinationsOnlyQueryParameter adds the listDestinationsOnly to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithMaxRecordsQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnapmirrorRelationshipsGetParams

WithMaxRecordsQueryParameter adds the maxRecords to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithOrderByQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithOrderByQueryParameter(orderBy []string) *SnapmirrorRelationshipsGetParams

WithOrderByQueryParameter adds the orderBy to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithPolicyNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithPolicyNameQueryParameter(policyName *string) *SnapmirrorRelationshipsGetParams

WithPolicyNameQueryParameter adds the policyName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithPolicyTransferScheduleNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithPolicyTransferScheduleNameQueryParameter(policyTransferScheduleName *string) *SnapmirrorRelationshipsGetParams

WithPolicyTransferScheduleNameQueryParameter adds the policyTransferScheduleName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithPolicyTypeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithPolicyTypeQueryParameter(policyType *string) *SnapmirrorRelationshipsGetParams

WithPolicyTypeQueryParameter adds the policyType to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithPolicyUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithPolicyUUIDQueryParameter(policyUUID *string) *SnapmirrorRelationshipsGetParams

WithPolicyUUIDQueryParameter adds the policyUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithRestoreQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithRestoreQueryParameter(restore *bool) *SnapmirrorRelationshipsGetParams

WithRestoreQueryParameter adds the restore to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithReturnRecordsQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnapmirrorRelationshipsGetParams

WithReturnRecordsQueryParameter adds the returnRecords to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithReturnTimeoutQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnapmirrorRelationshipsGetParams

WithReturnTimeoutQueryParameter adds the returnTimeout to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceClusterNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterNameQueryParameter(sourceClusterName *string) *SnapmirrorRelationshipsGetParams

WithSourceClusterNameQueryParameter adds the sourceClusterName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceClusterUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithSourceClusterUUIDQueryParameter(sourceClusterUUID *string) *SnapmirrorRelationshipsGetParams

WithSourceClusterUUIDQueryParameter adds the sourceClusterUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceConsistencyGroupVolumesNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithSourceConsistencyGroupVolumesNameQueryParameter(sourceConsistencyGroupVolumesName *string) *SnapmirrorRelationshipsGetParams

WithSourceConsistencyGroupVolumesNameQueryParameter adds the sourceConsistencyGroupVolumesName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourcePathQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithSourcePathQueryParameter(sourcePath *string) *SnapmirrorRelationshipsGetParams

WithSourcePathQueryParameter adds the sourcePath to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceSVMNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithSourceSVMNameQueryParameter(sourceSvmName *string) *SnapmirrorRelationshipsGetParams

WithSourceSVMNameQueryParameter adds the sourceSvmName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceSVMUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithSourceSVMUUIDQueryParameter(sourceSvmUUID *string) *SnapmirrorRelationshipsGetParams

WithSourceSVMUUIDQueryParameter adds the sourceSvmUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithSourceUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithSourceUUIDQueryParameter(sourceUUID *string) *SnapmirrorRelationshipsGetParams

WithSourceUUIDQueryParameter adds the sourceUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithStateQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithStateQueryParameter(state *string) *SnapmirrorRelationshipsGetParams

WithStateQueryParameter adds the state to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithThrottleQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithThrottleQueryParameter(throttle *int64) *SnapmirrorRelationshipsGetParams

WithThrottleQueryParameter adds the throttle to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTimeout

WithTimeout adds the timeout to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferBytesTransferredQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithTransferBytesTransferredQueryParameter(transferBytesTransferred *int64) *SnapmirrorRelationshipsGetParams

WithTransferBytesTransferredQueryParameter adds the transferBytesTransferred to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferEndTimeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithTransferEndTimeQueryParameter(transferEndTime *string) *SnapmirrorRelationshipsGetParams

WithTransferEndTimeQueryParameter adds the transferEndTime to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferScheduleNameQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleNameQueryParameter(transferScheduleName *string) *SnapmirrorRelationshipsGetParams

WithTransferScheduleNameQueryParameter adds the transferScheduleName to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferScheduleUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithTransferScheduleUUIDQueryParameter(transferScheduleUUID *string) *SnapmirrorRelationshipsGetParams

WithTransferScheduleUUIDQueryParameter adds the transferScheduleUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferStateQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithTransferStateQueryParameter(transferState *string) *SnapmirrorRelationshipsGetParams

WithTransferStateQueryParameter adds the transferState to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferTotalDurationQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithTransferTotalDurationQueryParameter(transferTotalDuration *string) *SnapmirrorRelationshipsGetParams

WithTransferTotalDurationQueryParameter adds the transferTotalDuration to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithTransferUUIDQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithTransferUUIDQueryParameter(transferUUID *string) *SnapmirrorRelationshipsGetParams

WithTransferUUIDQueryParameter adds the transferUUID to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithUUIDQueryParameter

WithUUIDQueryParameter adds the uuid to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonCodeQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonCodeQueryParameter(unhealthyReasonCode *int64) *SnapmirrorRelationshipsGetParams

WithUnhealthyReasonCodeQueryParameter adds the unhealthyReasonCode to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonMessageQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonMessageQueryParameter(unhealthyReasonMessage *string) *SnapmirrorRelationshipsGetParams

WithUnhealthyReasonMessageQueryParameter adds the unhealthyReasonMessage to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WithUnhealthyReasonParametersQueryParameter

func (o *SnapmirrorRelationshipsGetParams) WithUnhealthyReasonParametersQueryParameter(unhealthyReasonParameters *string) *SnapmirrorRelationshipsGetParams

WithUnhealthyReasonParametersQueryParameter adds the unhealthyReasonParameters to the snapmirror relationships get params

func (*SnapmirrorRelationshipsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapmirrorRelationshipsGetReader

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

SnapmirrorRelationshipsGetReader is a Reader for the SnapmirrorRelationshipsGet structure.

func (*SnapmirrorRelationshipsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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