snaplock

package
v1.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for snaplock 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 parameter "expiry_time" expects the date in ISO 8601 format, "infinite", or "unspecified".

### 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` - _md5_ ### 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 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) SnaplockLegalHoldOperationGet

func (a *Client) SnaplockLegalHoldOperationGet(params *SnaplockLegalHoldOperationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldOperationGetOK, error)
SnaplockLegalHoldOperationGet 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) 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

func (a *Client) SnaplockLogCreate(params *SnaplockLogCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLogCreateAccepted, error)
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 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

func (a *Client) SnaplockLogDelete(params *SnaplockLogDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLogDeleteAccepted, error)
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

func (a *Client) SnaplockLogModify(params *SnaplockLogModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLogModifyAccepted, error)
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 Creates an EBR policy.

### Required properties * `path` - Path of the file. * `policy.name` - Name of the EBR policy. ### 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` ### 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/" '{"name": "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 is the option for Client methods

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) (*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) (*SnaplockFingerprintOperationCreateAccepted, 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)

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

	SnaplockLegalHoldOperationGet(params *SnaplockLegalHoldOperationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockLegalHoldOperationGetOK, error)

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

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

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

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

	SnaplockLogModify(params *SnaplockLogModifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 snaplock API client.

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) 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.
	*/
	FieldsQueryParameter []string

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

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

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetMaxRecordsQueryParameter

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

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

func (*SnaplockComplianceClockCollectionGetParams) SetOrderByQueryParameter

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

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

func (*SnaplockComplianceClockCollectionGetParams) SetReturnRecordsQueryParameter

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

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

func (*SnaplockComplianceClockCollectionGetParams) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter 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) WithFieldsQueryParameter

WithFieldsQueryParameter 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) WithMaxRecordsQueryParameter

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

func (*SnaplockComplianceClockCollectionGetParams) WithOrderByQueryParameter

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

func (*SnaplockComplianceClockCollectionGetParams) WithReturnRecordsQueryParameter

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

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

func (*SnaplockComplianceClockCollectionGetParams) WithReturnTimeoutQueryParameter

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

WithReturnTimeoutQueryParameter 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 {
	Payload *models.SnaplockComplianceClock
}

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) Error

func (*SnaplockComplianceClockCreateCreated) GetPayload

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.

Error

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.
	*/
	ReturnRecordsQueryParameter *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) SetReturnRecordsQueryParameter

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

SetReturnRecordsQueryParameter 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) WithReturnRecordsQueryParameter

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

WithReturnRecordsQueryParameter 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.

Error

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) 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.
	*/
	FieldsQueryParameter []string

	/* NodeUUID.

	   Node UUID
	*/
	NodeUUIDPathParameter 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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetNodeUUIDPathParameter

func (o *SnaplockComplianceClockGetParams) SetNodeUUIDPathParameter(nodeUUID string)

SetNodeUUIDPathParameter 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) WithFieldsQueryParameter

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

WithFieldsQueryParameter 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) WithNodeUUIDPathParameter

func (o *SnaplockComplianceClockGetParams) WithNodeUUIDPathParameter(nodeUUID string) *SnaplockComplianceClockGetParams

WithNodeUUIDPathParameter 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) 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 | |-------------|--------------| | 14090347 | File path must be in the format \"/<dir>/<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 SnaplockFilePrivilegedDeleteParams

type SnaplockFilePrivilegedDeleteParams struct {

	/* Path.

	   Path of the file in the form "/\<dirpath\>/\<filename\>"
	*/
	PathPathParameter 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.
	*/
	ReturnTimeoutQueryParameter *int64

	/* VolumeUUID.

	   Volume UUID
	*/
	VolumeUUIDPathParameter 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) SetPathPathParameter

func (o *SnaplockFilePrivilegedDeleteParams) SetPathPathParameter(path string)

SetPathPathParameter adds the path to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter 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) SetVolumeUUIDPathParameter

func (o *SnaplockFilePrivilegedDeleteParams) SetVolumeUUIDPathParameter(volumeUUID string)

SetVolumeUUIDPathParameter 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) WithPathPathParameter

WithPathPathParameter adds the path to the snaplock file privileged delete params

func (*SnaplockFilePrivilegedDeleteParams) WithReturnTimeoutQueryParameter

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

WithReturnTimeoutQueryParameter 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) WithVolumeUUIDPathParameter

func (o *SnaplockFilePrivilegedDeleteParams) WithVolumeUUIDPathParameter(volumeUUID string) *SnaplockFilePrivilegedDeleteParams

WithVolumeUUIDPathParameter 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 | |-------------|--------------| | 14090347 | File path must be in the format \"/<dir>/<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) 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.
	*/
	FieldsQueryParameter []string

	/* Path.

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

	/* VolumeUUID.

	   Volume UUID
	*/
	VolumeUUIDPathParameter 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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetPathPathParameter

func (o *SnaplockFileRetentionGetParams) SetPathPathParameter(path string)

SetPathPathParameter 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) SetVolumeUUIDPathParameter

