snap_lock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationHalJSON

func WithAcceptApplicationHalJSON(r *runtime.ClientOperation)

WithAcceptApplicationHalJSON sets the Accept header to "application/hal+json".

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithContentTypeApplicationHalJSON

func WithContentTypeApplicationHalJSON(r *runtime.ClientOperation)

WithContentTypeApplicationHalJSON sets the Content-Type header to "application/hal+json".

func WithContentTypeApplicationJSON

func WithContentTypeApplicationJSON(r *runtime.ClientOperation)

WithContentTypeApplicationJSON sets the Content-Type header to "application/json".

Types

type Client

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

Client for snap lock API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SnaplockComplianceClockCollectionGet

func (a *Client) SnaplockComplianceClockCollectionGet(params *SnaplockComplianceClockCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockComplianceClockCollectionGetOK, error)
SnaplockComplianceClockCollectionGet Retrieves the SnapLock ComplianceClock for all of the nodes in the cluster.

### Related ONTAP commands * `snaplock compliance-clock show` ### Learn more * [`DOC /storage/snaplock/compliance-clocks`](#docs-snaplock-storage_snaplock_compliance-clocks)

func (*Client) SnaplockComplianceClockCreate

SnaplockComplianceClockCreate Initializes the SnapLock ComplianceClock.

### Required properties * `node.name` or `node.uuid` - Name or UUID of the node. ### Related ONTAP commands * `snaplock compliance-clock initialize` ### Learn more * [`DOC /storage/snaplock/compliance-clocks`](#docs-snaplock-storage_snaplock_compliance-clocks)

func (*Client) SnaplockComplianceClockGet

func (a *Client) SnaplockComplianceClockGet(params *SnaplockComplianceClockGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockComplianceClockGetOK, error)
SnaplockComplianceClockGet Retrieves the SnapLock ComplianceClock for a specific node.

### Related ONTAP commands * `snaplock compliance-clock show` ### Learn more * [`DOC /storage/snaplock/compliance-clocks`](#docs-snaplock-storage_snaplock_compliance-clocks)

func (*Client) SnaplockFilePrivilegedDelete

SnaplockFilePrivilegedDelete Deletes unexpired WORM files of a SnapLock Enterprise volume. This is a privileged-delete operation. The only built-in role that has access to the command is vsadmin-snaplock.

### Related ONTAP commands * `volume file privileged-delete` ### Learn more * [`DOC /storage/snaplock/file/{volume.uuid}/{path}`](#docs-snaplock-storage_snaplock_file_{volume.uuid}_{path})

func (*Client) SnaplockFileRetentionGet

func (a *Client) SnaplockFileRetentionGet(params *SnaplockFileRetentionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFileRetentionGetOK, error)
SnaplockFileRetentionGet Retrieves the SnapLock retention details of the specified file. An indefinite expiry time indicates the file is under a Legal-Hold.

### Related ONTAP commands * `volume file retention show` ### Learn more * [`DOC /storage/snaplock/file/{volume.uuid}/{path}`](#docs-snaplock-storage_snaplock_file_{volume.uuid}_{path})

func (*Client) SnaplockFileRetentionTimeModify

func (a *Client) SnaplockFileRetentionTimeModify(params *SnaplockFileRetentionTimeModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFileRetentionTimeModifyOK, error)
SnaplockFileRetentionTimeModify Updates the SnapLock retention time of a file or extends the retention time of a WORM file. Input parameters "expiry_time" or "retention_period" can be used to set or extend the retention time of file. Both "expiry_time" and "retention_period" parameters expect the date in ISO 8601 format. Additionally, the "expiry_time" parameter can also be set to "infinite" or "unspecified" and the "retention_period" parameter can also be set to "infinite". The input parameters are mutually exclusive.

### Related ONTAP commands * `volume file retention set` ### Learn more * [`DOC /storage/snaplock/file/{volume.uuid}/{path}`](#docs-snaplock-storage_snaplock_file_{volume.uuid}_{path})

func (*Client) SnaplockFingerprintOperationCollectionGet

SnaplockFingerprintOperationCollectionGet Retrieves a list of all the fingerprint operations of the specified SVM and volume.

### Related ONTAP commands * `volume file fingerprint show` ### Example <br/> ``` GET "/api/storage/snaplock/file-fingerprints/?svm.uuid=23940494-3f3a-11e9-8675-0050568e8f89&volume.uuid=36cdb58c-3f3a-11e9-8675-0050568e8f89" ``` <br/> ### Learn more * [`DOC /storage/snaplock/file-fingerprints`](#docs-snaplock-storage_snaplock_file-fingerprints)

func (*Client) SnaplockFingerprintOperationCreate

SnaplockFingerprintOperationCreate Creates a fingerprint computation session on the file and returns a session-id. This session-id is a unique identifier that you can use to retrieve the progress of an ongoing fingerprint operation. When the operation is complete, you can use the session-id to retrieve the complete fingerprint output for the file .

### Required properties * `svm.uuid` or `svm.name` - Name or UUID of the SVM. * `volume.name` or `volume.uuid` - Name or UUID of the volume. * `path` - Path of the file. ### Default property values If not specified in POST, the follow default property values are assigned: * `algorithm` - _sha256_ ### Related ONTAP commands * `volume file fingerprint start` ### Example <br/> ``` POST "/api/storage/snaplock/file-fingerprints" '{"svm":{"uuid":"23940494-3f3a-11e9-8675-0050568e8f89"},"volume": {"uuid":"26cdb58c-3f3a-11e9-8675-0050568e8f89"},"path":"/vol/a1.txt","algorithm":"md5"}' ``` <br/> ### Learn more * [`DOC /storage/snaplock/file-fingerprints`](#docs-snaplock-storage_snaplock_file-fingerprints)

func (*Client) SnaplockFingerprintOperationDelete

func (a *Client) SnaplockFingerprintOperationDelete(params *SnaplockFingerprintOperationDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFingerprintOperationDeleteOK, error)
SnaplockFingerprintOperationDelete Aborts an in-progress fingerprint operation. This API takes session-id as input and aborts the fingerprint operation that is associated with the specified session-id.

### Related ONTAP commands * `volume file fingerprint abort` ### Learn more * [`DOC /storage/snaplock/file-fingerprints`](#docs-snaplock-storage_snaplock_file-fingerprints)

func (*Client) SnaplockFingerprintOperationGet

func (a *Client) SnaplockFingerprintOperationGet(params *SnaplockFingerprintOperationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFingerprintOperationGetOK, error)
SnaplockFingerprintOperationGet Retrieves the file fingerprint information for a specific session ID.

### Related ONTAP commands * `volume file fingerprint dump` ### Learn more * [`DOC /storage/snaplock/file-fingerprints`](#docs-snaplock-storage_snaplock_file-fingerprints)

func (*Client) SnaplockLegalHoldBegin

func (a *Client) SnaplockLegalHoldBegin(params *SnaplockLegalHoldBeginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldBeginCreated, error)
SnaplockLegalHoldBegin Starts a  Legal-Hold.

### Required properties * `path` - Path of the file. * `name` - Litigation name. * `volume.name` or `volume.uuid` - Name or UUID of the volume. ### Related ONTAP commands * `snaplock legal-hold begin` ### Example <br/> ``` POST "/api/storage/snaplock/litigations" '{"volume.name":"SLC1","name":"l3","path":"/b.txt"}' ``` <br/> ### Learn more * [`DOC /storage/snaplock/litigations`](#docs-snaplock-storage_snaplock_litigations)

func (*Client) SnaplockLegalHoldCollectionGet

func (a *Client) SnaplockLegalHoldCollectionGet(params *SnaplockLegalHoldCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldCollectionGetOK, error)
SnaplockLegalHoldCollectionGet Retrieves the list of litigations under an SVM.

### Related ONTAP commands * `snaplock legal-hold show` ### Learn more * [`DOC /storage/snaplock/litigations`](#docs-snaplock-storage_snaplock_litigations)

func (*Client) SnaplockLegalHoldCreate

func (a *Client) SnaplockLegalHoldCreate(params *SnaplockLegalHoldCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldCreateCreated, error)
SnaplockLegalHoldCreate Creates or removes litigations for the specified path.

### Required properties * `type` - Legal-Hold operation type. * `path` - Litigation path. ### Related ONTAP commands * `snaplock legal-hold begin` * `snaplock legal-hold end` ### Learn more * [`DOC /storage/snaplock/litigations/{litigation.id}/operations`](#docs-snaplock-storage_snaplock_litigations_{litigation.id}_operations)

func (*Client) SnaplockLegalHoldDelete

func (a *Client) SnaplockLegalHoldDelete(params *SnaplockLegalHoldDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldDeleteOK, error)
SnaplockLegalHoldDelete Creates a legal-hold end on all of the files for the specified litigation ID. This is only allowed when an operation is no longer in progress.

### Related ONTAP commands * `snaplock legal-hold end` ### Example <br/> ``` DELETE "/api/storage/snaplock/litigations/fd72e138-4bc3-11e9-a85f-0050568eb48f%3Al3" ``` <br/> ### Learn more * [`DOC /storage/snaplock/litigations`](#docs-snaplock-storage_snaplock_litigations)

func (*Client) SnaplockLegalHoldFilesGet

func (a *Client) SnaplockLegalHoldFilesGet(params *SnaplockLegalHoldFilesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldFilesGetOK, error)

SnaplockLegalHoldFilesGet Displays the list of files for the specified litigation ID.

func (*Client) SnaplockLegalHoldGet

func (a *Client) SnaplockLegalHoldGet(params *SnaplockLegalHoldGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldGetOK, error)
SnaplockLegalHoldGet Retrieves the status of legal-hold for the specified operation ID.

### Related ONTAP commands * `snaplock legal-hold show` ### Learn more * [`DOC /storage/snaplock/litigations/{litigation.id}/operations`](#docs-snaplock-storage_snaplock_litigations_{litigation.id}_operations)

func (*Client) SnaplockLegalHoldInstanceGet

func (a *Client) SnaplockLegalHoldInstanceGet(params *SnaplockLegalHoldInstanceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldInstanceGetOK, error)
SnaplockLegalHoldInstanceGet Retrieves the list of ongoing operations for the specified litigation ID.

### Related ONTAP commands * `snaplock legal-hold show` ### Learn more * [`DOC /storage/snaplock/litigations`](#docs-snaplock-storage_snaplock_litigations)

func (*Client) SnaplockLegalHoldOperationDelete

func (a *Client) SnaplockLegalHoldOperationDelete(params *SnaplockLegalHoldOperationDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldOperationDeleteOK, error)
SnaplockLegalHoldOperationDelete Aborts the ongoing legal-hold operation. An abort does not rollback any changes already made. You must re-run begin or end for cleanup.

### Related ONTAP commands * `snaplock legal-hold abort` ### Example <br/> ``` DELETE "/api/storage/snaplock/litigations/f8a67b60-4461-11e9-b327-0050568ebef5:l1/operations/16908292" ``` <br/> ### Learn more * [`DOC /storage/snaplock/litigations/{litigation.id}/operations`](#docs-snaplock-storage_snaplock_litigations_{litigation.id}_operations)

func (*Client) SnaplockLogCollectionGet

func (a *Client) SnaplockLogCollectionGet(params *SnaplockLogCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLogCollectionGetOK, error)
SnaplockLogCollectionGet Retrieves a list of SVMs configured with audit log volumes.

### Related ONTAP commands * `snaplock log show` ### Learn more * [`DOC /storage/snaplock/audit-logs`](#docs-snaplock-storage_snaplock_audit-logs)

func (*Client) SnaplockLogCreate

SnaplockLogCreate Creates a SnapLock log configuration for an SVM. A SnapLock log configuration consists of a volume to store the log, the maximum size of the log file, and the default period of time for which the log file should be retained. The volume must be a Read-Write SnapLock volume of type Enterprise or Compliance. The input parameter retention_period expects the duration in ISO 8601 format.

### Required properties * `svm.uuid` or `svm.name` - Name or UUID of the SVM. * `log_volume.volume.name` or `log_volume.volume.uuid` - Name or UUID of audit log volume. ### Recommended optional properties * `log_volume.max_log_size` - Max log file size. * `log_volume.volume.retention_period` - Retention period of log file. ### Default property values If not specified in POST, the following default property values are assigned: * `log_volume.retention_period` - _P6M_ * `log_volume.max_log_size` - _10MB_ ### Related ONTAP commands * `snaplock log create` ### Learn more * [`DOC /storage/snaplock/audit-logs`](#docs-snaplock-storage_snaplock_audit-logs)

func (*Client) SnaplockLogDelete

SnaplockLogDelete Disassociates a SnapLock volume as the audit log volume for an SVM. This API closes all the active log files in the log volume and marks the volume as disabled for SnapLock logging.

### Related ONTAP commands * `snaplock log delete` ### Learn more * [`DOC /storage/snaplock/audit-logs`](#docs-snaplock-storage_snaplock_audit-logs)

func (*Client) SnaplockLogGet

func (a *Client) SnaplockLogGet(params *SnaplockLogGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLogGetOK, error)
SnaplockLogGet Retrieves SnapLock logs for the specified SVM.

### Related ONTAP commands * `snaplock log show` ### Learn more * [`DOC /storage/snaplock/audit-logs`](#docs-snaplock-storage_snaplock_audit-logs)

func (*Client) SnaplockLogModify

SnaplockLogModify Updates one of the following:
- the audit log volume,
- the attributes of the audit log volume present, or
- archive the current audit log files

### Related ONTAP commands * `snaplock log modify` ### Learn more * [`DOC /storage/snaplock/audit-logs`](#docs-snaplock-storage_snaplock_audit-logs)

func (*Client) SnaplockRetentionOperationCollectionGet

SnaplockRetentionOperationCollectionGet Retrieves a list of all EBR operations.

### Related ONTAP commands * `snaplock event-retention show` ### Learn more * [`DOC /storage/snaplock/event-retention/operations`](#docs-snaplock-storage_snaplock_event-retention_operations)

func (*Client) SnaplockRetentionOperationCreate

SnaplockRetentionOperationCreate Start an EBR operation. This operation applies an EBR policy to a specific volume or to a path within the volume.

### Required properties

  • `path` - Path of the file.
  • `policy.name` - Name of the EBR policy. Either volume.name or volume.uuid must be specified when applying EBR policy to the volume or a path within the volume.
  • `volume.name` - Volume name.
  • `volume.uuid` - Volume uuid.

### Related ONTAP commands * `snaplock event-retention apply` ### Learn more * [`DOC /storage/snaplock/event-retention/operations`](#docs-snaplock-storage_snaplock_event-retention_operations)

func (*Client) SnaplockRetentionOperationDelete

func (a *Client) SnaplockRetentionOperationDelete(params *SnaplockRetentionOperationDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionOperationDeleteOK, error)
SnaplockRetentionOperationDelete Aborts an ongoing EBR operation.

### Related ONTAP commands * `snaplock event-retention abort` ### Learn more * [`DOC /storage/snaplock/event-retention/operations`](#docs-snaplock-storage_snaplock_event-retention_operations)

func (*Client) SnaplockRetentionOperationGet

func (a *Client) SnaplockRetentionOperationGet(params *SnaplockRetentionOperationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionOperationGetOK, error)
SnaplockRetentionOperationGet Retrieves a list of attributes for an EBR operation.

### Related ONTAP commands * `snaplock event-retention show` ### Learn more * [`DOC /storage/snaplock/event-retention/operations`](#docs-snaplock-storage_snaplock_event-retention_operations)

func (*Client) SnaplockRetentionPolicyCollectionGet

func (a *Client) SnaplockRetentionPolicyCollectionGet(params *SnaplockRetentionPolicyCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionPolicyCollectionGetOK, error)
SnaplockRetentionPolicyCollectionGet Retrieves all event retention policies for an SVM.

### Related ONTAP commands * `snaplock event-retention policy show` ### Learn more * [`DOC /storage/snaplock/event-retention/policies`](#docs-snaplock-storage_snaplock_event-retention_policies)

func (*Client) SnaplockRetentionPolicyCreate

SnaplockRetentionPolicyCreate Creates an Event Based Retention (EBR) policy for an SVM. The input parameter retention_period expects the duration in ISO 8601 format or infinite.

### Required properties * `name` - Event retention policy name. * `retention_period` - Retention period of the EBR policy. ### Related ONTAP commands * `snaplock event-retention policy create` ### Learn more * [`DOC /storage/snaplock/event-retention/policies`](#docs-snaplock-storage_snaplock_event-retention_policies)

func (*Client) SnaplockRetentionPolicyDelete

func (a *Client) SnaplockRetentionPolicyDelete(params *SnaplockRetentionPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionPolicyDeleteOK, error)
SnaplockRetentionPolicyDelete Deletes the specified Event Based Retention (EBR) policy.

### Related ONTAP commands * `snaplock event-retention policy delete` ### Example Delete the specified Event Based Retention policy "policy_name": <br/> ``` DELETE "/api/storage/snaplock/event-retention/policies/{policy.name}" ``` <br/> ### Learn more * [`DOC /storage/snaplock/event-retention/policies`](#docs-snaplock-storage_snaplock_event-retention_policies)

func (*Client) SnaplockRetentionPolicyGet

func (a *Client) SnaplockRetentionPolicyGet(params *SnaplockRetentionPolicyGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionPolicyGetOK, error)
SnaplockRetentionPolicyGet Retrieves a list of attributes of the specified Event Based Retention (EBR) policy.

### Related ONTAP commands * `snaplock event-retention policy show` ### Learn more * [`DOC /storage/snaplock/event-retention/policies`](#docs-snaplock-storage_snaplock_event-retention_policies)

func (*Client) SnaplockRetentionPolicyModify

func (a *Client) SnaplockRetentionPolicyModify(params *SnaplockRetentionPolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionPolicyModifyOK, error)
SnaplockRetentionPolicyModify Updates the retention period of an Event Based Retention (EBR) policy.

### Related ONTAP commands * `snaplock event-retention policy modify` ### Example Updates the retention period of an EBR policy "policy_name": <br/> ``` PATCH "/api/storage/snaplock/event-retention/policies/{policy.name}" '{"retention_period": "P20Y"}' ``` <br/> ### Learn more * [`DOC /storage/snaplock/event-retention/policies`](#docs-snaplock-storage_snaplock_event-retention_policies)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

func WithContentType

func WithContentType(mime string) ClientOption

WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	SnaplockComplianceClockCollectionGet(params *SnaplockComplianceClockCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockComplianceClockCollectionGetOK, error)

	SnaplockComplianceClockCreate(params *SnaplockComplianceClockCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockComplianceClockCreateCreated, error)

	SnaplockComplianceClockGet(params *SnaplockComplianceClockGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockComplianceClockGetOK, error)

	SnaplockFilePrivilegedDelete(params *SnaplockFilePrivilegedDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFilePrivilegedDeleteOK, *SnaplockFilePrivilegedDeleteAccepted, error)

	SnaplockFileRetentionGet(params *SnaplockFileRetentionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFileRetentionGetOK, error)

	SnaplockFileRetentionTimeModify(params *SnaplockFileRetentionTimeModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFileRetentionTimeModifyOK, error)

	SnaplockFingerprintOperationCollectionGet(params *SnaplockFingerprintOperationCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFingerprintOperationCollectionGetOK, error)

	SnaplockFingerprintOperationCreate(params *SnaplockFingerprintOperationCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFingerprintOperationCreateCreated, error)

	SnaplockFingerprintOperationDelete(params *SnaplockFingerprintOperationDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFingerprintOperationDeleteOK, error)

	SnaplockFingerprintOperationGet(params *SnaplockFingerprintOperationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFingerprintOperationGetOK, error)

	SnaplockLegalHoldBegin(params *SnaplockLegalHoldBeginParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldBeginCreated, error)

	SnaplockLegalHoldCollectionGet(params *SnaplockLegalHoldCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldCollectionGetOK, error)

	SnaplockLegalHoldCreate(params *SnaplockLegalHoldCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldCreateCreated, error)

	SnaplockLegalHoldDelete(params *SnaplockLegalHoldDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldDeleteOK, error)

	SnaplockLegalHoldFilesGet(params *SnaplockLegalHoldFilesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldFilesGetOK, error)

	SnaplockLegalHoldGet(params *SnaplockLegalHoldGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldGetOK, error)

	SnaplockLegalHoldInstanceGet(params *SnaplockLegalHoldInstanceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldInstanceGetOK, error)

	SnaplockLegalHoldOperationDelete(params *SnaplockLegalHoldOperationDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldOperationDeleteOK, error)

	SnaplockLogCollectionGet(params *SnaplockLogCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLogCollectionGetOK, error)

	SnaplockLogCreate(params *SnaplockLogCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLogCreateCreated, *SnaplockLogCreateAccepted, error)

	SnaplockLogDelete(params *SnaplockLogDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLogDeleteOK, *SnaplockLogDeleteAccepted, error)

	SnaplockLogGet(params *SnaplockLogGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLogGetOK, error)

	SnaplockLogModify(params *SnaplockLogModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLogModifyOK, *SnaplockLogModifyAccepted, error)

	SnaplockRetentionOperationCollectionGet(params *SnaplockRetentionOperationCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionOperationCollectionGetOK, error)

	SnaplockRetentionOperationCreate(params *SnaplockRetentionOperationCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionOperationCreateCreated, error)

	SnaplockRetentionOperationDelete(params *SnaplockRetentionOperationDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionOperationDeleteOK, error)

	SnaplockRetentionOperationGet(params *SnaplockRetentionOperationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionOperationGetOK, error)

	SnaplockRetentionPolicyCollectionGet(params *SnaplockRetentionPolicyCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionPolicyCollectionGetOK, error)

	SnaplockRetentionPolicyCreate(params *SnaplockRetentionPolicyCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionPolicyCreateCreated, error)

	SnaplockRetentionPolicyDelete(params *SnaplockRetentionPolicyDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionPolicyDeleteOK, error)

	SnaplockRetentionPolicyGet(params *SnaplockRetentionPolicyGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionPolicyGetOK, error)

	SnaplockRetentionPolicyModify(params *SnaplockRetentionPolicyModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionPolicyModifyOK, 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 snap lock API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new snap lock API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new snap lock API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type SnaplockComplianceClockCollectionGetDefault

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

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

Error

func NewSnaplockComplianceClockCollectionGetDefault

func NewSnaplockComplianceClockCollectionGetDefault(code int) *SnaplockComplianceClockCollectionGetDefault

NewSnaplockComplianceClockCollectionGetDefault creates a SnaplockComplianceClockCollectionGetDefault with default headers values

func (*SnaplockComplianceClockCollectionGetDefault) Code

Code gets the status code for the snaplock compliance clock collection get default response

func (*SnaplockComplianceClockCollectionGetDefault) Error

func (*SnaplockComplianceClockCollectionGetDefault) GetPayload

func (*SnaplockComplianceClockCollectionGetDefault) IsClientError

IsClientError returns true when this snaplock compliance clock collection get default response has a 4xx status code

func (*SnaplockComplianceClockCollectionGetDefault) IsCode

IsCode returns true when this snaplock compliance clock collection get default response a status code equal to that given

func (*SnaplockComplianceClockCollectionGetDefault) IsRedirect

IsRedirect returns true when this snaplock compliance clock collection get default response has a 3xx status code

func (*SnaplockComplianceClockCollectionGetDefault) IsServerError

IsServerError returns true when this snaplock compliance clock collection get default response has a 5xx status code

func (*SnaplockComplianceClockCollectionGetDefault) IsSuccess

IsSuccess returns true when this snaplock compliance clock collection get default response has a 2xx status code

func (*SnaplockComplianceClockCollectionGetDefault) String

type SnaplockComplianceClockCollectionGetOK

type SnaplockComplianceClockCollectionGetOK struct {
	Payload *models.SnaplockComplianceClockResponse
}

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

OK

func NewSnaplockComplianceClockCollectionGetOK

func NewSnaplockComplianceClockCollectionGetOK() *SnaplockComplianceClockCollectionGetOK

NewSnaplockComplianceClockCollectionGetOK creates a SnaplockComplianceClockCollectionGetOK with default headers values

func (*SnaplockComplianceClockCollectionGetOK) Code

Code gets the status code for the snaplock compliance clock collection get o k response

func (*SnaplockComplianceClockCollectionGetOK) Error

func (*SnaplockComplianceClockCollectionGetOK) GetPayload

func (*SnaplockComplianceClockCollectionGetOK) IsClientError

func (o *SnaplockComplianceClockCollectionGetOK) IsClientError() bool

IsClientError returns true when this snaplock compliance clock collection get o k response has a 4xx status code

func (*SnaplockComplianceClockCollectionGetOK) IsCode

IsCode returns true when this snaplock compliance clock collection get o k response a status code equal to that given

func (*SnaplockComplianceClockCollectionGetOK) IsRedirect

IsRedirect returns true when this snaplock compliance clock collection get o k response has a 3xx status code

func (*SnaplockComplianceClockCollectionGetOK) IsServerError

func (o *SnaplockComplianceClockCollectionGetOK) IsServerError() bool

IsServerError returns true when this snaplock compliance clock collection get o k response has a 5xx status code

func (*SnaplockComplianceClockCollectionGetOK) IsSuccess

IsSuccess returns true when this snaplock compliance clock collection get o k response has a 2xx status code

func (*SnaplockComplianceClockCollectionGetOK) String

type SnaplockComplianceClockCollectionGetParams

type SnaplockComplianceClockCollectionGetParams struct {

	/* Fields.

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

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecords *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
	*/
	ReturnTimeout *int64

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

SnaplockComplianceClockCollectionGetParams contains all the parameters to send to the API endpoint

for the snaplock compliance clock collection get operation.

Typically these are written to a http.Request.

func NewSnaplockComplianceClockCollectionGetParams

func NewSnaplockComplianceClockCollectionGetParams() *SnaplockComplianceClockCollectionGetParams

NewSnaplockComplianceClockCollectionGetParams creates a new SnaplockComplianceClockCollectionGetParams 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 NewSnaplockComplianceClockCollectionGetParamsWithContext

func NewSnaplockComplianceClockCollectionGetParamsWithContext(ctx context.Context) *SnaplockComplianceClockCollectionGetParams

NewSnaplockComplianceClockCollectionGetParamsWithContext creates a new SnaplockComplianceClockCollectionGetParams object with the ability to set a context for a request.

func NewSnaplockComplianceClockCollectionGetParamsWithHTTPClient

func NewSnaplockComplianceClockCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockComplianceClockCollectionGetParams

NewSnaplockComplianceClockCollectionGetParamsWithHTTPClient creates a new SnaplockComplianceClockCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockComplianceClockCollectionGetParamsWithTimeout

func NewSnaplockComplianceClockCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockComplianceClockCollectionGetParams

NewSnaplockComplianceClockCollectionGetParamsWithTimeout creates a new SnaplockComplianceClockCollectionGetParams object with the ability to set a timeout on a request.

func (*SnaplockComplianceClockCollectionGetParams) SetContext

SetContext adds the context to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) SetDefaults

SetDefaults hydrates default values in the snaplock compliance clock collection get params (not the query body).

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

func (*SnaplockComplianceClockCollectionGetParams) SetFields

func (o *SnaplockComplianceClockCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) SetMaxRecords

func (o *SnaplockComplianceClockCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) SetOrderBy

func (o *SnaplockComplianceClockCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) SetReturnRecords

func (o *SnaplockComplianceClockCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) SetReturnTimeout

func (o *SnaplockComplianceClockCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) SetTimeout

SetTimeout adds the timeout to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) WithContext

WithContext adds the context to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock compliance clock collection get params (not the query body).

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

func (*SnaplockComplianceClockCollectionGetParams) WithFields

WithFields adds the fields to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock compliance clock collection get params