func (o *SnaplockFileRetentionGetParams) SetVolumeUUIDPathParameter(volumeUUID string)

SetVolumeUUIDPathParameter 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) WithFieldsQueryParameter

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

WithFieldsQueryParameter 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) WithPathPathParameter

WithPathPathParameter 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) WithVolumeUUIDPathParameter

func (o *SnaplockFileRetentionGetParams) WithVolumeUUIDPathParameter(volumeUUID string) *SnaplockFileRetentionGetParams

WithVolumeUUIDPathParameter 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 | |-------------|--------------| | 14090347 | File path must be in the format \"/<dir>/<file path>\" | | 14090348 | Invalid Expiry time |

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) 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\>"
	*/
	PathPathParameter string

	/* VolumeUUID.

	   Volume UUID
	*/
	VolumeUUIDPathParameter 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) SetPathPathParameter

func (o *SnaplockFileRetentionTimeModifyParams) SetPathPathParameter(path string)

SetPathPathParameter 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) SetVolumeUUIDPathParameter

func (o *SnaplockFileRetentionTimeModifyParams) SetVolumeUUIDPathParameter(volumeUUID string)

SetVolumeUUIDPathParameter 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) WithPathPathParameter

WithPathPathParameter 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) WithVolumeUUIDPathParameter

func (o *SnaplockFileRetentionTimeModifyParams) WithVolumeUUIDPathParameter(volumeUUID string) *SnaplockFileRetentionTimeModifyParams

WithVolumeUUIDPathParameter 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) 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.
	*/
	FieldsQueryParameter []string

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

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

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	/* SvmUUID.

	   SVM UUID
	*/
	SVMUUIDQueryParameter string

	/* VolumeUUID.

	   Volume UUID
	*/
	VolumeUUIDQueryParameter 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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetMaxRecordsQueryParameter

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

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

func (*SnaplockFingerprintOperationCollectionGetParams) SetOrderByQueryParameter

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

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

func (*SnaplockFingerprintOperationCollectionGetParams) SetReturnRecordsQueryParameter

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

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

func (*SnaplockFingerprintOperationCollectionGetParams) SetReturnTimeoutQueryParameter

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

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

func (*SnaplockFingerprintOperationCollectionGetParams) SetSVMUUIDQueryParameter

func (o *SnaplockFingerprintOperationCollectionGetParams) SetSVMUUIDQueryParameter(svmUUID string)

SetSVMUUIDQueryParameter 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) SetVolumeUUIDQueryParameter

func (o *SnaplockFingerprintOperationCollectionGetParams) SetVolumeUUIDQueryParameter(volumeUUID string)

SetVolumeUUIDQueryParameter 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) WithFieldsQueryParameter

WithFieldsQueryParameter 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) WithMaxRecordsQueryParameter

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

func (*SnaplockFingerprintOperationCollectionGetParams) WithOrderByQueryParameter

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

func (*SnaplockFingerprintOperationCollectionGetParams) WithReturnRecordsQueryParameter

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

func (*SnaplockFingerprintOperationCollectionGetParams) WithReturnTimeoutQueryParameter

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

func (*SnaplockFingerprintOperationCollectionGetParams) WithSVMUUIDQueryParameter

WithSVMUUIDQueryParameter 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) WithVolumeUUIDQueryParameter

WithVolumeUUIDQueryParameter 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 SnaplockFingerprintOperationCreateAccepted

type SnaplockFingerprintOperationCreateAccepted struct {
	Payload *models.JobLinkResponse
}

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

Accepted

func NewSnaplockFingerprintOperationCreateAccepted

func NewSnaplockFingerprintOperationCreateAccepted() *SnaplockFingerprintOperationCreateAccepted

NewSnaplockFingerprintOperationCreateAccepted creates a SnaplockFingerprintOperationCreateAccepted with default headers values

func (*SnaplockFingerprintOperationCreateAccepted) Error

func (*SnaplockFingerprintOperationCreateAccepted) GetPayload

func (*SnaplockFingerprintOperationCreateAccepted) IsClientError

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

func (*SnaplockFingerprintOperationCreateAccepted) IsCode

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

func (*SnaplockFingerprintOperationCreateAccepted) IsRedirect

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

func (*SnaplockFingerprintOperationCreateAccepted) IsServerError

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

func (*SnaplockFingerprintOperationCreateAccepted) IsSuccess

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

func (*SnaplockFingerprintOperationCreateAccepted) 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 | |-------------|--------------| | 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.
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

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

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

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) SetReturnRecordsQueryParameter

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

SetReturnRecordsQueryParameter adds the returnRecords to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter adds the returnTimeout 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) WithReturnRecordsQueryParameter

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

WithReturnRecordsQueryParameter adds the returnRecords to the snaplock fingerprint operation create params

func (*SnaplockFingerprintOperationCreateParams) WithReturnTimeoutQueryParameter

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

WithReturnTimeoutQueryParameter adds the returnTimeout 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) 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
	*/
	IDPathParameter 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) SetIDPathParameter

func (o *SnaplockFingerprintOperationDeleteParams) SetIDPathParameter(id string)

SetIDPathParameter 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) WithIDPathParameter

WithIDPathParameter 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) 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.
	*/
	FieldsQueryParameter []string

	/* ID.

	   Unique identifier of the operation
	*/
	IDPathParameter 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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetIDPathParameter

func (o *SnaplockFingerprintOperationGetParams) SetIDPathParameter(id string)

SetIDPathParameter 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) WithFieldsQueryParameter

WithFieldsQueryParameter 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) WithIDPathParameter

WithIDPathParameter 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 {
	Payload *models.SnaplockLitigation
}

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) Error

func (*SnaplockLegalHoldBeginCreated) GetPayload

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 | |-------------|--------------| | 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.
	*/
	ReturnRecordsQueryParameter *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) SetReturnRecordsQueryParameter

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

SetReturnRecordsQueryParameter 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) WithReturnRecordsQueryParameter

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

WithReturnRecordsQueryParameter 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 | |-------------|--------------| | 14090346 | Internal Error. Wait a few minutes, then try the command again |

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) 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.
	*/
	FieldsQueryParameter []string

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

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

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetMaxRecordsQueryParameter

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

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

func (*SnaplockLegalHoldCollectionGetParams) SetOrderByQueryParameter

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

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

func (*SnaplockLegalHoldCollectionGetParams) SetReturnRecordsQueryParameter

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

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

func (*SnaplockLegalHoldCollectionGetParams) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter 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) WithFieldsQueryParameter

WithFieldsQueryParameter 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) WithMaxRecordsQueryParameter

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

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

func (*SnaplockLegalHoldCollectionGetParams) WithOrderByQueryParameter

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

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

func (*SnaplockLegalHoldCollectionGetParams) WithReturnRecordsQueryParameter

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

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

func (*SnaplockLegalHoldCollectionGetParams) WithReturnTimeoutQueryParameter

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

WithReturnTimeoutQueryParameter 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 {
	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) 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 | |-------------|--------------| | 14090346 | Internal Error. Wait a few minutes, then try the command again | | 14090343 | Invalid Field |

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
	*/
	LitigationIDPathParameter string

	/* ReturnRecords.

	   The default is false.  If set to true, the records are returned.
	*/
	ReturnRecordsQueryParameter *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) SetLitigationIDPathParameter

func (o *SnaplockLegalHoldCreateParams) SetLitigationIDPathParameter(litigationID string)

SetLitigationIDPathParameter adds the litigationId to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) SetReturnRecordsQueryParameter

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

SetReturnRecordsQueryParameter 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) WithLitigationIDPathParameter

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

WithLitigationIDPathParameter adds the litigationID to the snaplock legal hold create params

func (*SnaplockLegalHoldCreateParams) WithReturnRecordsQueryParameter

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

WithReturnRecordsQueryParameter 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 | |-------------|--------------| | 14090346 | Internal Error. Wait a few minutes, then try the command again | | 14090343 | Invalid Field | | 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) 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
	*/
	IDPathParameter 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) SetIDPathParameter

func (o *SnaplockLegalHoldDeleteParams) SetIDPathParameter(id string)

SetIDPathParameter 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) WithIDPathParameter

WithIDPathParameter 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.

Error

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) 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.
	*/
	FieldsQueryParameter []string

	/* LitigationID.

	   Litigation ID
	*/
	LitigationIDPathParameter string

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

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

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetLitigationIDPathParameter

func (o *SnaplockLegalHoldFilesGetParams) SetLitigationIDPathParameter(litigationID string)

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

func (*SnaplockLegalHoldFilesGetParams) SetMaxRecordsQueryParameter

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

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

func (*SnaplockLegalHoldFilesGetParams) SetOrderByQueryParameter

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

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

func (*SnaplockLegalHoldFilesGetParams) SetReturnRecordsQueryParameter

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

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

func (*SnaplockLegalHoldFilesGetParams) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter 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) WithFieldsQueryParameter

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

WithFieldsQueryParameter 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) WithLitigationIDPathParameter

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

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

func (*SnaplockLegalHoldFilesGetParams) WithMaxRecordsQueryParameter

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

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

func (*SnaplockLegalHoldFilesGetParams) WithOrderByQueryParameter

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

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

func (*SnaplockLegalHoldFilesGetParams) WithReturnRecordsQueryParameter

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

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

func (*SnaplockLegalHoldFilesGetParams) WithReturnTimeoutQueryParameter

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

WithReturnTimeoutQueryParameter 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 | |-------------|--------------| | 14090346 | Internal Error. Wait a few minutes, then try the command again | | 14090343 | Invalid Field |

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.SnaplockLitigation
}

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) 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.
	*/
	FieldsQueryParameter []string

	/* ID.

	   Litigation ID
	*/
	IDPathParameter 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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetIDPathParameter

func (o *SnaplockLegalHoldGetParams) SetIDPathParameter(id string)

SetIDPathParameter adds the id 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) WithFieldsQueryParameter

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