func (*SnaplockComplianceClockCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockComplianceClockCollectionGetReader

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

SnaplockComplianceClockCollectionGetReader is a Reader for the SnaplockComplianceClockCollectionGet structure.

func (*SnaplockComplianceClockCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockComplianceClockCreateCreated

type SnaplockComplianceClockCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string
}

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

Created

func NewSnaplockComplianceClockCreateCreated

func NewSnaplockComplianceClockCreateCreated() *SnaplockComplianceClockCreateCreated

NewSnaplockComplianceClockCreateCreated creates a SnaplockComplianceClockCreateCreated with default headers values

func (*SnaplockComplianceClockCreateCreated) Code

Code gets the status code for the snaplock compliance clock create created response

func (*SnaplockComplianceClockCreateCreated) Error

func (*SnaplockComplianceClockCreateCreated) IsClientError

func (o *SnaplockComplianceClockCreateCreated) IsClientError() bool

IsClientError returns true when this snaplock compliance clock create created response has a 4xx status code

func (*SnaplockComplianceClockCreateCreated) IsCode

IsCode returns true when this snaplock compliance clock create created response a status code equal to that given

func (*SnaplockComplianceClockCreateCreated) IsRedirect

IsRedirect returns true when this snaplock compliance clock create created response has a 3xx status code

func (*SnaplockComplianceClockCreateCreated) IsServerError

func (o *SnaplockComplianceClockCreateCreated) IsServerError() bool

IsServerError returns true when this snaplock compliance clock create created response has a 5xx status code

func (*SnaplockComplianceClockCreateCreated) IsSuccess

IsSuccess returns true when this snaplock compliance clock create created response has a 2xx status code

func (*SnaplockComplianceClockCreateCreated) String

type SnaplockComplianceClockCreateDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13763062 | Compliance Clock already initialized | | 13763084 | ComplianceClock re-initialization failed as it requires that all nodes in the cluster are healthy, all volumes are in online state, no volumes are present in the volume recovery queue and there are no SnapLock volumes or volumes with \"snapshot-locking-enabled\" set to true or S3 buckets with object locking enabled. | | 13763085 | ComplianceClock re-initialization supported on effective cluster version of ONTAP 9.14.1 or later. | | 14090240 | Node with the specified UUID does not exist | | 14090241 | The specified node name and node UUID refer to different nodes | | 14090343 | Invalid field |

func NewSnaplockComplianceClockCreateDefault

func NewSnaplockComplianceClockCreateDefault(code int) *SnaplockComplianceClockCreateDefault

NewSnaplockComplianceClockCreateDefault creates a SnaplockComplianceClockCreateDefault with default headers values

func (*SnaplockComplianceClockCreateDefault) Code

Code gets the status code for the snaplock compliance clock create default response

func (*SnaplockComplianceClockCreateDefault) Error

func (*SnaplockComplianceClockCreateDefault) GetPayload

func (*SnaplockComplianceClockCreateDefault) IsClientError

func (o *SnaplockComplianceClockCreateDefault) IsClientError() bool

IsClientError returns true when this snaplock compliance clock create default response has a 4xx status code

func (*SnaplockComplianceClockCreateDefault) IsCode

IsCode returns true when this snaplock compliance clock create default response a status code equal to that given

func (*SnaplockComplianceClockCreateDefault) IsRedirect

IsRedirect returns true when this snaplock compliance clock create default response has a 3xx status code

func (*SnaplockComplianceClockCreateDefault) IsServerError

func (o *SnaplockComplianceClockCreateDefault) IsServerError() bool

IsServerError returns true when this snaplock compliance clock create default response has a 5xx status code

func (*SnaplockComplianceClockCreateDefault) IsSuccess

IsSuccess returns true when this snaplock compliance clock create default response has a 2xx status code

func (*SnaplockComplianceClockCreateDefault) String

type SnaplockComplianceClockCreateParams

type SnaplockComplianceClockCreateParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.SnaplockComplianceClock

	/* ReturnRecords.

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

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

SnaplockComplianceClockCreateParams contains all the parameters to send to the API endpoint

for the snaplock compliance clock create operation.

Typically these are written to a http.Request.

func NewSnaplockComplianceClockCreateParams

func NewSnaplockComplianceClockCreateParams() *SnaplockComplianceClockCreateParams

NewSnaplockComplianceClockCreateParams creates a new SnaplockComplianceClockCreateParams 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 NewSnaplockComplianceClockCreateParamsWithContext

func NewSnaplockComplianceClockCreateParamsWithContext(ctx context.Context) *SnaplockComplianceClockCreateParams

NewSnaplockComplianceClockCreateParamsWithContext creates a new SnaplockComplianceClockCreateParams object with the ability to set a context for a request.

func NewSnaplockComplianceClockCreateParamsWithHTTPClient

func NewSnaplockComplianceClockCreateParamsWithHTTPClient(client *http.Client) *SnaplockComplianceClockCreateParams

NewSnaplockComplianceClockCreateParamsWithHTTPClient creates a new SnaplockComplianceClockCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockComplianceClockCreateParamsWithTimeout

func NewSnaplockComplianceClockCreateParamsWithTimeout(timeout time.Duration) *SnaplockComplianceClockCreateParams

NewSnaplockComplianceClockCreateParamsWithTimeout creates a new SnaplockComplianceClockCreateParams object with the ability to set a timeout on a request.

func (*SnaplockComplianceClockCreateParams) SetContext

SetContext adds the context to the snaplock compliance clock create params

func (*SnaplockComplianceClockCreateParams) SetDefaults

func (o *SnaplockComplianceClockCreateParams) SetDefaults()

SetDefaults hydrates default values in the snaplock compliance clock create params (not the query body).

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

func (*SnaplockComplianceClockCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock compliance clock create params

func (*SnaplockComplianceClockCreateParams) SetInfo

SetInfo adds the info to the snaplock compliance clock create params

func (*SnaplockComplianceClockCreateParams) SetReturnRecords

func (o *SnaplockComplianceClockCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock compliance clock create params

func (*SnaplockComplianceClockCreateParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock compliance clock create params

func (*SnaplockComplianceClockCreateParams) WithContext

WithContext adds the context to the snaplock compliance clock create params

func (*SnaplockComplianceClockCreateParams) WithDefaults

WithDefaults hydrates default values in the snaplock compliance clock create params (not the query body).

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

func (*SnaplockComplianceClockCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock compliance clock create params

func (*SnaplockComplianceClockCreateParams) WithInfo

WithInfo adds the info to the snaplock compliance clock create params

func (*SnaplockComplianceClockCreateParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snaplock compliance clock create params

func (*SnaplockComplianceClockCreateParams) WithTimeout

WithTimeout adds the timeout to the snaplock compliance clock create params

func (*SnaplockComplianceClockCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockComplianceClockCreateReader

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

SnaplockComplianceClockCreateReader is a Reader for the SnaplockComplianceClockCreate structure.

func (*SnaplockComplianceClockCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockComplianceClockGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 14090240 | A node with the specified UUID does not exist | | 14090446 | Invalid session ID |

func NewSnaplockComplianceClockGetDefault

func NewSnaplockComplianceClockGetDefault(code int) *SnaplockComplianceClockGetDefault

NewSnaplockComplianceClockGetDefault creates a SnaplockComplianceClockGetDefault with default headers values

func (*SnaplockComplianceClockGetDefault) Code

Code gets the status code for the snaplock compliance clock get default response

func (*SnaplockComplianceClockGetDefault) Error

func (*SnaplockComplianceClockGetDefault) GetPayload

func (*SnaplockComplianceClockGetDefault) IsClientError

func (o *SnaplockComplianceClockGetDefault) IsClientError() bool

IsClientError returns true when this snaplock compliance clock get default response has a 4xx status code

func (*SnaplockComplianceClockGetDefault) IsCode

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

IsCode returns true when this snaplock compliance clock get default response a status code equal to that given

func (*SnaplockComplianceClockGetDefault) IsRedirect

func (o *SnaplockComplianceClockGetDefault) IsRedirect() bool

IsRedirect returns true when this snaplock compliance clock get default response has a 3xx status code

func (*SnaplockComplianceClockGetDefault) IsServerError

func (o *SnaplockComplianceClockGetDefault) IsServerError() bool

IsServerError returns true when this snaplock compliance clock get default response has a 5xx status code

func (*SnaplockComplianceClockGetDefault) IsSuccess

func (o *SnaplockComplianceClockGetDefault) IsSuccess() bool

IsSuccess returns true when this snaplock compliance clock get default response has a 2xx status code

func (*SnaplockComplianceClockGetDefault) String

type SnaplockComplianceClockGetOK

type SnaplockComplianceClockGetOK struct {
	Payload *models.SnaplockComplianceClock
}

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

OK

func NewSnaplockComplianceClockGetOK

func NewSnaplockComplianceClockGetOK() *SnaplockComplianceClockGetOK

NewSnaplockComplianceClockGetOK creates a SnaplockComplianceClockGetOK with default headers values

func (*SnaplockComplianceClockGetOK) Code

Code gets the status code for the snaplock compliance clock get o k response

func (*SnaplockComplianceClockGetOK) Error

func (*SnaplockComplianceClockGetOK) GetPayload

func (*SnaplockComplianceClockGetOK) IsClientError

func (o *SnaplockComplianceClockGetOK) IsClientError() bool

IsClientError returns true when this snaplock compliance clock get o k response has a 4xx status code

func (*SnaplockComplianceClockGetOK) IsCode

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

IsCode returns true when this snaplock compliance clock get o k response a status code equal to that given

func (*SnaplockComplianceClockGetOK) IsRedirect

func (o *SnaplockComplianceClockGetOK) IsRedirect() bool

IsRedirect returns true when this snaplock compliance clock get o k response has a 3xx status code

func (*SnaplockComplianceClockGetOK) IsServerError

func (o *SnaplockComplianceClockGetOK) IsServerError() bool

IsServerError returns true when this snaplock compliance clock get o k response has a 5xx status code

func (*SnaplockComplianceClockGetOK) IsSuccess

func (o *SnaplockComplianceClockGetOK) IsSuccess() bool

IsSuccess returns true when this snaplock compliance clock get o k response has a 2xx status code

func (*SnaplockComplianceClockGetOK) String

type SnaplockComplianceClockGetParams

type SnaplockComplianceClockGetParams struct {

	/* Fields.

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

	/* NodeUUID.

	   Node UUID
	*/
	NodeUUID string

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

SnaplockComplianceClockGetParams contains all the parameters to send to the API endpoint

for the snaplock compliance clock get operation.

Typically these are written to a http.Request.

func NewSnaplockComplianceClockGetParams

func NewSnaplockComplianceClockGetParams() *SnaplockComplianceClockGetParams

NewSnaplockComplianceClockGetParams creates a new SnaplockComplianceClockGetParams 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 NewSnaplockComplianceClockGetParamsWithContext

func NewSnaplockComplianceClockGetParamsWithContext(ctx context.Context) *SnaplockComplianceClockGetParams

NewSnaplockComplianceClockGetParamsWithContext creates a new SnaplockComplianceClockGetParams object with the ability to set a context for a request.

func NewSnaplockComplianceClockGetParamsWithHTTPClient

func NewSnaplockComplianceClockGetParamsWithHTTPClient(client *http.Client) *SnaplockComplianceClockGetParams

NewSnaplockComplianceClockGetParamsWithHTTPClient creates a new SnaplockComplianceClockGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockComplianceClockGetParamsWithTimeout

func NewSnaplockComplianceClockGetParamsWithTimeout(timeout time.Duration) *SnaplockComplianceClockGetParams

NewSnaplockComplianceClockGetParamsWithTimeout creates a new SnaplockComplianceClockGetParams object with the ability to set a timeout on a request.

func (*SnaplockComplianceClockGetParams) SetContext

SetContext adds the context to the snaplock compliance clock get params

func (*SnaplockComplianceClockGetParams) SetDefaults

func (o *SnaplockComplianceClockGetParams) SetDefaults()

SetDefaults hydrates default values in the snaplock compliance clock get params (not the query body).

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

func (*SnaplockComplianceClockGetParams) SetFields

func (o *SnaplockComplianceClockGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock compliance clock get params

func (*SnaplockComplianceClockGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock compliance clock get params

func (*SnaplockComplianceClockGetParams) SetNodeUUID

func (o *SnaplockComplianceClockGetParams) SetNodeUUID(nodeUUID string)

SetNodeUUID adds the nodeUuid to the snaplock compliance clock get params

func (*SnaplockComplianceClockGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock compliance clock get params

func (*SnaplockComplianceClockGetParams) WithContext

WithContext adds the context to the snaplock compliance clock get params

func (*SnaplockComplianceClockGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock compliance clock get params (not the query body).

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

func (*SnaplockComplianceClockGetParams) WithFields

WithFields adds the fields to the snaplock compliance clock get params

func (*SnaplockComplianceClockGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock compliance clock get params

func (*SnaplockComplianceClockGetParams) WithNodeUUID

WithNodeUUID adds the nodeUUID to the snaplock compliance clock get params

func (*SnaplockComplianceClockGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock compliance clock get params

func (*SnaplockComplianceClockGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockComplianceClockGetReader

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

SnaplockComplianceClockGetReader is a Reader for the SnaplockComplianceClockGet structure.

func (*SnaplockComplianceClockGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockFilePrivilegedDeleteAccepted

type SnaplockFilePrivilegedDeleteAccepted struct {
	Payload *models.JobLinkResponse
}

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

Accepted

func NewSnaplockFilePrivilegedDeleteAccepted

func NewSnaplockFilePrivilegedDeleteAccepted() *SnaplockFilePrivilegedDeleteAccepted

NewSnaplockFilePrivilegedDeleteAccepted creates a SnaplockFilePrivilegedDeleteAccepted with default headers values

func (*SnaplockFilePrivilegedDeleteAccepted) Code

Code gets the status code for the snaplock file privileged delete accepted response

func (*SnaplockFilePrivilegedDeleteAccepted) Error

func (*SnaplockFilePrivilegedDeleteAccepted) GetPayload

func (*SnaplockFilePrivilegedDeleteAccepted) IsClientError

func (o *SnaplockFilePrivilegedDeleteAccepted) IsClientError() bool

IsClientError returns true when this snaplock file privileged delete accepted response has a 4xx status code

func (*SnaplockFilePrivilegedDeleteAccepted) IsCode

IsCode returns true when this snaplock file privileged delete accepted response a status code equal to that given

func (*SnaplockFilePrivilegedDeleteAccepted) IsRedirect

IsRedirect returns true when this snaplock file privileged delete accepted response has a 3xx status code

func (*SnaplockFilePrivilegedDeleteAccepted) IsServerError

func (o *SnaplockFilePrivilegedDeleteAccepted) IsServerError() bool

IsServerError returns true when this snaplock file privileged delete accepted response has a 5xx status code

func (*SnaplockFilePrivilegedDeleteAccepted) IsSuccess

IsSuccess returns true when this snaplock file privileged delete accepted response has a 2xx status code

func (*SnaplockFilePrivilegedDeleteAccepted) String

type SnaplockFilePrivilegedDeleteDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 262179 | Unexpected argument \"<file_name>\" | | 6691623 | User is not authorized | | 13763162 | SnapLock audit log volume is not configured for the SVM | | 13763280 | Only a user with the security login role \"vsadmin-snaplock\" is allowed to perform this operation | | 14090347 | File path must be in the format \"\/\<dir\>\/\<file path\>\" | | 917804 | Path should be given in the format \"\/\vol\/\<volume name>\/\<file path>\".

func NewSnaplockFilePrivilegedDeleteDefault

func NewSnaplockFilePrivilegedDeleteDefault(code int) *SnaplockFilePrivilegedDeleteDefault

NewSnaplockFilePrivilegedDeleteDefault creates a SnaplockFilePrivilegedDeleteDefault with default headers values

func (*SnaplockFilePrivilegedDeleteDefault) Code

Code gets the status code for the snaplock file privileged delete default response

func (*SnaplockFilePrivilegedDeleteDefault) Error

func (*SnaplockFilePrivilegedDeleteDefault) GetPayload

func (*SnaplockFilePrivilegedDeleteDefault) IsClientError

func (o *SnaplockFilePrivilegedDeleteDefault) IsClientError() bool

IsClientError returns true when this snaplock file privileged delete default response has a 4xx status code

func (*SnaplockFilePrivilegedDeleteDefault) IsCode

IsCode returns true when this snaplock file privileged delete default response a status code equal to that given

func (*SnaplockFilePrivilegedDeleteDefault) IsRedirect

func (o *SnaplockFilePrivilegedDeleteDefault) IsRedirect() bool

IsRedirect returns true when this snaplock file privileged delete default response has a 3xx status code

func (*SnaplockFilePrivilegedDeleteDefault) IsServerError

func (o *SnaplockFilePrivilegedDeleteDefault) IsServerError() bool

IsServerError returns true when this snaplock file privileged delete default response has a 5xx status code

func (*SnaplockFilePrivilegedDeleteDefault) IsSuccess

IsSuccess returns true when this snaplock file privileged delete default response has a 2xx status code

func (*SnaplockFilePrivilegedDeleteDefault) String

type SnaplockFilePrivilegedDeleteOK

type SnaplockFilePrivilegedDeleteOK struct {
	Payload *models.JobLinkResponse
}

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

OK

func NewSnaplockFilePrivilegedDeleteOK

func NewSnaplockFilePrivilegedDeleteOK() *SnaplockFilePrivilegedDeleteOK

NewSnaplockFilePrivilegedDeleteOK creates a SnaplockFilePrivilegedDeleteOK with default headers values

func (*SnaplockFilePrivilegedDeleteOK) Code

Code gets the status code for the snaplock file privileged delete o k response

func (*SnaplockFilePrivilegedDeleteOK) Error

func (*SnaplockFilePrivilegedDeleteOK) GetPayload

func (*SnaplockFilePrivilegedDeleteOK) IsClientError

func (o *SnaplockFilePrivilegedDeleteOK) IsClientError() bool

IsClientError returns true when this snaplock file privileged delete o k response has a 4xx status code

func (*SnaplockFilePrivilegedDeleteOK) IsCode

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

IsCode returns true when this snaplock file privileged delete o k response a status code equal to that given

func (*SnaplockFilePrivilegedDeleteOK) IsRedirect

func (o *SnaplockFilePrivilegedDeleteOK) IsRedirect() bool

IsRedirect returns true when this snaplock file privileged delete o k response has a 3xx status code

func (*SnaplockFilePrivilegedDeleteOK) IsServerError

func (o *SnaplockFilePrivilegedDeleteOK) IsServerError() bool

IsServerError returns true when this snaplock file privileged delete o k response has a 5xx status code

func (*SnaplockFilePrivilegedDeleteOK) IsSuccess

func (o *SnaplockFilePrivilegedDeleteOK) IsSuccess() bool

IsSuccess returns true when this snaplock file privileged delete o k response has a 2xx status code

func (*SnaplockFilePrivilegedDeleteOK) String

type SnaplockFilePrivilegedDeleteParams

type SnaplockFilePrivilegedDeleteParams struct {

	/* Path.

	   Path of the file in the form "/\<dirpath\>/\<filename\>"
	*/
	Path string

	/* 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.
	*/
	ReturnTimeout *int64

	/* VolumeUUID.

	   Volume UUID
	*/
	VolumeUUID string

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

SnaplockFilePrivilegedDeleteParams contains all the parameters to send to the API endpoint

for the snaplock file privileged delete operation.

Typically these are written to a http.Request.

func NewSnaplockFilePrivilegedDeleteParams

func NewSnaplockFilePrivilegedDeleteParams() *SnaplockFilePrivilegedDeleteParams

NewSnaplockFilePrivilegedDeleteParams creates a new SnaplockFilePrivilegedDeleteParams 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 NewSnaplockFilePrivilegedDeleteParamsWithContext

func NewSnaplockFilePrivilegedDeleteParamsWithContext(ctx context.Context) *SnaplockFilePrivilegedDeleteParams

NewSnaplockFilePrivilegedDeleteParamsWithContext creates a new SnaplockFilePrivilegedDeleteParams object with the ability to set a context for a request.

func NewSnaplockFilePrivilegedDeleteParamsWithHTTPClient

func NewSnaplockFilePrivilegedDeleteParamsWithHTTPClient(client *http.Client) *SnaplockFilePrivilegedDeleteParams

NewSnaplockFilePrivilegedDeleteParamsWithHTTPClient creates a new SnaplockFilePrivilegedDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockFilePrivilegedDeleteParamsWithTimeout

func NewSnaplockFilePrivilegedDeleteParamsWithTimeout(timeout time.Duration) *SnaplockFilePrivilegedDeleteParams

NewSnaplockFilePrivilegedDeleteParamsWithTimeout creates a new SnaplockFilePrivilegedDeleteParams object with the ability to set a timeout on a request.

func (*SnaplockFilePrivilegedDeleteParams) SetContext

SetContext adds the context to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) SetDefaults

func (o *SnaplockFilePrivilegedDeleteParams) SetDefaults()

SetDefaults hydrates default values in the snaplock file privileged delete params (not the query body).

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

func (*SnaplockFilePrivilegedDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) SetPath

func (o *SnaplockFilePrivilegedDeleteParams) SetPath(path string)

SetPath adds the path to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) SetReturnTimeout

func (o *SnaplockFilePrivilegedDeleteParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) SetVolumeUUID

func (o *SnaplockFilePrivilegedDeleteParams) SetVolumeUUID(volumeUUID string)

SetVolumeUUID adds the volumeUuid to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) WithContext

WithContext adds the context to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) WithDefaults

WithDefaults hydrates default values in the snaplock file privileged delete params (not the query body).

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

func (*SnaplockFilePrivilegedDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) WithPath

WithPath adds the path to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) WithReturnTimeout

func (o *SnaplockFilePrivilegedDeleteParams) WithReturnTimeout(returnTimeout *int64) *SnaplockFilePrivilegedDeleteParams

WithReturnTimeout adds the returnTimeout to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) WithTimeout

WithTimeout adds the timeout to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) WithVolumeUUID

WithVolumeUUID adds the volumeUUID to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockFilePrivilegedDeleteReader

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

SnaplockFilePrivilegedDeleteReader is a Reader for the SnaplockFilePrivilegedDelete structure.

func (*SnaplockFilePrivilegedDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockFileRetentionGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 262179 | Unexpected argument \"<file_name>\" | | 917864 | Operation not supported | | 6691623 | User is not authorized | | 13762592 | Operation not supported on non-SnapLock volume | | 14090347 | File path must be in the format \"\/\<dir\>\/\<file path\>\" | | 917804 | Path should be given in the format \"\/\vol\/\<volume name>\/\<file path>\".

func NewSnaplockFileRetentionGetDefault

func NewSnaplockFileRetentionGetDefault(code int) *SnaplockFileRetentionGetDefault

NewSnaplockFileRetentionGetDefault creates a SnaplockFileRetentionGetDefault with default headers values

func (*SnaplockFileRetentionGetDefault) Code

Code gets the status code for the snaplock file retention get default response

func (*SnaplockFileRetentionGetDefault) Error

func (*SnaplockFileRetentionGetDefault) GetPayload

func (*SnaplockFileRetentionGetDefault) IsClientError

func (o *SnaplockFileRetentionGetDefault) IsClientError() bool

IsClientError returns true when this snaplock file retention get default response has a 4xx status code

func (*SnaplockFileRetentionGetDefault) IsCode

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

IsCode returns true when this snaplock file retention get default response a status code equal to that given

func (*SnaplockFileRetentionGetDefault) IsRedirect

func (o *SnaplockFileRetentionGetDefault) IsRedirect() bool

IsRedirect returns true when this snaplock file retention get default response has a 3xx status code

func (*SnaplockFileRetentionGetDefault) IsServerError

func (o *SnaplockFileRetentionGetDefault) IsServerError() bool

IsServerError returns true when this snaplock file retention get default response has a 5xx status code

func (*SnaplockFileRetentionGetDefault) IsSuccess

func (o *SnaplockFileRetentionGetDefault) IsSuccess() bool

IsSuccess returns true when this snaplock file retention get default response has a 2xx status code

func (*SnaplockFileRetentionGetDefault) String

type SnaplockFileRetentionGetOK

type SnaplockFileRetentionGetOK struct {
	Payload *models.SnaplockFileRetention
}

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

OK

func NewSnaplockFileRetentionGetOK

func NewSnaplockFileRetentionGetOK() *SnaplockFileRetentionGetOK

NewSnaplockFileRetentionGetOK creates a SnaplockFileRetentionGetOK with default headers values

func (*SnaplockFileRetentionGetOK) Code

func (o *SnaplockFileRetentionGetOK) Code() int

Code gets the status code for the snaplock file retention get o k response

func (*SnaplockFileRetentionGetOK) Error

func (*SnaplockFileRetentionGetOK) GetPayload

func (*SnaplockFileRetentionGetOK) IsClientError

func (o *SnaplockFileRetentionGetOK) IsClientError() bool

IsClientError returns true when this snaplock file retention get o k response has a 4xx status code

func (*SnaplockFileRetentionGetOK) IsCode

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

IsCode returns true when this snaplock file retention get o k response a status code equal to that given

func (*SnaplockFileRetentionGetOK) IsRedirect

func (o *SnaplockFileRetentionGetOK) IsRedirect() bool

IsRedirect returns true when this snaplock file retention get o k response has a 3xx status code

func (*SnaplockFileRetentionGetOK) IsServerError

func (o *SnaplockFileRetentionGetOK) IsServerError() bool

IsServerError returns true when this snaplock file retention get o k response has a 5xx status code

func (*SnaplockFileRetentionGetOK) IsSuccess

func (o *SnaplockFileRetentionGetOK) IsSuccess() bool

IsSuccess returns true when this snaplock file retention get o k response has a 2xx status code

func (*SnaplockFileRetentionGetOK) String

func (o *SnaplockFileRetentionGetOK) String() string

type SnaplockFileRetentionGetParams

type SnaplockFileRetentionGetParams struct {

	/* Fields.

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

	/* Path.

	   Path of the file in the form "/\<dirpath\>/\<filename\>"
	*/
	Path string

	/* VolumeUUID.

	   Volume UUID
	*/
	VolumeUUID string

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

SnaplockFileRetentionGetParams contains all the parameters to send to the API endpoint

for the snaplock file retention get operation.

Typically these are written to a http.Request.

func NewSnaplockFileRetentionGetParams

func NewSnaplockFileRetentionGetParams() *SnaplockFileRetentionGetParams

NewSnaplockFileRetentionGetParams creates a new SnaplockFileRetentionGetParams 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 NewSnaplockFileRetentionGetParamsWithContext

func NewSnaplockFileRetentionGetParamsWithContext(ctx context.Context) *SnaplockFileRetentionGetParams

NewSnaplockFileRetentionGetParamsWithContext creates a new SnaplockFileRetentionGetParams object with the ability to set a context for a request.

func NewSnaplockFileRetentionGetParamsWithHTTPClient

func NewSnaplockFileRetentionGetParamsWithHTTPClient(client *http.Client) *SnaplockFileRetentionGetParams

NewSnaplockFileRetentionGetParamsWithHTTPClient creates a new SnaplockFileRetentionGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockFileRetentionGetParamsWithTimeout

func NewSnaplockFileRetentionGetParamsWithTimeout(timeout time.Duration) *SnaplockFileRetentionGetParams

NewSnaplockFileRetentionGetParamsWithTimeout creates a new SnaplockFileRetentionGetParams object with the ability to set a timeout on a request.

func (*SnaplockFileRetentionGetParams) SetContext

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

SetContext adds the context to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) SetDefaults

func (o *SnaplockFileRetentionGetParams) SetDefaults()

SetDefaults hydrates default values in the snaplock file retention get params (not the query body).

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

func (*SnaplockFileRetentionGetParams) SetFields

func (o *SnaplockFileRetentionGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) SetPath

func (o *SnaplockFileRetentionGetParams) SetPath(path string)

SetPath adds the path to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) SetVolumeUUID

func (o *SnaplockFileRetentionGetParams) SetVolumeUUID(volumeUUID string)

SetVolumeUUID adds the volumeUuid to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) WithContext

WithContext adds the context to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock file retention get params (not the query body).

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

func (*SnaplockFileRetentionGetParams) WithFields

WithFields adds the fields to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) WithPath

WithPath adds the path to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) WithVolumeUUID

WithVolumeUUID adds the volumeUUID to the snaplock file retention get params

func (*SnaplockFileRetentionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockFileRetentionGetReader

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

SnaplockFileRetentionGetReader is a Reader for the SnaplockFileRetentionGet structure.

func (*SnaplockFileRetentionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockFileRetentionTimeModifyDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 262179 | Unexpected argument \"<file_name>\" | | 262186 | Field \"expiry_time\" cannot be used with field \"retention_period\" | | 6691623 | User is not authorized | | 13763279 | The resulting expiry time due to the specified retention period is earlier than the current expiry time | | 14090348 | Invalid Expiry time | | 14090347 | File path must be in the format \"\/\<dir\>\/\<file path\>\" | | 917804 | Path should be given in the format \"\/\vol\/\<volume name>\/\<file path>\".

func NewSnaplockFileRetentionTimeModifyDefault

func NewSnaplockFileRetentionTimeModifyDefault(code int) *SnaplockFileRetentionTimeModifyDefault

NewSnaplockFileRetentionTimeModifyDefault creates a SnaplockFileRetentionTimeModifyDefault with default headers values

func (*SnaplockFileRetentionTimeModifyDefault) Code

Code gets the status code for the snaplock file retention time modify default response

func (*SnaplockFileRetentionTimeModifyDefault) Error

func (*SnaplockFileRetentionTimeModifyDefault) GetPayload

func (*SnaplockFileRetentionTimeModifyDefault) IsClientError

func (o *SnaplockFileRetentionTimeModifyDefault) IsClientError() bool

IsClientError returns true when this snaplock file retention time modify default response has a 4xx status code

func (*SnaplockFileRetentionTimeModifyDefault) IsCode

IsCode returns true when this snaplock file retention time modify default response a status code equal to that given

func (*SnaplockFileRetentionTimeModifyDefault) IsRedirect

IsRedirect returns true when this snaplock file retention time modify default response has a 3xx status code

func (*SnaplockFileRetentionTimeModifyDefault) IsServerError

func (o *SnaplockFileRetentionTimeModifyDefault) IsServerError() bool

IsServerError returns true when this snaplock file retention time modify default response has a 5xx status code

func (*SnaplockFileRetentionTimeModifyDefault) IsSuccess

IsSuccess returns true when this snaplock file retention time modify default response has a 2xx status code

func (*SnaplockFileRetentionTimeModifyDefault) String

type SnaplockFileRetentionTimeModifyOK

type SnaplockFileRetentionTimeModifyOK struct {
}

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

OK

func NewSnaplockFileRetentionTimeModifyOK

func NewSnaplockFileRetentionTimeModifyOK() *SnaplockFileRetentionTimeModifyOK

NewSnaplockFileRetentionTimeModifyOK creates a SnaplockFileRetentionTimeModifyOK with default headers values

func (*SnaplockFileRetentionTimeModifyOK) Code

Code gets the status code for the snaplock file retention time modify o k response

func (*SnaplockFileRetentionTimeModifyOK) Error

func (*SnaplockFileRetentionTimeModifyOK) IsClientError

func (o *SnaplockFileRetentionTimeModifyOK) IsClientError() bool

IsClientError returns true when this snaplock file retention time modify o k response has a 4xx status code

func (*SnaplockFileRetentionTimeModifyOK) IsCode

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

IsCode returns true when this snaplock file retention time modify o k response a status code equal to that given

func (*SnaplockFileRetentionTimeModifyOK) IsRedirect

func (o *SnaplockFileRetentionTimeModifyOK) IsRedirect() bool

IsRedirect returns true when this snaplock file retention time modify o k response has a 3xx status code

func (*SnaplockFileRetentionTimeModifyOK) IsServerError

func (o *SnaplockFileRetentionTimeModifyOK) IsServerError() bool

IsServerError returns true when this snaplock file retention time modify o k response has a 5xx status code

func (*SnaplockFileRetentionTimeModifyOK) IsSuccess

func (o *SnaplockFileRetentionTimeModifyOK) IsSuccess() bool

IsSuccess returns true when this snaplock file retention time modify o k response has a 2xx status code

func (*SnaplockFileRetentionTimeModifyOK) String

type SnaplockFileRetentionTimeModifyParams

type SnaplockFileRetentionTimeModifyParams struct {

	/* Info.

	   New retention time to be set.
	*/
	Info *models.SnaplockFileRetention

	/* Path.

	   Path of the file in the form "/\<dirpath\>/\<filename\>"
	*/
	Path string

	/* VolumeUUID.

	   Volume UUID
	*/
	VolumeUUID string

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

SnaplockFileRetentionTimeModifyParams contains all the parameters to send to the API endpoint

for the snaplock file retention time modify operation.

Typically these are written to a http.Request.

func NewSnaplockFileRetentionTimeModifyParams

func NewSnaplockFileRetentionTimeModifyParams() *SnaplockFileRetentionTimeModifyParams

NewSnaplockFileRetentionTimeModifyParams creates a new SnaplockFileRetentionTimeModifyParams 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 NewSnaplockFileRetentionTimeModifyParamsWithContext

func NewSnaplockFileRetentionTimeModifyParamsWithContext(ctx context.Context) *SnaplockFileRetentionTimeModifyParams

NewSnaplockFileRetentionTimeModifyParamsWithContext creates a new SnaplockFileRetentionTimeModifyParams object with the ability to set a context for a request.

func NewSnaplockFileRetentionTimeModifyParamsWithHTTPClient

func NewSnaplockFileRetentionTimeModifyParamsWithHTTPClient(client *http.Client) *SnaplockFileRetentionTimeModifyParams

NewSnaplockFileRetentionTimeModifyParamsWithHTTPClient creates a new SnaplockFileRetentionTimeModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockFileRetentionTimeModifyParamsWithTimeout

func NewSnaplockFileRetentionTimeModifyParamsWithTimeout(timeout time.Duration) *SnaplockFileRetentionTimeModifyParams

NewSnaplockFileRetentionTimeModifyParamsWithTimeout creates a new SnaplockFileRetentionTimeModifyParams object with the ability to set a timeout on a request.

func (*SnaplockFileRetentionTimeModifyParams) SetContext

SetContext adds the context to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) SetDefaults

func (o *SnaplockFileRetentionTimeModifyParams) SetDefaults()

SetDefaults hydrates default values in the snaplock file retention time modify params (not the query body).

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

func (*SnaplockFileRetentionTimeModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) SetInfo

SetInfo adds the info to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) SetPath

SetPath adds the path to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) SetVolumeUUID