WithFieldsQueryParameter 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) WithIDPathParameter

func (o *SnaplockLegalHoldGetParams) WithIDPathParameter(id string) *SnaplockLegalHoldGetParams

WithIDPathParameter adds the id 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 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 | |-------------|--------------| | 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) 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.
	*/
	IDPathParameter string

	/* LitigationID.

	   Litigation ID
	*/
	LitigationIDPathParameter 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) SetIDPathParameter

func (o *SnaplockLegalHoldOperationDeleteParams) SetIDPathParameter(id string)

SetIDPathParameter adds the id to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) SetLitigationIDPathParameter

func (o *SnaplockLegalHoldOperationDeleteParams) SetLitigationIDPathParameter(litigationID string)

SetLitigationIDPathParameter 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) WithIDPathParameter

WithIDPathParameter adds the id to the snaplock legal hold operation delete params

func (*SnaplockLegalHoldOperationDeleteParams) WithLitigationIDPathParameter

func (o *SnaplockLegalHoldOperationDeleteParams) WithLitigationIDPathParameter(litigationID string) *SnaplockLegalHoldOperationDeleteParams

WithLitigationIDPathParameter 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 SnaplockLegalHoldOperationGetDefault

type SnaplockLegalHoldOperationGetDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
SnaplockLegalHoldOperationGetDefault 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 | | 14090343 | Invalid Field |

func NewSnaplockLegalHoldOperationGetDefault

func NewSnaplockLegalHoldOperationGetDefault(code int) *SnaplockLegalHoldOperationGetDefault

NewSnaplockLegalHoldOperationGetDefault creates a SnaplockLegalHoldOperationGetDefault with default headers values

func (*SnaplockLegalHoldOperationGetDefault) Code

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

func (*SnaplockLegalHoldOperationGetDefault) Error

func (*SnaplockLegalHoldOperationGetDefault) GetPayload

func (*SnaplockLegalHoldOperationGetDefault) IsClientError

func (o *SnaplockLegalHoldOperationGetDefault) IsClientError() bool

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

func (*SnaplockLegalHoldOperationGetDefault) IsCode

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

func (*SnaplockLegalHoldOperationGetDefault) IsRedirect

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

func (*SnaplockLegalHoldOperationGetDefault) IsServerError

func (o *SnaplockLegalHoldOperationGetDefault) IsServerError() bool

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

func (*SnaplockLegalHoldOperationGetDefault) IsSuccess

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

func (*SnaplockLegalHoldOperationGetDefault) String

type SnaplockLegalHoldOperationGetOK

type SnaplockLegalHoldOperationGetOK struct {
	Payload *models.SnaplockLegalHoldOperation
}

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

OK

func NewSnaplockLegalHoldOperationGetOK

func NewSnaplockLegalHoldOperationGetOK() *SnaplockLegalHoldOperationGetOK

NewSnaplockLegalHoldOperationGetOK creates a SnaplockLegalHoldOperationGetOK with default headers values

func (*SnaplockLegalHoldOperationGetOK) Error

func (*SnaplockLegalHoldOperationGetOK) GetPayload

func (*SnaplockLegalHoldOperationGetOK) IsClientError

func (o *SnaplockLegalHoldOperationGetOK) IsClientError() bool

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

func (*SnaplockLegalHoldOperationGetOK) IsCode

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

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

func (*SnaplockLegalHoldOperationGetOK) IsRedirect

func (o *SnaplockLegalHoldOperationGetOK) IsRedirect() bool

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

func (*SnaplockLegalHoldOperationGetOK) IsServerError

func (o *SnaplockLegalHoldOperationGetOK) IsServerError() bool

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

func (*SnaplockLegalHoldOperationGetOK) IsSuccess

func (o *SnaplockLegalHoldOperationGetOK) IsSuccess() bool

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

func (*SnaplockLegalHoldOperationGetOK) String

type SnaplockLegalHoldOperationGetParams

type SnaplockLegalHoldOperationGetParams struct {

	/* Fields.

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

	/* ID.

	   Operation ID.
	*/
	IDPathParameter string

	/* LitigationID.

	   Litigation ID
	*/
	LitigationIDPathParameter string

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

SnaplockLegalHoldOperationGetParams contains all the parameters to send to the API endpoint

for the snaplock legal hold operation get operation.

Typically these are written to a http.Request.

func NewSnaplockLegalHoldOperationGetParams

func NewSnaplockLegalHoldOperationGetParams() *SnaplockLegalHoldOperationGetParams

NewSnaplockLegalHoldOperationGetParams creates a new SnaplockLegalHoldOperationGetParams 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 NewSnaplockLegalHoldOperationGetParamsWithContext

func NewSnaplockLegalHoldOperationGetParamsWithContext(ctx context.Context) *SnaplockLegalHoldOperationGetParams

NewSnaplockLegalHoldOperationGetParamsWithContext creates a new SnaplockLegalHoldOperationGetParams object with the ability to set a context for a request.

func NewSnaplockLegalHoldOperationGetParamsWithHTTPClient

func NewSnaplockLegalHoldOperationGetParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldOperationGetParams

NewSnaplockLegalHoldOperationGetParamsWithHTTPClient creates a new SnaplockLegalHoldOperationGetParams object with the ability to set a custom HTTPClient for a request.

func NewSnaplockLegalHoldOperationGetParamsWithTimeout

func NewSnaplockLegalHoldOperationGetParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldOperationGetParams

NewSnaplockLegalHoldOperationGetParamsWithTimeout creates a new SnaplockLegalHoldOperationGetParams object with the ability to set a timeout on a request.

func (*SnaplockLegalHoldOperationGetParams) SetContext

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

func (*SnaplockLegalHoldOperationGetParams) SetDefaults

func (o *SnaplockLegalHoldOperationGetParams) SetDefaults()

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

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

func (*SnaplockLegalHoldOperationGetParams) SetFieldsQueryParameter

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

SetFieldsQueryParameter adds the fields to the snaplock legal hold operation get params

func (*SnaplockLegalHoldOperationGetParams) SetHTTPClient

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

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

func (*SnaplockLegalHoldOperationGetParams) SetIDPathParameter

func (o *SnaplockLegalHoldOperationGetParams) SetIDPathParameter(id string)

SetIDPathParameter adds the id to the snaplock legal hold operation get params

func (*SnaplockLegalHoldOperationGetParams) SetLitigationIDPathParameter

func (o *SnaplockLegalHoldOperationGetParams) SetLitigationIDPathParameter(litigationID string)

SetLitigationIDPathParameter adds the litigationId to the snaplock legal hold operation get params

func (*SnaplockLegalHoldOperationGetParams) SetTimeout

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

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

func (*SnaplockLegalHoldOperationGetParams) WithContext

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

func (*SnaplockLegalHoldOperationGetParams) WithDefaults

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

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

func (*SnaplockLegalHoldOperationGetParams) WithFieldsQueryParameter

WithFieldsQueryParameter adds the fields to the snaplock legal hold operation get params

func (*SnaplockLegalHoldOperationGetParams) WithHTTPClient

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

func (*SnaplockLegalHoldOperationGetParams) WithIDPathParameter

WithIDPathParameter adds the id to the snaplock legal hold operation get params

func (*SnaplockLegalHoldOperationGetParams) WithLitigationIDPathParameter

func (o *SnaplockLegalHoldOperationGetParams) WithLitigationIDPathParameter(litigationID string) *SnaplockLegalHoldOperationGetParams

WithLitigationIDPathParameter adds the litigationID to the snaplock legal hold operation get params

func (*SnaplockLegalHoldOperationGetParams) WithTimeout

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

func (*SnaplockLegalHoldOperationGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnaplockLegalHoldOperationGetReader

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

SnaplockLegalHoldOperationGetReader is a Reader for the SnaplockLegalHoldOperationGet structure.

func (*SnaplockLegalHoldOperationGetReader) ReadResponse

func (o *SnaplockLegalHoldOperationGetReader) 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) 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.
	*/
	FieldsQueryParameter []string

	/* LogArchiveBaseName.

	   Filter by log_archive.base_name
	*/
	LogArchiveBaseNameQueryParameter *string

	/* LogArchiveExpiryTime.

	   Filter by log_archive.expiry_time
	*/
	LogArchiveExpiryTimeQueryParameter *string

	/* LogArchivePath.

	   Filter by log_archive.path
	*/
	LogArchivePathQueryParameter *string

	/* LogArchiveSize.

	   Filter by log_archive.size
	*/
	LogArchiveSizeQueryParameter *int64

	/* LogFilesBaseName.

	   Filter by log_files.base_name
	*/
	LogFilesBaseNameQueryParameter *string

	/* LogFilesExpiryTime.

	   Filter by log_files.expiry_time
	*/
	LogFilesExpiryTimeQueryParameter *string

	/* LogFilesPath.

	   Filter by log_files.path
	*/
	LogFilesPathQueryParameter *string

	/* LogFilesSize.

	   Filter by log_files.size
	*/
	LogFilesSizeQueryParameter *int64

	/* LogVolumeMaxLogSize.

	   Filter by log_volume.max_log_size
	*/
	LogVolumeMaxLogSizeQueryParameter *int64

	/* LogVolumeRetentionPeriod.

	   Filter by log_volume.retention_period
	*/
	LogVolumeRetentionPeriodQueryParameter *string

	/* LogVolumeVolumeName.

	   Filter by log_volume.volume.name
	*/
	LogVolumeVolumeNameQueryParameter *string

	/* LogVolumeVolumeUUID.

	   Filter by log_volume.volume.uuid
	*/
	LogVolumeVolumeUUIDQueryParameter *string

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

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

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	/* SvmName.

	   Filter by svm.name
	*/
	SVMNameQueryParameter *string

	/* SvmUUID.

	   Filter by svm.uuid
	*/
	SVMUUIDQueryParameter *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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetLogArchiveBaseNameQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogArchiveBaseNameQueryParameter(logArchiveBaseName *string)

SetLogArchiveBaseNameQueryParameter adds the logArchiveBaseName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogArchiveExpiryTimeQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogArchiveExpiryTimeQueryParameter(logArchiveExpiryTime *string)

SetLogArchiveExpiryTimeQueryParameter adds the logArchiveExpiryTime to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogArchivePathQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogArchivePathQueryParameter(logArchivePath *string)

SetLogArchivePathQueryParameter adds the logArchivePath to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogArchiveSizeQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogArchiveSizeQueryParameter(logArchiveSize *int64)

SetLogArchiveSizeQueryParameter adds the logArchiveSize to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogFilesBaseNameQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogFilesBaseNameQueryParameter(logFilesBaseName *string)

SetLogFilesBaseNameQueryParameter adds the logFilesBaseName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogFilesExpiryTimeQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogFilesExpiryTimeQueryParameter(logFilesExpiryTime *string)

SetLogFilesExpiryTimeQueryParameter adds the logFilesExpiryTime to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogFilesPathQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogFilesPathQueryParameter(logFilesPath *string)

SetLogFilesPathQueryParameter adds the logFilesPath to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogFilesSizeQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogFilesSizeQueryParameter(logFilesSize *int64)

SetLogFilesSizeQueryParameter adds the logFilesSize to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogVolumeMaxLogSizeQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogVolumeMaxLogSizeQueryParameter(logVolumeMaxLogSize *int64)

SetLogVolumeMaxLogSizeQueryParameter adds the logVolumeMaxLogSize to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogVolumeRetentionPeriodQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogVolumeRetentionPeriodQueryParameter(logVolumeRetentionPeriod *string)

SetLogVolumeRetentionPeriodQueryParameter adds the logVolumeRetentionPeriod to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogVolumeVolumeNameQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogVolumeVolumeNameQueryParameter(logVolumeVolumeName *string)

SetLogVolumeVolumeNameQueryParameter adds the logVolumeVolumeName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetLogVolumeVolumeUUIDQueryParameter

func (o *SnaplockLogCollectionGetParams) SetLogVolumeVolumeUUIDQueryParameter(logVolumeVolumeUUID *string)

SetLogVolumeVolumeUUIDQueryParameter adds the logVolumeVolumeUuid to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetMaxRecordsQueryParameter

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

SetMaxRecordsQueryParameter adds the maxRecords to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetOrderByQueryParameter

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

SetOrderByQueryParameter adds the orderBy to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetReturnRecordsQueryParameter

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

SetReturnRecordsQueryParameter adds the returnRecords to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter adds the returnTimeout to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetSVMNameQueryParameter

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

SetSVMNameQueryParameter adds the svmName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) SetSVMUUIDQueryParameter

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