func (o *SnaplockFileRetentionTimeModifyParams) SetVolumeUUID(volumeUUID string)

SetVolumeUUID adds the volumeUuid to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) WithContext

WithContext adds the context to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) WithDefaults

WithDefaults hydrates default values in the snaplock file retention time modify params (not the query body).

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

func (*SnaplockFileRetentionTimeModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) WithInfo

WithInfo adds the info to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) WithPath

WithPath adds the path to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) WithTimeout

WithTimeout adds the timeout to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) WithVolumeUUID

WithVolumeUUID adds the volumeUUID to the snaplock file retention time modify params

func (*SnaplockFileRetentionTimeModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockFileRetentionTimeModifyReader

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

SnaplockFileRetentionTimeModifyReader is a Reader for the SnaplockFileRetentionTimeModify structure.

func (*SnaplockFileRetentionTimeModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockFingerprintOperationCollectionGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 14090442 | Invalid Vserver UUID | | 14090445 | Invalid key values. Provide Vserver UUID and Volume UUID |

func NewSnaplockFingerprintOperationCollectionGetDefault

func NewSnaplockFingerprintOperationCollectionGetDefault(code int) *SnaplockFingerprintOperationCollectionGetDefault

NewSnaplockFingerprintOperationCollectionGetDefault creates a SnaplockFingerprintOperationCollectionGetDefault with default headers values

func (*SnaplockFingerprintOperationCollectionGetDefault) Code

Code gets the status code for the snaplock fingerprint operation collection get default response

func (*SnaplockFingerprintOperationCollectionGetDefault) Error

func (*SnaplockFingerprintOperationCollectionGetDefault) GetPayload

func (*SnaplockFingerprintOperationCollectionGetDefault) IsClientError

IsClientError returns true when this snaplock fingerprint operation collection get default response has a 4xx status code

func (*SnaplockFingerprintOperationCollectionGetDefault) IsCode

IsCode returns true when this snaplock fingerprint operation collection get default response a status code equal to that given

func (*SnaplockFingerprintOperationCollectionGetDefault) IsRedirect

IsRedirect returns true when this snaplock fingerprint operation collection get default response has a 3xx status code

func (*SnaplockFingerprintOperationCollectionGetDefault) IsServerError

IsServerError returns true when this snaplock fingerprint operation collection get default response has a 5xx status code

func (*SnaplockFingerprintOperationCollectionGetDefault) IsSuccess

IsSuccess returns true when this snaplock fingerprint operation collection get default response has a 2xx status code

func (*SnaplockFingerprintOperationCollectionGetDefault) String

type SnaplockFingerprintOperationCollectionGetOK

type SnaplockFingerprintOperationCollectionGetOK struct {
	Payload *models.SnaplockFileFingerprintResponse
}

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

OK

func NewSnaplockFingerprintOperationCollectionGetOK

func NewSnaplockFingerprintOperationCollectionGetOK() *SnaplockFingerprintOperationCollectionGetOK

NewSnaplockFingerprintOperationCollectionGetOK creates a SnaplockFingerprintOperationCollectionGetOK with default headers values

func (*SnaplockFingerprintOperationCollectionGetOK) Code

Code gets the status code for the snaplock fingerprint operation collection get o k response

func (*SnaplockFingerprintOperationCollectionGetOK) Error

func (*SnaplockFingerprintOperationCollectionGetOK) GetPayload

func (*SnaplockFingerprintOperationCollectionGetOK) IsClientError

IsClientError returns true when this snaplock fingerprint operation collection get o k response has a 4xx status code

func (*SnaplockFingerprintOperationCollectionGetOK) IsCode

IsCode returns true when this snaplock fingerprint operation collection get o k response a status code equal to that given

func (*SnaplockFingerprintOperationCollectionGetOK) IsRedirect

IsRedirect returns true when this snaplock fingerprint operation collection get o k response has a 3xx status code

func (*SnaplockFingerprintOperationCollectionGetOK) IsServerError

IsServerError returns true when this snaplock fingerprint operation collection get o k response has a 5xx status code

func (*SnaplockFingerprintOperationCollectionGetOK) IsSuccess

IsSuccess returns true when this snaplock fingerprint operation collection get o k response has a 2xx status code

func (*SnaplockFingerprintOperationCollectionGetOK) String

type SnaplockFingerprintOperationCollectionGetParams

type SnaplockFingerprintOperationCollectionGetParams struct {

	/* Fields.

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

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecords *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
	*/
	ReturnTimeout *int64

	/* SvmUUID.

	   SVM UUID
	*/
	SvmUUID string

	/* VolumeUUID.

	   Volume UUID
	*/
	VolumeUUID string

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

SnaplockFingerprintOperationCollectionGetParams contains all the parameters to send to the API endpoint

for the snaplock fingerprint operation collection get operation.

Typically these are written to a http.Request.

func NewSnaplockFingerprintOperationCollectionGetParams

func NewSnaplockFingerprintOperationCollectionGetParams() *SnaplockFingerprintOperationCollectionGetParams

NewSnaplockFingerprintOperationCollectionGetParams creates a new SnaplockFingerprintOperationCollectionGetParams 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 NewSnaplockFingerprintOperationCollectionGetParamsWithContext

func NewSnaplockFingerprintOperationCollectionGetParamsWithContext(ctx context.Context) *SnaplockFingerprintOperationCollectionGetParams

NewSnaplockFingerprintOperationCollectionGetParamsWithContext creates a new SnaplockFingerprintOperationCollectionGetParams object with the ability to set a context for a request.

func NewSnaplockFingerprintOperationCollectionGetParamsWithHTTPClient

func NewSnaplockFingerprintOperationCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockFingerprintOperationCollectionGetParams

NewSnaplockFingerprintOperationCollectionGetParamsWithHTTPClient creates a new SnaplockFingerprintOperationCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockFingerprintOperationCollectionGetParamsWithTimeout

func NewSnaplockFingerprintOperationCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockFingerprintOperationCollectionGetParams

NewSnaplockFingerprintOperationCollectionGetParamsWithTimeout creates a new SnaplockFingerprintOperationCollectionGetParams object with the ability to set a timeout on a request.

func (*SnaplockFingerprintOperationCollectionGetParams) SetContext

SetContext adds the context to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) SetDefaults

SetDefaults hydrates default values in the snaplock fingerprint operation collection get params (not the query body).

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

func (*SnaplockFingerprintOperationCollectionGetParams) SetFields

SetFields adds the fields to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) SetMaxRecords

func (o *SnaplockFingerprintOperationCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) SetOrderBy

SetOrderBy adds the orderBy to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) SetReturnRecords

func (o *SnaplockFingerprintOperationCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) SetReturnTimeout

func (o *SnaplockFingerprintOperationCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) SetSvmUUID

SetSvmUUID adds the svmUuid to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) SetTimeout

SetTimeout adds the timeout to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) SetVolumeUUID

func (o *SnaplockFingerprintOperationCollectionGetParams) SetVolumeUUID(volumeUUID string)

SetVolumeUUID adds the volumeUuid to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WithContext

WithContext adds the context to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock fingerprint operation collection get params (not the query body).

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

func (*SnaplockFingerprintOperationCollectionGetParams) WithFields

WithFields adds the fields to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WithSvmUUID

WithSvmUUID adds the svmUUID to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WithVolumeUUID

WithVolumeUUID adds the volumeUUID to the snaplock fingerprint operation collection get params

func (*SnaplockFingerprintOperationCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockFingerprintOperationCollectionGetReader

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

SnaplockFingerprintOperationCollectionGetReader is a Reader for the SnaplockFingerprintOperationCollectionGet structure.

func (*SnaplockFingerprintOperationCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockFingerprintOperationCreateCreated

type SnaplockFingerprintOperationCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string
}

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

Created

func NewSnaplockFingerprintOperationCreateCreated

func NewSnaplockFingerprintOperationCreateCreated() *SnaplockFingerprintOperationCreateCreated

NewSnaplockFingerprintOperationCreateCreated creates a SnaplockFingerprintOperationCreateCreated with default headers values

func (*SnaplockFingerprintOperationCreateCreated) Code

Code gets the status code for the snaplock fingerprint operation create created response

func (*SnaplockFingerprintOperationCreateCreated) Error

func (*SnaplockFingerprintOperationCreateCreated) IsClientError

IsClientError returns true when this snaplock fingerprint operation create created response has a 4xx status code

func (*SnaplockFingerprintOperationCreateCreated) IsCode

IsCode returns true when this snaplock fingerprint operation create created response a status code equal to that given

func (*SnaplockFingerprintOperationCreateCreated) IsRedirect

IsRedirect returns true when this snaplock fingerprint operation create created response has a 3xx status code

func (*SnaplockFingerprintOperationCreateCreated) IsServerError

IsServerError returns true when this snaplock fingerprint operation create created response has a 5xx status code

func (*SnaplockFingerprintOperationCreateCreated) IsSuccess

IsSuccess returns true when this snaplock fingerprint operation create created response has a 2xx status code

func (*SnaplockFingerprintOperationCreateCreated) String

type SnaplockFingerprintOperationCreateDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 2 | An invalid value was entered for one of the fields | | 2621519 | Invalid SVM name format | | 14090347 | Invalid path format | | 14090443 | Invalid volume name | | 14090444 | Invalid Vserver name | | 14090447 | Invalid volume UUID | | 14090448 | Invalid key values. Provide valid Vserver name and volume name or Vserver UUID and volume UUID |

func NewSnaplockFingerprintOperationCreateDefault

func NewSnaplockFingerprintOperationCreateDefault(code int) *SnaplockFingerprintOperationCreateDefault

NewSnaplockFingerprintOperationCreateDefault creates a SnaplockFingerprintOperationCreateDefault with default headers values

func (*SnaplockFingerprintOperationCreateDefault) Code

Code gets the status code for the snaplock fingerprint operation create default response

func (*SnaplockFingerprintOperationCreateDefault) Error

func (*SnaplockFingerprintOperationCreateDefault) GetPayload

func (*SnaplockFingerprintOperationCreateDefault) IsClientError

IsClientError returns true when this snaplock fingerprint operation create default response has a 4xx status code

func (*SnaplockFingerprintOperationCreateDefault) IsCode

IsCode returns true when this snaplock fingerprint operation create default response a status code equal to that given

func (*SnaplockFingerprintOperationCreateDefault) IsRedirect

IsRedirect returns true when this snaplock fingerprint operation create default response has a 3xx status code

func (*SnaplockFingerprintOperationCreateDefault) IsServerError

IsServerError returns true when this snaplock fingerprint operation create default response has a 5xx status code

func (*SnaplockFingerprintOperationCreateDefault) IsSuccess

IsSuccess returns true when this snaplock fingerprint operation create default response has a 2xx status code

func (*SnaplockFingerprintOperationCreateDefault) String

type SnaplockFingerprintOperationCreateParams

type SnaplockFingerprintOperationCreateParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.SnaplockFileFingerprint

	/* ReturnRecords.

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

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

SnaplockFingerprintOperationCreateParams contains all the parameters to send to the API endpoint

for the snaplock fingerprint operation create operation.

Typically these are written to a http.Request.

func NewSnaplockFingerprintOperationCreateParams

func NewSnaplockFingerprintOperationCreateParams() *SnaplockFingerprintOperationCreateParams

NewSnaplockFingerprintOperationCreateParams creates a new SnaplockFingerprintOperationCreateParams 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 NewSnaplockFingerprintOperationCreateParamsWithContext

func NewSnaplockFingerprintOperationCreateParamsWithContext(ctx context.Context) *SnaplockFingerprintOperationCreateParams

NewSnaplockFingerprintOperationCreateParamsWithContext creates a new SnaplockFingerprintOperationCreateParams object with the ability to set a context for a request.

func NewSnaplockFingerprintOperationCreateParamsWithHTTPClient

func NewSnaplockFingerprintOperationCreateParamsWithHTTPClient(client *http.Client) *SnaplockFingerprintOperationCreateParams

NewSnaplockFingerprintOperationCreateParamsWithHTTPClient creates a new SnaplockFingerprintOperationCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockFingerprintOperationCreateParamsWithTimeout

func NewSnaplockFingerprintOperationCreateParamsWithTimeout(timeout time.Duration) *SnaplockFingerprintOperationCreateParams

NewSnaplockFingerprintOperationCreateParamsWithTimeout creates a new SnaplockFingerprintOperationCreateParams object with the ability to set a timeout on a request.

func (*SnaplockFingerprintOperationCreateParams) SetContext

SetContext adds the context to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) SetDefaults

SetDefaults hydrates default values in the snaplock fingerprint operation create params (not the query body).

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

func (*SnaplockFingerprintOperationCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) SetInfo

SetInfo adds the info to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) SetReturnRecords

func (o *SnaplockFingerprintOperationCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) SetTimeout

SetTimeout adds the timeout to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) WithContext

WithContext adds the context to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) WithDefaults

WithDefaults hydrates default values in the snaplock fingerprint operation create params (not the query body).

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

func (*SnaplockFingerprintOperationCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) WithInfo

WithInfo adds the info to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) WithTimeout

WithTimeout adds the timeout to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockFingerprintOperationCreateReader

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

SnaplockFingerprintOperationCreateReader is a Reader for the SnaplockFingerprintOperationCreate structure.

func (*SnaplockFingerprintOperationCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockFingerprintOperationDeleteDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 14090440 | File fingerprint operation has completed | | 14090446 | Invalid session ID |

func NewSnaplockFingerprintOperationDeleteDefault

func NewSnaplockFingerprintOperationDeleteDefault(code int) *SnaplockFingerprintOperationDeleteDefault

NewSnaplockFingerprintOperationDeleteDefault creates a SnaplockFingerprintOperationDeleteDefault with default headers values

func (*SnaplockFingerprintOperationDeleteDefault) Code

Code gets the status code for the snaplock fingerprint operation delete default response

func (*SnaplockFingerprintOperationDeleteDefault) Error

func (*SnaplockFingerprintOperationDeleteDefault) GetPayload

func (*SnaplockFingerprintOperationDeleteDefault) IsClientError

IsClientError returns true when this snaplock fingerprint operation delete default response has a 4xx status code

func (*SnaplockFingerprintOperationDeleteDefault) IsCode

IsCode returns true when this snaplock fingerprint operation delete default response a status code equal to that given

func (*SnaplockFingerprintOperationDeleteDefault) IsRedirect

IsRedirect returns true when this snaplock fingerprint operation delete default response has a 3xx status code

func (*SnaplockFingerprintOperationDeleteDefault) IsServerError

IsServerError returns true when this snaplock fingerprint operation delete default response has a 5xx status code

func (*SnaplockFingerprintOperationDeleteDefault) IsSuccess

IsSuccess returns true when this snaplock fingerprint operation delete default response has a 2xx status code

func (*SnaplockFingerprintOperationDeleteDefault) String

type SnaplockFingerprintOperationDeleteOK

type SnaplockFingerprintOperationDeleteOK struct {
}

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

OK

func NewSnaplockFingerprintOperationDeleteOK

func NewSnaplockFingerprintOperationDeleteOK() *SnaplockFingerprintOperationDeleteOK

NewSnaplockFingerprintOperationDeleteOK creates a SnaplockFingerprintOperationDeleteOK with default headers values

func (*SnaplockFingerprintOperationDeleteOK) Code

Code gets the status code for the snaplock fingerprint operation delete o k response

func (*SnaplockFingerprintOperationDeleteOK) Error

func (*SnaplockFingerprintOperationDeleteOK) IsClientError

func (o *SnaplockFingerprintOperationDeleteOK) IsClientError() bool

IsClientError returns true when this snaplock fingerprint operation delete o k response has a 4xx status code

func (*SnaplockFingerprintOperationDeleteOK) IsCode

IsCode returns true when this snaplock fingerprint operation delete o k response a status code equal to that given

func (*SnaplockFingerprintOperationDeleteOK) IsRedirect

IsRedirect returns true when this snaplock fingerprint operation delete o k response has a 3xx status code

func (*SnaplockFingerprintOperationDeleteOK) IsServerError

func (o *SnaplockFingerprintOperationDeleteOK) IsServerError() bool

IsServerError returns true when this snaplock fingerprint operation delete o k response has a 5xx status code

func (*SnaplockFingerprintOperationDeleteOK) IsSuccess

IsSuccess returns true when this snaplock fingerprint operation delete o k response has a 2xx status code

func (*SnaplockFingerprintOperationDeleteOK) String

type SnaplockFingerprintOperationDeleteParams

type SnaplockFingerprintOperationDeleteParams struct {

	/* ID.

	   Unique identifier of the operation
	*/
	ID string

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

SnaplockFingerprintOperationDeleteParams contains all the parameters to send to the API endpoint

for the snaplock fingerprint operation delete operation.

Typically these are written to a http.Request.

func NewSnaplockFingerprintOperationDeleteParams

func NewSnaplockFingerprintOperationDeleteParams() *SnaplockFingerprintOperationDeleteParams

NewSnaplockFingerprintOperationDeleteParams creates a new SnaplockFingerprintOperationDeleteParams 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 NewSnaplockFingerprintOperationDeleteParamsWithContext

func NewSnaplockFingerprintOperationDeleteParamsWithContext(ctx context.Context) *SnaplockFingerprintOperationDeleteParams

NewSnaplockFingerprintOperationDeleteParamsWithContext creates a new SnaplockFingerprintOperationDeleteParams object with the ability to set a context for a request.

func NewSnaplockFingerprintOperationDeleteParamsWithHTTPClient

func NewSnaplockFingerprintOperationDeleteParamsWithHTTPClient(client *http.Client) *SnaplockFingerprintOperationDeleteParams

NewSnaplockFingerprintOperationDeleteParamsWithHTTPClient creates a new SnaplockFingerprintOperationDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockFingerprintOperationDeleteParamsWithTimeout

func NewSnaplockFingerprintOperationDeleteParamsWithTimeout(timeout time.Duration) *SnaplockFingerprintOperationDeleteParams

NewSnaplockFingerprintOperationDeleteParamsWithTimeout creates a new SnaplockFingerprintOperationDeleteParams object with the ability to set a timeout on a request.

func (*SnaplockFingerprintOperationDeleteParams) SetContext

SetContext adds the context to the snaplock fingerprint operation delete params

func (*SnaplockFingerprintOperationDeleteParams) SetDefaults

SetDefaults hydrates default values in the snaplock fingerprint operation delete params (not the query body).

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

func (*SnaplockFingerprintOperationDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock fingerprint operation delete params

func (*SnaplockFingerprintOperationDeleteParams) SetID

SetID adds the id to the snaplock fingerprint operation delete params

func (*SnaplockFingerprintOperationDeleteParams) SetTimeout

SetTimeout adds the timeout to the snaplock fingerprint operation delete params

func (*SnaplockFingerprintOperationDeleteParams) WithContext

WithContext adds the context to the snaplock fingerprint operation delete params

func (*SnaplockFingerprintOperationDeleteParams) WithDefaults

WithDefaults hydrates default values in the snaplock fingerprint operation delete params (not the query body).

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

func (*SnaplockFingerprintOperationDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock fingerprint operation delete params

func (*SnaplockFingerprintOperationDeleteParams) WithID

WithID adds the id to the snaplock fingerprint operation delete params

func (*SnaplockFingerprintOperationDeleteParams) WithTimeout

WithTimeout adds the timeout to the snaplock fingerprint operation delete params

func (*SnaplockFingerprintOperationDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockFingerprintOperationDeleteReader

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

SnaplockFingerprintOperationDeleteReader is a Reader for the SnaplockFingerprintOperationDelete structure.

func (*SnaplockFingerprintOperationDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockFingerprintOperationGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 14090441 | Invalid key values. Provide session ID or Vserver UUID and volume UUID | | 14090449 | File fingerprint operation has not completed |

func NewSnaplockFingerprintOperationGetDefault

func NewSnaplockFingerprintOperationGetDefault(code int) *SnaplockFingerprintOperationGetDefault

NewSnaplockFingerprintOperationGetDefault creates a SnaplockFingerprintOperationGetDefault with default headers values

func (*SnaplockFingerprintOperationGetDefault) Code

Code gets the status code for the snaplock fingerprint operation get default response

func (*SnaplockFingerprintOperationGetDefault) Error

func (*SnaplockFingerprintOperationGetDefault) GetPayload

func (*SnaplockFingerprintOperationGetDefault) IsClientError

func (o *SnaplockFingerprintOperationGetDefault) IsClientError() bool

IsClientError returns true when this snaplock fingerprint operation get default response has a 4xx status code

func (*SnaplockFingerprintOperationGetDefault) IsCode

IsCode returns true when this snaplock fingerprint operation get default response a status code equal to that given

func (*SnaplockFingerprintOperationGetDefault) IsRedirect

IsRedirect returns true when this snaplock fingerprint operation get default response has a 3xx status code

func (*SnaplockFingerprintOperationGetDefault) IsServerError

func (o *SnaplockFingerprintOperationGetDefault) IsServerError() bool

IsServerError returns true when this snaplock fingerprint operation get default response has a 5xx status code

func (*SnaplockFingerprintOperationGetDefault) IsSuccess

IsSuccess returns true when this snaplock fingerprint operation get default response has a 2xx status code

func (*SnaplockFingerprintOperationGetDefault) String

type SnaplockFingerprintOperationGetOK

type SnaplockFingerprintOperationGetOK struct {
	Payload *models.SnaplockFileFingerprint
}

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

OK

func NewSnaplockFingerprintOperationGetOK

func NewSnaplockFingerprintOperationGetOK() *SnaplockFingerprintOperationGetOK

NewSnaplockFingerprintOperationGetOK creates a SnaplockFingerprintOperationGetOK with default headers values

func (*SnaplockFingerprintOperationGetOK) Code

Code gets the status code for the snaplock fingerprint operation get o k response

func (*SnaplockFingerprintOperationGetOK) Error

func (*SnaplockFingerprintOperationGetOK) GetPayload

func (*SnaplockFingerprintOperationGetOK) IsClientError

func (o *SnaplockFingerprintOperationGetOK) IsClientError() bool

IsClientError returns true when this snaplock fingerprint operation get o k response has a 4xx status code

func (*SnaplockFingerprintOperationGetOK) IsCode

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

IsCode returns true when this snaplock fingerprint operation get o k response a status code equal to that given

func (*SnaplockFingerprintOperationGetOK) IsRedirect

func (o *SnaplockFingerprintOperationGetOK) IsRedirect() bool

IsRedirect returns true when this snaplock fingerprint operation get o k response has a 3xx status code

func (*SnaplockFingerprintOperationGetOK) IsServerError

func (o *SnaplockFingerprintOperationGetOK) IsServerError() bool

IsServerError returns true when this snaplock fingerprint operation get o k response has a 5xx status code

func (*SnaplockFingerprintOperationGetOK) IsSuccess

func (o *SnaplockFingerprintOperationGetOK) IsSuccess() bool

IsSuccess returns true when this snaplock fingerprint operation get o k response has a 2xx status code

func (*SnaplockFingerprintOperationGetOK) String

type SnaplockFingerprintOperationGetParams

type SnaplockFingerprintOperationGetParams struct {

	/* Fields.

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

	/* ID.

	   Unique identifier of the operation
	*/
	ID string

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

SnaplockFingerprintOperationGetParams contains all the parameters to send to the API endpoint

for the snaplock fingerprint operation get operation.

Typically these are written to a http.Request.

func NewSnaplockFingerprintOperationGetParams

func NewSnaplockFingerprintOperationGetParams() *SnaplockFingerprintOperationGetParams

NewSnaplockFingerprintOperationGetParams creates a new SnaplockFingerprintOperationGetParams 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 NewSnaplockFingerprintOperationGetParamsWithContext

func NewSnaplockFingerprintOperationGetParamsWithContext(ctx context.Context) *SnaplockFingerprintOperationGetParams

NewSnaplockFingerprintOperationGetParamsWithContext creates a new SnaplockFingerprintOperationGetParams object with the ability to set a context for a request.

func NewSnaplockFingerprintOperationGetParamsWithHTTPClient

func NewSnaplockFingerprintOperationGetParamsWithHTTPClient(client *http.Client) *SnaplockFingerprintOperationGetParams

NewSnaplockFingerprintOperationGetParamsWithHTTPClient creates a new SnaplockFingerprintOperationGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockFingerprintOperationGetParamsWithTimeout

func NewSnaplockFingerprintOperationGetParamsWithTimeout(timeout time.Duration) *SnaplockFingerprintOperationGetParams

NewSnaplockFingerprintOperationGetParamsWithTimeout creates a new SnaplockFingerprintOperationGetParams object with the ability to set a timeout on a request.

func (*SnaplockFingerprintOperationGetParams) SetContext

SetContext adds the context to the snaplock fingerprint operation get params

func (*SnaplockFingerprintOperationGetParams) SetDefaults

func (o *SnaplockFingerprintOperationGetParams) SetDefaults()

SetDefaults hydrates default values in the snaplock fingerprint operation get params (not the query body).

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

func (*SnaplockFingerprintOperationGetParams) SetFields

func (o *SnaplockFingerprintOperationGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock fingerprint operation get params

func (*SnaplockFingerprintOperationGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock fingerprint operation get params

func (*SnaplockFingerprintOperationGetParams) SetID

SetID adds the id to the snaplock fingerprint operation get params

func (*SnaplockFingerprintOperationGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock fingerprint operation get params

func (*SnaplockFingerprintOperationGetParams) WithContext

WithContext adds the context to the snaplock fingerprint operation get params

func (*SnaplockFingerprintOperationGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock fingerprint operation get params (not the query body).

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

func (*SnaplockFingerprintOperationGetParams) WithFields

WithFields adds the fields to the snaplock fingerprint operation get params

func (*SnaplockFingerprintOperationGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock fingerprint operation get params

func (*SnaplockFingerprintOperationGetParams) WithID

WithID adds the id to the snaplock fingerprint operation get params

func (*SnaplockFingerprintOperationGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock fingerprint operation get params

func (*SnaplockFingerprintOperationGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockFingerprintOperationGetReader

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

SnaplockFingerprintOperationGetReader is a Reader for the SnaplockFingerprintOperationGet structure.

func (*SnaplockFingerprintOperationGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLegalHoldBeginCreated

type SnaplockLegalHoldBeginCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string
}

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

Created

func NewSnaplockLegalHoldBeginCreated

func NewSnaplockLegalHoldBeginCreated() *SnaplockLegalHoldBeginCreated

NewSnaplockLegalHoldBeginCreated creates a SnaplockLegalHoldBeginCreated with default headers values

func (*SnaplockLegalHoldBeginCreated) Code

Code gets the status code for the snaplock legal hold begin created response

func (*SnaplockLegalHoldBeginCreated) Error

func (*SnaplockLegalHoldBeginCreated) IsClientError

func (o *SnaplockLegalHoldBeginCreated) IsClientError() bool

IsClientError returns true when this snaplock legal hold begin created response has a 4xx status code

func (*SnaplockLegalHoldBeginCreated) IsCode

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

IsCode returns true when this snaplock legal hold begin created response a status code equal to that given

func (*SnaplockLegalHoldBeginCreated) IsRedirect

func (o *SnaplockLegalHoldBeginCreated) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold begin created response has a 3xx status code

func (*SnaplockLegalHoldBeginCreated) IsServerError

func (o *SnaplockLegalHoldBeginCreated) IsServerError() bool

IsServerError returns true when this snaplock legal hold begin created response has a 5xx status code

func (*SnaplockLegalHoldBeginCreated) IsSuccess

func (o *SnaplockLegalHoldBeginCreated) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold begin created response has a 2xx status code

func (*SnaplockLegalHoldBeginCreated) String

type SnaplockLegalHoldBeginDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13762586 | Volume is not a SnapLock Compliance volume | | 13763162 | Audit logging is not configured for the SVM | | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. | | 14090346 | Internal Error. Wait a few minutes, then try the command again | | 14090340 | {field} is a required field | | 14090343 | Invalid Field | | 14090641 | The specified volume.name and volume.uuid refer to different volumes |

func NewSnaplockLegalHoldBeginDefault

func NewSnaplockLegalHoldBeginDefault(code int) *SnaplockLegalHoldBeginDefault

NewSnaplockLegalHoldBeginDefault creates a SnaplockLegalHoldBeginDefault with default headers values

func (*SnaplockLegalHoldBeginDefault) Code

Code gets the status code for the snaplock legal hold begin default response

func (*SnaplockLegalHoldBeginDefault) Error

func (*SnaplockLegalHoldBeginDefault) GetPayload

func (*SnaplockLegalHoldBeginDefault) IsClientError

func (o *SnaplockLegalHoldBeginDefault) IsClientError() bool

IsClientError returns true when this snaplock legal hold begin default response has a 4xx status code

func (*SnaplockLegalHoldBeginDefault) IsCode

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

IsCode returns true when this snaplock legal hold begin default response a status code equal to that given

func (*SnaplockLegalHoldBeginDefault) IsRedirect

func (o *SnaplockLegalHoldBeginDefault) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold begin default response has a 3xx status code

func (*SnaplockLegalHoldBeginDefault) IsServerError

func (o *SnaplockLegalHoldBeginDefault) IsServerError() bool

IsServerError returns true when this snaplock legal hold begin default response has a 5xx status code

func (*SnaplockLegalHoldBeginDefault) IsSuccess

func (o *SnaplockLegalHoldBeginDefault) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold begin default response has a 2xx status code

func (*SnaplockLegalHoldBeginDefault) String

type SnaplockLegalHoldBeginParams

type SnaplockLegalHoldBeginParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.SnaplockLitigation

	/* ReturnRecords.

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

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

SnaplockLegalHoldBeginParams contains all the parameters to send to the API endpoint

for the snaplock legal hold begin operation.

Typically these are written to a http.Request.

func NewSnaplockLegalHoldBeginParams

func NewSnaplockLegalHoldBeginParams() *SnaplockLegalHoldBeginParams

NewSnaplockLegalHoldBeginParams creates a new SnaplockLegalHoldBeginParams 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 NewSnaplockLegalHoldBeginParamsWithContext

func NewSnaplockLegalHoldBeginParamsWithContext(ctx context.Context) *SnaplockLegalHoldBeginParams

NewSnaplockLegalHoldBeginParamsWithContext creates a new SnaplockLegalHoldBeginParams object with the ability to set a context for a request.

func NewSnaplockLegalHoldBeginParamsWithHTTPClient

func NewSnaplockLegalHoldBeginParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldBeginParams

NewSnaplockLegalHoldBeginParamsWithHTTPClient creates a new SnaplockLegalHoldBeginParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLegalHoldBeginParamsWithTimeout

func NewSnaplockLegalHoldBeginParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldBeginParams

NewSnaplockLegalHoldBeginParamsWithTimeout creates a new SnaplockLegalHoldBeginParams object with the ability to set a timeout on a request.

func (*SnaplockLegalHoldBeginParams) SetContext

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

SetContext adds the context to the snaplock legal hold begin params

func (*SnaplockLegalHoldBeginParams) SetDefaults

func (o *SnaplockLegalHoldBeginParams) SetDefaults()

SetDefaults hydrates default values in the snaplock legal hold begin params (not the query body).

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

func (*SnaplockLegalHoldBeginParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock legal hold begin params

func (*SnaplockLegalHoldBeginParams) SetInfo

SetInfo adds the info to the snaplock legal hold begin params

func (*SnaplockLegalHoldBeginParams) SetReturnRecords

func (o *SnaplockLegalHoldBeginParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock legal hold begin params

func (*SnaplockLegalHoldBeginParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock legal hold begin params

func (*SnaplockLegalHoldBeginParams) WithContext

WithContext adds the context to the snaplock legal hold begin params

func (*SnaplockLegalHoldBeginParams) WithDefaults

WithDefaults hydrates default values in the snaplock legal hold begin params (not the query body).

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

func (*SnaplockLegalHoldBeginParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock legal hold begin params

func (*SnaplockLegalHoldBeginParams) WithInfo

WithInfo adds the info to the snaplock legal hold begin params

func (*SnaplockLegalHoldBeginParams) WithReturnRecords

func (o *SnaplockLegalHoldBeginParams) WithReturnRecords(returnRecords *bool) *SnaplockLegalHoldBeginParams

WithReturnRecords adds the returnRecords to the snaplock legal hold begin params

func (*SnaplockLegalHoldBeginParams) WithTimeout

WithTimeout adds the timeout to the snaplock legal hold begin params

func (*SnaplockLegalHoldBeginParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLegalHoldBeginReader

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

SnaplockLegalHoldBeginReader is a Reader for the SnaplockLegalHoldBegin structure.

func (*SnaplockLegalHoldBeginReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLegalHoldCollectionGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. | | 14090346 | Internal Error. Wait a few minutes, then try the command again | | 14090343 | Invalid field |

func NewSnaplockLegalHoldCollectionGetDefault

func NewSnaplockLegalHoldCollectionGetDefault(code int) *SnaplockLegalHoldCollectionGetDefault

NewSnaplockLegalHoldCollectionGetDefault creates a SnaplockLegalHoldCollectionGetDefault with default headers values

func (*SnaplockLegalHoldCollectionGetDefault) Code

Code gets the status code for the snaplock legal hold collection get default response

func (*SnaplockLegalHoldCollectionGetDefault) Error

func (*SnaplockLegalHoldCollectionGetDefault) GetPayload

func (*SnaplockLegalHoldCollectionGetDefault) IsClientError

func (o *SnaplockLegalHoldCollectionGetDefault) IsClientError() bool

IsClientError returns true when this snaplock legal hold collection get default response has a 4xx status code

func (*SnaplockLegalHoldCollectionGetDefault) IsCode

IsCode returns true when this snaplock legal hold collection get default response a status code equal to that given

func (*SnaplockLegalHoldCollectionGetDefault) IsRedirect

IsRedirect returns true when this snaplock legal hold collection get default response has a 3xx status code

func (*SnaplockLegalHoldCollectionGetDefault) IsServerError

func (o *SnaplockLegalHoldCollectionGetDefault) IsServerError() bool

IsServerError returns true when this snaplock legal hold collection get default response has a 5xx status code

func (*SnaplockLegalHoldCollectionGetDefault) IsSuccess

IsSuccess returns true when this snaplock legal hold collection get default response has a 2xx status code

func (*SnaplockLegalHoldCollectionGetDefault) String

type SnaplockLegalHoldCollectionGetOK

type SnaplockLegalHoldCollectionGetOK struct {
	Payload *models.SnaplockLitigationResponse
}

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

OK

func NewSnaplockLegalHoldCollectionGetOK

func NewSnaplockLegalHoldCollectionGetOK() *SnaplockLegalHoldCollectionGetOK

NewSnaplockLegalHoldCollectionGetOK creates a SnaplockLegalHoldCollectionGetOK with default headers values

func (*SnaplockLegalHoldCollectionGetOK) Code

Code gets the status code for the snaplock legal hold collection get o k response

func (*SnaplockLegalHoldCollectionGetOK) Error

func (*SnaplockLegalHoldCollectionGetOK) GetPayload

func (*SnaplockLegalHoldCollectionGetOK) IsClientError

func (o *SnaplockLegalHoldCollectionGetOK) IsClientError() bool

IsClientError returns true when this snaplock legal hold collection get o k response has a 4xx status code

func (*SnaplockLegalHoldCollectionGetOK) IsCode

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

IsCode returns true when this snaplock legal hold collection get o k response a status code equal to that given

func (*SnaplockLegalHoldCollectionGetOK) IsRedirect

func (o *SnaplockLegalHoldCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold collection get o k response has a 3xx status code

func (*SnaplockLegalHoldCollectionGetOK) IsServerError

func (o *SnaplockLegalHoldCollectionGetOK) IsServerError() bool

IsServerError returns true when this snaplock legal hold collection get o k response has a 5xx status code

func (*SnaplockLegalHoldCollectionGetOK) IsSuccess

func (o *SnaplockLegalHoldCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold collection get o k response has a 2xx status code

func (*SnaplockLegalHoldCollectionGetOK) String

type SnaplockLegalHoldCollectionGetParams

type SnaplockLegalHoldCollectionGetParams struct {

	/* Fields.

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

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecords *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
	*/
	ReturnTimeout *int64

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

SnaplockLegalHoldCollectionGetParams contains all the parameters to send to the API endpoint

for the snaplock legal hold collection get operation.

Typically these are written to a http.Request.

func NewSnaplockLegalHoldCollectionGetParams

func NewSnaplockLegalHoldCollectionGetParams() *SnaplockLegalHoldCollectionGetParams

NewSnaplockLegalHoldCollectionGetParams creates a new SnaplockLegalHoldCollectionGetParams 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 NewSnaplockLegalHoldCollectionGetParamsWithContext

func NewSnaplockLegalHoldCollectionGetParamsWithContext(ctx context.Context) *SnaplockLegalHoldCollectionGetParams

NewSnaplockLegalHoldCollectionGetParamsWithContext creates a new SnaplockLegalHoldCollectionGetParams object with the ability to set a context for a request.

func NewSnaplockLegalHoldCollectionGetParamsWithHTTPClient

func NewSnaplockLegalHoldCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldCollectionGetParams

NewSnaplockLegalHoldCollectionGetParamsWithHTTPClient creates a new SnaplockLegalHoldCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLegalHoldCollectionGetParamsWithTimeout

func NewSnaplockLegalHoldCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldCollectionGetParams

NewSnaplockLegalHoldCollectionGetParamsWithTimeout creates a new SnaplockLegalHoldCollectionGetParams object with the ability to set a timeout on a request.

func (*SnaplockLegalHoldCollectionGetParams) SetContext

SetContext adds the context to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) SetDefaults

func (o *SnaplockLegalHoldCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the snaplock legal hold collection get params (not the query body).

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

func (*SnaplockLegalHoldCollectionGetParams) SetFields

func (o *SnaplockLegalHoldCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) SetMaxRecords

func (o *SnaplockLegalHoldCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) SetOrderBy

func (o *SnaplockLegalHoldCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) SetReturnRecords

func (o *SnaplockLegalHoldCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) SetReturnTimeout

func (o *SnaplockLegalHoldCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) WithContext

WithContext adds the context to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock legal hold collection get params (not the query body).

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

func (*SnaplockLegalHoldCollectionGetParams) WithFields

WithFields adds the fields to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock legal hold collection get params

func (*SnaplockLegalHoldCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLegalHoldCollectionGetReader

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

SnaplockLegalHoldCollectionGetReader is a Reader for the SnaplockLegalHoldCollectionGet structure.

func (*SnaplockLegalHoldCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLegalHoldCreateCreated

type SnaplockLegalHoldCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.SnaplockLegalHoldOperation
}

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

Created

func NewSnaplockLegalHoldCreateCreated

func NewSnaplockLegalHoldCreateCreated() *SnaplockLegalHoldCreateCreated

NewSnaplockLegalHoldCreateCreated creates a SnaplockLegalHoldCreateCreated with default headers values

func (*SnaplockLegalHoldCreateCreated) Code

Code gets the status code for the snaplock legal hold create created response

func (*SnaplockLegalHoldCreateCreated) Error

func (*SnaplockLegalHoldCreateCreated) GetPayload

func (*SnaplockLegalHoldCreateCreated) IsClientError

func (o *SnaplockLegalHoldCreateCreated) IsClientError() bool

IsClientError returns true when this snaplock legal hold create created response has a 4xx status code

func (*SnaplockLegalHoldCreateCreated) IsCode

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

IsCode returns true when this snaplock legal hold create created response a status code equal to that given

func (*SnaplockLegalHoldCreateCreated) IsRedirect

func (o *SnaplockLegalHoldCreateCreated) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold create created response has a 3xx status code

func (*SnaplockLegalHoldCreateCreated) IsServerError

func (o *SnaplockLegalHoldCreateCreated) IsServerError() bool

IsServerError returns true when this snaplock legal hold create created response has a 5xx status code

func (*SnaplockLegalHoldCreateCreated) IsSuccess

func (o *SnaplockLegalHoldCreateCreated) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold create created response has a 2xx status code

func (*SnaplockLegalHoldCreateCreated) String

type SnaplockLegalHoldCreateDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. | | 14090343 | Invalid Field | | 14090346 | Internal Error. Wait a few minutes, then try the command again |

func NewSnaplockLegalHoldCreateDefault

func NewSnaplockLegalHoldCreateDefault(code int) *SnaplockLegalHoldCreateDefault

NewSnaplockLegalHoldCreateDefault creates a SnaplockLegalHoldCreateDefault with default headers values

func (*SnaplockLegalHoldCreateDefault) Code

Code gets the status code for the snaplock legal hold create default response

func (*SnaplockLegalHoldCreateDefault) Error

func (*SnaplockLegalHoldCreateDefault) GetPayload

func (*SnaplockLegalHoldCreateDefault) IsClientError

func (o *SnaplockLegalHoldCreateDefault) IsClientError() bool

IsClientError returns true when this snaplock legal hold create default response has a 4xx status code

func (*SnaplockLegalHoldCreateDefault) IsCode

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

IsCode returns true when this snaplock legal hold create default response a status code equal to that given

func (*SnaplockLegalHoldCreateDefault) IsRedirect

func (o *SnaplockLegalHoldCreateDefault) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold create default response has a 3xx status code

func (*SnaplockLegalHoldCreateDefault) IsServerError

func (o *SnaplockLegalHoldCreateDefault) IsServerError() bool

IsServerError returns true when this snaplock legal hold create default response has a 5xx status code

func (*SnaplockLegalHoldCreateDefault) IsSuccess

func (o *SnaplockLegalHoldCreateDefault) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold create default response has a 2xx status code

func (*SnaplockLegalHoldCreateDefault) String

type SnaplockLegalHoldCreateParams

type SnaplockLegalHoldCreateParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.SnaplockLegalHoldOperation

	/* LitigationID.

	   Litigation ID
	*/
	LitigationID string

	/* ReturnRecords.

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

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

SnaplockLegalHoldCreateParams contains all the parameters to send to the API endpoint

for the snaplock legal hold create operation.

Typically these are written to a http.Request.

func NewSnaplockLegalHoldCreateParams

func NewSnaplockLegalHoldCreateParams() *SnaplockLegalHoldCreateParams

NewSnaplockLegalHoldCreateParams creates a new SnaplockLegalHoldCreateParams 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 NewSnaplockLegalHoldCreateParamsWithContext

func NewSnaplockLegalHoldCreateParamsWithContext(ctx context.Context) *SnaplockLegalHoldCreateParams

NewSnaplockLegalHoldCreateParamsWithContext creates a new SnaplockLegalHoldCreateParams object with the ability to set a context for a request.

func NewSnaplockLegalHoldCreateParamsWithHTTPClient

func NewSnaplockLegalHoldCreateParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldCreateParams

NewSnaplockLegalHoldCreateParamsWithHTTPClient creates a new SnaplockLegalHoldCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLegalHoldCreateParamsWithTimeout

func NewSnaplockLegalHoldCreateParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldCreateParams

NewSnaplockLegalHoldCreateParamsWithTimeout creates a new SnaplockLegalHoldCreateParams object with the ability to set a timeout on a request.

func (*SnaplockLegalHoldCreateParams) SetContext

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

SetContext adds the context to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) SetDefaults

func (o *SnaplockLegalHoldCreateParams) SetDefaults()

SetDefaults hydrates default values in the snaplock legal hold create params (not the query body).

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

func (*SnaplockLegalHoldCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) SetInfo

SetInfo adds the info to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) SetLitigationID

func (o *SnaplockLegalHoldCreateParams) SetLitigationID(litigationID string)

SetLitigationID adds the litigationId to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) SetReturnRecords

func (o *SnaplockLegalHoldCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) WithContext

WithContext adds the context to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) WithDefaults

WithDefaults hydrates default values in the snaplock legal hold create params (not the query body).

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

func (*SnaplockLegalHoldCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) WithInfo

WithInfo adds the info to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) WithLitigationID

func (o *SnaplockLegalHoldCreateParams) WithLitigationID(litigationID string) *SnaplockLegalHoldCreateParams

WithLitigationID adds the litigationID to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) WithReturnRecords

func (o *SnaplockLegalHoldCreateParams) WithReturnRecords(returnRecords *bool) *SnaplockLegalHoldCreateParams

WithReturnRecords adds the returnRecords to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) WithTimeout

WithTimeout adds the timeout to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLegalHoldCreateReader

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

SnaplockLegalHoldCreateReader is a Reader for the SnaplockLegalHoldCreate structure.

func (*SnaplockLegalHoldCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLegalHoldDeleteDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. | | 14090343 | Invalid Field | | 14090346 | Internal Error. Wait a few minutes, then try the command again | | 14090642 | Legal-Hold operation is in progress. Legal-Hold end cannot be performed. Wait for the operation to complete or abort the operation |

func NewSnaplockLegalHoldDeleteDefault

func NewSnaplockLegalHoldDeleteDefault(code int) *SnaplockLegalHoldDeleteDefault

NewSnaplockLegalHoldDeleteDefault creates a SnaplockLegalHoldDeleteDefault with default headers values

func (*SnaplockLegalHoldDeleteDefault) Code

Code gets the status code for the snaplock legal hold delete default response

func (*SnaplockLegalHoldDeleteDefault) Error

func (*SnaplockLegalHoldDeleteDefault) GetPayload

func (*SnaplockLegalHoldDeleteDefault) IsClientError

func (o *SnaplockLegalHoldDeleteDefault) IsClientError() bool

IsClientError returns true when this snaplock legal hold delete default response has a 4xx status code

func (*SnaplockLegalHoldDeleteDefault) IsCode

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

IsCode returns true when this snaplock legal hold delete default response a status code equal to that given

func (*SnaplockLegalHoldDeleteDefault) IsRedirect

func (o *SnaplockLegalHoldDeleteDefault) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold delete default response has a 3xx status code

func (*SnaplockLegalHoldDeleteDefault) IsServerError

func (o *SnaplockLegalHoldDeleteDefault) IsServerError() bool

IsServerError returns true when this snaplock legal hold delete default response has a 5xx status code

func (*SnaplockLegalHoldDeleteDefault) IsSuccess

func (o *SnaplockLegalHoldDeleteDefault) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold delete default response has a 2xx status code

func (*SnaplockLegalHoldDeleteDefault) String

type SnaplockLegalHoldDeleteOK

type SnaplockLegalHoldDeleteOK struct {
}

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

OK

func NewSnaplockLegalHoldDeleteOK

func NewSnaplockLegalHoldDeleteOK() *SnaplockLegalHoldDeleteOK

NewSnaplockLegalHoldDeleteOK creates a SnaplockLegalHoldDeleteOK with default headers values

func (*SnaplockLegalHoldDeleteOK) Code

func (o *SnaplockLegalHoldDeleteOK) Code() int

Code gets the status code for the snaplock legal hold delete o k response

func (*SnaplockLegalHoldDeleteOK) Error

func (o *SnaplockLegalHoldDeleteOK) Error() string

func (*SnaplockLegalHoldDeleteOK) IsClientError

func (o *SnaplockLegalHoldDeleteOK) IsClientError() bool

IsClientError returns true when this snaplock legal hold delete o k response has a 4xx status code

func (*SnaplockLegalHoldDeleteOK) IsCode

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

IsCode returns true when this snaplock legal hold delete o k response a status code equal to that given

func (*SnaplockLegalHoldDeleteOK) IsRedirect

func (o *SnaplockLegalHoldDeleteOK) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold delete o k response has a 3xx status code

func (*SnaplockLegalHoldDeleteOK) IsServerError

func (o *SnaplockLegalHoldDeleteOK) IsServerError() bool

IsServerError returns true when this snaplock legal hold delete o k response has a 5xx status code

func (*SnaplockLegalHoldDeleteOK) IsSuccess

func (o *SnaplockLegalHoldDeleteOK) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold delete o k response has a 2xx status code

func (*SnaplockLegalHoldDeleteOK) String

func (o *SnaplockLegalHoldDeleteOK) String() string

type SnaplockLegalHoldDeleteParams

type SnaplockLegalHoldDeleteParams struct {

	/* ID.

	   Litigation ID
	*/
	ID string

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

SnaplockLegalHoldDeleteParams contains all the parameters to send to the API endpoint

for the snaplock legal hold delete operation.

Typically these are written to a http.Request.

func NewSnaplockLegalHoldDeleteParams

func NewSnaplockLegalHoldDeleteParams() *SnaplockLegalHoldDeleteParams

NewSnaplockLegalHoldDeleteParams creates a new SnaplockLegalHoldDeleteParams 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 NewSnaplockLegalHoldDeleteParamsWithContext

func NewSnaplockLegalHoldDeleteParamsWithContext(ctx context.Context) *SnaplockLegalHoldDeleteParams

NewSnaplockLegalHoldDeleteParamsWithContext creates a new SnaplockLegalHoldDeleteParams object with the ability to set a context for a request.

func NewSnaplockLegalHoldDeleteParamsWithHTTPClient

func NewSnaplockLegalHoldDeleteParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldDeleteParams

NewSnaplockLegalHoldDeleteParamsWithHTTPClient creates a new SnaplockLegalHoldDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLegalHoldDeleteParamsWithTimeout

func NewSnaplockLegalHoldDeleteParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldDeleteParams

NewSnaplockLegalHoldDeleteParamsWithTimeout creates a new SnaplockLegalHoldDeleteParams object with the ability to set a timeout on a request.

func (*SnaplockLegalHoldDeleteParams) SetContext

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

SetContext adds the context to the snaplock legal hold delete params

func (*SnaplockLegalHoldDeleteParams) SetDefaults

func (o *SnaplockLegalHoldDeleteParams) SetDefaults()

SetDefaults hydrates default values in the snaplock legal hold delete params (not the query body).

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

func (*SnaplockLegalHoldDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock legal hold delete params

func (*SnaplockLegalHoldDeleteParams) SetID

SetID adds the id to the snaplock legal hold delete params

func (*SnaplockLegalHoldDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock legal hold delete params

func (*SnaplockLegalHoldDeleteParams) WithContext

WithContext adds the context to the snaplock legal hold delete params

func (*SnaplockLegalHoldDeleteParams) WithDefaults

WithDefaults hydrates default values in the snaplock legal hold delete params (not the query body).

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

func (*SnaplockLegalHoldDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock legal hold delete params

func (*SnaplockLegalHoldDeleteParams) WithID

WithID adds the id to the snaplock legal hold delete params

func (*SnaplockLegalHoldDeleteParams) WithTimeout

WithTimeout adds the timeout to the snaplock legal hold delete params

func (*SnaplockLegalHoldDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLegalHoldDeleteReader

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

SnaplockLegalHoldDeleteReader is a Reader for the SnaplockLegalHoldDelete structure.

func (*SnaplockLegalHoldDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLegalHoldFilesGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. |

func NewSnaplockLegalHoldFilesGetDefault

func NewSnaplockLegalHoldFilesGetDefault(code int) *SnaplockLegalHoldFilesGetDefault

NewSnaplockLegalHoldFilesGetDefault creates a SnaplockLegalHoldFilesGetDefault with default headers values

func (*SnaplockLegalHoldFilesGetDefault) Code

Code gets the status code for the snaplock legal hold files get default response

func (*SnaplockLegalHoldFilesGetDefault) Error

func (*SnaplockLegalHoldFilesGetDefault) GetPayload

func (*SnaplockLegalHoldFilesGetDefault) IsClientError

func (o *SnaplockLegalHoldFilesGetDefault) IsClientError() bool

IsClientError returns true when this snaplock legal hold files get default response has a 4xx status code

func (*SnaplockLegalHoldFilesGetDefault) IsCode

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

IsCode returns true when this snaplock legal hold files get default response a status code equal to that given

func (*SnaplockLegalHoldFilesGetDefault) IsRedirect

func (o *SnaplockLegalHoldFilesGetDefault) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold files get default response has a 3xx status code

func (*SnaplockLegalHoldFilesGetDefault) IsServerError

func (o *SnaplockLegalHoldFilesGetDefault) IsServerError() bool

IsServerError returns true when this snaplock legal hold files get default response has a 5xx status code

func (*SnaplockLegalHoldFilesGetDefault) IsSuccess

func (o *SnaplockLegalHoldFilesGetDefault) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold files get default response has a 2xx status code

func (*SnaplockLegalHoldFilesGetDefault) String

type SnaplockLegalHoldFilesGetOK

type SnaplockLegalHoldFilesGetOK struct {
	Payload *models.SnaplockLitigationFileResponse
}

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

OK

func NewSnaplockLegalHoldFilesGetOK

func NewSnaplockLegalHoldFilesGetOK() *SnaplockLegalHoldFilesGetOK

NewSnaplockLegalHoldFilesGetOK creates a SnaplockLegalHoldFilesGetOK with default headers values

func (*SnaplockLegalHoldFilesGetOK) Code

func (o *SnaplockLegalHoldFilesGetOK) Code() int

Code gets the status code for the snaplock legal hold files get o k response

func (*SnaplockLegalHoldFilesGetOK) Error

func (*SnaplockLegalHoldFilesGetOK) GetPayload

func (*SnaplockLegalHoldFilesGetOK) IsClientError

func (o *SnaplockLegalHoldFilesGetOK) IsClientError() bool

IsClientError returns true when this snaplock legal hold files get o k response has a 4xx status code

func (*SnaplockLegalHoldFilesGetOK) IsCode

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

IsCode returns true when this snaplock legal hold files get o k response a status code equal to that given

func (*SnaplockLegalHoldFilesGetOK) IsRedirect

func (o *SnaplockLegalHoldFilesGetOK) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold files get o k response has a 3xx status code

func (*SnaplockLegalHoldFilesGetOK) IsServerError

func (o *SnaplockLegalHoldFilesGetOK) IsServerError() bool

IsServerError returns true when this snaplock legal hold files get o k response has a 5xx status code

func (*SnaplockLegalHoldFilesGetOK) IsSuccess

func (o *SnaplockLegalHoldFilesGetOK) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold files get o k response has a 2xx status code

func (*SnaplockLegalHoldFilesGetOK) String

func (o *SnaplockLegalHoldFilesGetOK) String() string

type SnaplockLegalHoldFilesGetParams

type SnaplockLegalHoldFilesGetParams struct {

	/* Fields.

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

	/* LitigationID.

	   Litigation ID
	*/
	LitigationID string

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecords *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
	*/
	ReturnTimeout *int64

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

SnaplockLegalHoldFilesGetParams contains all the parameters to send to the API endpoint

for the snaplock legal hold files get operation.

Typically these are written to a http.Request.

func NewSnaplockLegalHoldFilesGetParams

func NewSnaplockLegalHoldFilesGetParams() *SnaplockLegalHoldFilesGetParams

NewSnaplockLegalHoldFilesGetParams creates a new SnaplockLegalHoldFilesGetParams 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 NewSnaplockLegalHoldFilesGetParamsWithContext

func NewSnaplockLegalHoldFilesGetParamsWithContext(ctx context.Context) *SnaplockLegalHoldFilesGetParams

NewSnaplockLegalHoldFilesGetParamsWithContext creates a new SnaplockLegalHoldFilesGetParams object with the ability to set a context for a request.

func NewSnaplockLegalHoldFilesGetParamsWithHTTPClient

func NewSnaplockLegalHoldFilesGetParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldFilesGetParams

NewSnaplockLegalHoldFilesGetParamsWithHTTPClient creates a new SnaplockLegalHoldFilesGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLegalHoldFilesGetParamsWithTimeout

func NewSnaplockLegalHoldFilesGetParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldFilesGetParams

NewSnaplockLegalHoldFilesGetParamsWithTimeout creates a new SnaplockLegalHoldFilesGetParams object with the ability to set a timeout on a request.

func (*SnaplockLegalHoldFilesGetParams) SetContext

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

SetContext adds the context to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) SetDefaults

func (o *SnaplockLegalHoldFilesGetParams) SetDefaults()

SetDefaults hydrates default values in the snaplock legal hold files get params (not the query body).

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

func (*SnaplockLegalHoldFilesGetParams) SetFields

func (o *SnaplockLegalHoldFilesGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) SetLitigationID

func (o *SnaplockLegalHoldFilesGetParams) SetLitigationID(litigationID string)

SetLitigationID adds the litigationId to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) SetMaxRecords

func (o *SnaplockLegalHoldFilesGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) SetOrderBy

func (o *SnaplockLegalHoldFilesGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) SetReturnRecords

func (o *SnaplockLegalHoldFilesGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) SetReturnTimeout

func (o *SnaplockLegalHoldFilesGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) WithContext

WithContext adds the context to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock legal hold files get params (not the query body).

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

func (*SnaplockLegalHoldFilesGetParams) WithFields

WithFields adds the fields to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) WithLitigationID

func (o *SnaplockLegalHoldFilesGetParams) WithLitigationID(litigationID string) *SnaplockLegalHoldFilesGetParams

WithLitigationID adds the litigationID to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) WithReturnRecords

func (o *SnaplockLegalHoldFilesGetParams) WithReturnRecords(returnRecords *bool) *SnaplockLegalHoldFilesGetParams

WithReturnRecords adds the returnRecords to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) WithReturnTimeout

func (o *SnaplockLegalHoldFilesGetParams) WithReturnTimeout(returnTimeout *int64) *SnaplockLegalHoldFilesGetParams

WithReturnTimeout adds the returnTimeout to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock legal hold files get params

func (*SnaplockLegalHoldFilesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLegalHoldFilesGetReader

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

SnaplockLegalHoldFilesGetReader is a Reader for the SnaplockLegalHoldFilesGet structure.

func (*SnaplockLegalHoldFilesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLegalHoldGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. | | 14090343 | Invalid Field | | 14090346 | Internal Error. Wait a few minutes, then try the command again |

func NewSnaplockLegalHoldGetDefault

func NewSnaplockLegalHoldGetDefault(code int) *SnaplockLegalHoldGetDefault

NewSnaplockLegalHoldGetDefault creates a SnaplockLegalHoldGetDefault with default headers values

func (*SnaplockLegalHoldGetDefault) Code

func (o *SnaplockLegalHoldGetDefault) Code() int

Code gets the status code for the snaplock legal hold get default response

func (*SnaplockLegalHoldGetDefault) Error

func (*SnaplockLegalHoldGetDefault) GetPayload

func (*SnaplockLegalHoldGetDefault) IsClientError

func (o *SnaplockLegalHoldGetDefault) IsClientError() bool

IsClientError returns true when this snaplock legal hold get default response has a 4xx status code

func (*SnaplockLegalHoldGetDefault) IsCode

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

IsCode returns true when this snaplock legal hold get default response a status code equal to that given

func (*SnaplockLegalHoldGetDefault) IsRedirect

func (o *SnaplockLegalHoldGetDefault) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold get default response has a 3xx status code

func (*SnaplockLegalHoldGetDefault) IsServerError

func (o *SnaplockLegalHoldGetDefault) IsServerError() bool

IsServerError returns true when this snaplock legal hold get default response has a 5xx status code

func (*SnaplockLegalHoldGetDefault) IsSuccess

func (o *SnaplockLegalHoldGetDefault) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold get default response has a 2xx status code

func (*SnaplockLegalHoldGetDefault) String

func (o *SnaplockLegalHoldGetDefault) String() string

type SnaplockLegalHoldGetOK

type SnaplockLegalHoldGetOK struct {
	Payload *models.SnaplockLegalHoldOperation
}

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

OK

func NewSnaplockLegalHoldGetOK

func NewSnaplockLegalHoldGetOK() *SnaplockLegalHoldGetOK

NewSnaplockLegalHoldGetOK creates a SnaplockLegalHoldGetOK with default headers values

func (*SnaplockLegalHoldGetOK) Code

func (o *SnaplockLegalHoldGetOK) Code() int

Code gets the status code for the snaplock legal hold get o k response

func (*SnaplockLegalHoldGetOK) Error

func (o *SnaplockLegalHoldGetOK) Error() string

func (*SnaplockLegalHoldGetOK) GetPayload

func (*SnaplockLegalHoldGetOK) IsClientError

func (o *SnaplockLegalHoldGetOK) IsClientError() bool

IsClientError returns true when this snaplock legal hold get o k response has a 4xx status code

func (*SnaplockLegalHoldGetOK) IsCode

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

IsCode returns true when this snaplock legal hold get o k response a status code equal to that given

func (*SnaplockLegalHoldGetOK) IsRedirect

func (o *SnaplockLegalHoldGetOK) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold get o k response has a 3xx status code

func (*SnaplockLegalHoldGetOK) IsServerError

func (o *SnaplockLegalHoldGetOK) IsServerError() bool

IsServerError returns true when this snaplock legal hold get o k response has a 5xx status code

func (*SnaplockLegalHoldGetOK) IsSuccess

func (o *SnaplockLegalHoldGetOK) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold get o k response has a 2xx status code

func (*SnaplockLegalHoldGetOK) String

func (o *SnaplockLegalHoldGetOK) String() string

type SnaplockLegalHoldGetParams

type SnaplockLegalHoldGetParams struct {

	/* Fields.

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

	/* ID.

	   Operation ID.
	*/
	ID string

	/* LitigationID.

	   Litigation ID
	*/
	LitigationID string

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

SnaplockLegalHoldGetParams contains all the parameters to send to the API endpoint

for the snaplock legal hold get operation.

Typically these are written to a http.Request.

func NewSnaplockLegalHoldGetParams

func NewSnaplockLegalHoldGetParams() *SnaplockLegalHoldGetParams

NewSnaplockLegalHoldGetParams creates a new SnaplockLegalHoldGetParams 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 NewSnaplockLegalHoldGetParamsWithContext

func NewSnaplockLegalHoldGetParamsWithContext(ctx context.Context) *SnaplockLegalHoldGetParams

NewSnaplockLegalHoldGetParamsWithContext creates a new SnaplockLegalHoldGetParams object with the ability to set a context for a request.

func NewSnaplockLegalHoldGetParamsWithHTTPClient

func NewSnaplockLegalHoldGetParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldGetParams

NewSnaplockLegalHoldGetParamsWithHTTPClient creates a new SnaplockLegalHoldGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLegalHoldGetParamsWithTimeout

func NewSnaplockLegalHoldGetParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldGetParams

NewSnaplockLegalHoldGetParamsWithTimeout creates a new SnaplockLegalHoldGetParams object with the ability to set a timeout on a request.

func (*SnaplockLegalHoldGetParams) SetContext

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

SetContext adds the context to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) SetDefaults

func (o *SnaplockLegalHoldGetParams) SetDefaults()

SetDefaults hydrates default values in the snaplock legal hold get params (not the query body).

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

func (*SnaplockLegalHoldGetParams) SetFields

func (o *SnaplockLegalHoldGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) SetID

func (o *SnaplockLegalHoldGetParams) SetID(id string)

SetID adds the id to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) SetLitigationID

func (o *SnaplockLegalHoldGetParams) SetLitigationID(litigationID string)

SetLitigationID adds the litigationId to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) WithContext

WithContext adds the context to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock legal hold get params (not the query body).

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

func (*SnaplockLegalHoldGetParams) WithFields

WithFields adds the fields to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) WithID

WithID adds the id to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) WithLitigationID

func (o *SnaplockLegalHoldGetParams) WithLitigationID(litigationID string) *SnaplockLegalHoldGetParams

WithLitigationID adds the litigationID to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock legal hold get params

func (*SnaplockLegalHoldGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLegalHoldGetReader

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

SnaplockLegalHoldGetReader is a Reader for the SnaplockLegalHoldGet structure.

func (*SnaplockLegalHoldGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLegalHoldInstanceGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. | | 14090346 | Internal Error. Wait a few minutes, then try the command again | | 14090343 | Invalid Field |

func NewSnaplockLegalHoldInstanceGetDefault

func NewSnaplockLegalHoldInstanceGetDefault(code int) *SnaplockLegalHoldInstanceGetDefault

NewSnaplockLegalHoldInstanceGetDefault creates a SnaplockLegalHoldInstanceGetDefault with default headers values

func (*SnaplockLegalHoldInstanceGetDefault) Code

Code gets the status code for the snaplock legal hold instance get default response

func (*SnaplockLegalHoldInstanceGetDefault) Error

func (*SnaplockLegalHoldInstanceGetDefault) GetPayload

func (*SnaplockLegalHoldInstanceGetDefault) IsClientError

func (o *SnaplockLegalHoldInstanceGetDefault) IsClientError() bool

IsClientError returns true when this snaplock legal hold instance get default response has a 4xx status code

func (*SnaplockLegalHoldInstanceGetDefault) IsCode

IsCode returns true when this snaplock legal hold instance get default response a status code equal to that given

func (*SnaplockLegalHoldInstanceGetDefault) IsRedirect

func (o *SnaplockLegalHoldInstanceGetDefault) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold instance get default response has a 3xx status code

func (*SnaplockLegalHoldInstanceGetDefault) IsServerError

func (o *SnaplockLegalHoldInstanceGetDefault) IsServerError() bool

IsServerError returns true when this snaplock legal hold instance get default response has a 5xx status code

func (*SnaplockLegalHoldInstanceGetDefault) IsSuccess

IsSuccess returns true when this snaplock legal hold instance get default response has a 2xx status code

func (*SnaplockLegalHoldInstanceGetDefault) String

type SnaplockLegalHoldInstanceGetOK

type SnaplockLegalHoldInstanceGetOK struct {
	Payload *models.SnaplockLitigation
}

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

OK

func NewSnaplockLegalHoldInstanceGetOK

func NewSnaplockLegalHoldInstanceGetOK() *SnaplockLegalHoldInstanceGetOK

NewSnaplockLegalHoldInstanceGetOK creates a SnaplockLegalHoldInstanceGetOK with default headers values

func (*SnaplockLegalHoldInstanceGetOK) Code

Code gets the status code for the snaplock legal hold instance get o k response

func (*SnaplockLegalHoldInstanceGetOK) Error

func (*SnaplockLegalHoldInstanceGetOK) GetPayload

func (*SnaplockLegalHoldInstanceGetOK) IsClientError

func (o *SnaplockLegalHoldInstanceGetOK) IsClientError() bool

IsClientError returns true when this snaplock legal hold instance get o k response has a 4xx status code

func (*SnaplockLegalHoldInstanceGetOK) IsCode

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

IsCode returns true when this snaplock legal hold instance get o k response a status code equal to that given

func (*SnaplockLegalHoldInstanceGetOK) IsRedirect

func (o *SnaplockLegalHoldInstanceGetOK) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold instance get o k response has a 3xx status code

func (*SnaplockLegalHoldInstanceGetOK) IsServerError

func (o *SnaplockLegalHoldInstanceGetOK) IsServerError() bool

IsServerError returns true when this snaplock legal hold instance get o k response has a 5xx status code

func (*SnaplockLegalHoldInstanceGetOK) IsSuccess

func (o *SnaplockLegalHoldInstanceGetOK) IsSuccess() bool

IsSuccess returns true when this snaplock legal hold instance get o k response has a 2xx status code

func (*SnaplockLegalHoldInstanceGetOK) String

type SnaplockLegalHoldInstanceGetParams

type SnaplockLegalHoldInstanceGetParams struct {

	/* Fields.

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

	/* ID.

	   Litigation ID
	*/
	ID string

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

SnaplockLegalHoldInstanceGetParams contains all the parameters to send to the API endpoint

for the snaplock legal hold instance get operation.

Typically these are written to a http.Request.

func NewSnaplockLegalHoldInstanceGetParams

func NewSnaplockLegalHoldInstanceGetParams() *SnaplockLegalHoldInstanceGetParams

NewSnaplockLegalHoldInstanceGetParams creates a new SnaplockLegalHoldInstanceGetParams 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 NewSnaplockLegalHoldInstanceGetParamsWithContext

func NewSnaplockLegalHoldInstanceGetParamsWithContext(ctx context.Context) *SnaplockLegalHoldInstanceGetParams

NewSnaplockLegalHoldInstanceGetParamsWithContext creates a new SnaplockLegalHoldInstanceGetParams object with the ability to set a context for a request.

func NewSnaplockLegalHoldInstanceGetParamsWithHTTPClient

func NewSnaplockLegalHoldInstanceGetParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldInstanceGetParams

NewSnaplockLegalHoldInstanceGetParamsWithHTTPClient creates a new SnaplockLegalHoldInstanceGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLegalHoldInstanceGetParamsWithTimeout

func NewSnaplockLegalHoldInstanceGetParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldInstanceGetParams

NewSnaplockLegalHoldInstanceGetParamsWithTimeout creates a new SnaplockLegalHoldInstanceGetParams object with the ability to set a timeout on a request.

func (*SnaplockLegalHoldInstanceGetParams) SetContext

SetContext adds the context to the snaplock legal hold instance get params

func (*SnaplockLegalHoldInstanceGetParams) SetDefaults

func (o *SnaplockLegalHoldInstanceGetParams) SetDefaults()

SetDefaults hydrates default values in the snaplock legal hold instance get params (not the query body).

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

func (*SnaplockLegalHoldInstanceGetParams) SetFields

func (o *SnaplockLegalHoldInstanceGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock legal hold instance get params

func (*SnaplockLegalHoldInstanceGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock legal hold instance get params

func (*SnaplockLegalHoldInstanceGetParams) SetID

SetID adds the id to the snaplock legal hold instance get params

func (*SnaplockLegalHoldInstanceGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock legal hold instance get params

func (*SnaplockLegalHoldInstanceGetParams) WithContext

WithContext adds the context to the snaplock legal hold instance get params

func (*SnaplockLegalHoldInstanceGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock legal hold instance get params (not the query body).

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

func (*SnaplockLegalHoldInstanceGetParams) WithFields

WithFields adds the fields to the snaplock legal hold instance get params

func (*SnaplockLegalHoldInstanceGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock legal hold instance get params

func (*SnaplockLegalHoldInstanceGetParams) WithID

WithID adds the id to the snaplock legal hold instance get params

func (*SnaplockLegalHoldInstanceGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock legal hold instance get params

func (*SnaplockLegalHoldInstanceGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLegalHoldInstanceGetReader

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

SnaplockLegalHoldInstanceGetReader is a Reader for the SnaplockLegalHoldInstanceGet structure.

func (*SnaplockLegalHoldInstanceGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLegalHoldOperationDeleteDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. | | 13763378 | SnapLock legal-hold operation for this operation ID does not exist | | 14090346 | Internal Error. Wait a few minutes, then try the command again | | 14090541 | A completed or failed operation cannot be aborted |

func NewSnaplockLegalHoldOperationDeleteDefault

func NewSnaplockLegalHoldOperationDeleteDefault(code int) *SnaplockLegalHoldOperationDeleteDefault

NewSnaplockLegalHoldOperationDeleteDefault creates a SnaplockLegalHoldOperationDeleteDefault with default headers values

func (*SnaplockLegalHoldOperationDeleteDefault) Code

Code gets the status code for the snaplock legal hold operation delete default response

func (*SnaplockLegalHoldOperationDeleteDefault) Error

func (*SnaplockLegalHoldOperationDeleteDefault) GetPayload

func (*SnaplockLegalHoldOperationDeleteDefault) IsClientError

func (o *SnaplockLegalHoldOperationDeleteDefault) IsClientError() bool

IsClientError returns true when this snaplock legal hold operation delete default response has a 4xx status code

func (*SnaplockLegalHoldOperationDeleteDefault) IsCode

IsCode returns true when this snaplock legal hold operation delete default response a status code equal to that given

func (*SnaplockLegalHoldOperationDeleteDefault) IsRedirect

IsRedirect returns true when this snaplock legal hold operation delete default response has a 3xx status code

func (*SnaplockLegalHoldOperationDeleteDefault) IsServerError

func (o *SnaplockLegalHoldOperationDeleteDefault) IsServerError() bool

IsServerError returns true when this snaplock legal hold operation delete default response has a 5xx status code

func (*SnaplockLegalHoldOperationDeleteDefault) IsSuccess

IsSuccess returns true when this snaplock legal hold operation delete default response has a 2xx status code

func (*SnaplockLegalHoldOperationDeleteDefault) String

type SnaplockLegalHoldOperationDeleteOK

type SnaplockLegalHoldOperationDeleteOK struct {
}

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

OK

func NewSnaplockLegalHoldOperationDeleteOK

func NewSnaplockLegalHoldOperationDeleteOK() *SnaplockLegalHoldOperationDeleteOK

NewSnaplockLegalHoldOperationDeleteOK creates a SnaplockLegalHoldOperationDeleteOK with default headers values

func (*SnaplockLegalHoldOperationDeleteOK) Code

Code gets the status code for the snaplock legal hold operation delete o k response

func (*SnaplockLegalHoldOperationDeleteOK) Error

func (*SnaplockLegalHoldOperationDeleteOK) IsClientError

func (o *SnaplockLegalHoldOperationDeleteOK) IsClientError() bool

IsClientError returns true when this snaplock legal hold operation delete o k response has a 4xx status code

func (*SnaplockLegalHoldOperationDeleteOK) IsCode

IsCode returns true when this snaplock legal hold operation delete o k response a status code equal to that given

func (*SnaplockLegalHoldOperationDeleteOK) IsRedirect

func (o *SnaplockLegalHoldOperationDeleteOK) IsRedirect() bool

IsRedirect returns true when this snaplock legal hold operation delete o k response has a 3xx status code

func (*SnaplockLegalHoldOperationDeleteOK) IsServerError

func (o *SnaplockLegalHoldOperationDeleteOK) IsServerError() bool

IsServerError returns true when this snaplock legal hold operation delete o k response has a 5xx status code

func (*SnaplockLegalHoldOperationDeleteOK) IsSuccess

IsSuccess returns true when this snaplock legal hold operation delete o k response has a 2xx status code

func (*SnaplockLegalHoldOperationDeleteOK) String

type SnaplockLegalHoldOperationDeleteParams

type SnaplockLegalHoldOperationDeleteParams struct {

	/* ID.

	   Operation ID.
	*/
	ID string

	/* LitigationID.

	   Litigation ID
	*/
	LitigationID string

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

SnaplockLegalHoldOperationDeleteParams contains all the parameters to send to the API endpoint

for the snaplock legal hold operation delete operation.

Typically these are written to a http.Request.

func NewSnaplockLegalHoldOperationDeleteParams

func NewSnaplockLegalHoldOperationDeleteParams() *SnaplockLegalHoldOperationDeleteParams

NewSnaplockLegalHoldOperationDeleteParams creates a new SnaplockLegalHoldOperationDeleteParams 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 NewSnaplockLegalHoldOperationDeleteParamsWithContext

func NewSnaplockLegalHoldOperationDeleteParamsWithContext(ctx context.Context) *SnaplockLegalHoldOperationDeleteParams

NewSnaplockLegalHoldOperationDeleteParamsWithContext creates a new SnaplockLegalHoldOperationDeleteParams object with the ability to set a context for a request.

func NewSnaplockLegalHoldOperationDeleteParamsWithHTTPClient

func NewSnaplockLegalHoldOperationDeleteParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldOperationDeleteParams

NewSnaplockLegalHoldOperationDeleteParamsWithHTTPClient creates a new SnaplockLegalHoldOperationDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLegalHoldOperationDeleteParamsWithTimeout

func NewSnaplockLegalHoldOperationDeleteParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldOperationDeleteParams

NewSnaplockLegalHoldOperationDeleteParamsWithTimeout creates a new SnaplockLegalHoldOperationDeleteParams object with the ability to set a timeout on a request.

func (*SnaplockLegalHoldOperationDeleteParams) SetContext

SetContext adds the context to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) SetDefaults

func (o *SnaplockLegalHoldOperationDeleteParams) SetDefaults()

SetDefaults hydrates default values in the snaplock legal hold operation delete params (not the query body).

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

func (*SnaplockLegalHoldOperationDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) SetID

SetID adds the id to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) SetLitigationID

func (o *SnaplockLegalHoldOperationDeleteParams) SetLitigationID(litigationID string)

SetLitigationID adds the litigationId to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) WithContext

WithContext adds the context to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) WithDefaults

WithDefaults hydrates default values in the snaplock legal hold operation delete params (not the query body).

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

func (*SnaplockLegalHoldOperationDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) WithID

WithID adds the id to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) WithLitigationID

WithLitigationID adds the litigationID to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) WithTimeout

WithTimeout adds the timeout to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLegalHoldOperationDeleteReader

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

SnaplockLegalHoldOperationDeleteReader is a Reader for the SnaplockLegalHoldOperationDelete structure.

func (*SnaplockLegalHoldOperationDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLogCollectionGetDefault

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

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

Error

func NewSnaplockLogCollectionGetDefault

func NewSnaplockLogCollectionGetDefault(code int) *SnaplockLogCollectionGetDefault

NewSnaplockLogCollectionGetDefault creates a SnaplockLogCollectionGetDefault with default headers values

func (*SnaplockLogCollectionGetDefault) Code

Code gets the status code for the snaplock log collection get default response

func (*SnaplockLogCollectionGetDefault) Error

func (*SnaplockLogCollectionGetDefault) GetPayload

func (*SnaplockLogCollectionGetDefault) IsClientError

func (o *SnaplockLogCollectionGetDefault) IsClientError() bool

IsClientError returns true when this snaplock log collection get default response has a 4xx status code

func (*SnaplockLogCollectionGetDefault) IsCode

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

IsCode returns true when this snaplock log collection get default response a status code equal to that given

func (*SnaplockLogCollectionGetDefault) IsRedirect

func (o *SnaplockLogCollectionGetDefault) IsRedirect() bool

IsRedirect returns true when this snaplock log collection get default response has a 3xx status code

func (*SnaplockLogCollectionGetDefault) IsServerError

func (o *SnaplockLogCollectionGetDefault) IsServerError() bool

IsServerError returns true when this snaplock log collection get default response has a 5xx status code

func (*SnaplockLogCollectionGetDefault) IsSuccess

func (o *SnaplockLogCollectionGetDefault) IsSuccess() bool

IsSuccess returns true when this snaplock log collection get default response has a 2xx status code

func (*SnaplockLogCollectionGetDefault) String

type SnaplockLogCollectionGetOK

type SnaplockLogCollectionGetOK struct {
	Payload *models.SnaplockLogResponse
}

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

OK

func NewSnaplockLogCollectionGetOK

func NewSnaplockLogCollectionGetOK() *SnaplockLogCollectionGetOK

NewSnaplockLogCollectionGetOK creates a SnaplockLogCollectionGetOK with default headers values

func (*SnaplockLogCollectionGetOK) Code

func (o *SnaplockLogCollectionGetOK) Code() int

Code gets the status code for the snaplock log collection get o k response

func (*SnaplockLogCollectionGetOK) Error

func (*SnaplockLogCollectionGetOK) GetPayload

func (*SnaplockLogCollectionGetOK) IsClientError

func (o *SnaplockLogCollectionGetOK) IsClientError() bool

IsClientError returns true when this snaplock log collection get o k response has a 4xx status code

func (*SnaplockLogCollectionGetOK) IsCode

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

IsCode returns true when this snaplock log collection get o k response a status code equal to that given

func (*SnaplockLogCollectionGetOK) IsRedirect

func (o *SnaplockLogCollectionGetOK) IsRedirect() bool

IsRedirect returns true when this snaplock log collection get o k response has a 3xx status code

func (*SnaplockLogCollectionGetOK) IsServerError

func (o *SnaplockLogCollectionGetOK) IsServerError() bool

IsServerError returns true when this snaplock log collection get o k response has a 5xx status code

func (*SnaplockLogCollectionGetOK) IsSuccess

func (o *SnaplockLogCollectionGetOK) IsSuccess() bool

IsSuccess returns true when this snaplock log collection get o k response has a 2xx status code

func (*SnaplockLogCollectionGetOK) String

func (o *SnaplockLogCollectionGetOK) String() string

type SnaplockLogCollectionGetParams

type SnaplockLogCollectionGetParams struct {

	/* Fields.

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

	/* LogFilesBaseName.

	   Filter by log_files.base_name
	*/
	LogFilesBaseName *string

	/* LogFilesExpiryTime.

	   Filter by log_files.expiry_time
	*/
	LogFilesExpiryTime *string

	/* LogFilesPath.

	   Filter by log_files.path
	*/
	LogFilesPath *string

	/* LogFilesSize.

	   Filter by log_files.size
	*/
	LogFilesSize *int64

	/* LogVolumeMaxLogSize.

	   Filter by log_volume.max_log_size
	*/
	LogVolumeMaxLogSize *int64

	/* LogVolumeRetentionPeriod.

	   Filter by log_volume.retention_period
	*/
	LogVolumeRetentionPeriod *string

	/* LogVolumeVolumeName.

	   Filter by log_volume.volume.name
	*/
	LogVolumeVolumeName *string

	/* LogVolumeVolumeUUID.

	   Filter by log_volume.volume.uuid
	*/
	LogVolumeVolumeUUID *string

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecords *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
	*/
	ReturnTimeout *int64

	/* SvmName.

	   Filter by svm.name
	*/
	SvmName *string

	/* SvmUUID.

	   Filter by svm.uuid
	*/
	SvmUUID *string

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

SnaplockLogCollectionGetParams contains all the parameters to send to the API endpoint

for the snaplock log collection get operation.

Typically these are written to a http.Request.

func NewSnaplockLogCollectionGetParams

func NewSnaplockLogCollectionGetParams() *SnaplockLogCollectionGetParams

NewSnaplockLogCollectionGetParams creates a new SnaplockLogCollectionGetParams 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 NewSnaplockLogCollectionGetParamsWithContext

func NewSnaplockLogCollectionGetParamsWithContext(ctx context.Context) *SnaplockLogCollectionGetParams

NewSnaplockLogCollectionGetParamsWithContext creates a new SnaplockLogCollectionGetParams object with the ability to set a context for a request.

func NewSnaplockLogCollectionGetParamsWithHTTPClient

func NewSnaplockLogCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockLogCollectionGetParams

NewSnaplockLogCollectionGetParamsWithHTTPClient creates a new SnaplockLogCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLogCollectionGetParamsWithTimeout

func NewSnaplockLogCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockLogCollectionGetParams

NewSnaplockLogCollectionGetParamsWithTimeout creates a new SnaplockLogCollectionGetParams object with the ability to set a timeout on a request.

func (*SnaplockLogCollectionGetParams) SetContext

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

SetContext adds the context to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetDefaults

func (o *SnaplockLogCollectionGetParams) SetDefaults()

SetDefaults hydrates default values in the snaplock log collection get params (not the query body).

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

func (*SnaplockLogCollectionGetParams) SetFields

func (o *SnaplockLogCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogFilesBaseName

func (o *SnaplockLogCollectionGetParams) SetLogFilesBaseName(logFilesBaseName *string)

SetLogFilesBaseName adds the logFilesBaseName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogFilesExpiryTime

func (o *SnaplockLogCollectionGetParams) SetLogFilesExpiryTime(logFilesExpiryTime *string)

SetLogFilesExpiryTime adds the logFilesExpiryTime to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogFilesPath

func (o *SnaplockLogCollectionGetParams) SetLogFilesPath(logFilesPath *string)

SetLogFilesPath adds the logFilesPath to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogFilesSize

func (o *SnaplockLogCollectionGetParams) SetLogFilesSize(logFilesSize *int64)

SetLogFilesSize adds the logFilesSize to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogVolumeMaxLogSize

func (o *SnaplockLogCollectionGetParams) SetLogVolumeMaxLogSize(logVolumeMaxLogSize *int64)

SetLogVolumeMaxLogSize adds the logVolumeMaxLogSize to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogVolumeRetentionPeriod

func (o *SnaplockLogCollectionGetParams) SetLogVolumeRetentionPeriod(logVolumeRetentionPeriod *string)

SetLogVolumeRetentionPeriod adds the logVolumeRetentionPeriod to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogVolumeVolumeName

func (o *SnaplockLogCollectionGetParams) SetLogVolumeVolumeName(logVolumeVolumeName *string)

SetLogVolumeVolumeName adds the logVolumeVolumeName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogVolumeVolumeUUID

func (o *SnaplockLogCollectionGetParams) SetLogVolumeVolumeUUID(logVolumeVolumeUUID *string)

SetLogVolumeVolumeUUID adds the logVolumeVolumeUuid to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetMaxRecords

func (o *SnaplockLogCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetOrderBy

func (o *SnaplockLogCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetReturnRecords

func (o *SnaplockLogCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetReturnTimeout

func (o *SnaplockLogCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetSvmName

func (o *SnaplockLogCollectionGetParams) SetSvmName(svmName *string)

SetSvmName adds the svmName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetSvmUUID

func (o *SnaplockLogCollectionGetParams) SetSvmUUID(svmUUID *string)

SetSvmUUID adds the svmUuid to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithContext

WithContext adds the context to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock log collection get params (not the query body).

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

func (*SnaplockLogCollectionGetParams) WithFields

WithFields adds the fields to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogFilesBaseName

func (o *SnaplockLogCollectionGetParams) WithLogFilesBaseName(logFilesBaseName *string) *SnaplockLogCollectionGetParams

WithLogFilesBaseName adds the logFilesBaseName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogFilesExpiryTime

func (o *SnaplockLogCollectionGetParams) WithLogFilesExpiryTime(logFilesExpiryTime *string) *SnaplockLogCollectionGetParams

WithLogFilesExpiryTime adds the logFilesExpiryTime to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogFilesPath

func (o *SnaplockLogCollectionGetParams) WithLogFilesPath(logFilesPath *string) *SnaplockLogCollectionGetParams

WithLogFilesPath adds the logFilesPath to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogFilesSize

func (o *SnaplockLogCollectionGetParams) WithLogFilesSize(logFilesSize *int64) *SnaplockLogCollectionGetParams

WithLogFilesSize adds the logFilesSize to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogVolumeMaxLogSize

func (o *SnaplockLogCollectionGetParams) WithLogVolumeMaxLogSize(logVolumeMaxLogSize *int64) *SnaplockLogCollectionGetParams

WithLogVolumeMaxLogSize adds the logVolumeMaxLogSize to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogVolumeRetentionPeriod

func (o *SnaplockLogCollectionGetParams) WithLogVolumeRetentionPeriod(logVolumeRetentionPeriod *string) *SnaplockLogCollectionGetParams

WithLogVolumeRetentionPeriod adds the logVolumeRetentionPeriod to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogVolumeVolumeName

func (o *SnaplockLogCollectionGetParams) WithLogVolumeVolumeName(logVolumeVolumeName *string) *SnaplockLogCollectionGetParams

WithLogVolumeVolumeName adds the logVolumeVolumeName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogVolumeVolumeUUID

func (o *SnaplockLogCollectionGetParams) WithLogVolumeVolumeUUID(logVolumeVolumeUUID *string) *SnaplockLogCollectionGetParams

WithLogVolumeVolumeUUID adds the logVolumeVolumeUUID to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithReturnRecords

func (o *SnaplockLogCollectionGetParams) WithReturnRecords(returnRecords *bool) *SnaplockLogCollectionGetParams

WithReturnRecords adds the returnRecords to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithReturnTimeout

func (o *SnaplockLogCollectionGetParams) WithReturnTimeout(returnTimeout *int64) *SnaplockLogCollectionGetParams

WithReturnTimeout adds the returnTimeout to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithSvmName

WithSvmName adds the svmName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithSvmUUID

WithSvmUUID adds the svmUUID to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLogCollectionGetReader

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

SnaplockLogCollectionGetReader is a Reader for the SnaplockLogCollectionGet structure.

func (*SnaplockLogCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLogCreateAccepted

type SnaplockLogCreateAccepted struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.JobLinkResponse
}

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

Accepted

func NewSnaplockLogCreateAccepted

func NewSnaplockLogCreateAccepted() *SnaplockLogCreateAccepted

NewSnaplockLogCreateAccepted creates a SnaplockLogCreateAccepted with default headers values

func (*SnaplockLogCreateAccepted) Code

func (o *SnaplockLogCreateAccepted) Code() int

Code gets the status code for the snaplock log create accepted response

func (*SnaplockLogCreateAccepted) Error

func (o *SnaplockLogCreateAccepted) Error() string

func (*SnaplockLogCreateAccepted) GetPayload

func (*SnaplockLogCreateAccepted) IsClientError

func (o *SnaplockLogCreateAccepted) IsClientError() bool

IsClientError returns true when this snaplock log create accepted response has a 4xx status code

func (*SnaplockLogCreateAccepted) IsCode

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

IsCode returns true when this snaplock log create accepted response a status code equal to that given

func (*SnaplockLogCreateAccepted) IsRedirect

func (o *SnaplockLogCreateAccepted) IsRedirect() bool

IsRedirect returns true when this snaplock log create accepted response has a 3xx status code

func (*SnaplockLogCreateAccepted) IsServerError

func (o *SnaplockLogCreateAccepted) IsServerError() bool

IsServerError returns true when this snaplock log create accepted response has a 5xx status code

func (*SnaplockLogCreateAccepted) IsSuccess

func (o *SnaplockLogCreateAccepted) IsSuccess() bool

IsSuccess returns true when this snaplock log create accepted response has a 2xx status code

func (*SnaplockLogCreateAccepted) String

func (o *SnaplockLogCreateAccepted) String() string

type SnaplockLogCreateCreated

type SnaplockLogCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.JobLinkResponse
}

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

Created

func NewSnaplockLogCreateCreated

func NewSnaplockLogCreateCreated() *SnaplockLogCreateCreated

NewSnaplockLogCreateCreated creates a SnaplockLogCreateCreated with default headers values

func (*SnaplockLogCreateCreated) Code

func (o *SnaplockLogCreateCreated) Code() int

Code gets the status code for the snaplock log create created response

func (*SnaplockLogCreateCreated) Error

func (o *SnaplockLogCreateCreated) Error() string

func (*SnaplockLogCreateCreated) GetPayload

func (*SnaplockLogCreateCreated) IsClientError

func (o *SnaplockLogCreateCreated) IsClientError() bool

IsClientError returns true when this snaplock log create created response has a 4xx status code

func (*SnaplockLogCreateCreated) IsCode

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

IsCode returns true when this snaplock log create created response a status code equal to that given

func (*SnaplockLogCreateCreated) IsRedirect

func (o *SnaplockLogCreateCreated) IsRedirect() bool

IsRedirect returns true when this snaplock log create created response has a 3xx status code

func (*SnaplockLogCreateCreated) IsServerError

func (o *SnaplockLogCreateCreated) IsServerError() bool

IsServerError returns true when this snaplock log create created response has a 5xx status code

func (*SnaplockLogCreateCreated) IsSuccess

func (o *SnaplockLogCreateCreated) IsSuccess() bool

IsSuccess returns true when this snaplock log create created response has a 2xx status code

func (*SnaplockLogCreateCreated) String

func (o *SnaplockLogCreateCreated) String() string

type SnaplockLogCreateDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 918236 | The specified volume name and UUID refer to different volumes | | 918253 | Incorrect format for the retention period, duration must be in the ISO-8601 format | | 13763161 | Audit logging is already configured for the SVM | | 14090340 | {field} is a required field | | 14090343 | Invalid Field | | 14090346 | Internal Error. Wait a few minutes, then try the command again |

func NewSnaplockLogCreateDefault

func NewSnaplockLogCreateDefault(code int) *SnaplockLogCreateDefault

NewSnaplockLogCreateDefault creates a SnaplockLogCreateDefault with default headers values

func (*SnaplockLogCreateDefault) Code

func (o *SnaplockLogCreateDefault) Code() int

Code gets the status code for the snaplock log create default response

func (*SnaplockLogCreateDefault) Error

func (o *SnaplockLogCreateDefault) Error() string

func (*SnaplockLogCreateDefault) GetPayload

func (*SnaplockLogCreateDefault) IsClientError

func (o *SnaplockLogCreateDefault) IsClientError() bool

IsClientError returns true when this snaplock log create default response has a 4xx status code

func (*SnaplockLogCreateDefault) IsCode

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

IsCode returns true when this snaplock log create default response a status code equal to that given

func (*SnaplockLogCreateDefault) IsRedirect

func (o *SnaplockLogCreateDefault) IsRedirect() bool

IsRedirect returns true when this snaplock log create default response has a 3xx status code

func (*SnaplockLogCreateDefault) IsServerError

func (o *SnaplockLogCreateDefault) IsServerError() bool

IsServerError returns true when this snaplock log create default response has a 5xx status code

func (*SnaplockLogCreateDefault) IsSuccess

func (o *SnaplockLogCreateDefault) IsSuccess() bool

IsSuccess returns true when this snaplock log create default response has a 2xx status code

func (*SnaplockLogCreateDefault) String

func (o *SnaplockLogCreateDefault) String() string

type SnaplockLogCreateParams

type SnaplockLogCreateParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.SnaplockLog

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecords *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.
	*/
	ReturnTimeout *int64

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

SnaplockLogCreateParams contains all the parameters to send to the API endpoint

for the snaplock log create operation.

Typically these are written to a http.Request.

func NewSnaplockLogCreateParams

func NewSnaplockLogCreateParams() *SnaplockLogCreateParams

NewSnaplockLogCreateParams creates a new SnaplockLogCreateParams 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 NewSnaplockLogCreateParamsWithContext

func NewSnaplockLogCreateParamsWithContext(ctx context.Context) *SnaplockLogCreateParams

NewSnaplockLogCreateParamsWithContext creates a new SnaplockLogCreateParams object with the ability to set a context for a request.

func NewSnaplockLogCreateParamsWithHTTPClient

func NewSnaplockLogCreateParamsWithHTTPClient(client *http.Client) *SnaplockLogCreateParams

NewSnaplockLogCreateParamsWithHTTPClient creates a new SnaplockLogCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLogCreateParamsWithTimeout

func NewSnaplockLogCreateParamsWithTimeout(timeout time.Duration) *SnaplockLogCreateParams

NewSnaplockLogCreateParamsWithTimeout creates a new SnaplockLogCreateParams object with the ability to set a timeout on a request.

func (*SnaplockLogCreateParams) SetContext

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

SetContext adds the context to the snaplock log create params

func (*SnaplockLogCreateParams) SetDefaults

func (o *SnaplockLogCreateParams) SetDefaults()

SetDefaults hydrates default values in the snaplock log create params (not the query body).

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

func (*SnaplockLogCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock log create params

func (*SnaplockLogCreateParams) SetInfo

func (o *SnaplockLogCreateParams) SetInfo(info *models.SnaplockLog)

SetInfo adds the info to the snaplock log create params

func (*SnaplockLogCreateParams) SetReturnRecords

func (o *SnaplockLogCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock log create params

func (*SnaplockLogCreateParams) SetReturnTimeout

func (o *SnaplockLogCreateParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock log create params

func (*SnaplockLogCreateParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock log create params

func (*SnaplockLogCreateParams) WithContext

WithContext adds the context to the snaplock log create params

func (*SnaplockLogCreateParams) WithDefaults

WithDefaults hydrates default values in the snaplock log create params (not the query body).

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

func (*SnaplockLogCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snaplock log create params

func (*SnaplockLogCreateParams) WithInfo

WithInfo adds the info to the snaplock log create params

func (*SnaplockLogCreateParams) WithReturnRecords

func (o *SnaplockLogCreateParams) WithReturnRecords(returnRecords *bool) *SnaplockLogCreateParams

WithReturnRecords adds the returnRecords to the snaplock log create params

func (*SnaplockLogCreateParams) WithReturnTimeout

func (o *SnaplockLogCreateParams) WithReturnTimeout(returnTimeout *int64) *SnaplockLogCreateParams

WithReturnTimeout adds the returnTimeout to the snaplock log create params

func (*SnaplockLogCreateParams) WithTimeout

WithTimeout adds the timeout to the snaplock log create params

func (*SnaplockLogCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLogCreateReader

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

SnaplockLogCreateReader is a Reader for the SnaplockLogCreate structure.

func (*SnaplockLogCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLogDeleteAccepted

type SnaplockLogDeleteAccepted struct {
	Payload *models.JobLinkResponse
}

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

Accepted

func NewSnaplockLogDeleteAccepted

func NewSnaplockLogDeleteAccepted() *SnaplockLogDeleteAccepted

NewSnaplockLogDeleteAccepted creates a SnaplockLogDeleteAccepted with default headers values

func (*SnaplockLogDeleteAccepted) Code

func (o *SnaplockLogDeleteAccepted) Code() int

Code gets the status code for the snaplock log delete accepted response

func (*SnaplockLogDeleteAccepted) Error

func (o *SnaplockLogDeleteAccepted) Error() string

func (*SnaplockLogDeleteAccepted) GetPayload

func (*SnaplockLogDeleteAccepted) IsClientError

func (o *SnaplockLogDeleteAccepted) IsClientError() bool

IsClientError returns true when this snaplock log delete accepted response has a 4xx status code

func (*SnaplockLogDeleteAccepted) IsCode

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

IsCode returns true when this snaplock log delete accepted response a status code equal to that given

func (*SnaplockLogDeleteAccepted) IsRedirect

func (o *SnaplockLogDeleteAccepted) IsRedirect() bool

IsRedirect returns true when this snaplock log delete accepted response has a 3xx status code

func (*SnaplockLogDeleteAccepted) IsServerError

func (o *SnaplockLogDeleteAccepted) IsServerError() bool

IsServerError returns true when this snaplock log delete accepted response has a 5xx status code

func (*SnaplockLogDeleteAccepted) IsSuccess

func (o *SnaplockLogDeleteAccepted) IsSuccess() bool

IsSuccess returns true when this snaplock log delete accepted response has a 2xx status code

func (*SnaplockLogDeleteAccepted) String

func (o *SnaplockLogDeleteAccepted) String() string

type SnaplockLogDeleteDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 14090346 | Internal Error. Wait a few minutes, then try the command again |

func NewSnaplockLogDeleteDefault

func NewSnaplockLogDeleteDefault(code int) *SnaplockLogDeleteDefault

NewSnaplockLogDeleteDefault creates a SnaplockLogDeleteDefault with default headers values

func (*SnaplockLogDeleteDefault) Code

func (o *SnaplockLogDeleteDefault) Code() int

Code gets the status code for the snaplock log delete default response

func (*SnaplockLogDeleteDefault) Error

func (o *SnaplockLogDeleteDefault) Error() string

func (*SnaplockLogDeleteDefault) GetPayload

func (*SnaplockLogDeleteDefault) IsClientError

func (o *SnaplockLogDeleteDefault) IsClientError() bool

IsClientError returns true when this snaplock log delete default response has a 4xx status code

func (*SnaplockLogDeleteDefault) IsCode

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

IsCode returns true when this snaplock log delete default response a status code equal to that given

func (*SnaplockLogDeleteDefault) IsRedirect

func (o *SnaplockLogDeleteDefault) IsRedirect() bool

IsRedirect returns true when this snaplock log delete default response has a 3xx status code

func (*SnaplockLogDeleteDefault) IsServerError

func (o *SnaplockLogDeleteDefault) IsServerError() bool

IsServerError returns true when this snaplock log delete default response has a 5xx status code

func (*SnaplockLogDeleteDefault) IsSuccess

func (o *SnaplockLogDeleteDefault) IsSuccess() bool

IsSuccess returns true when this snaplock log delete default response has a 2xx status code

func (*SnaplockLogDeleteDefault) String

func (o *SnaplockLogDeleteDefault) String() string

type SnaplockLogDeleteOK

type SnaplockLogDeleteOK struct {
	Payload *models.JobLinkResponse
}

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

OK

func NewSnaplockLogDeleteOK

func NewSnaplockLogDeleteOK() *SnaplockLogDeleteOK

NewSnaplockLogDeleteOK creates a SnaplockLogDeleteOK with default headers values

func (*SnaplockLogDeleteOK) Code

func (o *SnaplockLogDeleteOK) Code() int

Code gets the status code for the snaplock log delete o k response

func (*SnaplockLogDeleteOK) Error

func (o *SnaplockLogDeleteOK) Error() string

func (*SnaplockLogDeleteOK) GetPayload

func (o *SnaplockLogDeleteOK) GetPayload() *models.JobLinkResponse

func (*SnaplockLogDeleteOK) IsClientError

func (o *SnaplockLogDeleteOK) IsClientError() bool

IsClientError returns true when this snaplock log delete o k response has a 4xx status code

func (*SnaplockLogDeleteOK) IsCode

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

IsCode returns true when this snaplock log delete o k response a status code equal to that given

func (*SnaplockLogDeleteOK) IsRedirect

func (o *SnaplockLogDeleteOK) IsRedirect() bool

IsRedirect returns true when this snaplock log delete o k response has a 3xx status code

func (*SnaplockLogDeleteOK) IsServerError

func (o *SnaplockLogDeleteOK) IsServerError() bool

IsServerError returns true when this snaplock log delete o k response has a 5xx status code

func (*SnaplockLogDeleteOK) IsSuccess

func (o *SnaplockLogDeleteOK) IsSuccess() bool

IsSuccess returns true when this snaplock log delete o k response has a 2xx status code

func (*SnaplockLogDeleteOK) String

func (o *SnaplockLogDeleteOK) String() string

type SnaplockLogDeleteParams

type SnaplockLogDeleteParams 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.
	*/
	ReturnTimeout *int64

	/* SvmUUID.

	   SVM UUID
	*/
	SvmUUID string

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

SnaplockLogDeleteParams contains all the parameters to send to the API endpoint

for the snaplock log delete operation.

Typically these are written to a http.Request.

func NewSnaplockLogDeleteParams

func NewSnaplockLogDeleteParams() *SnaplockLogDeleteParams

NewSnaplockLogDeleteParams creates a new SnaplockLogDeleteParams 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 NewSnaplockLogDeleteParamsWithContext

func NewSnaplockLogDeleteParamsWithContext(ctx context.Context) *SnaplockLogDeleteParams

NewSnaplockLogDeleteParamsWithContext creates a new SnaplockLogDeleteParams object with the ability to set a context for a request.

func NewSnaplockLogDeleteParamsWithHTTPClient

func NewSnaplockLogDeleteParamsWithHTTPClient(client *http.Client) *SnaplockLogDeleteParams

NewSnaplockLogDeleteParamsWithHTTPClient creates a new SnaplockLogDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLogDeleteParamsWithTimeout

func NewSnaplockLogDeleteParamsWithTimeout(timeout time.Duration) *SnaplockLogDeleteParams

NewSnaplockLogDeleteParamsWithTimeout creates a new SnaplockLogDeleteParams object with the ability to set a timeout on a request.

func (*SnaplockLogDeleteParams) SetContext

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

SetContext adds the context to the snaplock log delete params

func (*SnaplockLogDeleteParams) SetDefaults

func (o *SnaplockLogDeleteParams) SetDefaults()

SetDefaults hydrates default values in the snaplock log delete params (not the query body).

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

func (*SnaplockLogDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock log delete params

func (*SnaplockLogDeleteParams) SetReturnTimeout

func (o *SnaplockLogDeleteParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock log delete params

func (*SnaplockLogDeleteParams) SetSvmUUID

func (o *SnaplockLogDeleteParams) SetSvmUUID(svmUUID string)

SetSvmUUID adds the svmUuid to the snaplock log delete params

func (*SnaplockLogDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock log delete params

func (*SnaplockLogDeleteParams) WithContext

WithContext adds the context to the snaplock log delete params

func (*SnaplockLogDeleteParams) WithDefaults

WithDefaults hydrates default values in the snaplock log delete params (not the query body).

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

func (*SnaplockLogDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snaplock log delete params

func (*SnaplockLogDeleteParams) WithReturnTimeout

func (o *SnaplockLogDeleteParams) WithReturnTimeout(returnTimeout *int64) *SnaplockLogDeleteParams

WithReturnTimeout adds the returnTimeout to the snaplock log delete params

func (*SnaplockLogDeleteParams) WithSvmUUID

func (o *SnaplockLogDeleteParams) WithSvmUUID(svmUUID string) *SnaplockLogDeleteParams

WithSvmUUID adds the svmUUID to the snaplock log delete params

func (*SnaplockLogDeleteParams) WithTimeout

WithTimeout adds the timeout to the snaplock log delete params

func (*SnaplockLogDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLogDeleteReader

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

SnaplockLogDeleteReader is a Reader for the SnaplockLogDelete structure.

func (*SnaplockLogDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLogGetDefault

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

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

Error

func NewSnaplockLogGetDefault

func NewSnaplockLogGetDefault(code int) *SnaplockLogGetDefault

NewSnaplockLogGetDefault creates a SnaplockLogGetDefault with default headers values

func (*SnaplockLogGetDefault) Code

func (o *SnaplockLogGetDefault) Code() int

Code gets the status code for the snaplock log get default response

func (*SnaplockLogGetDefault) Error

func (o *SnaplockLogGetDefault) Error() string

func (*SnaplockLogGetDefault) GetPayload

func (o *SnaplockLogGetDefault) GetPayload() *models.ErrorResponse

func (*SnaplockLogGetDefault) IsClientError

func (o *SnaplockLogGetDefault) IsClientError() bool

IsClientError returns true when this snaplock log get default response has a 4xx status code

func (*SnaplockLogGetDefault) IsCode

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

IsCode returns true when this snaplock log get default response a status code equal to that given

func (*SnaplockLogGetDefault) IsRedirect

func (o *SnaplockLogGetDefault) IsRedirect() bool

IsRedirect returns true when this snaplock log get default response has a 3xx status code

func (*SnaplockLogGetDefault) IsServerError

func (o *SnaplockLogGetDefault) IsServerError() bool

IsServerError returns true when this snaplock log get default response has a 5xx status code

func (*SnaplockLogGetDefault) IsSuccess

func (o *SnaplockLogGetDefault) IsSuccess() bool

IsSuccess returns true when this snaplock log get default response has a 2xx status code

func (*SnaplockLogGetDefault) String

func (o *SnaplockLogGetDefault) String() string

type SnaplockLogGetOK

type SnaplockLogGetOK struct {
	Payload *models.SnaplockLog
}

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

OK

func NewSnaplockLogGetOK

func NewSnaplockLogGetOK() *SnaplockLogGetOK

NewSnaplockLogGetOK creates a SnaplockLogGetOK with default headers values

func (*SnaplockLogGetOK) Code

func (o *SnaplockLogGetOK) Code() int

Code gets the status code for the snaplock log get o k response

func (*SnaplockLogGetOK) Error

func (o *SnaplockLogGetOK) Error() string

func (*SnaplockLogGetOK) GetPayload

func (o *SnaplockLogGetOK) GetPayload() *models.SnaplockLog

func (*SnaplockLogGetOK) IsClientError

func (o *SnaplockLogGetOK) IsClientError() bool

IsClientError returns true when this snaplock log get o k response has a 4xx status code

func (*SnaplockLogGetOK) IsCode

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

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

func (*SnaplockLogGetOK) IsRedirect

func (o *SnaplockLogGetOK) IsRedirect() bool

IsRedirect returns true when this snaplock log get o k response has a 3xx status code

func (*SnaplockLogGetOK) IsServerError

func (o *SnaplockLogGetOK) IsServerError() bool

IsServerError returns true when this snaplock log get o k response has a 5xx status code

func (*SnaplockLogGetOK) IsSuccess

func (o *SnaplockLogGetOK) IsSuccess() bool

IsSuccess returns true when this snaplock log get o k response has a 2xx status code

func (*SnaplockLogGetOK) String

func (o *SnaplockLogGetOK) String() string

type SnaplockLogGetParams

type SnaplockLogGetParams struct {

	/* Fields.

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

	/* SvmUUID.

	   SVM UUID
	*/
	SvmUUID string

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

SnaplockLogGetParams contains all the parameters to send to the API endpoint

for the snaplock log get operation.

Typically these are written to a http.Request.

func NewSnaplockLogGetParams

func NewSnaplockLogGetParams() *SnaplockLogGetParams

NewSnaplockLogGetParams creates a new SnaplockLogGetParams 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 NewSnaplockLogGetParamsWithContext

func NewSnaplockLogGetParamsWithContext(ctx context.Context) *SnaplockLogGetParams

NewSnaplockLogGetParamsWithContext creates a new SnaplockLogGetParams object with the ability to set a context for a request.

func NewSnaplockLogGetParamsWithHTTPClient

func NewSnaplockLogGetParamsWithHTTPClient(client *http.Client) *SnaplockLogGetParams

NewSnaplockLogGetParamsWithHTTPClient creates a new SnaplockLogGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLogGetParamsWithTimeout

func NewSnaplockLogGetParamsWithTimeout(timeout time.Duration) *SnaplockLogGetParams

NewSnaplockLogGetParamsWithTimeout creates a new SnaplockLogGetParams object with the ability to set a timeout on a request.

func (*SnaplockLogGetParams) SetContext

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

SetContext adds the context to the snaplock log get params

func (*SnaplockLogGetParams) SetDefaults

func (o *SnaplockLogGetParams) SetDefaults()

SetDefaults hydrates default values in the snaplock log get params (not the query body).

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

func (*SnaplockLogGetParams) SetFields

func (o *SnaplockLogGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock log get params

func (*SnaplockLogGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock log get params

func (*SnaplockLogGetParams) SetSvmUUID

func (o *SnaplockLogGetParams) SetSvmUUID(svmUUID string)

SetSvmUUID adds the svmUuid to the snaplock log get params

func (*SnaplockLogGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock log get params

func (*SnaplockLogGetParams) WithContext

WithContext adds the context to the snaplock log get params

func (*SnaplockLogGetParams) WithDefaults

func (o *SnaplockLogGetParams) WithDefaults() *SnaplockLogGetParams

WithDefaults hydrates default values in the snaplock log get params (not the query body).

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

func (*SnaplockLogGetParams) WithFields

func (o *SnaplockLogGetParams) WithFields(fields []string) *SnaplockLogGetParams

WithFields adds the fields to the snaplock log get params

func (*SnaplockLogGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snaplock log get params

func (*SnaplockLogGetParams) WithSvmUUID

func (o *SnaplockLogGetParams) WithSvmUUID(svmUUID string) *SnaplockLogGetParams

WithSvmUUID adds the svmUUID to the snaplock log get params

func (*SnaplockLogGetParams) WithTimeout

func (o *SnaplockLogGetParams) WithTimeout(timeout time.Duration) *SnaplockLogGetParams

WithTimeout adds the timeout to the snaplock log get params

func (*SnaplockLogGetParams) WriteToRequest

func (o *SnaplockLogGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SnaplockLogGetReader

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

SnaplockLogGetReader is a Reader for the SnaplockLogGet structure.

func (*SnaplockLogGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockLogModifyAccepted

type SnaplockLogModifyAccepted struct {
	Payload *models.JobLinkResponse
}

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

Accepted

func NewSnaplockLogModifyAccepted

func NewSnaplockLogModifyAccepted() *SnaplockLogModifyAccepted

NewSnaplockLogModifyAccepted creates a SnaplockLogModifyAccepted with default headers values

func (*SnaplockLogModifyAccepted) Code

func (o *SnaplockLogModifyAccepted) Code() int

Code gets the status code for the snaplock log modify accepted response

func (*SnaplockLogModifyAccepted) Error

func (o *SnaplockLogModifyAccepted) Error() string

func (*SnaplockLogModifyAccepted) GetPayload

func (*SnaplockLogModifyAccepted) IsClientError

func (o *SnaplockLogModifyAccepted) IsClientError() bool

IsClientError returns true when this snaplock log modify accepted response has a 4xx status code

func (*SnaplockLogModifyAccepted) IsCode

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

IsCode returns true when this snaplock log modify accepted response a status code equal to that given

func (*SnaplockLogModifyAccepted) IsRedirect

func (o *SnaplockLogModifyAccepted) IsRedirect() bool

IsRedirect returns true when this snaplock log modify accepted response has a 3xx status code

func (*SnaplockLogModifyAccepted) IsServerError

func (o *SnaplockLogModifyAccepted) IsServerError() bool

IsServerError returns true when this snaplock log modify accepted response has a 5xx status code

func (*SnaplockLogModifyAccepted) IsSuccess

func (o *SnaplockLogModifyAccepted) IsSuccess() bool

IsSuccess returns true when this snaplock log modify accepted response has a 2xx status code

func (*SnaplockLogModifyAccepted) String

func (o *SnaplockLogModifyAccepted) String() string

type SnaplockLogModifyDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 14090344 | If log_volume is specified, then log_archive must not be specified | | 14090345 | If log_archive.base_name is specified, then log_archive.archive must also be specified | | 14090346 | Internal Error. Wait a few minutes, then try the command again |

func NewSnaplockLogModifyDefault

func NewSnaplockLogModifyDefault(code int) *SnaplockLogModifyDefault

NewSnaplockLogModifyDefault creates a SnaplockLogModifyDefault with default headers values

func (*SnaplockLogModifyDefault) Code

func (o *SnaplockLogModifyDefault) Code() int

Code gets the status code for the snaplock log modify default response

func (*SnaplockLogModifyDefault) Error

func (o *SnaplockLogModifyDefault) Error() string

func (*SnaplockLogModifyDefault) GetPayload

func (*SnaplockLogModifyDefault) IsClientError

func (o *SnaplockLogModifyDefault) IsClientError() bool

IsClientError returns true when this snaplock log modify default response has a 4xx status code

func (*SnaplockLogModifyDefault) IsCode

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

IsCode returns true when this snaplock log modify default response a status code equal to that given

func (*SnaplockLogModifyDefault) IsRedirect

func (o *SnaplockLogModifyDefault) IsRedirect() bool

IsRedirect returns true when this snaplock log modify default response has a 3xx status code

func (*SnaplockLogModifyDefault) IsServerError

func (o *SnaplockLogModifyDefault) IsServerError() bool

IsServerError returns true when this snaplock log modify default response has a 5xx status code

func (*SnaplockLogModifyDefault) IsSuccess

func (o *SnaplockLogModifyDefault) IsSuccess() bool

IsSuccess returns true when this snaplock log modify default response has a 2xx status code

func (*SnaplockLogModifyDefault) String

func (o *SnaplockLogModifyDefault) String() string

type SnaplockLogModifyOK

type SnaplockLogModifyOK struct {
	Payload *models.JobLinkResponse
}

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

OK

func NewSnaplockLogModifyOK

func NewSnaplockLogModifyOK() *SnaplockLogModifyOK

NewSnaplockLogModifyOK creates a SnaplockLogModifyOK with default headers values

func (*SnaplockLogModifyOK) Code

func (o *SnaplockLogModifyOK) Code() int

Code gets the status code for the snaplock log modify o k response

func (*SnaplockLogModifyOK) Error

func (o *SnaplockLogModifyOK) Error() string

func (*SnaplockLogModifyOK) GetPayload

func (o *SnaplockLogModifyOK) GetPayload() *models.JobLinkResponse

func (*SnaplockLogModifyOK) IsClientError

func (o *SnaplockLogModifyOK) IsClientError() bool

IsClientError returns true when this snaplock log modify o k response has a 4xx status code

func (*SnaplockLogModifyOK) IsCode

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

IsCode returns true when this snaplock log modify o k response a status code equal to that given

func (*SnaplockLogModifyOK) IsRedirect

func (o *SnaplockLogModifyOK) IsRedirect() bool

IsRedirect returns true when this snaplock log modify o k response has a 3xx status code

func (*SnaplockLogModifyOK) IsServerError

func (o *SnaplockLogModifyOK) IsServerError() bool

IsServerError returns true when this snaplock log modify o k response has a 5xx status code

func (*SnaplockLogModifyOK) IsSuccess

func (o *SnaplockLogModifyOK) IsSuccess() bool

IsSuccess returns true when this snaplock log modify o k response has a 2xx status code

func (*SnaplockLogModifyOK) String

func (o *SnaplockLogModifyOK) String() string

type SnaplockLogModifyParams

type SnaplockLogModifyParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.SnaplockLog

	/* 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.
	*/
	ReturnTimeout *int64

	/* SvmUUID.

	   SVM UUID
	*/
	SvmUUID string

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

SnaplockLogModifyParams contains all the parameters to send to the API endpoint

for the snaplock log modify operation.

Typically these are written to a http.Request.

func NewSnaplockLogModifyParams

func NewSnaplockLogModifyParams() *SnaplockLogModifyParams

NewSnaplockLogModifyParams creates a new SnaplockLogModifyParams 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 NewSnaplockLogModifyParamsWithContext

func NewSnaplockLogModifyParamsWithContext(ctx context.Context) *SnaplockLogModifyParams

NewSnaplockLogModifyParamsWithContext creates a new SnaplockLogModifyParams object with the ability to set a context for a request.

func NewSnaplockLogModifyParamsWithHTTPClient

func NewSnaplockLogModifyParamsWithHTTPClient(client *http.Client) *SnaplockLogModifyParams

NewSnaplockLogModifyParamsWithHTTPClient creates a new SnaplockLogModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLogModifyParamsWithTimeout

func NewSnaplockLogModifyParamsWithTimeout(timeout time.Duration) *SnaplockLogModifyParams

NewSnaplockLogModifyParamsWithTimeout creates a new SnaplockLogModifyParams object with the ability to set a timeout on a request.

func (*SnaplockLogModifyParams) SetContext

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

SetContext adds the context to the snaplock log modify params

func (*SnaplockLogModifyParams) SetDefaults

func (o *SnaplockLogModifyParams) SetDefaults()

SetDefaults hydrates default values in the snaplock log modify params (not the query body).

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

func (*SnaplockLogModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock log modify params

func (*SnaplockLogModifyParams) SetInfo

func (o *SnaplockLogModifyParams) SetInfo(info *models.SnaplockLog)

SetInfo adds the info to the snaplock log modify params

func (*SnaplockLogModifyParams) SetReturnTimeout

func (o *SnaplockLogModifyParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock log modify params

func (*SnaplockLogModifyParams) SetSvmUUID

func (o *SnaplockLogModifyParams) SetSvmUUID(svmUUID string)

SetSvmUUID adds the svmUuid to the snaplock log modify params

func (*SnaplockLogModifyParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock log modify params

func (*SnaplockLogModifyParams) WithContext

WithContext adds the context to the snaplock log modify params

func (*SnaplockLogModifyParams) WithDefaults

WithDefaults hydrates default values in the snaplock log modify params (not the query body).

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

func (*SnaplockLogModifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the snaplock log modify params

func (*SnaplockLogModifyParams) WithInfo

WithInfo adds the info to the snaplock log modify params

func (*SnaplockLogModifyParams) WithReturnTimeout

func (o *SnaplockLogModifyParams) WithReturnTimeout(returnTimeout *int64) *SnaplockLogModifyParams

WithReturnTimeout adds the returnTimeout to the snaplock log modify params

func (*SnaplockLogModifyParams) WithSvmUUID

func (o *SnaplockLogModifyParams) WithSvmUUID(svmUUID string) *SnaplockLogModifyParams

WithSvmUUID adds the svmUUID to the snaplock log modify params

func (*SnaplockLogModifyParams) WithTimeout

WithTimeout adds the timeout to the snaplock log modify params

func (*SnaplockLogModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLogModifyReader

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

SnaplockLogModifyReader is a Reader for the SnaplockLogModify structure.

func (*SnaplockLogModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockRetentionOperationCollectionGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 14090242 | Only a user with the security login role \"vsadmin-snaplock\" is allowed to perform this operation. |

func NewSnaplockRetentionOperationCollectionGetDefault

func NewSnaplockRetentionOperationCollectionGetDefault(code int) *SnaplockRetentionOperationCollectionGetDefault

NewSnaplockRetentionOperationCollectionGetDefault creates a SnaplockRetentionOperationCollectionGetDefault with default headers values

func (*SnaplockRetentionOperationCollectionGetDefault) Code

Code gets the status code for the snaplock retention operation collection get default response

func (*SnaplockRetentionOperationCollectionGetDefault) Error

func (*SnaplockRetentionOperationCollectionGetDefault) GetPayload

func (*SnaplockRetentionOperationCollectionGetDefault) IsClientError

IsClientError returns true when this snaplock retention operation collection get default response has a 4xx status code

func (*SnaplockRetentionOperationCollectionGetDefault) IsCode

IsCode returns true when this snaplock retention operation collection get default response a status code equal to that given

func (*SnaplockRetentionOperationCollectionGetDefault) IsRedirect

IsRedirect returns true when this snaplock retention operation collection get default response has a 3xx status code

func (*SnaplockRetentionOperationCollectionGetDefault) IsServerError

IsServerError returns true when this snaplock retention operation collection get default response has a 5xx status code

func (*SnaplockRetentionOperationCollectionGetDefault) IsSuccess

IsSuccess returns true when this snaplock retention operation collection get default response has a 2xx status code

func (*SnaplockRetentionOperationCollectionGetDefault) String

type SnaplockRetentionOperationCollectionGetOK

type SnaplockRetentionOperationCollectionGetOK struct {
	Payload *models.EbrOperationResponse
}

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

OK

func NewSnaplockRetentionOperationCollectionGetOK

func NewSnaplockRetentionOperationCollectionGetOK() *SnaplockRetentionOperationCollectionGetOK

NewSnaplockRetentionOperationCollectionGetOK creates a SnaplockRetentionOperationCollectionGetOK with default headers values

func (*SnaplockRetentionOperationCollectionGetOK) Code

Code gets the status code for the snaplock retention operation collection get o k response

func (*SnaplockRetentionOperationCollectionGetOK) Error

func (*SnaplockRetentionOperationCollectionGetOK) GetPayload

func (*SnaplockRetentionOperationCollectionGetOK) IsClientError

IsClientError returns true when this snaplock retention operation collection get o k response has a 4xx status code

func (*SnaplockRetentionOperationCollectionGetOK) IsCode

IsCode returns true when this snaplock retention operation collection get o k response a status code equal to that given

func (*SnaplockRetentionOperationCollectionGetOK) IsRedirect

IsRedirect returns true when this snaplock retention operation collection get o k response has a 3xx status code

func (*SnaplockRetentionOperationCollectionGetOK) IsServerError

IsServerError returns true when this snaplock retention operation collection get o k response has a 5xx status code

func (*SnaplockRetentionOperationCollectionGetOK) IsSuccess

IsSuccess returns true when this snaplock retention operation collection get o k response has a 2xx status code

func (*SnaplockRetentionOperationCollectionGetOK) String

type SnaplockRetentionOperationCollectionGetParams

type SnaplockRetentionOperationCollectionGetParams struct {

	/* Fields.

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

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecords *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
	*/
	ReturnTimeout *int64

	/* VolumeUUID.

	   Volume UUID
	*/
	VolumeUUID *string

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

SnaplockRetentionOperationCollectionGetParams contains all the parameters to send to the API endpoint

for the snaplock retention operation collection get operation.

Typically these are written to a http.Request.

func NewSnaplockRetentionOperationCollectionGetParams

func NewSnaplockRetentionOperationCollectionGetParams() *SnaplockRetentionOperationCollectionGetParams

NewSnaplockRetentionOperationCollectionGetParams creates a new SnaplockRetentionOperationCollectionGetParams 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 NewSnaplockRetentionOperationCollectionGetParamsWithContext

func NewSnaplockRetentionOperationCollectionGetParamsWithContext(ctx context.Context) *SnaplockRetentionOperationCollectionGetParams

NewSnaplockRetentionOperationCollectionGetParamsWithContext creates a new SnaplockRetentionOperationCollectionGetParams object with the ability to set a context for a request.

func NewSnaplockRetentionOperationCollectionGetParamsWithHTTPClient

func NewSnaplockRetentionOperationCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockRetentionOperationCollectionGetParams

NewSnaplockRetentionOperationCollectionGetParamsWithHTTPClient creates a new SnaplockRetentionOperationCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockRetentionOperationCollectionGetParamsWithTimeout

func NewSnaplockRetentionOperationCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockRetentionOperationCollectionGetParams

NewSnaplockRetentionOperationCollectionGetParamsWithTimeout creates a new SnaplockRetentionOperationCollectionGetParams object with the ability to set a timeout on a request.

func (*SnaplockRetentionOperationCollectionGetParams) SetContext

SetContext adds the context to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetDefaults

SetDefaults hydrates default values in the snaplock retention operation collection get params (not the query body).

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

func (*SnaplockRetentionOperationCollectionGetParams) SetFields

SetFields adds the fields to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetMaxRecords

func (o *SnaplockRetentionOperationCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetOrderBy

func (o *SnaplockRetentionOperationCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetReturnRecords

func (o *SnaplockRetentionOperationCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetReturnTimeout

func (o *SnaplockRetentionOperationCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetTimeout

SetTimeout adds the timeout to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetVolumeUUID

func (o *SnaplockRetentionOperationCollectionGetParams) SetVolumeUUID(volumeUUID *string)

SetVolumeUUID adds the volumeUuid to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithContext

WithContext adds the context to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock retention operation collection get params (not the query body).

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

func (*SnaplockRetentionOperationCollectionGetParams) WithFields

WithFields adds the fields to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithVolumeUUID

WithVolumeUUID adds the volumeUUID to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockRetentionOperationCollectionGetReader

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

SnaplockRetentionOperationCollectionGetReader is a Reader for the SnaplockRetentionOperationCollectionGet structure.

func (*SnaplockRetentionOperationCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockRetentionOperationCreateCreated

type SnaplockRetentionOperationCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.EbrOperation
}

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

Created

func NewSnaplockRetentionOperationCreateCreated

func NewSnaplockRetentionOperationCreateCreated() *SnaplockRetentionOperationCreateCreated

NewSnaplockRetentionOperationCreateCreated creates a SnaplockRetentionOperationCreateCreated with default headers values

func (*SnaplockRetentionOperationCreateCreated) Code

Code gets the status code for the snaplock retention operation create created response

func (*SnaplockRetentionOperationCreateCreated) Error

func (*SnaplockRetentionOperationCreateCreated) GetPayload

func (*SnaplockRetentionOperationCreateCreated) IsClientError

func (o *SnaplockRetentionOperationCreateCreated) IsClientError() bool

IsClientError returns true when this snaplock retention operation create created response has a 4xx status code

func (*SnaplockRetentionOperationCreateCreated) IsCode

IsCode returns true when this snaplock retention operation create created response a status code equal to that given

func (*SnaplockRetentionOperationCreateCreated) IsRedirect

IsRedirect returns true when this snaplock retention operation create created response has a 3xx status code

func (*SnaplockRetentionOperationCreateCreated) IsServerError

func (o *SnaplockRetentionOperationCreateCreated) IsServerError() bool

IsServerError returns true when this snaplock retention operation create created response has a 5xx status code

func (*SnaplockRetentionOperationCreateCreated) IsSuccess

IsSuccess returns true when this snaplock retention operation create created response has a 2xx status code

func (*SnaplockRetentionOperationCreateCreated) String

type SnaplockRetentionOperationCreateDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 918236 | The specified volume uuid and volume name refer to different volumes. | | 13763372 | Path should be given in the format \"\/\<dir path\>\". | | 14090242 | Only a user with the security login role \"vsadmin-snaplock\" is allowed to perform this operation. |

func NewSnaplockRetentionOperationCreateDefault

func NewSnaplockRetentionOperationCreateDefault(code int) *SnaplockRetentionOperationCreateDefault

NewSnaplockRetentionOperationCreateDefault creates a SnaplockRetentionOperationCreateDefault with default headers values

func (*SnaplockRetentionOperationCreateDefault) Code

Code gets the status code for the snaplock retention operation create default response

func (*SnaplockRetentionOperationCreateDefault) Error

func (*SnaplockRetentionOperationCreateDefault) GetPayload

func (*SnaplockRetentionOperationCreateDefault) IsClientError

func (o *SnaplockRetentionOperationCreateDefault) IsClientError() bool

IsClientError returns true when this snaplock retention operation create default response has a 4xx status code

func (*SnaplockRetentionOperationCreateDefault) IsCode

IsCode returns true when this snaplock retention operation create default response a status code equal to that given

func (*SnaplockRetentionOperationCreateDefault) IsRedirect

IsRedirect returns true when this snaplock retention operation create default response has a 3xx status code

func (*SnaplockRetentionOperationCreateDefault) IsServerError

func (o *SnaplockRetentionOperationCreateDefault) IsServerError() bool

IsServerError returns true when this snaplock retention operation create default response has a 5xx status code

func (*SnaplockRetentionOperationCreateDefault) IsSuccess

IsSuccess returns true when this snaplock retention operation create default response has a 2xx status code

func (*SnaplockRetentionOperationCreateDefault) String

type SnaplockRetentionOperationCreateParams

type SnaplockRetentionOperationCreateParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.EbrOperation

	/* ReturnRecords.

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

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

SnaplockRetentionOperationCreateParams contains all the parameters to send to the API endpoint

for the snaplock retention operation create operation.

Typically these are written to a http.Request.

func NewSnaplockRetentionOperationCreateParams

func NewSnaplockRetentionOperationCreateParams() *SnaplockRetentionOperationCreateParams

NewSnaplockRetentionOperationCreateParams creates a new SnaplockRetentionOperationCreateParams 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 NewSnaplockRetentionOperationCreateParamsWithContext

func NewSnaplockRetentionOperationCreateParamsWithContext(ctx context.Context) *SnaplockRetentionOperationCreateParams

NewSnaplockRetentionOperationCreateParamsWithContext creates a new SnaplockRetentionOperationCreateParams object with the ability to set a context for a request.

func NewSnaplockRetentionOperationCreateParamsWithHTTPClient

func NewSnaplockRetentionOperationCreateParamsWithHTTPClient(client *http.Client) *SnaplockRetentionOperationCreateParams

NewSnaplockRetentionOperationCreateParamsWithHTTPClient creates a new SnaplockRetentionOperationCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockRetentionOperationCreateParamsWithTimeout

func NewSnaplockRetentionOperationCreateParamsWithTimeout(timeout time.Duration) *SnaplockRetentionOperationCreateParams

NewSnaplockRetentionOperationCreateParamsWithTimeout creates a new SnaplockRetentionOperationCreateParams object with the ability to set a timeout on a request.

func (*SnaplockRetentionOperationCreateParams) SetContext

SetContext adds the context to the snaplock retention operation create params

func (*SnaplockRetentionOperationCreateParams) SetDefaults

func (o *SnaplockRetentionOperationCreateParams) SetDefaults()

SetDefaults hydrates default values in the snaplock retention operation create params (not the query body).

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

func (*SnaplockRetentionOperationCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock retention operation create params

func (*SnaplockRetentionOperationCreateParams) SetInfo

SetInfo adds the info to the snaplock retention operation create params

func (*SnaplockRetentionOperationCreateParams) SetReturnRecords

func (o *SnaplockRetentionOperationCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock retention operation create params

func (*SnaplockRetentionOperationCreateParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock retention operation create params

func (*SnaplockRetentionOperationCreateParams) WithContext

WithContext adds the context to the snaplock retention operation create params

func (*SnaplockRetentionOperationCreateParams) WithDefaults

WithDefaults hydrates default values in the snaplock retention operation create params (not the query body).

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

func (*SnaplockRetentionOperationCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock retention operation create params

func (*SnaplockRetentionOperationCreateParams) WithInfo

WithInfo adds the info to the snaplock retention operation create params

func (*SnaplockRetentionOperationCreateParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snaplock retention operation create params

func (*SnaplockRetentionOperationCreateParams) WithTimeout

WithTimeout adds the timeout to the snaplock retention operation create params

func (*SnaplockRetentionOperationCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockRetentionOperationCreateReader

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

SnaplockRetentionOperationCreateReader is a Reader for the SnaplockRetentionOperationCreate structure.

func (*SnaplockRetentionOperationCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockRetentionOperationDeleteDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 14090541 | A completed or failed operation cannot be aborted | | 14090242 | Only a user with the security login role \"vsadmin-snaplock\" is allowed to perform this operation. |

func NewSnaplockRetentionOperationDeleteDefault

func NewSnaplockRetentionOperationDeleteDefault(code int) *SnaplockRetentionOperationDeleteDefault

NewSnaplockRetentionOperationDeleteDefault creates a SnaplockRetentionOperationDeleteDefault with default headers values

func (*SnaplockRetentionOperationDeleteDefault) Code

Code gets the status code for the snaplock retention operation delete default response

func (*SnaplockRetentionOperationDeleteDefault) Error

func (*SnaplockRetentionOperationDeleteDefault) GetPayload

func (*SnaplockRetentionOperationDeleteDefault) IsClientError

func (o *SnaplockRetentionOperationDeleteDefault) IsClientError() bool

IsClientError returns true when this snaplock retention operation delete default response has a 4xx status code

func (*SnaplockRetentionOperationDeleteDefault) IsCode

IsCode returns true when this snaplock retention operation delete default response a status code equal to that given

func (*SnaplockRetentionOperationDeleteDefault) IsRedirect

IsRedirect returns true when this snaplock retention operation delete default response has a 3xx status code

func (*SnaplockRetentionOperationDeleteDefault) IsServerError

func (o *SnaplockRetentionOperationDeleteDefault) IsServerError() bool

IsServerError returns true when this snaplock retention operation delete default response has a 5xx status code

func (*SnaplockRetentionOperationDeleteDefault) IsSuccess

IsSuccess returns true when this snaplock retention operation delete default response has a 2xx status code

func (*SnaplockRetentionOperationDeleteDefault) String

type SnaplockRetentionOperationDeleteOK

type SnaplockRetentionOperationDeleteOK struct {
}

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

OK

func NewSnaplockRetentionOperationDeleteOK

func NewSnaplockRetentionOperationDeleteOK() *SnaplockRetentionOperationDeleteOK

NewSnaplockRetentionOperationDeleteOK creates a SnaplockRetentionOperationDeleteOK with default headers values

func (*SnaplockRetentionOperationDeleteOK) Code

Code gets the status code for the snaplock retention operation delete o k response

func (*SnaplockRetentionOperationDeleteOK) Error

func (*SnaplockRetentionOperationDeleteOK) IsClientError

func (o *SnaplockRetentionOperationDeleteOK) IsClientError() bool

IsClientError returns true when this snaplock retention operation delete o k response has a 4xx status code

func (*SnaplockRetentionOperationDeleteOK) IsCode

IsCode returns true when this snaplock retention operation delete o k response a status code equal to that given

func (*SnaplockRetentionOperationDeleteOK) IsRedirect

func (o *SnaplockRetentionOperationDeleteOK) IsRedirect() bool

IsRedirect returns true when this snaplock retention operation delete o k response has a 3xx status code

func (*SnaplockRetentionOperationDeleteOK) IsServerError

func (o *SnaplockRetentionOperationDeleteOK) IsServerError() bool

IsServerError returns true when this snaplock retention operation delete o k response has a 5xx status code

func (*SnaplockRetentionOperationDeleteOK) IsSuccess

IsSuccess returns true when this snaplock retention operation delete o k response has a 2xx status code

func (*SnaplockRetentionOperationDeleteOK) String

type SnaplockRetentionOperationDeleteParams

type SnaplockRetentionOperationDeleteParams struct {

	/* ID.

	   Unique identifier of an EBR operation
	*/
	ID string

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

SnaplockRetentionOperationDeleteParams contains all the parameters to send to the API endpoint

for the snaplock retention operation delete operation.

Typically these are written to a http.Request.

func NewSnaplockRetentionOperationDeleteParams

func NewSnaplockRetentionOperationDeleteParams() *SnaplockRetentionOperationDeleteParams

NewSnaplockRetentionOperationDeleteParams creates a new SnaplockRetentionOperationDeleteParams 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 NewSnaplockRetentionOperationDeleteParamsWithContext

func NewSnaplockRetentionOperationDeleteParamsWithContext(ctx context.Context) *SnaplockRetentionOperationDeleteParams

NewSnaplockRetentionOperationDeleteParamsWithContext creates a new SnaplockRetentionOperationDeleteParams object with the ability to set a context for a request.

func NewSnaplockRetentionOperationDeleteParamsWithHTTPClient

func NewSnaplockRetentionOperationDeleteParamsWithHTTPClient(client *http.Client) *SnaplockRetentionOperationDeleteParams

NewSnaplockRetentionOperationDeleteParamsWithHTTPClient creates a new SnaplockRetentionOperationDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockRetentionOperationDeleteParamsWithTimeout

func NewSnaplockRetentionOperationDeleteParamsWithTimeout(timeout time.Duration) *SnaplockRetentionOperationDeleteParams

NewSnaplockRetentionOperationDeleteParamsWithTimeout creates a new SnaplockRetentionOperationDeleteParams object with the ability to set a timeout on a request.

func (*SnaplockRetentionOperationDeleteParams) SetContext

SetContext adds the context to the snaplock retention operation delete params

func (*SnaplockRetentionOperationDeleteParams) SetDefaults

func (o *SnaplockRetentionOperationDeleteParams) SetDefaults()

SetDefaults hydrates default values in the snaplock retention operation delete params (not the query body).

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

func (*SnaplockRetentionOperationDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock retention operation delete params

func (*SnaplockRetentionOperationDeleteParams) SetID

SetID adds the id to the snaplock retention operation delete params

func (*SnaplockRetentionOperationDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock retention operation delete params

func (*SnaplockRetentionOperationDeleteParams) WithContext

WithContext adds the context to the snaplock retention operation delete params

func (*SnaplockRetentionOperationDeleteParams) WithDefaults

WithDefaults hydrates default values in the snaplock retention operation delete params (not the query body).

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

func (*SnaplockRetentionOperationDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock retention operation delete params

func (*SnaplockRetentionOperationDeleteParams) WithID

WithID adds the id to the snaplock retention operation delete params

func (*SnaplockRetentionOperationDeleteParams) WithTimeout

WithTimeout adds the timeout to the snaplock retention operation delete params

func (*SnaplockRetentionOperationDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockRetentionOperationDeleteReader

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

SnaplockRetentionOperationDeleteReader is a Reader for the SnaplockRetentionOperationDelete structure.

func (*SnaplockRetentionOperationDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockRetentionOperationGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 14090242 | Only a user with the security login role \"vsadmin-snaplock\" is allowed to perform this operation. |

func NewSnaplockRetentionOperationGetDefault

func NewSnaplockRetentionOperationGetDefault(code int) *SnaplockRetentionOperationGetDefault

NewSnaplockRetentionOperationGetDefault creates a SnaplockRetentionOperationGetDefault with default headers values

func (*SnaplockRetentionOperationGetDefault) Code

Code gets the status code for the snaplock retention operation get default response

func (*SnaplockRetentionOperationGetDefault) Error

func (*SnaplockRetentionOperationGetDefault) GetPayload

func (*SnaplockRetentionOperationGetDefault) IsClientError

func (o *SnaplockRetentionOperationGetDefault) IsClientError() bool

IsClientError returns true when this snaplock retention operation get default response has a 4xx status code

func (*SnaplockRetentionOperationGetDefault) IsCode

IsCode returns true when this snaplock retention operation get default response a status code equal to that given

func (*SnaplockRetentionOperationGetDefault) IsRedirect

IsRedirect returns true when this snaplock retention operation get default response has a 3xx status code

func (*SnaplockRetentionOperationGetDefault) IsServerError

func (o *SnaplockRetentionOperationGetDefault) IsServerError() bool

IsServerError returns true when this snaplock retention operation get default response has a 5xx status code

func (*SnaplockRetentionOperationGetDefault) IsSuccess

IsSuccess returns true when this snaplock retention operation get default response has a 2xx status code

func (*SnaplockRetentionOperationGetDefault) String

type SnaplockRetentionOperationGetOK

type SnaplockRetentionOperationGetOK struct {
	Payload *models.EbrOperation
}

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

OK

func NewSnaplockRetentionOperationGetOK

func NewSnaplockRetentionOperationGetOK() *SnaplockRetentionOperationGetOK

NewSnaplockRetentionOperationGetOK creates a SnaplockRetentionOperationGetOK with default headers values

func (*SnaplockRetentionOperationGetOK) Code

Code gets the status code for the snaplock retention operation get o k response

func (*SnaplockRetentionOperationGetOK) Error

func (*SnaplockRetentionOperationGetOK) GetPayload

func (*SnaplockRetentionOperationGetOK) IsClientError

func (o *SnaplockRetentionOperationGetOK) IsClientError() bool

IsClientError returns true when this snaplock retention operation get o k response has a 4xx status code

func (*SnaplockRetentionOperationGetOK) IsCode

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

IsCode returns true when this snaplock retention operation get o k response a status code equal to that given

func (*SnaplockRetentionOperationGetOK) IsRedirect

func (o *SnaplockRetentionOperationGetOK) IsRedirect() bool

IsRedirect returns true when this snaplock retention operation get o k response has a 3xx status code

func (*SnaplockRetentionOperationGetOK) IsServerError

func (o *SnaplockRetentionOperationGetOK) IsServerError() bool

IsServerError returns true when this snaplock retention operation get o k response has a 5xx status code

func (*SnaplockRetentionOperationGetOK) IsSuccess

func (o *SnaplockRetentionOperationGetOK) IsSuccess() bool

IsSuccess returns true when this snaplock retention operation get o k response has a 2xx status code

func (*SnaplockRetentionOperationGetOK) String

type SnaplockRetentionOperationGetParams

type SnaplockRetentionOperationGetParams struct {

	/* Fields.

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

	/* ID.

	   Unique identifier of an EBR operation
	*/
	ID string

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

SnaplockRetentionOperationGetParams contains all the parameters to send to the API endpoint

for the snaplock retention operation get operation.

Typically these are written to a http.Request.

func NewSnaplockRetentionOperationGetParams

func NewSnaplockRetentionOperationGetParams() *SnaplockRetentionOperationGetParams

NewSnaplockRetentionOperationGetParams creates a new SnaplockRetentionOperationGetParams 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 NewSnaplockRetentionOperationGetParamsWithContext

func NewSnaplockRetentionOperationGetParamsWithContext(ctx context.Context) *SnaplockRetentionOperationGetParams

NewSnaplockRetentionOperationGetParamsWithContext creates a new SnaplockRetentionOperationGetParams object with the ability to set a context for a request.

func NewSnaplockRetentionOperationGetParamsWithHTTPClient

func NewSnaplockRetentionOperationGetParamsWithHTTPClient(client *http.Client) *SnaplockRetentionOperationGetParams

NewSnaplockRetentionOperationGetParamsWithHTTPClient creates a new SnaplockRetentionOperationGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockRetentionOperationGetParamsWithTimeout

func NewSnaplockRetentionOperationGetParamsWithTimeout(timeout time.Duration) *SnaplockRetentionOperationGetParams

NewSnaplockRetentionOperationGetParamsWithTimeout creates a new SnaplockRetentionOperationGetParams object with the ability to set a timeout on a request.

func (*SnaplockRetentionOperationGetParams) SetContext

SetContext adds the context to the snaplock retention operation get params

func (*SnaplockRetentionOperationGetParams) SetDefaults

func (o *SnaplockRetentionOperationGetParams) SetDefaults()

SetDefaults hydrates default values in the snaplock retention operation get params (not the query body).

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

func (*SnaplockRetentionOperationGetParams) SetFields

func (o *SnaplockRetentionOperationGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock retention operation get params

func (*SnaplockRetentionOperationGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock retention operation get params

func (*SnaplockRetentionOperationGetParams) SetID

SetID adds the id to the snaplock retention operation get params

func (*SnaplockRetentionOperationGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock retention operation get params

func (*SnaplockRetentionOperationGetParams) WithContext

WithContext adds the context to the snaplock retention operation get params

func (*SnaplockRetentionOperationGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock retention operation get params (not the query body).

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

func (*SnaplockRetentionOperationGetParams) WithFields

WithFields adds the fields to the snaplock retention operation get params

func (*SnaplockRetentionOperationGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock retention operation get params

func (*SnaplockRetentionOperationGetParams) WithID

WithID adds the id to the snaplock retention operation get params

func (*SnaplockRetentionOperationGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock retention operation get params

func (*SnaplockRetentionOperationGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockRetentionOperationGetReader

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

SnaplockRetentionOperationGetReader is a Reader for the SnaplockRetentionOperationGet structure.

func (*SnaplockRetentionOperationGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockRetentionPolicyCollectionGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 918253 | Incorrect format for the retention period, duration must be in the ISO-8601 format or infinite or unspecified. | | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. |

func NewSnaplockRetentionPolicyCollectionGetDefault

func NewSnaplockRetentionPolicyCollectionGetDefault(code int) *SnaplockRetentionPolicyCollectionGetDefault

NewSnaplockRetentionPolicyCollectionGetDefault creates a SnaplockRetentionPolicyCollectionGetDefault with default headers values

func (*SnaplockRetentionPolicyCollectionGetDefault) Code

Code gets the status code for the snaplock retention policy collection get default response

func (*SnaplockRetentionPolicyCollectionGetDefault) Error

func (*SnaplockRetentionPolicyCollectionGetDefault) GetPayload

func (*SnaplockRetentionPolicyCollectionGetDefault) IsClientError

IsClientError returns true when this snaplock retention policy collection get default response has a 4xx status code

func (*SnaplockRetentionPolicyCollectionGetDefault) IsCode

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

func (*SnaplockRetentionPolicyCollectionGetDefault) IsRedirect

IsRedirect returns true when this snaplock retention policy collection get default response has a 3xx status code

func (*SnaplockRetentionPolicyCollectionGetDefault) IsServerError

IsServerError returns true when this snaplock retention policy collection get default response has a 5xx status code

func (*SnaplockRetentionPolicyCollectionGetDefault) IsSuccess

IsSuccess returns true when this snaplock retention policy collection get default response has a 2xx status code

func (*SnaplockRetentionPolicyCollectionGetDefault) String

type SnaplockRetentionPolicyCollectionGetOK

type SnaplockRetentionPolicyCollectionGetOK struct {
	Payload *models.SnaplockRetentionPolicyResponse
}

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

OK

func NewSnaplockRetentionPolicyCollectionGetOK

func NewSnaplockRetentionPolicyCollectionGetOK() *SnaplockRetentionPolicyCollectionGetOK

NewSnaplockRetentionPolicyCollectionGetOK creates a SnaplockRetentionPolicyCollectionGetOK with default headers values

func (*SnaplockRetentionPolicyCollectionGetOK) Code

Code gets the status code for the snaplock retention policy collection get o k response

func (*SnaplockRetentionPolicyCollectionGetOK) Error

func (*SnaplockRetentionPolicyCollectionGetOK) GetPayload

func (*SnaplockRetentionPolicyCollectionGetOK) IsClientError

func (o *SnaplockRetentionPolicyCollectionGetOK) IsClientError() bool

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

func (*SnaplockRetentionPolicyCollectionGetOK) IsCode

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

func (*SnaplockRetentionPolicyCollectionGetOK) IsRedirect

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

func (*SnaplockRetentionPolicyCollectionGetOK) IsServerError

func (o *SnaplockRetentionPolicyCollectionGetOK) IsServerError() bool

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

func (*SnaplockRetentionPolicyCollectionGetOK) IsSuccess

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

func (*SnaplockRetentionPolicyCollectionGetOK) String

type SnaplockRetentionPolicyCollectionGetParams

type SnaplockRetentionPolicyCollectionGetParams struct {

	/* Fields.

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

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecords *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
	*/
	ReturnTimeout *int64

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

SnaplockRetentionPolicyCollectionGetParams contains all the parameters to send to the API endpoint

for the snaplock retention policy collection get operation.

Typically these are written to a http.Request.

func NewSnaplockRetentionPolicyCollectionGetParams

func NewSnaplockRetentionPolicyCollectionGetParams() *SnaplockRetentionPolicyCollectionGetParams

NewSnaplockRetentionPolicyCollectionGetParams creates a new SnaplockRetentionPolicyCollectionGetParams 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 NewSnaplockRetentionPolicyCollectionGetParamsWithContext

func NewSnaplockRetentionPolicyCollectionGetParamsWithContext(ctx context.Context) *SnaplockRetentionPolicyCollectionGetParams

NewSnaplockRetentionPolicyCollectionGetParamsWithContext creates a new SnaplockRetentionPolicyCollectionGetParams object with the ability to set a context for a request.

func NewSnaplockRetentionPolicyCollectionGetParamsWithHTTPClient

func NewSnaplockRetentionPolicyCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockRetentionPolicyCollectionGetParams

NewSnaplockRetentionPolicyCollectionGetParamsWithHTTPClient creates a new SnaplockRetentionPolicyCollectionGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockRetentionPolicyCollectionGetParamsWithTimeout

func NewSnaplockRetentionPolicyCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockRetentionPolicyCollectionGetParams

NewSnaplockRetentionPolicyCollectionGetParamsWithTimeout creates a new SnaplockRetentionPolicyCollectionGetParams object with the ability to set a timeout on a request.

func (*SnaplockRetentionPolicyCollectionGetParams) SetContext

SetContext adds the context to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) SetDefaults

SetDefaults hydrates default values in the snaplock retention policy collection get params (not the query body).

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

func (*SnaplockRetentionPolicyCollectionGetParams) SetFields

func (o *SnaplockRetentionPolicyCollectionGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) SetMaxRecords

func (o *SnaplockRetentionPolicyCollectionGetParams) SetMaxRecords(maxRecords *int64)

SetMaxRecords adds the maxRecords to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) SetOrderBy

func (o *SnaplockRetentionPolicyCollectionGetParams) SetOrderBy(orderBy []string)

SetOrderBy adds the orderBy to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) SetReturnRecords

func (o *SnaplockRetentionPolicyCollectionGetParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) SetReturnTimeout

func (o *SnaplockRetentionPolicyCollectionGetParams) SetReturnTimeout(returnTimeout *int64)

SetReturnTimeout adds the returnTimeout to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) SetTimeout

SetTimeout adds the timeout to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithContext

WithContext adds the context to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithDefaults

WithDefaults hydrates default values in the snaplock retention policy collection get params (not the query body).

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

func (*SnaplockRetentionPolicyCollectionGetParams) WithFields

WithFields adds the fields to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithMaxRecords

WithMaxRecords adds the maxRecords to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithOrderBy

WithOrderBy adds the orderBy to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithReturnTimeout

WithReturnTimeout adds the returnTimeout to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockRetentionPolicyCollectionGetReader

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

SnaplockRetentionPolicyCollectionGetReader is a Reader for the SnaplockRetentionPolicyCollectionGet structure.

func (*SnaplockRetentionPolicyCollectionGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockRetentionPolicyCreateCreated

type SnaplockRetentionPolicyCreateCreated struct {

	/* Useful for tracking the resource location
	 */
	Location string

	Payload *models.SnaplockRetentionPolicy
}

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

Created

func NewSnaplockRetentionPolicyCreateCreated

func NewSnaplockRetentionPolicyCreateCreated() *SnaplockRetentionPolicyCreateCreated

NewSnaplockRetentionPolicyCreateCreated creates a SnaplockRetentionPolicyCreateCreated with default headers values

func (*SnaplockRetentionPolicyCreateCreated) Code

Code gets the status code for the snaplock retention policy create created response

func (*SnaplockRetentionPolicyCreateCreated) Error

func (*SnaplockRetentionPolicyCreateCreated) GetPayload

func (*SnaplockRetentionPolicyCreateCreated) IsClientError

func (o *SnaplockRetentionPolicyCreateCreated) IsClientError() bool

IsClientError returns true when this snaplock retention policy create created response has a 4xx status code

func (*SnaplockRetentionPolicyCreateCreated) IsCode

IsCode returns true when this snaplock retention policy create created response a status code equal to that given

func (*SnaplockRetentionPolicyCreateCreated) IsRedirect

IsRedirect returns true when this snaplock retention policy create created response has a 3xx status code

func (*SnaplockRetentionPolicyCreateCreated) IsServerError

func (o *SnaplockRetentionPolicyCreateCreated) IsServerError() bool

IsServerError returns true when this snaplock retention policy create created response has a 5xx status code

func (*SnaplockRetentionPolicyCreateCreated) IsSuccess

IsSuccess returns true when this snaplock retention policy create created response has a 2xx status code

func (*SnaplockRetentionPolicyCreateCreated) String

type SnaplockRetentionPolicyCreateDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 918253 | Incorrect format for the retention period, duration must be in the ISO-8601 format or infinite or unspecified. | | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. | | 13763402 | Policy name already exists. |

func NewSnaplockRetentionPolicyCreateDefault

func NewSnaplockRetentionPolicyCreateDefault(code int) *SnaplockRetentionPolicyCreateDefault

NewSnaplockRetentionPolicyCreateDefault creates a SnaplockRetentionPolicyCreateDefault with default headers values

func (*SnaplockRetentionPolicyCreateDefault) Code

Code gets the status code for the snaplock retention policy create default response

func (*SnaplockRetentionPolicyCreateDefault) Error

func (*SnaplockRetentionPolicyCreateDefault) GetPayload

func (*SnaplockRetentionPolicyCreateDefault) IsClientError

func (o *SnaplockRetentionPolicyCreateDefault) IsClientError() bool

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

func (*SnaplockRetentionPolicyCreateDefault) IsCode

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

func (*SnaplockRetentionPolicyCreateDefault) IsRedirect

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

func (*SnaplockRetentionPolicyCreateDefault) IsServerError

func (o *SnaplockRetentionPolicyCreateDefault) IsServerError() bool

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

func (*SnaplockRetentionPolicyCreateDefault) IsSuccess

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

func (*SnaplockRetentionPolicyCreateDefault) String

type SnaplockRetentionPolicyCreateParams

type SnaplockRetentionPolicyCreateParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.SnaplockRetentionPolicy

	/* ReturnRecords.

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

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

SnaplockRetentionPolicyCreateParams contains all the parameters to send to the API endpoint

for the snaplock retention policy create operation.

Typically these are written to a http.Request.

func NewSnaplockRetentionPolicyCreateParams

func NewSnaplockRetentionPolicyCreateParams() *SnaplockRetentionPolicyCreateParams

NewSnaplockRetentionPolicyCreateParams creates a new SnaplockRetentionPolicyCreateParams 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 NewSnaplockRetentionPolicyCreateParamsWithContext

func NewSnaplockRetentionPolicyCreateParamsWithContext(ctx context.Context) *SnaplockRetentionPolicyCreateParams

NewSnaplockRetentionPolicyCreateParamsWithContext creates a new SnaplockRetentionPolicyCreateParams object with the ability to set a context for a request.

func NewSnaplockRetentionPolicyCreateParamsWithHTTPClient

func NewSnaplockRetentionPolicyCreateParamsWithHTTPClient(client *http.Client) *SnaplockRetentionPolicyCreateParams

NewSnaplockRetentionPolicyCreateParamsWithHTTPClient creates a new SnaplockRetentionPolicyCreateParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockRetentionPolicyCreateParamsWithTimeout

func NewSnaplockRetentionPolicyCreateParamsWithTimeout(timeout time.Duration) *SnaplockRetentionPolicyCreateParams

NewSnaplockRetentionPolicyCreateParamsWithTimeout creates a new SnaplockRetentionPolicyCreateParams object with the ability to set a timeout on a request.

func (*SnaplockRetentionPolicyCreateParams) SetContext

SetContext adds the context to the snaplock retention policy create params

func (*SnaplockRetentionPolicyCreateParams) SetDefaults

func (o *SnaplockRetentionPolicyCreateParams) SetDefaults()

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

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

func (*SnaplockRetentionPolicyCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock retention policy create params

func (*SnaplockRetentionPolicyCreateParams) SetInfo

SetInfo adds the info to the snaplock retention policy create params

func (*SnaplockRetentionPolicyCreateParams) SetReturnRecords

func (o *SnaplockRetentionPolicyCreateParams) SetReturnRecords(returnRecords *bool)

SetReturnRecords adds the returnRecords to the snaplock retention policy create params

func (*SnaplockRetentionPolicyCreateParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock retention policy create params

func (*SnaplockRetentionPolicyCreateParams) WithContext

WithContext adds the context to the snaplock retention policy create params

func (*SnaplockRetentionPolicyCreateParams) WithDefaults

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

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

func (*SnaplockRetentionPolicyCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock retention policy create params

func (*SnaplockRetentionPolicyCreateParams) WithInfo

WithInfo adds the info to the snaplock retention policy create params

func (*SnaplockRetentionPolicyCreateParams) WithReturnRecords

WithReturnRecords adds the returnRecords to the snaplock retention policy create params

func (*SnaplockRetentionPolicyCreateParams) WithTimeout

WithTimeout adds the timeout to the snaplock retention policy create params

func (*SnaplockRetentionPolicyCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockRetentionPolicyCreateReader

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

SnaplockRetentionPolicyCreateReader is a Reader for the SnaplockRetentionPolicyCreate structure.

func (*SnaplockRetentionPolicyCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockRetentionPolicyDeleteDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. |

func NewSnaplockRetentionPolicyDeleteDefault

func NewSnaplockRetentionPolicyDeleteDefault(code int) *SnaplockRetentionPolicyDeleteDefault

NewSnaplockRetentionPolicyDeleteDefault creates a SnaplockRetentionPolicyDeleteDefault with default headers values

func (*SnaplockRetentionPolicyDeleteDefault) Code

Code gets the status code for the snaplock retention policy delete default response

func (*SnaplockRetentionPolicyDeleteDefault) Error

func (*SnaplockRetentionPolicyDeleteDefault) GetPayload

func (*SnaplockRetentionPolicyDeleteDefault) IsClientError

func (o *SnaplockRetentionPolicyDeleteDefault) IsClientError() bool

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

func (*SnaplockRetentionPolicyDeleteDefault) IsCode

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

func (*SnaplockRetentionPolicyDeleteDefault) IsRedirect

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

func (*SnaplockRetentionPolicyDeleteDefault) IsServerError

func (o *SnaplockRetentionPolicyDeleteDefault) IsServerError() bool

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

func (*SnaplockRetentionPolicyDeleteDefault) IsSuccess

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

func (*SnaplockRetentionPolicyDeleteDefault) String

type SnaplockRetentionPolicyDeleteOK

type SnaplockRetentionPolicyDeleteOK struct {
}

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

OK

func NewSnaplockRetentionPolicyDeleteOK

func NewSnaplockRetentionPolicyDeleteOK() *SnaplockRetentionPolicyDeleteOK

NewSnaplockRetentionPolicyDeleteOK creates a SnaplockRetentionPolicyDeleteOK with default headers values

func (*SnaplockRetentionPolicyDeleteOK) Code

Code gets the status code for the snaplock retention policy delete o k response

func (*SnaplockRetentionPolicyDeleteOK) Error

func (*SnaplockRetentionPolicyDeleteOK) IsClientError

func (o *SnaplockRetentionPolicyDeleteOK) IsClientError() bool

IsClientError returns true when this snaplock retention policy delete o k response has a 4xx status code

func (*SnaplockRetentionPolicyDeleteOK) IsCode

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

IsCode returns true when this snaplock retention policy delete o k response a status code equal to that given

func (*SnaplockRetentionPolicyDeleteOK) IsRedirect

func (o *SnaplockRetentionPolicyDeleteOK) IsRedirect() bool

IsRedirect returns true when this snaplock retention policy delete o k response has a 3xx status code

func (*SnaplockRetentionPolicyDeleteOK) IsServerError

func (o *SnaplockRetentionPolicyDeleteOK) IsServerError() bool

IsServerError returns true when this snaplock retention policy delete o k response has a 5xx status code

func (*SnaplockRetentionPolicyDeleteOK) IsSuccess

func (o *SnaplockRetentionPolicyDeleteOK) IsSuccess() bool

IsSuccess returns true when this snaplock retention policy delete o k response has a 2xx status code

func (*SnaplockRetentionPolicyDeleteOK) String

type SnaplockRetentionPolicyDeleteParams

type SnaplockRetentionPolicyDeleteParams struct {

	/* PolicyName.

	   Name of the retention policy
	*/
	PolicyName string

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

SnaplockRetentionPolicyDeleteParams contains all the parameters to send to the API endpoint

for the snaplock retention policy delete operation.

Typically these are written to a http.Request.

func NewSnaplockRetentionPolicyDeleteParams

func NewSnaplockRetentionPolicyDeleteParams() *SnaplockRetentionPolicyDeleteParams

NewSnaplockRetentionPolicyDeleteParams creates a new SnaplockRetentionPolicyDeleteParams 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 NewSnaplockRetentionPolicyDeleteParamsWithContext

func NewSnaplockRetentionPolicyDeleteParamsWithContext(ctx context.Context) *SnaplockRetentionPolicyDeleteParams

NewSnaplockRetentionPolicyDeleteParamsWithContext creates a new SnaplockRetentionPolicyDeleteParams object with the ability to set a context for a request.

func NewSnaplockRetentionPolicyDeleteParamsWithHTTPClient

func NewSnaplockRetentionPolicyDeleteParamsWithHTTPClient(client *http.Client) *SnaplockRetentionPolicyDeleteParams

NewSnaplockRetentionPolicyDeleteParamsWithHTTPClient creates a new SnaplockRetentionPolicyDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockRetentionPolicyDeleteParamsWithTimeout

func NewSnaplockRetentionPolicyDeleteParamsWithTimeout(timeout time.Duration) *SnaplockRetentionPolicyDeleteParams

NewSnaplockRetentionPolicyDeleteParamsWithTimeout creates a new SnaplockRetentionPolicyDeleteParams object with the ability to set a timeout on a request.

func (*SnaplockRetentionPolicyDeleteParams) SetContext

SetContext adds the context to the snaplock retention policy delete params

func (*SnaplockRetentionPolicyDeleteParams) SetDefaults

func (o *SnaplockRetentionPolicyDeleteParams) SetDefaults()

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

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

func (*SnaplockRetentionPolicyDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock retention policy delete params

func (*SnaplockRetentionPolicyDeleteParams) SetPolicyName

func (o *SnaplockRetentionPolicyDeleteParams) SetPolicyName(policyName string)

SetPolicyName adds the policyName to the snaplock retention policy delete params

func (*SnaplockRetentionPolicyDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock retention policy delete params

func (*SnaplockRetentionPolicyDeleteParams) WithContext

WithContext adds the context to the snaplock retention policy delete params

func (*SnaplockRetentionPolicyDeleteParams) WithDefaults

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

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

func (*SnaplockRetentionPolicyDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock retention policy delete params

func (*SnaplockRetentionPolicyDeleteParams) WithPolicyName

WithPolicyName adds the policyName to the snaplock retention policy delete params

func (*SnaplockRetentionPolicyDeleteParams) WithTimeout

WithTimeout adds the timeout to the snaplock retention policy delete params

func (*SnaplockRetentionPolicyDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockRetentionPolicyDeleteReader

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

SnaplockRetentionPolicyDeleteReader is a Reader for the SnaplockRetentionPolicyDelete structure.

func (*SnaplockRetentionPolicyDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockRetentionPolicyGetDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. |

func NewSnaplockRetentionPolicyGetDefault

func NewSnaplockRetentionPolicyGetDefault(code int) *SnaplockRetentionPolicyGetDefault

NewSnaplockRetentionPolicyGetDefault creates a SnaplockRetentionPolicyGetDefault with default headers values

func (*SnaplockRetentionPolicyGetDefault) Code

Code gets the status code for the snaplock retention policy get default response

func (*SnaplockRetentionPolicyGetDefault) Error

func (*SnaplockRetentionPolicyGetDefault) GetPayload

func (*SnaplockRetentionPolicyGetDefault) IsClientError

func (o *SnaplockRetentionPolicyGetDefault) IsClientError() bool

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

func (*SnaplockRetentionPolicyGetDefault) IsCode

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

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

func (*SnaplockRetentionPolicyGetDefault) IsRedirect

func (o *SnaplockRetentionPolicyGetDefault) IsRedirect() bool

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

func (*SnaplockRetentionPolicyGetDefault) IsServerError

func (o *SnaplockRetentionPolicyGetDefault) IsServerError() bool

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

func (*SnaplockRetentionPolicyGetDefault) IsSuccess

func (o *SnaplockRetentionPolicyGetDefault) IsSuccess() bool

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

func (*SnaplockRetentionPolicyGetDefault) String

type SnaplockRetentionPolicyGetOK

type SnaplockRetentionPolicyGetOK struct {
	Payload *models.SnaplockRetentionPolicy
}

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

OK

func NewSnaplockRetentionPolicyGetOK

func NewSnaplockRetentionPolicyGetOK() *SnaplockRetentionPolicyGetOK

NewSnaplockRetentionPolicyGetOK creates a SnaplockRetentionPolicyGetOK with default headers values

func (*SnaplockRetentionPolicyGetOK) Code

Code gets the status code for the snaplock retention policy get o k response

func (*SnaplockRetentionPolicyGetOK) Error

func (*SnaplockRetentionPolicyGetOK) GetPayload

func (*SnaplockRetentionPolicyGetOK) IsClientError

func (o *SnaplockRetentionPolicyGetOK) IsClientError() bool

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

func (*SnaplockRetentionPolicyGetOK) IsCode

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

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

func (*SnaplockRetentionPolicyGetOK) IsRedirect

func (o *SnaplockRetentionPolicyGetOK) IsRedirect() bool

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

func (*SnaplockRetentionPolicyGetOK) IsServerError

func (o *SnaplockRetentionPolicyGetOK) IsServerError() bool

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

func (*SnaplockRetentionPolicyGetOK) IsSuccess

func (o *SnaplockRetentionPolicyGetOK) IsSuccess() bool

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

func (*SnaplockRetentionPolicyGetOK) String

type SnaplockRetentionPolicyGetParams

type SnaplockRetentionPolicyGetParams struct {

	/* Fields.

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

	/* PolicyName.

	   Name of the retention policy
	*/
	PolicyName string

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

SnaplockRetentionPolicyGetParams contains all the parameters to send to the API endpoint

for the snaplock retention policy get operation.

Typically these are written to a http.Request.

func NewSnaplockRetentionPolicyGetParams

func NewSnaplockRetentionPolicyGetParams() *SnaplockRetentionPolicyGetParams

NewSnaplockRetentionPolicyGetParams creates a new SnaplockRetentionPolicyGetParams 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 NewSnaplockRetentionPolicyGetParamsWithContext

func NewSnaplockRetentionPolicyGetParamsWithContext(ctx context.Context) *SnaplockRetentionPolicyGetParams

NewSnaplockRetentionPolicyGetParamsWithContext creates a new SnaplockRetentionPolicyGetParams object with the ability to set a context for a request.

func NewSnaplockRetentionPolicyGetParamsWithHTTPClient

func NewSnaplockRetentionPolicyGetParamsWithHTTPClient(client *http.Client) *SnaplockRetentionPolicyGetParams

NewSnaplockRetentionPolicyGetParamsWithHTTPClient creates a new SnaplockRetentionPolicyGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockRetentionPolicyGetParamsWithTimeout

func NewSnaplockRetentionPolicyGetParamsWithTimeout(timeout time.Duration) *SnaplockRetentionPolicyGetParams

NewSnaplockRetentionPolicyGetParamsWithTimeout creates a new SnaplockRetentionPolicyGetParams object with the ability to set a timeout on a request.

func (*SnaplockRetentionPolicyGetParams) SetContext

SetContext adds the context to the snaplock retention policy get params

func (*SnaplockRetentionPolicyGetParams) SetDefaults

func (o *SnaplockRetentionPolicyGetParams) SetDefaults()

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

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

func (*SnaplockRetentionPolicyGetParams) SetFields

func (o *SnaplockRetentionPolicyGetParams) SetFields(fields []string)

SetFields adds the fields to the snaplock retention policy get params

func (*SnaplockRetentionPolicyGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock retention policy get params

func (*SnaplockRetentionPolicyGetParams) SetPolicyName

func (o *SnaplockRetentionPolicyGetParams) SetPolicyName(policyName string)

SetPolicyName adds the policyName to the snaplock retention policy get params

func (*SnaplockRetentionPolicyGetParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock retention policy get params

func (*SnaplockRetentionPolicyGetParams) WithContext

WithContext adds the context to the snaplock retention policy get params

func (*SnaplockRetentionPolicyGetParams) WithDefaults

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

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

func (*SnaplockRetentionPolicyGetParams) WithFields

WithFields adds the fields to the snaplock retention policy get params

func (*SnaplockRetentionPolicyGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock retention policy get params

func (*SnaplockRetentionPolicyGetParams) WithPolicyName

WithPolicyName adds the policyName to the snaplock retention policy get params

func (*SnaplockRetentionPolicyGetParams) WithTimeout

WithTimeout adds the timeout to the snaplock retention policy get params

func (*SnaplockRetentionPolicyGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockRetentionPolicyGetReader

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

SnaplockRetentionPolicyGetReader is a Reader for the SnaplockRetentionPolicyGet structure.

func (*SnaplockRetentionPolicyGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SnaplockRetentionPolicyModifyDefault

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

ONTAP Error Response codes

| Error code | Description | |-------------|--------------| | 918253 | Incorrect format for the retention period, duration must be in the ISO-8601 format or infinite or unspecified. | | 13763280 | Only a user with security login role \"vsadmin-snaplock\" is allowed to perform this operation. |

func NewSnaplockRetentionPolicyModifyDefault

func NewSnaplockRetentionPolicyModifyDefault(code int) *SnaplockRetentionPolicyModifyDefault

NewSnaplockRetentionPolicyModifyDefault creates a SnaplockRetentionPolicyModifyDefault with default headers values

func (*SnaplockRetentionPolicyModifyDefault) Code

Code gets the status code for the snaplock retention policy modify default response

func (*SnaplockRetentionPolicyModifyDefault) Error

func (*SnaplockRetentionPolicyModifyDefault) GetPayload

func (*SnaplockRetentionPolicyModifyDefault) IsClientError

func (o *SnaplockRetentionPolicyModifyDefault) IsClientError() bool

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

func (*SnaplockRetentionPolicyModifyDefault) IsCode

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

func (*SnaplockRetentionPolicyModifyDefault) IsRedirect

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

func (*SnaplockRetentionPolicyModifyDefault) IsServerError

func (o *SnaplockRetentionPolicyModifyDefault) IsServerError() bool

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

func (*SnaplockRetentionPolicyModifyDefault) IsSuccess

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

func (*SnaplockRetentionPolicyModifyDefault) String

type SnaplockRetentionPolicyModifyOK

type SnaplockRetentionPolicyModifyOK struct {
}

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

OK

func NewSnaplockRetentionPolicyModifyOK

func NewSnaplockRetentionPolicyModifyOK() *SnaplockRetentionPolicyModifyOK

NewSnaplockRetentionPolicyModifyOK creates a SnaplockRetentionPolicyModifyOK with default headers values

func (*SnaplockRetentionPolicyModifyOK) Code

Code gets the status code for the snaplock retention policy modify o k response

func (*SnaplockRetentionPolicyModifyOK) Error

func (*SnaplockRetentionPolicyModifyOK) IsClientError

func (o *SnaplockRetentionPolicyModifyOK) IsClientError() bool

IsClientError returns true when this snaplock retention policy modify o k response has a 4xx status code

func (*SnaplockRetentionPolicyModifyOK) IsCode

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

IsCode returns true when this snaplock retention policy modify o k response a status code equal to that given

func (*SnaplockRetentionPolicyModifyOK) IsRedirect

func (o *SnaplockRetentionPolicyModifyOK) IsRedirect() bool

IsRedirect returns true when this snaplock retention policy modify o k response has a 3xx status code

func (*SnaplockRetentionPolicyModifyOK) IsServerError

func (o *SnaplockRetentionPolicyModifyOK) IsServerError() bool

IsServerError returns true when this snaplock retention policy modify o k response has a 5xx status code

func (*SnaplockRetentionPolicyModifyOK) IsSuccess

func (o *SnaplockRetentionPolicyModifyOK) IsSuccess() bool

IsSuccess returns true when this snaplock retention policy modify o k response has a 2xx status code

func (*SnaplockRetentionPolicyModifyOK) String

type SnaplockRetentionPolicyModifyParams

type SnaplockRetentionPolicyModifyParams struct {

	/* Info.

	   Info specification
	*/
	Info *models.SnaplockRetentionPolicy

	/* PolicyName.

	   Name of the retention policy
	*/
	PolicyName string

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

SnaplockRetentionPolicyModifyParams contains all the parameters to send to the API endpoint

for the snaplock retention policy modify operation.

Typically these are written to a http.Request.

func NewSnaplockRetentionPolicyModifyParams

func NewSnaplockRetentionPolicyModifyParams() *SnaplockRetentionPolicyModifyParams

NewSnaplockRetentionPolicyModifyParams creates a new SnaplockRetentionPolicyModifyParams 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 NewSnaplockRetentionPolicyModifyParamsWithContext

func NewSnaplockRetentionPolicyModifyParamsWithContext(ctx context.Context) *SnaplockRetentionPolicyModifyParams

NewSnaplockRetentionPolicyModifyParamsWithContext creates a new SnaplockRetentionPolicyModifyParams object with the ability to set a context for a request.

func NewSnaplockRetentionPolicyModifyParamsWithHTTPClient

func NewSnaplockRetentionPolicyModifyParamsWithHTTPClient(client *http.Client) *SnaplockRetentionPolicyModifyParams

NewSnaplockRetentionPolicyModifyParamsWithHTTPClient creates a new SnaplockRetentionPolicyModifyParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockRetentionPolicyModifyParamsWithTimeout

func NewSnaplockRetentionPolicyModifyParamsWithTimeout(timeout time.Duration) *SnaplockRetentionPolicyModifyParams

NewSnaplockRetentionPolicyModifyParamsWithTimeout creates a new SnaplockRetentionPolicyModifyParams object with the ability to set a timeout on a request.

func (*SnaplockRetentionPolicyModifyParams) SetContext

SetContext adds the context to the snaplock retention policy modify params

func (*SnaplockRetentionPolicyModifyParams) SetDefaults

func (o *SnaplockRetentionPolicyModifyParams) SetDefaults()

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

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

func (*SnaplockRetentionPolicyModifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the snaplock retention policy modify params

func (*SnaplockRetentionPolicyModifyParams) SetInfo

SetInfo adds the info to the snaplock retention policy modify params

func (*SnaplockRetentionPolicyModifyParams) SetPolicyName

func (o *SnaplockRetentionPolicyModifyParams) SetPolicyName(policyName string)

SetPolicyName adds the policyName to the snaplock retention policy modify params

func (*SnaplockRetentionPolicyModifyParams) SetTimeout

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

SetTimeout adds the timeout to the snaplock retention policy modify params

func (*SnaplockRetentionPolicyModifyParams) WithContext

WithContext adds the context to the snaplock retention policy modify params

func (*SnaplockRetentionPolicyModifyParams) WithDefaults

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

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

func (*SnaplockRetentionPolicyModifyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the snaplock retention policy modify params

func (*SnaplockRetentionPolicyModifyParams) WithInfo

WithInfo adds the info to the snaplock retention policy modify params

func (*SnaplockRetentionPolicyModifyParams) WithPolicyName

WithPolicyName adds the policyName to the snaplock retention policy modify params

func (*SnaplockRetentionPolicyModifyParams) WithTimeout

WithTimeout adds the timeout to the snaplock retention policy modify params

func (*SnaplockRetentionPolicyModifyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockRetentionPolicyModifyReader

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

SnaplockRetentionPolicyModifyReader is a Reader for the SnaplockRetentionPolicyModify structure.

func (*SnaplockRetentionPolicyModifyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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