SetSVMUUIDQueryParameter 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) WithFieldsQueryParameter

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

WithFieldsQueryParameter 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) WithLogArchiveBaseNameQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogArchiveBaseNameQueryParameter(logArchiveBaseName *string) *SnaplockLogCollectionGetParams

WithLogArchiveBaseNameQueryParameter adds the logArchiveBaseName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogArchiveExpiryTimeQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogArchiveExpiryTimeQueryParameter(logArchiveExpiryTime *string) *SnaplockLogCollectionGetParams

WithLogArchiveExpiryTimeQueryParameter adds the logArchiveExpiryTime to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogArchivePathQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogArchivePathQueryParameter(logArchivePath *string) *SnaplockLogCollectionGetParams

WithLogArchivePathQueryParameter adds the logArchivePath to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogArchiveSizeQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogArchiveSizeQueryParameter(logArchiveSize *int64) *SnaplockLogCollectionGetParams

WithLogArchiveSizeQueryParameter adds the logArchiveSize to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogFilesBaseNameQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogFilesBaseNameQueryParameter(logFilesBaseName *string) *SnaplockLogCollectionGetParams

WithLogFilesBaseNameQueryParameter adds the logFilesBaseName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogFilesExpiryTimeQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogFilesExpiryTimeQueryParameter(logFilesExpiryTime *string) *SnaplockLogCollectionGetParams

WithLogFilesExpiryTimeQueryParameter adds the logFilesExpiryTime to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogFilesPathQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogFilesPathQueryParameter(logFilesPath *string) *SnaplockLogCollectionGetParams

WithLogFilesPathQueryParameter adds the logFilesPath to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogFilesSizeQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogFilesSizeQueryParameter(logFilesSize *int64) *SnaplockLogCollectionGetParams

WithLogFilesSizeQueryParameter adds the logFilesSize to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogVolumeMaxLogSizeQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogVolumeMaxLogSizeQueryParameter(logVolumeMaxLogSize *int64) *SnaplockLogCollectionGetParams

WithLogVolumeMaxLogSizeQueryParameter adds the logVolumeMaxLogSize to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogVolumeRetentionPeriodQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogVolumeRetentionPeriodQueryParameter(logVolumeRetentionPeriod *string) *SnaplockLogCollectionGetParams

WithLogVolumeRetentionPeriodQueryParameter adds the logVolumeRetentionPeriod to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogVolumeVolumeNameQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogVolumeVolumeNameQueryParameter(logVolumeVolumeName *string) *SnaplockLogCollectionGetParams

WithLogVolumeVolumeNameQueryParameter adds the logVolumeVolumeName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithLogVolumeVolumeUUIDQueryParameter

func (o *SnaplockLogCollectionGetParams) WithLogVolumeVolumeUUIDQueryParameter(logVolumeVolumeUUID *string) *SnaplockLogCollectionGetParams

WithLogVolumeVolumeUUIDQueryParameter adds the logVolumeVolumeUUID to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithMaxRecordsQueryParameter

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

WithMaxRecordsQueryParameter adds the maxRecords to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithOrderByQueryParameter

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

WithOrderByQueryParameter adds the orderBy to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithReturnRecordsQueryParameter

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

WithReturnRecordsQueryParameter adds the returnRecords to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithReturnTimeoutQueryParameter

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

WithReturnTimeoutQueryParameter adds the returnTimeout to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithSVMNameQueryParameter

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

WithSVMNameQueryParameter adds the svmName to the snaplock log collection get params

func (*SnaplockLogCollectionGetParams) WithSVMUUIDQueryParameter

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

WithSVMUUIDQueryParameter 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 {
	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) 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 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 | |-------------|--------------| | 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.
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

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

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

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) SetReturnRecordsQueryParameter

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

SetReturnRecordsQueryParameter adds the returnRecords to the snaplock log create params

func (*SnaplockLogCreateParams) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter 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) WithReturnRecordsQueryParameter

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

WithReturnRecordsQueryParameter adds the returnRecords to the snaplock log create params

func (*SnaplockLogCreateParams) WithReturnTimeoutQueryParameter

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

WithReturnTimeoutQueryParameter 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) 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 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.
	*/
	ReturnTimeoutQueryParameter *int64

	/* SvmUUID.

	   SVM UUID
	*/
	SVMUUIDPathParameter 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) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter adds the returnTimeout to the snaplock log delete params

func (*SnaplockLogDeleteParams) SetSVMUUIDPathParameter

func (o *SnaplockLogDeleteParams) SetSVMUUIDPathParameter(svmUUID string)

SetSVMUUIDPathParameter 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) WithReturnTimeoutQueryParameter

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

WithReturnTimeoutQueryParameter adds the returnTimeout to the snaplock log delete params

func (*SnaplockLogDeleteParams) WithSVMUUIDPathParameter

func (o *SnaplockLogDeleteParams) WithSVMUUIDPathParameter(svmUUID string) *SnaplockLogDeleteParams

WithSVMUUIDPathParameter 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) 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.
	*/
	FieldsQueryParameter []string

	/* SvmUUID.

	   SVM UUID
	*/
	SVMUUIDPathParameter 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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetSVMUUIDPathParameter

func (o *SnaplockLogGetParams) SetSVMUUIDPathParameter(svmUUID string)

SetSVMUUIDPathParameter 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) WithFieldsQueryParameter

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

WithFieldsQueryParameter 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) WithSVMUUIDPathParameter

func (o *SnaplockLogGetParams) WithSVMUUIDPathParameter(svmUUID string) *SnaplockLogGetParams

WithSVMUUIDPathParameter 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) 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 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.
	*/
	ReturnTimeoutQueryParameter *int64

	/* SvmUUID.

	   SVM UUID
	*/
	SVMUUIDPathParameter 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) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter adds the returnTimeout to the snaplock log modify params

func (*SnaplockLogModifyParams) SetSVMUUIDPathParameter

func (o *SnaplockLogModifyParams) SetSVMUUIDPathParameter(svmUUID string)

SetSVMUUIDPathParameter 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) WithReturnTimeoutQueryParameter

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

WithReturnTimeoutQueryParameter adds the returnTimeout to the snaplock log modify params

func (*SnaplockLogModifyParams) WithSVMUUIDPathParameter

func (o *SnaplockLogModifyParams) WithSVMUUIDPathParameter(svmUUID string) *SnaplockLogModifyParams

WithSVMUUIDPathParameter 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.

Error

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) 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.
	*/
	FieldsQueryParameter []string

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

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

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	/* VolumeUUID.

	   Volume UUID
	*/
	VolumeUUIDQueryParameter 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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetMaxRecordsQueryParameter

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

SetMaxRecordsQueryParameter adds the maxRecords to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetOrderByQueryParameter

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

SetOrderByQueryParameter adds the orderBy to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetReturnRecordsQueryParameter

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

SetReturnRecordsQueryParameter adds the returnRecords to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter 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) SetVolumeUUIDQueryParameter

func (o *SnaplockRetentionOperationCollectionGetParams) SetVolumeUUIDQueryParameter(volumeUUID string)

SetVolumeUUIDQueryParameter 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) WithFieldsQueryParameter

WithFieldsQueryParameter 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) WithMaxRecordsQueryParameter

WithMaxRecordsQueryParameter adds the maxRecords to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithOrderByQueryParameter

WithOrderByQueryParameter adds the orderBy to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithReturnRecordsQueryParameter

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

WithReturnRecordsQueryParameter adds the returnRecords to the snaplock retention operation collection get params

func (*SnaplockRetentionOperationCollectionGetParams) WithReturnTimeoutQueryParameter

WithReturnTimeoutQueryParameter 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) WithVolumeUUIDQueryParameter

WithVolumeUUIDQueryParameter 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 {
	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) 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.

Error

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.
	*/
	ReturnRecordsQueryParameter *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) SetReturnRecordsQueryParameter

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

SetReturnRecordsQueryParameter 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) WithReturnRecordsQueryParameter

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

WithReturnRecordsQueryParameter 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 |

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) 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
	*/
	IDPathParameter 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) SetIDPathParameter

func (o *SnaplockRetentionOperationDeleteParams) SetIDPathParameter(id string)

SetIDPathParameter 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) WithIDPathParameter

WithIDPathParameter 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.

Error

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) 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.
	*/
	FieldsQueryParameter []string

	/* ID.

	   Unique identifier of an EBR operation
	*/
	IDPathParameter 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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetIDPathParameter

func (o *SnaplockRetentionOperationGetParams) SetIDPathParameter(id string)

SetIDPathParameter 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) WithFieldsQueryParameter

WithFieldsQueryParameter 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) WithIDPathParameter

WithIDPathParameter 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.

Error

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) 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.
	*/
	FieldsQueryParameter []string

	/* MaxRecords.

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

	/* OrderBy.

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

	/* ReturnRecords.

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

	   Default: true
	*/
	ReturnRecordsQueryParameter *bool

	/* ReturnTimeout.

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

	   Default: 15
	*/
	ReturnTimeoutQueryParameter *int64

	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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetMaxRecordsQueryParameter

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

SetMaxRecordsQueryParameter adds the maxRecords to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) SetOrderByQueryParameter

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

SetOrderByQueryParameter adds the orderBy to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) SetReturnRecordsQueryParameter

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

SetReturnRecordsQueryParameter adds the returnRecords to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) SetReturnTimeoutQueryParameter

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

SetReturnTimeoutQueryParameter 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) WithFieldsQueryParameter

WithFieldsQueryParameter 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) WithMaxRecordsQueryParameter

WithMaxRecordsQueryParameter adds the maxRecords to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithOrderByQueryParameter

WithOrderByQueryParameter adds the orderBy to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithReturnRecordsQueryParameter

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

WithReturnRecordsQueryParameter adds the returnRecords to the snaplock retention policy collection get params

func (*SnaplockRetentionPolicyCollectionGetParams) WithReturnTimeoutQueryParameter

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

WithReturnTimeoutQueryParameter 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 {
	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) 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.

Error

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.
	*/
	ReturnRecordsQueryParameter *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) SetReturnRecordsQueryParameter

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

SetReturnRecordsQueryParameter 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) WithReturnRecordsQueryParameter

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

WithReturnRecordsQueryParameter 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.

Error

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) 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
	*/
	PolicyNamePathParameter 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) SetPolicyNamePathParameter

func (o *SnaplockRetentionPolicyDeleteParams) SetPolicyNamePathParameter(policyName string)

SetPolicyNamePathParameter 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) WithPolicyNamePathParameter

func (o *SnaplockRetentionPolicyDeleteParams) WithPolicyNamePathParameter(policyName string) *SnaplockRetentionPolicyDeleteParams

WithPolicyNamePathParameter 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.

Error

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) 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.
	*/
	FieldsQueryParameter []string

	/* PolicyName.

	   Name of the retention policy
	*/
	PolicyNamePathParameter 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) SetFieldsQueryParameter

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

SetFieldsQueryParameter 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) SetPolicyNamePathParameter

func (o *SnaplockRetentionPolicyGetParams) SetPolicyNamePathParameter(policyName string)

SetPolicyNamePathParameter 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) WithFieldsQueryParameter

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

WithFieldsQueryParameter 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) WithPolicyNamePathParameter

func (o *SnaplockRetentionPolicyGetParams) WithPolicyNamePathParameter(policyName string) *SnaplockRetentionPolicyGetParams

WithPolicyNamePathParameter 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.

Error

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) 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
	*/
	PolicyNamePathParameter 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) SetPolicyNamePathParameter

func (o *SnaplockRetentionPolicyModifyParams) SetPolicyNamePathParameter(policyName string)

SetPolicyNamePathParameter 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) WithPolicyNamePathParameter

func (o *SnaplockRetentionPolicyModifyParams) WithPolicyNamePathParameter(policyName string) *SnaplockRetentionPolicyModifyParams

WithPolicyNamePathParameter 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