Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SnaplockComplianceClockCollectionGet(params *SnaplockComplianceClockCollectionGetParams, ...) (*SnaplockComplianceClockCollectionGetOK, error)
- func (a *Client) SnaplockComplianceClockCreate(params *SnaplockComplianceClockCreateParams, ...) (*SnaplockComplianceClockCreateCreated, error)
- func (a *Client) SnaplockComplianceClockGet(params *SnaplockComplianceClockGetParams, ...) (*SnaplockComplianceClockGetOK, error)
- func (a *Client) SnaplockFilePrivilegedDelete(params *SnaplockFilePrivilegedDeleteParams, ...) (*SnaplockFilePrivilegedDeleteAccepted, error)
- func (a *Client) SnaplockFileRetentionGet(params *SnaplockFileRetentionGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockFileRetentionGetOK, error)
- func (a *Client) SnaplockFileRetentionTimeModify(params *SnaplockFileRetentionTimeModifyParams, ...) (*SnaplockFileRetentionTimeModifyOK, error)
- func (a *Client) SnaplockFingerprintOperationCollectionGet(params *SnaplockFingerprintOperationCollectionGetParams, ...) (*SnaplockFingerprintOperationCollectionGetOK, error)
- func (a *Client) SnaplockFingerprintOperationCreate(params *SnaplockFingerprintOperationCreateParams, ...) (*SnaplockFingerprintOperationCreateAccepted, error)
- func (a *Client) SnaplockFingerprintOperationDelete(params *SnaplockFingerprintOperationDeleteParams, ...) (*SnaplockFingerprintOperationDeleteOK, error)
- func (a *Client) SnaplockFingerprintOperationGet(params *SnaplockFingerprintOperationGetParams, ...) (*SnaplockFingerprintOperationGetOK, error)
- func (a *Client) SnaplockLegalHoldBegin(params *SnaplockLegalHoldBeginParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockLegalHoldBeginCreated, error)
- func (a *Client) SnaplockLegalHoldCollectionGet(params *SnaplockLegalHoldCollectionGetParams, ...) (*SnaplockLegalHoldCollectionGetOK, error)
- func (a *Client) SnaplockLegalHoldCreate(params *SnaplockLegalHoldCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockLegalHoldCreateCreated, error)
- func (a *Client) SnaplockLegalHoldDelete(params *SnaplockLegalHoldDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockLegalHoldDeleteOK, error)
- func (a *Client) SnaplockLegalHoldFilesGet(params *SnaplockLegalHoldFilesGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockLegalHoldFilesGetOK, error)
- func (a *Client) SnaplockLegalHoldGet(params *SnaplockLegalHoldGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockLegalHoldGetOK, error)
- func (a *Client) SnaplockLegalHoldOperationDelete(params *SnaplockLegalHoldOperationDeleteParams, ...) (*SnaplockLegalHoldOperationDeleteOK, error)
- func (a *Client) SnaplockLegalHoldOperationGet(params *SnaplockLegalHoldOperationGetParams, ...) (*SnaplockLegalHoldOperationGetOK, error)
- func (a *Client) SnaplockLogCollectionGet(params *SnaplockLogCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockLogCollectionGetOK, error)
- func (a *Client) SnaplockLogCreate(params *SnaplockLogCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockLogCreateAccepted, error)
- func (a *Client) SnaplockLogDelete(params *SnaplockLogDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockLogDeleteAccepted, error)
- func (a *Client) SnaplockLogGet(params *SnaplockLogGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockLogGetOK, error)
- func (a *Client) SnaplockLogModify(params *SnaplockLogModifyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SnaplockLogModifyAccepted, error)
- func (a *Client) SnaplockRetentionOperationCollectionGet(params *SnaplockRetentionOperationCollectionGetParams, ...) (*SnaplockRetentionOperationCollectionGetOK, error)
- func (a *Client) SnaplockRetentionOperationCreate(params *SnaplockRetentionOperationCreateParams, ...) (*SnaplockRetentionOperationCreateCreated, error)
- func (a *Client) SnaplockRetentionOperationDelete(params *SnaplockRetentionOperationDeleteParams, ...) (*SnaplockRetentionOperationDeleteOK, error)
- func (a *Client) SnaplockRetentionOperationGet(params *SnaplockRetentionOperationGetParams, ...) (*SnaplockRetentionOperationGetOK, error)
- func (a *Client) SnaplockRetentionPolicyCollectionGet(params *SnaplockRetentionPolicyCollectionGetParams, ...) (*SnaplockRetentionPolicyCollectionGetOK, error)
- func (a *Client) SnaplockRetentionPolicyCreate(params *SnaplockRetentionPolicyCreateParams, ...) (*SnaplockRetentionPolicyCreateCreated, error)
- func (a *Client) SnaplockRetentionPolicyDelete(params *SnaplockRetentionPolicyDeleteParams, ...) (*SnaplockRetentionPolicyDeleteOK, error)
- func (a *Client) SnaplockRetentionPolicyGet(params *SnaplockRetentionPolicyGetParams, ...) (*SnaplockRetentionPolicyGetOK, error)
- func (a *Client) SnaplockRetentionPolicyModify(params *SnaplockRetentionPolicyModifyParams, ...) (*SnaplockRetentionPolicyModifyOK, error)
- type ClientOption
- type ClientService
- type SnaplockComplianceClockCollectionGetDefault
- func (o *SnaplockComplianceClockCollectionGetDefault) Code() int
- func (o *SnaplockComplianceClockCollectionGetDefault) Error() string
- func (o *SnaplockComplianceClockCollectionGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockComplianceClockCollectionGetDefault) IsClientError() bool
- func (o *SnaplockComplianceClockCollectionGetDefault) IsCode(code int) bool
- func (o *SnaplockComplianceClockCollectionGetDefault) IsRedirect() bool
- func (o *SnaplockComplianceClockCollectionGetDefault) IsServerError() bool
- func (o *SnaplockComplianceClockCollectionGetDefault) IsSuccess() bool
- func (o *SnaplockComplianceClockCollectionGetDefault) String() string
- type SnaplockComplianceClockCollectionGetOK
- func (o *SnaplockComplianceClockCollectionGetOK) Error() string
- func (o *SnaplockComplianceClockCollectionGetOK) GetPayload() *models.SnaplockComplianceClockResponse
- func (o *SnaplockComplianceClockCollectionGetOK) IsClientError() bool
- func (o *SnaplockComplianceClockCollectionGetOK) IsCode(code int) bool
- func (o *SnaplockComplianceClockCollectionGetOK) IsRedirect() bool
- func (o *SnaplockComplianceClockCollectionGetOK) IsServerError() bool
- func (o *SnaplockComplianceClockCollectionGetOK) IsSuccess() bool
- func (o *SnaplockComplianceClockCollectionGetOK) String() string
- type SnaplockComplianceClockCollectionGetParams
- func NewSnaplockComplianceClockCollectionGetParams() *SnaplockComplianceClockCollectionGetParams
- func NewSnaplockComplianceClockCollectionGetParamsWithContext(ctx context.Context) *SnaplockComplianceClockCollectionGetParams
- func NewSnaplockComplianceClockCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockComplianceClockCollectionGetParams
- func NewSnaplockComplianceClockCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockComplianceClockCollectionGetParams
- func (o *SnaplockComplianceClockCollectionGetParams) SetContext(ctx context.Context)
- func (o *SnaplockComplianceClockCollectionGetParams) SetDefaults()
- func (o *SnaplockComplianceClockCollectionGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockComplianceClockCollectionGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockComplianceClockCollectionGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *SnaplockComplianceClockCollectionGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *SnaplockComplianceClockCollectionGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockComplianceClockCollectionGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockComplianceClockCollectionGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockComplianceClockCollectionGetParams) WithContext(ctx context.Context) *SnaplockComplianceClockCollectionGetParams
- func (o *SnaplockComplianceClockCollectionGetParams) WithDefaults() *SnaplockComplianceClockCollectionGetParams
- func (o *SnaplockComplianceClockCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockComplianceClockCollectionGetParams
- func (o *SnaplockComplianceClockCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockComplianceClockCollectionGetParams
- func (o *SnaplockComplianceClockCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockComplianceClockCollectionGetParams
- func (o *SnaplockComplianceClockCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockComplianceClockCollectionGetParams
- func (o *SnaplockComplianceClockCollectionGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockComplianceClockCollectionGetParams
- func (o *SnaplockComplianceClockCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockComplianceClockCollectionGetParams
- func (o *SnaplockComplianceClockCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockComplianceClockCollectionGetParams
- func (o *SnaplockComplianceClockCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockComplianceClockCollectionGetReader
- type SnaplockComplianceClockCreateCreated
- func (o *SnaplockComplianceClockCreateCreated) Error() string
- func (o *SnaplockComplianceClockCreateCreated) GetPayload() *models.SnaplockComplianceClock
- func (o *SnaplockComplianceClockCreateCreated) IsClientError() bool
- func (o *SnaplockComplianceClockCreateCreated) IsCode(code int) bool
- func (o *SnaplockComplianceClockCreateCreated) IsRedirect() bool
- func (o *SnaplockComplianceClockCreateCreated) IsServerError() bool
- func (o *SnaplockComplianceClockCreateCreated) IsSuccess() bool
- func (o *SnaplockComplianceClockCreateCreated) String() string
- type SnaplockComplianceClockCreateDefault
- func (o *SnaplockComplianceClockCreateDefault) Code() int
- func (o *SnaplockComplianceClockCreateDefault) Error() string
- func (o *SnaplockComplianceClockCreateDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockComplianceClockCreateDefault) IsClientError() bool
- func (o *SnaplockComplianceClockCreateDefault) IsCode(code int) bool
- func (o *SnaplockComplianceClockCreateDefault) IsRedirect() bool
- func (o *SnaplockComplianceClockCreateDefault) IsServerError() bool
- func (o *SnaplockComplianceClockCreateDefault) IsSuccess() bool
- func (o *SnaplockComplianceClockCreateDefault) String() string
- type SnaplockComplianceClockCreateParams
- func NewSnaplockComplianceClockCreateParams() *SnaplockComplianceClockCreateParams
- func NewSnaplockComplianceClockCreateParamsWithContext(ctx context.Context) *SnaplockComplianceClockCreateParams
- func NewSnaplockComplianceClockCreateParamsWithHTTPClient(client *http.Client) *SnaplockComplianceClockCreateParams
- func NewSnaplockComplianceClockCreateParamsWithTimeout(timeout time.Duration) *SnaplockComplianceClockCreateParams
- func (o *SnaplockComplianceClockCreateParams) SetContext(ctx context.Context)
- func (o *SnaplockComplianceClockCreateParams) SetDefaults()
- func (o *SnaplockComplianceClockCreateParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockComplianceClockCreateParams) SetInfo(info *models.SnaplockComplianceClock)
- func (o *SnaplockComplianceClockCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockComplianceClockCreateParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockComplianceClockCreateParams) WithContext(ctx context.Context) *SnaplockComplianceClockCreateParams
- func (o *SnaplockComplianceClockCreateParams) WithDefaults() *SnaplockComplianceClockCreateParams
- func (o *SnaplockComplianceClockCreateParams) WithHTTPClient(client *http.Client) *SnaplockComplianceClockCreateParams
- func (o *SnaplockComplianceClockCreateParams) WithInfo(info *models.SnaplockComplianceClock) *SnaplockComplianceClockCreateParams
- func (o *SnaplockComplianceClockCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockComplianceClockCreateParams
- func (o *SnaplockComplianceClockCreateParams) WithTimeout(timeout time.Duration) *SnaplockComplianceClockCreateParams
- func (o *SnaplockComplianceClockCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockComplianceClockCreateReader
- type SnaplockComplianceClockGetDefault
- func (o *SnaplockComplianceClockGetDefault) Code() int
- func (o *SnaplockComplianceClockGetDefault) Error() string
- func (o *SnaplockComplianceClockGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockComplianceClockGetDefault) IsClientError() bool
- func (o *SnaplockComplianceClockGetDefault) IsCode(code int) bool
- func (o *SnaplockComplianceClockGetDefault) IsRedirect() bool
- func (o *SnaplockComplianceClockGetDefault) IsServerError() bool
- func (o *SnaplockComplianceClockGetDefault) IsSuccess() bool
- func (o *SnaplockComplianceClockGetDefault) String() string
- type SnaplockComplianceClockGetOK
- func (o *SnaplockComplianceClockGetOK) Error() string
- func (o *SnaplockComplianceClockGetOK) GetPayload() *models.SnaplockComplianceClock
- func (o *SnaplockComplianceClockGetOK) IsClientError() bool
- func (o *SnaplockComplianceClockGetOK) IsCode(code int) bool
- func (o *SnaplockComplianceClockGetOK) IsRedirect() bool
- func (o *SnaplockComplianceClockGetOK) IsServerError() bool
- func (o *SnaplockComplianceClockGetOK) IsSuccess() bool
- func (o *SnaplockComplianceClockGetOK) String() string
- type SnaplockComplianceClockGetParams
- func NewSnaplockComplianceClockGetParams() *SnaplockComplianceClockGetParams
- func NewSnaplockComplianceClockGetParamsWithContext(ctx context.Context) *SnaplockComplianceClockGetParams
- func NewSnaplockComplianceClockGetParamsWithHTTPClient(client *http.Client) *SnaplockComplianceClockGetParams
- func NewSnaplockComplianceClockGetParamsWithTimeout(timeout time.Duration) *SnaplockComplianceClockGetParams
- func (o *SnaplockComplianceClockGetParams) SetContext(ctx context.Context)
- func (o *SnaplockComplianceClockGetParams) SetDefaults()
- func (o *SnaplockComplianceClockGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockComplianceClockGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockComplianceClockGetParams) SetNodeUUIDPathParameter(nodeUUID string)
- func (o *SnaplockComplianceClockGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockComplianceClockGetParams) WithContext(ctx context.Context) *SnaplockComplianceClockGetParams
- func (o *SnaplockComplianceClockGetParams) WithDefaults() *SnaplockComplianceClockGetParams
- func (o *SnaplockComplianceClockGetParams) WithFieldsQueryParameter(fields []string) *SnaplockComplianceClockGetParams
- func (o *SnaplockComplianceClockGetParams) WithHTTPClient(client *http.Client) *SnaplockComplianceClockGetParams
- func (o *SnaplockComplianceClockGetParams) WithNodeUUIDPathParameter(nodeUUID string) *SnaplockComplianceClockGetParams
- func (o *SnaplockComplianceClockGetParams) WithTimeout(timeout time.Duration) *SnaplockComplianceClockGetParams
- func (o *SnaplockComplianceClockGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockComplianceClockGetReader
- type SnaplockFilePrivilegedDeleteAccepted
- func (o *SnaplockFilePrivilegedDeleteAccepted) Error() string
- func (o *SnaplockFilePrivilegedDeleteAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnaplockFilePrivilegedDeleteAccepted) IsClientError() bool
- func (o *SnaplockFilePrivilegedDeleteAccepted) IsCode(code int) bool
- func (o *SnaplockFilePrivilegedDeleteAccepted) IsRedirect() bool
- func (o *SnaplockFilePrivilegedDeleteAccepted) IsServerError() bool
- func (o *SnaplockFilePrivilegedDeleteAccepted) IsSuccess() bool
- func (o *SnaplockFilePrivilegedDeleteAccepted) String() string
- type SnaplockFilePrivilegedDeleteDefault
- func (o *SnaplockFilePrivilegedDeleteDefault) Code() int
- func (o *SnaplockFilePrivilegedDeleteDefault) Error() string
- func (o *SnaplockFilePrivilegedDeleteDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockFilePrivilegedDeleteDefault) IsClientError() bool
- func (o *SnaplockFilePrivilegedDeleteDefault) IsCode(code int) bool
- func (o *SnaplockFilePrivilegedDeleteDefault) IsRedirect() bool
- func (o *SnaplockFilePrivilegedDeleteDefault) IsServerError() bool
- func (o *SnaplockFilePrivilegedDeleteDefault) IsSuccess() bool
- func (o *SnaplockFilePrivilegedDeleteDefault) String() string
- type SnaplockFilePrivilegedDeleteParams
- func NewSnaplockFilePrivilegedDeleteParams() *SnaplockFilePrivilegedDeleteParams
- func NewSnaplockFilePrivilegedDeleteParamsWithContext(ctx context.Context) *SnaplockFilePrivilegedDeleteParams
- func NewSnaplockFilePrivilegedDeleteParamsWithHTTPClient(client *http.Client) *SnaplockFilePrivilegedDeleteParams
- func NewSnaplockFilePrivilegedDeleteParamsWithTimeout(timeout time.Duration) *SnaplockFilePrivilegedDeleteParams
- func (o *SnaplockFilePrivilegedDeleteParams) SetContext(ctx context.Context)
- func (o *SnaplockFilePrivilegedDeleteParams) SetDefaults()
- func (o *SnaplockFilePrivilegedDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockFilePrivilegedDeleteParams) SetPathPathParameter(path string)
- func (o *SnaplockFilePrivilegedDeleteParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockFilePrivilegedDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockFilePrivilegedDeleteParams) SetVolumeUUIDPathParameter(volumeUUID string)
- func (o *SnaplockFilePrivilegedDeleteParams) WithContext(ctx context.Context) *SnaplockFilePrivilegedDeleteParams
- func (o *SnaplockFilePrivilegedDeleteParams) WithDefaults() *SnaplockFilePrivilegedDeleteParams
- func (o *SnaplockFilePrivilegedDeleteParams) WithHTTPClient(client *http.Client) *SnaplockFilePrivilegedDeleteParams
- func (o *SnaplockFilePrivilegedDeleteParams) WithPathPathParameter(path string) *SnaplockFilePrivilegedDeleteParams
- func (o *SnaplockFilePrivilegedDeleteParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockFilePrivilegedDeleteParams
- func (o *SnaplockFilePrivilegedDeleteParams) WithTimeout(timeout time.Duration) *SnaplockFilePrivilegedDeleteParams
- func (o *SnaplockFilePrivilegedDeleteParams) WithVolumeUUIDPathParameter(volumeUUID string) *SnaplockFilePrivilegedDeleteParams
- func (o *SnaplockFilePrivilegedDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockFilePrivilegedDeleteReader
- type SnaplockFileRetentionGetDefault
- func (o *SnaplockFileRetentionGetDefault) Code() int
- func (o *SnaplockFileRetentionGetDefault) Error() string
- func (o *SnaplockFileRetentionGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockFileRetentionGetDefault) IsClientError() bool
- func (o *SnaplockFileRetentionGetDefault) IsCode(code int) bool
- func (o *SnaplockFileRetentionGetDefault) IsRedirect() bool
- func (o *SnaplockFileRetentionGetDefault) IsServerError() bool
- func (o *SnaplockFileRetentionGetDefault) IsSuccess() bool
- func (o *SnaplockFileRetentionGetDefault) String() string
- type SnaplockFileRetentionGetOK
- func (o *SnaplockFileRetentionGetOK) Error() string
- func (o *SnaplockFileRetentionGetOK) GetPayload() *models.SnaplockFileRetention
- func (o *SnaplockFileRetentionGetOK) IsClientError() bool
- func (o *SnaplockFileRetentionGetOK) IsCode(code int) bool
- func (o *SnaplockFileRetentionGetOK) IsRedirect() bool
- func (o *SnaplockFileRetentionGetOK) IsServerError() bool
- func (o *SnaplockFileRetentionGetOK) IsSuccess() bool
- func (o *SnaplockFileRetentionGetOK) String() string
- type SnaplockFileRetentionGetParams
- func NewSnaplockFileRetentionGetParams() *SnaplockFileRetentionGetParams
- func NewSnaplockFileRetentionGetParamsWithContext(ctx context.Context) *SnaplockFileRetentionGetParams
- func NewSnaplockFileRetentionGetParamsWithHTTPClient(client *http.Client) *SnaplockFileRetentionGetParams
- func NewSnaplockFileRetentionGetParamsWithTimeout(timeout time.Duration) *SnaplockFileRetentionGetParams
- func (o *SnaplockFileRetentionGetParams) SetContext(ctx context.Context)
- func (o *SnaplockFileRetentionGetParams) SetDefaults()
- func (o *SnaplockFileRetentionGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockFileRetentionGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockFileRetentionGetParams) SetPathPathParameter(path string)
- func (o *SnaplockFileRetentionGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockFileRetentionGetParams) SetVolumeUUIDPathParameter(volumeUUID string)
- func (o *SnaplockFileRetentionGetParams) WithContext(ctx context.Context) *SnaplockFileRetentionGetParams
- func (o *SnaplockFileRetentionGetParams) WithDefaults() *SnaplockFileRetentionGetParams
- func (o *SnaplockFileRetentionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockFileRetentionGetParams
- func (o *SnaplockFileRetentionGetParams) WithHTTPClient(client *http.Client) *SnaplockFileRetentionGetParams
- func (o *SnaplockFileRetentionGetParams) WithPathPathParameter(path string) *SnaplockFileRetentionGetParams
- func (o *SnaplockFileRetentionGetParams) WithTimeout(timeout time.Duration) *SnaplockFileRetentionGetParams
- func (o *SnaplockFileRetentionGetParams) WithVolumeUUIDPathParameter(volumeUUID string) *SnaplockFileRetentionGetParams
- func (o *SnaplockFileRetentionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockFileRetentionGetReader
- type SnaplockFileRetentionTimeModifyDefault
- func (o *SnaplockFileRetentionTimeModifyDefault) Code() int
- func (o *SnaplockFileRetentionTimeModifyDefault) Error() string
- func (o *SnaplockFileRetentionTimeModifyDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockFileRetentionTimeModifyDefault) IsClientError() bool
- func (o *SnaplockFileRetentionTimeModifyDefault) IsCode(code int) bool
- func (o *SnaplockFileRetentionTimeModifyDefault) IsRedirect() bool
- func (o *SnaplockFileRetentionTimeModifyDefault) IsServerError() bool
- func (o *SnaplockFileRetentionTimeModifyDefault) IsSuccess() bool
- func (o *SnaplockFileRetentionTimeModifyDefault) String() string
- type SnaplockFileRetentionTimeModifyOK
- func (o *SnaplockFileRetentionTimeModifyOK) Error() string
- func (o *SnaplockFileRetentionTimeModifyOK) IsClientError() bool
- func (o *SnaplockFileRetentionTimeModifyOK) IsCode(code int) bool
- func (o *SnaplockFileRetentionTimeModifyOK) IsRedirect() bool
- func (o *SnaplockFileRetentionTimeModifyOK) IsServerError() bool
- func (o *SnaplockFileRetentionTimeModifyOK) IsSuccess() bool
- func (o *SnaplockFileRetentionTimeModifyOK) String() string
- type SnaplockFileRetentionTimeModifyParams
- func NewSnaplockFileRetentionTimeModifyParams() *SnaplockFileRetentionTimeModifyParams
- func NewSnaplockFileRetentionTimeModifyParamsWithContext(ctx context.Context) *SnaplockFileRetentionTimeModifyParams
- func NewSnaplockFileRetentionTimeModifyParamsWithHTTPClient(client *http.Client) *SnaplockFileRetentionTimeModifyParams
- func NewSnaplockFileRetentionTimeModifyParamsWithTimeout(timeout time.Duration) *SnaplockFileRetentionTimeModifyParams
- func (o *SnaplockFileRetentionTimeModifyParams) SetContext(ctx context.Context)
- func (o *SnaplockFileRetentionTimeModifyParams) SetDefaults()
- func (o *SnaplockFileRetentionTimeModifyParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockFileRetentionTimeModifyParams) SetInfo(info *models.SnaplockFileRetention)
- func (o *SnaplockFileRetentionTimeModifyParams) SetPathPathParameter(path string)
- func (o *SnaplockFileRetentionTimeModifyParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockFileRetentionTimeModifyParams) SetVolumeUUIDPathParameter(volumeUUID string)
- func (o *SnaplockFileRetentionTimeModifyParams) WithContext(ctx context.Context) *SnaplockFileRetentionTimeModifyParams
- func (o *SnaplockFileRetentionTimeModifyParams) WithDefaults() *SnaplockFileRetentionTimeModifyParams
- func (o *SnaplockFileRetentionTimeModifyParams) WithHTTPClient(client *http.Client) *SnaplockFileRetentionTimeModifyParams
- func (o *SnaplockFileRetentionTimeModifyParams) WithInfo(info *models.SnaplockFileRetention) *SnaplockFileRetentionTimeModifyParams
- func (o *SnaplockFileRetentionTimeModifyParams) WithPathPathParameter(path string) *SnaplockFileRetentionTimeModifyParams
- func (o *SnaplockFileRetentionTimeModifyParams) WithTimeout(timeout time.Duration) *SnaplockFileRetentionTimeModifyParams
- func (o *SnaplockFileRetentionTimeModifyParams) WithVolumeUUIDPathParameter(volumeUUID string) *SnaplockFileRetentionTimeModifyParams
- func (o *SnaplockFileRetentionTimeModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockFileRetentionTimeModifyReader
- type SnaplockFingerprintOperationCollectionGetDefault
- func (o *SnaplockFingerprintOperationCollectionGetDefault) Code() int
- func (o *SnaplockFingerprintOperationCollectionGetDefault) Error() string
- func (o *SnaplockFingerprintOperationCollectionGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockFingerprintOperationCollectionGetDefault) IsClientError() bool
- func (o *SnaplockFingerprintOperationCollectionGetDefault) IsCode(code int) bool
- func (o *SnaplockFingerprintOperationCollectionGetDefault) IsRedirect() bool
- func (o *SnaplockFingerprintOperationCollectionGetDefault) IsServerError() bool
- func (o *SnaplockFingerprintOperationCollectionGetDefault) IsSuccess() bool
- func (o *SnaplockFingerprintOperationCollectionGetDefault) String() string
- type SnaplockFingerprintOperationCollectionGetOK
- func (o *SnaplockFingerprintOperationCollectionGetOK) Error() string
- func (o *SnaplockFingerprintOperationCollectionGetOK) GetPayload() *models.SnaplockFileFingerprintResponse
- func (o *SnaplockFingerprintOperationCollectionGetOK) IsClientError() bool
- func (o *SnaplockFingerprintOperationCollectionGetOK) IsCode(code int) bool
- func (o *SnaplockFingerprintOperationCollectionGetOK) IsRedirect() bool
- func (o *SnaplockFingerprintOperationCollectionGetOK) IsServerError() bool
- func (o *SnaplockFingerprintOperationCollectionGetOK) IsSuccess() bool
- func (o *SnaplockFingerprintOperationCollectionGetOK) String() string
- type SnaplockFingerprintOperationCollectionGetParams
- func NewSnaplockFingerprintOperationCollectionGetParams() *SnaplockFingerprintOperationCollectionGetParams
- func NewSnaplockFingerprintOperationCollectionGetParamsWithContext(ctx context.Context) *SnaplockFingerprintOperationCollectionGetParams
- func NewSnaplockFingerprintOperationCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockFingerprintOperationCollectionGetParams
- func NewSnaplockFingerprintOperationCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetContext(ctx context.Context)
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetDefaults()
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetSVMUUIDQueryParameter(svmUUID string)
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockFingerprintOperationCollectionGetParams) SetVolumeUUIDQueryParameter(volumeUUID string)
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithContext(ctx context.Context) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithDefaults() *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithSVMUUIDQueryParameter(svmUUID string) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WithVolumeUUIDQueryParameter(volumeUUID string) *SnaplockFingerprintOperationCollectionGetParams
- func (o *SnaplockFingerprintOperationCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockFingerprintOperationCollectionGetReader
- type SnaplockFingerprintOperationCreateAccepted
- func (o *SnaplockFingerprintOperationCreateAccepted) Error() string
- func (o *SnaplockFingerprintOperationCreateAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnaplockFingerprintOperationCreateAccepted) IsClientError() bool
- func (o *SnaplockFingerprintOperationCreateAccepted) IsCode(code int) bool
- func (o *SnaplockFingerprintOperationCreateAccepted) IsRedirect() bool
- func (o *SnaplockFingerprintOperationCreateAccepted) IsServerError() bool
- func (o *SnaplockFingerprintOperationCreateAccepted) IsSuccess() bool
- func (o *SnaplockFingerprintOperationCreateAccepted) String() string
- type SnaplockFingerprintOperationCreateDefault
- func (o *SnaplockFingerprintOperationCreateDefault) Code() int
- func (o *SnaplockFingerprintOperationCreateDefault) Error() string
- func (o *SnaplockFingerprintOperationCreateDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockFingerprintOperationCreateDefault) IsClientError() bool
- func (o *SnaplockFingerprintOperationCreateDefault) IsCode(code int) bool
- func (o *SnaplockFingerprintOperationCreateDefault) IsRedirect() bool
- func (o *SnaplockFingerprintOperationCreateDefault) IsServerError() bool
- func (o *SnaplockFingerprintOperationCreateDefault) IsSuccess() bool
- func (o *SnaplockFingerprintOperationCreateDefault) String() string
- type SnaplockFingerprintOperationCreateParams
- func NewSnaplockFingerprintOperationCreateParams() *SnaplockFingerprintOperationCreateParams
- func NewSnaplockFingerprintOperationCreateParamsWithContext(ctx context.Context) *SnaplockFingerprintOperationCreateParams
- func NewSnaplockFingerprintOperationCreateParamsWithHTTPClient(client *http.Client) *SnaplockFingerprintOperationCreateParams
- func NewSnaplockFingerprintOperationCreateParamsWithTimeout(timeout time.Duration) *SnaplockFingerprintOperationCreateParams
- func (o *SnaplockFingerprintOperationCreateParams) SetContext(ctx context.Context)
- func (o *SnaplockFingerprintOperationCreateParams) SetDefaults()
- func (o *SnaplockFingerprintOperationCreateParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockFingerprintOperationCreateParams) SetInfo(info *models.SnaplockFileFingerprint)
- func (o *SnaplockFingerprintOperationCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockFingerprintOperationCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockFingerprintOperationCreateParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockFingerprintOperationCreateParams) WithContext(ctx context.Context) *SnaplockFingerprintOperationCreateParams
- func (o *SnaplockFingerprintOperationCreateParams) WithDefaults() *SnaplockFingerprintOperationCreateParams
- func (o *SnaplockFingerprintOperationCreateParams) WithHTTPClient(client *http.Client) *SnaplockFingerprintOperationCreateParams
- func (o *SnaplockFingerprintOperationCreateParams) WithInfo(info *models.SnaplockFileFingerprint) *SnaplockFingerprintOperationCreateParams
- func (o *SnaplockFingerprintOperationCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockFingerprintOperationCreateParams
- func (o *SnaplockFingerprintOperationCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockFingerprintOperationCreateParams
- func (o *SnaplockFingerprintOperationCreateParams) WithTimeout(timeout time.Duration) *SnaplockFingerprintOperationCreateParams
- func (o *SnaplockFingerprintOperationCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockFingerprintOperationCreateReader
- type SnaplockFingerprintOperationDeleteDefault
- func (o *SnaplockFingerprintOperationDeleteDefault) Code() int
- func (o *SnaplockFingerprintOperationDeleteDefault) Error() string
- func (o *SnaplockFingerprintOperationDeleteDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockFingerprintOperationDeleteDefault) IsClientError() bool
- func (o *SnaplockFingerprintOperationDeleteDefault) IsCode(code int) bool
- func (o *SnaplockFingerprintOperationDeleteDefault) IsRedirect() bool
- func (o *SnaplockFingerprintOperationDeleteDefault) IsServerError() bool
- func (o *SnaplockFingerprintOperationDeleteDefault) IsSuccess() bool
- func (o *SnaplockFingerprintOperationDeleteDefault) String() string
- type SnaplockFingerprintOperationDeleteOK
- func (o *SnaplockFingerprintOperationDeleteOK) Error() string
- func (o *SnaplockFingerprintOperationDeleteOK) IsClientError() bool
- func (o *SnaplockFingerprintOperationDeleteOK) IsCode(code int) bool
- func (o *SnaplockFingerprintOperationDeleteOK) IsRedirect() bool
- func (o *SnaplockFingerprintOperationDeleteOK) IsServerError() bool
- func (o *SnaplockFingerprintOperationDeleteOK) IsSuccess() bool
- func (o *SnaplockFingerprintOperationDeleteOK) String() string
- type SnaplockFingerprintOperationDeleteParams
- func NewSnaplockFingerprintOperationDeleteParams() *SnaplockFingerprintOperationDeleteParams
- func NewSnaplockFingerprintOperationDeleteParamsWithContext(ctx context.Context) *SnaplockFingerprintOperationDeleteParams
- func NewSnaplockFingerprintOperationDeleteParamsWithHTTPClient(client *http.Client) *SnaplockFingerprintOperationDeleteParams
- func NewSnaplockFingerprintOperationDeleteParamsWithTimeout(timeout time.Duration) *SnaplockFingerprintOperationDeleteParams
- func (o *SnaplockFingerprintOperationDeleteParams) SetContext(ctx context.Context)
- func (o *SnaplockFingerprintOperationDeleteParams) SetDefaults()
- func (o *SnaplockFingerprintOperationDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockFingerprintOperationDeleteParams) SetIDPathParameter(id string)
- func (o *SnaplockFingerprintOperationDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockFingerprintOperationDeleteParams) WithContext(ctx context.Context) *SnaplockFingerprintOperationDeleteParams
- func (o *SnaplockFingerprintOperationDeleteParams) WithDefaults() *SnaplockFingerprintOperationDeleteParams
- func (o *SnaplockFingerprintOperationDeleteParams) WithHTTPClient(client *http.Client) *SnaplockFingerprintOperationDeleteParams
- func (o *SnaplockFingerprintOperationDeleteParams) WithIDPathParameter(id string) *SnaplockFingerprintOperationDeleteParams
- func (o *SnaplockFingerprintOperationDeleteParams) WithTimeout(timeout time.Duration) *SnaplockFingerprintOperationDeleteParams
- func (o *SnaplockFingerprintOperationDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockFingerprintOperationDeleteReader
- type SnaplockFingerprintOperationGetDefault
- func (o *SnaplockFingerprintOperationGetDefault) Code() int
- func (o *SnaplockFingerprintOperationGetDefault) Error() string
- func (o *SnaplockFingerprintOperationGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockFingerprintOperationGetDefault) IsClientError() bool
- func (o *SnaplockFingerprintOperationGetDefault) IsCode(code int) bool
- func (o *SnaplockFingerprintOperationGetDefault) IsRedirect() bool
- func (o *SnaplockFingerprintOperationGetDefault) IsServerError() bool
- func (o *SnaplockFingerprintOperationGetDefault) IsSuccess() bool
- func (o *SnaplockFingerprintOperationGetDefault) String() string
- type SnaplockFingerprintOperationGetOK
- func (o *SnaplockFingerprintOperationGetOK) Error() string
- func (o *SnaplockFingerprintOperationGetOK) GetPayload() *models.SnaplockFileFingerprint
- func (o *SnaplockFingerprintOperationGetOK) IsClientError() bool
- func (o *SnaplockFingerprintOperationGetOK) IsCode(code int) bool
- func (o *SnaplockFingerprintOperationGetOK) IsRedirect() bool
- func (o *SnaplockFingerprintOperationGetOK) IsServerError() bool
- func (o *SnaplockFingerprintOperationGetOK) IsSuccess() bool
- func (o *SnaplockFingerprintOperationGetOK) String() string
- type SnaplockFingerprintOperationGetParams
- func NewSnaplockFingerprintOperationGetParams() *SnaplockFingerprintOperationGetParams
- func NewSnaplockFingerprintOperationGetParamsWithContext(ctx context.Context) *SnaplockFingerprintOperationGetParams
- func NewSnaplockFingerprintOperationGetParamsWithHTTPClient(client *http.Client) *SnaplockFingerprintOperationGetParams
- func NewSnaplockFingerprintOperationGetParamsWithTimeout(timeout time.Duration) *SnaplockFingerprintOperationGetParams
- func (o *SnaplockFingerprintOperationGetParams) SetContext(ctx context.Context)
- func (o *SnaplockFingerprintOperationGetParams) SetDefaults()
- func (o *SnaplockFingerprintOperationGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockFingerprintOperationGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockFingerprintOperationGetParams) SetIDPathParameter(id string)
- func (o *SnaplockFingerprintOperationGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockFingerprintOperationGetParams) WithContext(ctx context.Context) *SnaplockFingerprintOperationGetParams
- func (o *SnaplockFingerprintOperationGetParams) WithDefaults() *SnaplockFingerprintOperationGetParams
- func (o *SnaplockFingerprintOperationGetParams) WithFieldsQueryParameter(fields []string) *SnaplockFingerprintOperationGetParams
- func (o *SnaplockFingerprintOperationGetParams) WithHTTPClient(client *http.Client) *SnaplockFingerprintOperationGetParams
- func (o *SnaplockFingerprintOperationGetParams) WithIDPathParameter(id string) *SnaplockFingerprintOperationGetParams
- func (o *SnaplockFingerprintOperationGetParams) WithTimeout(timeout time.Duration) *SnaplockFingerprintOperationGetParams
- func (o *SnaplockFingerprintOperationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockFingerprintOperationGetReader
- type SnaplockLegalHoldBeginCreated
- func (o *SnaplockLegalHoldBeginCreated) Error() string
- func (o *SnaplockLegalHoldBeginCreated) GetPayload() *models.SnaplockLitigation
- func (o *SnaplockLegalHoldBeginCreated) IsClientError() bool
- func (o *SnaplockLegalHoldBeginCreated) IsCode(code int) bool
- func (o *SnaplockLegalHoldBeginCreated) IsRedirect() bool
- func (o *SnaplockLegalHoldBeginCreated) IsServerError() bool
- func (o *SnaplockLegalHoldBeginCreated) IsSuccess() bool
- func (o *SnaplockLegalHoldBeginCreated) String() string
- type SnaplockLegalHoldBeginDefault
- func (o *SnaplockLegalHoldBeginDefault) Code() int
- func (o *SnaplockLegalHoldBeginDefault) Error() string
- func (o *SnaplockLegalHoldBeginDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLegalHoldBeginDefault) IsClientError() bool
- func (o *SnaplockLegalHoldBeginDefault) IsCode(code int) bool
- func (o *SnaplockLegalHoldBeginDefault) IsRedirect() bool
- func (o *SnaplockLegalHoldBeginDefault) IsServerError() bool
- func (o *SnaplockLegalHoldBeginDefault) IsSuccess() bool
- func (o *SnaplockLegalHoldBeginDefault) String() string
- type SnaplockLegalHoldBeginParams
- func NewSnaplockLegalHoldBeginParams() *SnaplockLegalHoldBeginParams
- func NewSnaplockLegalHoldBeginParamsWithContext(ctx context.Context) *SnaplockLegalHoldBeginParams
- func NewSnaplockLegalHoldBeginParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldBeginParams
- func NewSnaplockLegalHoldBeginParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldBeginParams
- func (o *SnaplockLegalHoldBeginParams) SetContext(ctx context.Context)
- func (o *SnaplockLegalHoldBeginParams) SetDefaults()
- func (o *SnaplockLegalHoldBeginParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLegalHoldBeginParams) SetInfo(info *models.SnaplockLitigation)
- func (o *SnaplockLegalHoldBeginParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockLegalHoldBeginParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLegalHoldBeginParams) WithContext(ctx context.Context) *SnaplockLegalHoldBeginParams
- func (o *SnaplockLegalHoldBeginParams) WithDefaults() *SnaplockLegalHoldBeginParams
- func (o *SnaplockLegalHoldBeginParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldBeginParams
- func (o *SnaplockLegalHoldBeginParams) WithInfo(info *models.SnaplockLitigation) *SnaplockLegalHoldBeginParams
- func (o *SnaplockLegalHoldBeginParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockLegalHoldBeginParams
- func (o *SnaplockLegalHoldBeginParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldBeginParams
- func (o *SnaplockLegalHoldBeginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLegalHoldBeginReader
- type SnaplockLegalHoldCollectionGetDefault
- func (o *SnaplockLegalHoldCollectionGetDefault) Code() int
- func (o *SnaplockLegalHoldCollectionGetDefault) Error() string
- func (o *SnaplockLegalHoldCollectionGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLegalHoldCollectionGetDefault) IsClientError() bool
- func (o *SnaplockLegalHoldCollectionGetDefault) IsCode(code int) bool
- func (o *SnaplockLegalHoldCollectionGetDefault) IsRedirect() bool
- func (o *SnaplockLegalHoldCollectionGetDefault) IsServerError() bool
- func (o *SnaplockLegalHoldCollectionGetDefault) IsSuccess() bool
- func (o *SnaplockLegalHoldCollectionGetDefault) String() string
- type SnaplockLegalHoldCollectionGetOK
- func (o *SnaplockLegalHoldCollectionGetOK) Error() string
- func (o *SnaplockLegalHoldCollectionGetOK) GetPayload() *models.SnaplockLitigationResponse
- func (o *SnaplockLegalHoldCollectionGetOK) IsClientError() bool
- func (o *SnaplockLegalHoldCollectionGetOK) IsCode(code int) bool
- func (o *SnaplockLegalHoldCollectionGetOK) IsRedirect() bool
- func (o *SnaplockLegalHoldCollectionGetOK) IsServerError() bool
- func (o *SnaplockLegalHoldCollectionGetOK) IsSuccess() bool
- func (o *SnaplockLegalHoldCollectionGetOK) String() string
- type SnaplockLegalHoldCollectionGetParams
- func NewSnaplockLegalHoldCollectionGetParams() *SnaplockLegalHoldCollectionGetParams
- func NewSnaplockLegalHoldCollectionGetParamsWithContext(ctx context.Context) *SnaplockLegalHoldCollectionGetParams
- func NewSnaplockLegalHoldCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldCollectionGetParams
- func NewSnaplockLegalHoldCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldCollectionGetParams
- func (o *SnaplockLegalHoldCollectionGetParams) SetContext(ctx context.Context)
- func (o *SnaplockLegalHoldCollectionGetParams) SetDefaults()
- func (o *SnaplockLegalHoldCollectionGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockLegalHoldCollectionGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLegalHoldCollectionGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *SnaplockLegalHoldCollectionGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *SnaplockLegalHoldCollectionGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockLegalHoldCollectionGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockLegalHoldCollectionGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLegalHoldCollectionGetParams) WithContext(ctx context.Context) *SnaplockLegalHoldCollectionGetParams
- func (o *SnaplockLegalHoldCollectionGetParams) WithDefaults() *SnaplockLegalHoldCollectionGetParams
- func (o *SnaplockLegalHoldCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockLegalHoldCollectionGetParams
- func (o *SnaplockLegalHoldCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldCollectionGetParams
- func (o *SnaplockLegalHoldCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockLegalHoldCollectionGetParams
- func (o *SnaplockLegalHoldCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockLegalHoldCollectionGetParams
- func (o *SnaplockLegalHoldCollectionGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockLegalHoldCollectionGetParams
- func (o *SnaplockLegalHoldCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockLegalHoldCollectionGetParams
- func (o *SnaplockLegalHoldCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldCollectionGetParams
- func (o *SnaplockLegalHoldCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLegalHoldCollectionGetReader
- type SnaplockLegalHoldCreateCreated
- func (o *SnaplockLegalHoldCreateCreated) Error() string
- func (o *SnaplockLegalHoldCreateCreated) GetPayload() *models.SnaplockLegalHoldOperation
- func (o *SnaplockLegalHoldCreateCreated) IsClientError() bool
- func (o *SnaplockLegalHoldCreateCreated) IsCode(code int) bool
- func (o *SnaplockLegalHoldCreateCreated) IsRedirect() bool
- func (o *SnaplockLegalHoldCreateCreated) IsServerError() bool
- func (o *SnaplockLegalHoldCreateCreated) IsSuccess() bool
- func (o *SnaplockLegalHoldCreateCreated) String() string
- type SnaplockLegalHoldCreateDefault
- func (o *SnaplockLegalHoldCreateDefault) Code() int
- func (o *SnaplockLegalHoldCreateDefault) Error() string
- func (o *SnaplockLegalHoldCreateDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLegalHoldCreateDefault) IsClientError() bool
- func (o *SnaplockLegalHoldCreateDefault) IsCode(code int) bool
- func (o *SnaplockLegalHoldCreateDefault) IsRedirect() bool
- func (o *SnaplockLegalHoldCreateDefault) IsServerError() bool
- func (o *SnaplockLegalHoldCreateDefault) IsSuccess() bool
- func (o *SnaplockLegalHoldCreateDefault) String() string
- type SnaplockLegalHoldCreateParams
- func NewSnaplockLegalHoldCreateParams() *SnaplockLegalHoldCreateParams
- func NewSnaplockLegalHoldCreateParamsWithContext(ctx context.Context) *SnaplockLegalHoldCreateParams
- func NewSnaplockLegalHoldCreateParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldCreateParams
- func NewSnaplockLegalHoldCreateParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldCreateParams
- func (o *SnaplockLegalHoldCreateParams) SetContext(ctx context.Context)
- func (o *SnaplockLegalHoldCreateParams) SetDefaults()
- func (o *SnaplockLegalHoldCreateParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLegalHoldCreateParams) SetInfo(info *models.SnaplockLegalHoldOperation)
- func (o *SnaplockLegalHoldCreateParams) SetLitigationIDPathParameter(litigationID string)
- func (o *SnaplockLegalHoldCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockLegalHoldCreateParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLegalHoldCreateParams) WithContext(ctx context.Context) *SnaplockLegalHoldCreateParams
- func (o *SnaplockLegalHoldCreateParams) WithDefaults() *SnaplockLegalHoldCreateParams
- func (o *SnaplockLegalHoldCreateParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldCreateParams
- func (o *SnaplockLegalHoldCreateParams) WithInfo(info *models.SnaplockLegalHoldOperation) *SnaplockLegalHoldCreateParams
- func (o *SnaplockLegalHoldCreateParams) WithLitigationIDPathParameter(litigationID string) *SnaplockLegalHoldCreateParams
- func (o *SnaplockLegalHoldCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockLegalHoldCreateParams
- func (o *SnaplockLegalHoldCreateParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldCreateParams
- func (o *SnaplockLegalHoldCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLegalHoldCreateReader
- type SnaplockLegalHoldDeleteDefault
- func (o *SnaplockLegalHoldDeleteDefault) Code() int
- func (o *SnaplockLegalHoldDeleteDefault) Error() string
- func (o *SnaplockLegalHoldDeleteDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLegalHoldDeleteDefault) IsClientError() bool
- func (o *SnaplockLegalHoldDeleteDefault) IsCode(code int) bool
- func (o *SnaplockLegalHoldDeleteDefault) IsRedirect() bool
- func (o *SnaplockLegalHoldDeleteDefault) IsServerError() bool
- func (o *SnaplockLegalHoldDeleteDefault) IsSuccess() bool
- func (o *SnaplockLegalHoldDeleteDefault) String() string
- type SnaplockLegalHoldDeleteOK
- func (o *SnaplockLegalHoldDeleteOK) Error() string
- func (o *SnaplockLegalHoldDeleteOK) IsClientError() bool
- func (o *SnaplockLegalHoldDeleteOK) IsCode(code int) bool
- func (o *SnaplockLegalHoldDeleteOK) IsRedirect() bool
- func (o *SnaplockLegalHoldDeleteOK) IsServerError() bool
- func (o *SnaplockLegalHoldDeleteOK) IsSuccess() bool
- func (o *SnaplockLegalHoldDeleteOK) String() string
- type SnaplockLegalHoldDeleteParams
- func NewSnaplockLegalHoldDeleteParams() *SnaplockLegalHoldDeleteParams
- func NewSnaplockLegalHoldDeleteParamsWithContext(ctx context.Context) *SnaplockLegalHoldDeleteParams
- func NewSnaplockLegalHoldDeleteParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldDeleteParams
- func NewSnaplockLegalHoldDeleteParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldDeleteParams
- func (o *SnaplockLegalHoldDeleteParams) SetContext(ctx context.Context)
- func (o *SnaplockLegalHoldDeleteParams) SetDefaults()
- func (o *SnaplockLegalHoldDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLegalHoldDeleteParams) SetIDPathParameter(id string)
- func (o *SnaplockLegalHoldDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLegalHoldDeleteParams) WithContext(ctx context.Context) *SnaplockLegalHoldDeleteParams
- func (o *SnaplockLegalHoldDeleteParams) WithDefaults() *SnaplockLegalHoldDeleteParams
- func (o *SnaplockLegalHoldDeleteParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldDeleteParams
- func (o *SnaplockLegalHoldDeleteParams) WithIDPathParameter(id string) *SnaplockLegalHoldDeleteParams
- func (o *SnaplockLegalHoldDeleteParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldDeleteParams
- func (o *SnaplockLegalHoldDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLegalHoldDeleteReader
- type SnaplockLegalHoldFilesGetDefault
- func (o *SnaplockLegalHoldFilesGetDefault) Code() int
- func (o *SnaplockLegalHoldFilesGetDefault) Error() string
- func (o *SnaplockLegalHoldFilesGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLegalHoldFilesGetDefault) IsClientError() bool
- func (o *SnaplockLegalHoldFilesGetDefault) IsCode(code int) bool
- func (o *SnaplockLegalHoldFilesGetDefault) IsRedirect() bool
- func (o *SnaplockLegalHoldFilesGetDefault) IsServerError() bool
- func (o *SnaplockLegalHoldFilesGetDefault) IsSuccess() bool
- func (o *SnaplockLegalHoldFilesGetDefault) String() string
- type SnaplockLegalHoldFilesGetOK
- func (o *SnaplockLegalHoldFilesGetOK) Error() string
- func (o *SnaplockLegalHoldFilesGetOK) GetPayload() *models.SnaplockLitigationFileResponse
- func (o *SnaplockLegalHoldFilesGetOK) IsClientError() bool
- func (o *SnaplockLegalHoldFilesGetOK) IsCode(code int) bool
- func (o *SnaplockLegalHoldFilesGetOK) IsRedirect() bool
- func (o *SnaplockLegalHoldFilesGetOK) IsServerError() bool
- func (o *SnaplockLegalHoldFilesGetOK) IsSuccess() bool
- func (o *SnaplockLegalHoldFilesGetOK) String() string
- type SnaplockLegalHoldFilesGetParams
- func NewSnaplockLegalHoldFilesGetParams() *SnaplockLegalHoldFilesGetParams
- func NewSnaplockLegalHoldFilesGetParamsWithContext(ctx context.Context) *SnaplockLegalHoldFilesGetParams
- func NewSnaplockLegalHoldFilesGetParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldFilesGetParams
- func NewSnaplockLegalHoldFilesGetParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) SetContext(ctx context.Context)
- func (o *SnaplockLegalHoldFilesGetParams) SetDefaults()
- func (o *SnaplockLegalHoldFilesGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockLegalHoldFilesGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLegalHoldFilesGetParams) SetLitigationIDPathParameter(litigationID string)
- func (o *SnaplockLegalHoldFilesGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *SnaplockLegalHoldFilesGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *SnaplockLegalHoldFilesGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockLegalHoldFilesGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockLegalHoldFilesGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLegalHoldFilesGetParams) WithContext(ctx context.Context) *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) WithDefaults() *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) WithFieldsQueryParameter(fields []string) *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) WithLitigationIDPathParameter(litigationID string) *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldFilesGetParams
- func (o *SnaplockLegalHoldFilesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLegalHoldFilesGetReader
- type SnaplockLegalHoldGetDefault
- func (o *SnaplockLegalHoldGetDefault) Code() int
- func (o *SnaplockLegalHoldGetDefault) Error() string
- func (o *SnaplockLegalHoldGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLegalHoldGetDefault) IsClientError() bool
- func (o *SnaplockLegalHoldGetDefault) IsCode(code int) bool
- func (o *SnaplockLegalHoldGetDefault) IsRedirect() bool
- func (o *SnaplockLegalHoldGetDefault) IsServerError() bool
- func (o *SnaplockLegalHoldGetDefault) IsSuccess() bool
- func (o *SnaplockLegalHoldGetDefault) String() string
- type SnaplockLegalHoldGetOK
- func (o *SnaplockLegalHoldGetOK) Error() string
- func (o *SnaplockLegalHoldGetOK) GetPayload() *models.SnaplockLitigation
- func (o *SnaplockLegalHoldGetOK) IsClientError() bool
- func (o *SnaplockLegalHoldGetOK) IsCode(code int) bool
- func (o *SnaplockLegalHoldGetOK) IsRedirect() bool
- func (o *SnaplockLegalHoldGetOK) IsServerError() bool
- func (o *SnaplockLegalHoldGetOK) IsSuccess() bool
- func (o *SnaplockLegalHoldGetOK) String() string
- type SnaplockLegalHoldGetParams
- func NewSnaplockLegalHoldGetParams() *SnaplockLegalHoldGetParams
- func NewSnaplockLegalHoldGetParamsWithContext(ctx context.Context) *SnaplockLegalHoldGetParams
- func NewSnaplockLegalHoldGetParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldGetParams
- func NewSnaplockLegalHoldGetParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldGetParams
- func (o *SnaplockLegalHoldGetParams) SetContext(ctx context.Context)
- func (o *SnaplockLegalHoldGetParams) SetDefaults()
- func (o *SnaplockLegalHoldGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockLegalHoldGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLegalHoldGetParams) SetIDPathParameter(id string)
- func (o *SnaplockLegalHoldGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLegalHoldGetParams) WithContext(ctx context.Context) *SnaplockLegalHoldGetParams
- func (o *SnaplockLegalHoldGetParams) WithDefaults() *SnaplockLegalHoldGetParams
- func (o *SnaplockLegalHoldGetParams) WithFieldsQueryParameter(fields []string) *SnaplockLegalHoldGetParams
- func (o *SnaplockLegalHoldGetParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldGetParams
- func (o *SnaplockLegalHoldGetParams) WithIDPathParameter(id string) *SnaplockLegalHoldGetParams
- func (o *SnaplockLegalHoldGetParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldGetParams
- func (o *SnaplockLegalHoldGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLegalHoldGetReader
- type SnaplockLegalHoldOperationDeleteDefault
- func (o *SnaplockLegalHoldOperationDeleteDefault) Code() int
- func (o *SnaplockLegalHoldOperationDeleteDefault) Error() string
- func (o *SnaplockLegalHoldOperationDeleteDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLegalHoldOperationDeleteDefault) IsClientError() bool
- func (o *SnaplockLegalHoldOperationDeleteDefault) IsCode(code int) bool
- func (o *SnaplockLegalHoldOperationDeleteDefault) IsRedirect() bool
- func (o *SnaplockLegalHoldOperationDeleteDefault) IsServerError() bool
- func (o *SnaplockLegalHoldOperationDeleteDefault) IsSuccess() bool
- func (o *SnaplockLegalHoldOperationDeleteDefault) String() string
- type SnaplockLegalHoldOperationDeleteOK
- func (o *SnaplockLegalHoldOperationDeleteOK) Error() string
- func (o *SnaplockLegalHoldOperationDeleteOK) IsClientError() bool
- func (o *SnaplockLegalHoldOperationDeleteOK) IsCode(code int) bool
- func (o *SnaplockLegalHoldOperationDeleteOK) IsRedirect() bool
- func (o *SnaplockLegalHoldOperationDeleteOK) IsServerError() bool
- func (o *SnaplockLegalHoldOperationDeleteOK) IsSuccess() bool
- func (o *SnaplockLegalHoldOperationDeleteOK) String() string
- type SnaplockLegalHoldOperationDeleteParams
- func NewSnaplockLegalHoldOperationDeleteParams() *SnaplockLegalHoldOperationDeleteParams
- func NewSnaplockLegalHoldOperationDeleteParamsWithContext(ctx context.Context) *SnaplockLegalHoldOperationDeleteParams
- func NewSnaplockLegalHoldOperationDeleteParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldOperationDeleteParams
- func NewSnaplockLegalHoldOperationDeleteParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldOperationDeleteParams
- func (o *SnaplockLegalHoldOperationDeleteParams) SetContext(ctx context.Context)
- func (o *SnaplockLegalHoldOperationDeleteParams) SetDefaults()
- func (o *SnaplockLegalHoldOperationDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLegalHoldOperationDeleteParams) SetIDPathParameter(id string)
- func (o *SnaplockLegalHoldOperationDeleteParams) SetLitigationIDPathParameter(litigationID string)
- func (o *SnaplockLegalHoldOperationDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLegalHoldOperationDeleteParams) WithContext(ctx context.Context) *SnaplockLegalHoldOperationDeleteParams
- func (o *SnaplockLegalHoldOperationDeleteParams) WithDefaults() *SnaplockLegalHoldOperationDeleteParams
- func (o *SnaplockLegalHoldOperationDeleteParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldOperationDeleteParams
- func (o *SnaplockLegalHoldOperationDeleteParams) WithIDPathParameter(id string) *SnaplockLegalHoldOperationDeleteParams
- func (o *SnaplockLegalHoldOperationDeleteParams) WithLitigationIDPathParameter(litigationID string) *SnaplockLegalHoldOperationDeleteParams
- func (o *SnaplockLegalHoldOperationDeleteParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldOperationDeleteParams
- func (o *SnaplockLegalHoldOperationDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLegalHoldOperationDeleteReader
- type SnaplockLegalHoldOperationGetDefault
- func (o *SnaplockLegalHoldOperationGetDefault) Code() int
- func (o *SnaplockLegalHoldOperationGetDefault) Error() string
- func (o *SnaplockLegalHoldOperationGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLegalHoldOperationGetDefault) IsClientError() bool
- func (o *SnaplockLegalHoldOperationGetDefault) IsCode(code int) bool
- func (o *SnaplockLegalHoldOperationGetDefault) IsRedirect() bool
- func (o *SnaplockLegalHoldOperationGetDefault) IsServerError() bool
- func (o *SnaplockLegalHoldOperationGetDefault) IsSuccess() bool
- func (o *SnaplockLegalHoldOperationGetDefault) String() string
- type SnaplockLegalHoldOperationGetOK
- func (o *SnaplockLegalHoldOperationGetOK) Error() string
- func (o *SnaplockLegalHoldOperationGetOK) GetPayload() *models.SnaplockLegalHoldOperation
- func (o *SnaplockLegalHoldOperationGetOK) IsClientError() bool
- func (o *SnaplockLegalHoldOperationGetOK) IsCode(code int) bool
- func (o *SnaplockLegalHoldOperationGetOK) IsRedirect() bool
- func (o *SnaplockLegalHoldOperationGetOK) IsServerError() bool
- func (o *SnaplockLegalHoldOperationGetOK) IsSuccess() bool
- func (o *SnaplockLegalHoldOperationGetOK) String() string
- type SnaplockLegalHoldOperationGetParams
- func NewSnaplockLegalHoldOperationGetParams() *SnaplockLegalHoldOperationGetParams
- func NewSnaplockLegalHoldOperationGetParamsWithContext(ctx context.Context) *SnaplockLegalHoldOperationGetParams
- func NewSnaplockLegalHoldOperationGetParamsWithHTTPClient(client *http.Client) *SnaplockLegalHoldOperationGetParams
- func NewSnaplockLegalHoldOperationGetParamsWithTimeout(timeout time.Duration) *SnaplockLegalHoldOperationGetParams
- func (o *SnaplockLegalHoldOperationGetParams) SetContext(ctx context.Context)
- func (o *SnaplockLegalHoldOperationGetParams) SetDefaults()
- func (o *SnaplockLegalHoldOperationGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockLegalHoldOperationGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLegalHoldOperationGetParams) SetIDPathParameter(id string)
- func (o *SnaplockLegalHoldOperationGetParams) SetLitigationIDPathParameter(litigationID string)
- func (o *SnaplockLegalHoldOperationGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLegalHoldOperationGetParams) WithContext(ctx context.Context) *SnaplockLegalHoldOperationGetParams
- func (o *SnaplockLegalHoldOperationGetParams) WithDefaults() *SnaplockLegalHoldOperationGetParams
- func (o *SnaplockLegalHoldOperationGetParams) WithFieldsQueryParameter(fields []string) *SnaplockLegalHoldOperationGetParams
- func (o *SnaplockLegalHoldOperationGetParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldOperationGetParams
- func (o *SnaplockLegalHoldOperationGetParams) WithIDPathParameter(id string) *SnaplockLegalHoldOperationGetParams
- func (o *SnaplockLegalHoldOperationGetParams) WithLitigationIDPathParameter(litigationID string) *SnaplockLegalHoldOperationGetParams
- func (o *SnaplockLegalHoldOperationGetParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldOperationGetParams
- func (o *SnaplockLegalHoldOperationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLegalHoldOperationGetReader
- type SnaplockLogCollectionGetDefault
- func (o *SnaplockLogCollectionGetDefault) Code() int
- func (o *SnaplockLogCollectionGetDefault) Error() string
- func (o *SnaplockLogCollectionGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLogCollectionGetDefault) IsClientError() bool
- func (o *SnaplockLogCollectionGetDefault) IsCode(code int) bool
- func (o *SnaplockLogCollectionGetDefault) IsRedirect() bool
- func (o *SnaplockLogCollectionGetDefault) IsServerError() bool
- func (o *SnaplockLogCollectionGetDefault) IsSuccess() bool
- func (o *SnaplockLogCollectionGetDefault) String() string
- type SnaplockLogCollectionGetOK
- func (o *SnaplockLogCollectionGetOK) Error() string
- func (o *SnaplockLogCollectionGetOK) GetPayload() *models.SnaplockLogResponse
- func (o *SnaplockLogCollectionGetOK) IsClientError() bool
- func (o *SnaplockLogCollectionGetOK) IsCode(code int) bool
- func (o *SnaplockLogCollectionGetOK) IsRedirect() bool
- func (o *SnaplockLogCollectionGetOK) IsServerError() bool
- func (o *SnaplockLogCollectionGetOK) IsSuccess() bool
- func (o *SnaplockLogCollectionGetOK) String() string
- type SnaplockLogCollectionGetParams
- func NewSnaplockLogCollectionGetParams() *SnaplockLogCollectionGetParams
- func NewSnaplockLogCollectionGetParamsWithContext(ctx context.Context) *SnaplockLogCollectionGetParams
- func NewSnaplockLogCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockLogCollectionGetParams
- func NewSnaplockLogCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) SetContext(ctx context.Context)
- func (o *SnaplockLogCollectionGetParams) SetDefaults()
- func (o *SnaplockLogCollectionGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockLogCollectionGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLogCollectionGetParams) SetLogArchiveBaseNameQueryParameter(logArchiveBaseName *string)
- func (o *SnaplockLogCollectionGetParams) SetLogArchiveExpiryTimeQueryParameter(logArchiveExpiryTime *string)
- func (o *SnaplockLogCollectionGetParams) SetLogArchivePathQueryParameter(logArchivePath *string)
- func (o *SnaplockLogCollectionGetParams) SetLogArchiveSizeQueryParameter(logArchiveSize *int64)
- func (o *SnaplockLogCollectionGetParams) SetLogFilesBaseNameQueryParameter(logFilesBaseName *string)
- func (o *SnaplockLogCollectionGetParams) SetLogFilesExpiryTimeQueryParameter(logFilesExpiryTime *string)
- func (o *SnaplockLogCollectionGetParams) SetLogFilesPathQueryParameter(logFilesPath *string)
- func (o *SnaplockLogCollectionGetParams) SetLogFilesSizeQueryParameter(logFilesSize *int64)
- func (o *SnaplockLogCollectionGetParams) SetLogVolumeMaxLogSizeQueryParameter(logVolumeMaxLogSize *int64)
- func (o *SnaplockLogCollectionGetParams) SetLogVolumeRetentionPeriodQueryParameter(logVolumeRetentionPeriod *string)
- func (o *SnaplockLogCollectionGetParams) SetLogVolumeVolumeNameQueryParameter(logVolumeVolumeName *string)
- func (o *SnaplockLogCollectionGetParams) SetLogVolumeVolumeUUIDQueryParameter(logVolumeVolumeUUID *string)
- func (o *SnaplockLogCollectionGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *SnaplockLogCollectionGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *SnaplockLogCollectionGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockLogCollectionGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockLogCollectionGetParams) SetSVMNameQueryParameter(svmName *string)
- func (o *SnaplockLogCollectionGetParams) SetSVMUUIDQueryParameter(svmUUID *string)
- func (o *SnaplockLogCollectionGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLogCollectionGetParams) WithContext(ctx context.Context) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithDefaults() *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogArchiveBaseNameQueryParameter(logArchiveBaseName *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogArchiveExpiryTimeQueryParameter(logArchiveExpiryTime *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogArchivePathQueryParameter(logArchivePath *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogArchiveSizeQueryParameter(logArchiveSize *int64) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogFilesBaseNameQueryParameter(logFilesBaseName *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogFilesExpiryTimeQueryParameter(logFilesExpiryTime *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogFilesPathQueryParameter(logFilesPath *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogFilesSizeQueryParameter(logFilesSize *int64) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogVolumeMaxLogSizeQueryParameter(logVolumeMaxLogSize *int64) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogVolumeRetentionPeriodQueryParameter(logVolumeRetentionPeriod *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogVolumeVolumeNameQueryParameter(logVolumeVolumeName *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithLogVolumeVolumeUUIDQueryParameter(logVolumeVolumeUUID *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithSVMNameQueryParameter(svmName *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithSVMUUIDQueryParameter(svmUUID *string) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockLogCollectionGetParams
- func (o *SnaplockLogCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLogCollectionGetReader
- type SnaplockLogCreateAccepted
- func (o *SnaplockLogCreateAccepted) Error() string
- func (o *SnaplockLogCreateAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnaplockLogCreateAccepted) IsClientError() bool
- func (o *SnaplockLogCreateAccepted) IsCode(code int) bool
- func (o *SnaplockLogCreateAccepted) IsRedirect() bool
- func (o *SnaplockLogCreateAccepted) IsServerError() bool
- func (o *SnaplockLogCreateAccepted) IsSuccess() bool
- func (o *SnaplockLogCreateAccepted) String() string
- type SnaplockLogCreateDefault
- func (o *SnaplockLogCreateDefault) Code() int
- func (o *SnaplockLogCreateDefault) Error() string
- func (o *SnaplockLogCreateDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLogCreateDefault) IsClientError() bool
- func (o *SnaplockLogCreateDefault) IsCode(code int) bool
- func (o *SnaplockLogCreateDefault) IsRedirect() bool
- func (o *SnaplockLogCreateDefault) IsServerError() bool
- func (o *SnaplockLogCreateDefault) IsSuccess() bool
- func (o *SnaplockLogCreateDefault) String() string
- type SnaplockLogCreateParams
- func NewSnaplockLogCreateParams() *SnaplockLogCreateParams
- func NewSnaplockLogCreateParamsWithContext(ctx context.Context) *SnaplockLogCreateParams
- func NewSnaplockLogCreateParamsWithHTTPClient(client *http.Client) *SnaplockLogCreateParams
- func NewSnaplockLogCreateParamsWithTimeout(timeout time.Duration) *SnaplockLogCreateParams
- func (o *SnaplockLogCreateParams) SetContext(ctx context.Context)
- func (o *SnaplockLogCreateParams) SetDefaults()
- func (o *SnaplockLogCreateParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLogCreateParams) SetInfo(info *models.SnaplockLog)
- func (o *SnaplockLogCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockLogCreateParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockLogCreateParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLogCreateParams) WithContext(ctx context.Context) *SnaplockLogCreateParams
- func (o *SnaplockLogCreateParams) WithDefaults() *SnaplockLogCreateParams
- func (o *SnaplockLogCreateParams) WithHTTPClient(client *http.Client) *SnaplockLogCreateParams
- func (o *SnaplockLogCreateParams) WithInfo(info *models.SnaplockLog) *SnaplockLogCreateParams
- func (o *SnaplockLogCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockLogCreateParams
- func (o *SnaplockLogCreateParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockLogCreateParams
- func (o *SnaplockLogCreateParams) WithTimeout(timeout time.Duration) *SnaplockLogCreateParams
- func (o *SnaplockLogCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLogCreateReader
- type SnaplockLogDeleteAccepted
- func (o *SnaplockLogDeleteAccepted) Error() string
- func (o *SnaplockLogDeleteAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnaplockLogDeleteAccepted) IsClientError() bool
- func (o *SnaplockLogDeleteAccepted) IsCode(code int) bool
- func (o *SnaplockLogDeleteAccepted) IsRedirect() bool
- func (o *SnaplockLogDeleteAccepted) IsServerError() bool
- func (o *SnaplockLogDeleteAccepted) IsSuccess() bool
- func (o *SnaplockLogDeleteAccepted) String() string
- type SnaplockLogDeleteDefault
- func (o *SnaplockLogDeleteDefault) Code() int
- func (o *SnaplockLogDeleteDefault) Error() string
- func (o *SnaplockLogDeleteDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLogDeleteDefault) IsClientError() bool
- func (o *SnaplockLogDeleteDefault) IsCode(code int) bool
- func (o *SnaplockLogDeleteDefault) IsRedirect() bool
- func (o *SnaplockLogDeleteDefault) IsServerError() bool
- func (o *SnaplockLogDeleteDefault) IsSuccess() bool
- func (o *SnaplockLogDeleteDefault) String() string
- type SnaplockLogDeleteParams
- func NewSnaplockLogDeleteParams() *SnaplockLogDeleteParams
- func NewSnaplockLogDeleteParamsWithContext(ctx context.Context) *SnaplockLogDeleteParams
- func NewSnaplockLogDeleteParamsWithHTTPClient(client *http.Client) *SnaplockLogDeleteParams
- func NewSnaplockLogDeleteParamsWithTimeout(timeout time.Duration) *SnaplockLogDeleteParams
- func (o *SnaplockLogDeleteParams) SetContext(ctx context.Context)
- func (o *SnaplockLogDeleteParams) SetDefaults()
- func (o *SnaplockLogDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLogDeleteParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockLogDeleteParams) SetSVMUUIDPathParameter(svmUUID string)
- func (o *SnaplockLogDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLogDeleteParams) WithContext(ctx context.Context) *SnaplockLogDeleteParams
- func (o *SnaplockLogDeleteParams) WithDefaults() *SnaplockLogDeleteParams
- func (o *SnaplockLogDeleteParams) WithHTTPClient(client *http.Client) *SnaplockLogDeleteParams
- func (o *SnaplockLogDeleteParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockLogDeleteParams
- func (o *SnaplockLogDeleteParams) WithSVMUUIDPathParameter(svmUUID string) *SnaplockLogDeleteParams
- func (o *SnaplockLogDeleteParams) WithTimeout(timeout time.Duration) *SnaplockLogDeleteParams
- func (o *SnaplockLogDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLogDeleteReader
- type SnaplockLogGetDefault
- func (o *SnaplockLogGetDefault) Code() int
- func (o *SnaplockLogGetDefault) Error() string
- func (o *SnaplockLogGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLogGetDefault) IsClientError() bool
- func (o *SnaplockLogGetDefault) IsCode(code int) bool
- func (o *SnaplockLogGetDefault) IsRedirect() bool
- func (o *SnaplockLogGetDefault) IsServerError() bool
- func (o *SnaplockLogGetDefault) IsSuccess() bool
- func (o *SnaplockLogGetDefault) String() string
- type SnaplockLogGetOK
- func (o *SnaplockLogGetOK) Error() string
- func (o *SnaplockLogGetOK) GetPayload() *models.SnaplockLog
- func (o *SnaplockLogGetOK) IsClientError() bool
- func (o *SnaplockLogGetOK) IsCode(code int) bool
- func (o *SnaplockLogGetOK) IsRedirect() bool
- func (o *SnaplockLogGetOK) IsServerError() bool
- func (o *SnaplockLogGetOK) IsSuccess() bool
- func (o *SnaplockLogGetOK) String() string
- type SnaplockLogGetParams
- func NewSnaplockLogGetParams() *SnaplockLogGetParams
- func NewSnaplockLogGetParamsWithContext(ctx context.Context) *SnaplockLogGetParams
- func NewSnaplockLogGetParamsWithHTTPClient(client *http.Client) *SnaplockLogGetParams
- func NewSnaplockLogGetParamsWithTimeout(timeout time.Duration) *SnaplockLogGetParams
- func (o *SnaplockLogGetParams) SetContext(ctx context.Context)
- func (o *SnaplockLogGetParams) SetDefaults()
- func (o *SnaplockLogGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockLogGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLogGetParams) SetSVMUUIDPathParameter(svmUUID string)
- func (o *SnaplockLogGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLogGetParams) WithContext(ctx context.Context) *SnaplockLogGetParams
- func (o *SnaplockLogGetParams) WithDefaults() *SnaplockLogGetParams
- func (o *SnaplockLogGetParams) WithFieldsQueryParameter(fields []string) *SnaplockLogGetParams
- func (o *SnaplockLogGetParams) WithHTTPClient(client *http.Client) *SnaplockLogGetParams
- func (o *SnaplockLogGetParams) WithSVMUUIDPathParameter(svmUUID string) *SnaplockLogGetParams
- func (o *SnaplockLogGetParams) WithTimeout(timeout time.Duration) *SnaplockLogGetParams
- func (o *SnaplockLogGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLogGetReader
- type SnaplockLogModifyAccepted
- func (o *SnaplockLogModifyAccepted) Error() string
- func (o *SnaplockLogModifyAccepted) GetPayload() *models.JobLinkResponse
- func (o *SnaplockLogModifyAccepted) IsClientError() bool
- func (o *SnaplockLogModifyAccepted) IsCode(code int) bool
- func (o *SnaplockLogModifyAccepted) IsRedirect() bool
- func (o *SnaplockLogModifyAccepted) IsServerError() bool
- func (o *SnaplockLogModifyAccepted) IsSuccess() bool
- func (o *SnaplockLogModifyAccepted) String() string
- type SnaplockLogModifyDefault
- func (o *SnaplockLogModifyDefault) Code() int
- func (o *SnaplockLogModifyDefault) Error() string
- func (o *SnaplockLogModifyDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockLogModifyDefault) IsClientError() bool
- func (o *SnaplockLogModifyDefault) IsCode(code int) bool
- func (o *SnaplockLogModifyDefault) IsRedirect() bool
- func (o *SnaplockLogModifyDefault) IsServerError() bool
- func (o *SnaplockLogModifyDefault) IsSuccess() bool
- func (o *SnaplockLogModifyDefault) String() string
- type SnaplockLogModifyParams
- func NewSnaplockLogModifyParams() *SnaplockLogModifyParams
- func NewSnaplockLogModifyParamsWithContext(ctx context.Context) *SnaplockLogModifyParams
- func NewSnaplockLogModifyParamsWithHTTPClient(client *http.Client) *SnaplockLogModifyParams
- func NewSnaplockLogModifyParamsWithTimeout(timeout time.Duration) *SnaplockLogModifyParams
- func (o *SnaplockLogModifyParams) SetContext(ctx context.Context)
- func (o *SnaplockLogModifyParams) SetDefaults()
- func (o *SnaplockLogModifyParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockLogModifyParams) SetInfo(info *models.SnaplockLog)
- func (o *SnaplockLogModifyParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockLogModifyParams) SetSVMUUIDPathParameter(svmUUID string)
- func (o *SnaplockLogModifyParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockLogModifyParams) WithContext(ctx context.Context) *SnaplockLogModifyParams
- func (o *SnaplockLogModifyParams) WithDefaults() *SnaplockLogModifyParams
- func (o *SnaplockLogModifyParams) WithHTTPClient(client *http.Client) *SnaplockLogModifyParams
- func (o *SnaplockLogModifyParams) WithInfo(info *models.SnaplockLog) *SnaplockLogModifyParams
- func (o *SnaplockLogModifyParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockLogModifyParams
- func (o *SnaplockLogModifyParams) WithSVMUUIDPathParameter(svmUUID string) *SnaplockLogModifyParams
- func (o *SnaplockLogModifyParams) WithTimeout(timeout time.Duration) *SnaplockLogModifyParams
- func (o *SnaplockLogModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockLogModifyReader
- type SnaplockRetentionOperationCollectionGetDefault
- func (o *SnaplockRetentionOperationCollectionGetDefault) Code() int
- func (o *SnaplockRetentionOperationCollectionGetDefault) Error() string
- func (o *SnaplockRetentionOperationCollectionGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockRetentionOperationCollectionGetDefault) IsClientError() bool
- func (o *SnaplockRetentionOperationCollectionGetDefault) IsCode(code int) bool
- func (o *SnaplockRetentionOperationCollectionGetDefault) IsRedirect() bool
- func (o *SnaplockRetentionOperationCollectionGetDefault) IsServerError() bool
- func (o *SnaplockRetentionOperationCollectionGetDefault) IsSuccess() bool
- func (o *SnaplockRetentionOperationCollectionGetDefault) String() string
- type SnaplockRetentionOperationCollectionGetOK
- func (o *SnaplockRetentionOperationCollectionGetOK) Error() string
- func (o *SnaplockRetentionOperationCollectionGetOK) GetPayload() *models.EbrOperationResponse
- func (o *SnaplockRetentionOperationCollectionGetOK) IsClientError() bool
- func (o *SnaplockRetentionOperationCollectionGetOK) IsCode(code int) bool
- func (o *SnaplockRetentionOperationCollectionGetOK) IsRedirect() bool
- func (o *SnaplockRetentionOperationCollectionGetOK) IsServerError() bool
- func (o *SnaplockRetentionOperationCollectionGetOK) IsSuccess() bool
- func (o *SnaplockRetentionOperationCollectionGetOK) String() string
- type SnaplockRetentionOperationCollectionGetParams
- func NewSnaplockRetentionOperationCollectionGetParams() *SnaplockRetentionOperationCollectionGetParams
- func NewSnaplockRetentionOperationCollectionGetParamsWithContext(ctx context.Context) *SnaplockRetentionOperationCollectionGetParams
- func NewSnaplockRetentionOperationCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockRetentionOperationCollectionGetParams
- func NewSnaplockRetentionOperationCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) SetContext(ctx context.Context)
- func (o *SnaplockRetentionOperationCollectionGetParams) SetDefaults()
- func (o *SnaplockRetentionOperationCollectionGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockRetentionOperationCollectionGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockRetentionOperationCollectionGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *SnaplockRetentionOperationCollectionGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *SnaplockRetentionOperationCollectionGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockRetentionOperationCollectionGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockRetentionOperationCollectionGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockRetentionOperationCollectionGetParams) SetVolumeUUIDQueryParameter(volumeUUID string)
- func (o *SnaplockRetentionOperationCollectionGetParams) WithContext(ctx context.Context) *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) WithDefaults() *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) WithVolumeUUIDQueryParameter(volumeUUID string) *SnaplockRetentionOperationCollectionGetParams
- func (o *SnaplockRetentionOperationCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockRetentionOperationCollectionGetReader
- type SnaplockRetentionOperationCreateCreated
- func (o *SnaplockRetentionOperationCreateCreated) Error() string
- func (o *SnaplockRetentionOperationCreateCreated) GetPayload() *models.EbrOperation
- func (o *SnaplockRetentionOperationCreateCreated) IsClientError() bool
- func (o *SnaplockRetentionOperationCreateCreated) IsCode(code int) bool
- func (o *SnaplockRetentionOperationCreateCreated) IsRedirect() bool
- func (o *SnaplockRetentionOperationCreateCreated) IsServerError() bool
- func (o *SnaplockRetentionOperationCreateCreated) IsSuccess() bool
- func (o *SnaplockRetentionOperationCreateCreated) String() string
- type SnaplockRetentionOperationCreateDefault
- func (o *SnaplockRetentionOperationCreateDefault) Code() int
- func (o *SnaplockRetentionOperationCreateDefault) Error() string
- func (o *SnaplockRetentionOperationCreateDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockRetentionOperationCreateDefault) IsClientError() bool
- func (o *SnaplockRetentionOperationCreateDefault) IsCode(code int) bool
- func (o *SnaplockRetentionOperationCreateDefault) IsRedirect() bool
- func (o *SnaplockRetentionOperationCreateDefault) IsServerError() bool
- func (o *SnaplockRetentionOperationCreateDefault) IsSuccess() bool
- func (o *SnaplockRetentionOperationCreateDefault) String() string
- type SnaplockRetentionOperationCreateParams
- func NewSnaplockRetentionOperationCreateParams() *SnaplockRetentionOperationCreateParams
- func NewSnaplockRetentionOperationCreateParamsWithContext(ctx context.Context) *SnaplockRetentionOperationCreateParams
- func NewSnaplockRetentionOperationCreateParamsWithHTTPClient(client *http.Client) *SnaplockRetentionOperationCreateParams
- func NewSnaplockRetentionOperationCreateParamsWithTimeout(timeout time.Duration) *SnaplockRetentionOperationCreateParams
- func (o *SnaplockRetentionOperationCreateParams) SetContext(ctx context.Context)
- func (o *SnaplockRetentionOperationCreateParams) SetDefaults()
- func (o *SnaplockRetentionOperationCreateParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockRetentionOperationCreateParams) SetInfo(info *models.EbrOperation)
- func (o *SnaplockRetentionOperationCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockRetentionOperationCreateParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockRetentionOperationCreateParams) WithContext(ctx context.Context) *SnaplockRetentionOperationCreateParams
- func (o *SnaplockRetentionOperationCreateParams) WithDefaults() *SnaplockRetentionOperationCreateParams
- func (o *SnaplockRetentionOperationCreateParams) WithHTTPClient(client *http.Client) *SnaplockRetentionOperationCreateParams
- func (o *SnaplockRetentionOperationCreateParams) WithInfo(info *models.EbrOperation) *SnaplockRetentionOperationCreateParams
- func (o *SnaplockRetentionOperationCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockRetentionOperationCreateParams
- func (o *SnaplockRetentionOperationCreateParams) WithTimeout(timeout time.Duration) *SnaplockRetentionOperationCreateParams
- func (o *SnaplockRetentionOperationCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockRetentionOperationCreateReader
- type SnaplockRetentionOperationDeleteDefault
- func (o *SnaplockRetentionOperationDeleteDefault) Code() int
- func (o *SnaplockRetentionOperationDeleteDefault) Error() string
- func (o *SnaplockRetentionOperationDeleteDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockRetentionOperationDeleteDefault) IsClientError() bool
- func (o *SnaplockRetentionOperationDeleteDefault) IsCode(code int) bool
- func (o *SnaplockRetentionOperationDeleteDefault) IsRedirect() bool
- func (o *SnaplockRetentionOperationDeleteDefault) IsServerError() bool
- func (o *SnaplockRetentionOperationDeleteDefault) IsSuccess() bool
- func (o *SnaplockRetentionOperationDeleteDefault) String() string
- type SnaplockRetentionOperationDeleteOK
- func (o *SnaplockRetentionOperationDeleteOK) Error() string
- func (o *SnaplockRetentionOperationDeleteOK) IsClientError() bool
- func (o *SnaplockRetentionOperationDeleteOK) IsCode(code int) bool
- func (o *SnaplockRetentionOperationDeleteOK) IsRedirect() bool
- func (o *SnaplockRetentionOperationDeleteOK) IsServerError() bool
- func (o *SnaplockRetentionOperationDeleteOK) IsSuccess() bool
- func (o *SnaplockRetentionOperationDeleteOK) String() string
- type SnaplockRetentionOperationDeleteParams
- func NewSnaplockRetentionOperationDeleteParams() *SnaplockRetentionOperationDeleteParams
- func NewSnaplockRetentionOperationDeleteParamsWithContext(ctx context.Context) *SnaplockRetentionOperationDeleteParams
- func NewSnaplockRetentionOperationDeleteParamsWithHTTPClient(client *http.Client) *SnaplockRetentionOperationDeleteParams
- func NewSnaplockRetentionOperationDeleteParamsWithTimeout(timeout time.Duration) *SnaplockRetentionOperationDeleteParams
- func (o *SnaplockRetentionOperationDeleteParams) SetContext(ctx context.Context)
- func (o *SnaplockRetentionOperationDeleteParams) SetDefaults()
- func (o *SnaplockRetentionOperationDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockRetentionOperationDeleteParams) SetIDPathParameter(id string)
- func (o *SnaplockRetentionOperationDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockRetentionOperationDeleteParams) WithContext(ctx context.Context) *SnaplockRetentionOperationDeleteParams
- func (o *SnaplockRetentionOperationDeleteParams) WithDefaults() *SnaplockRetentionOperationDeleteParams
- func (o *SnaplockRetentionOperationDeleteParams) WithHTTPClient(client *http.Client) *SnaplockRetentionOperationDeleteParams
- func (o *SnaplockRetentionOperationDeleteParams) WithIDPathParameter(id string) *SnaplockRetentionOperationDeleteParams
- func (o *SnaplockRetentionOperationDeleteParams) WithTimeout(timeout time.Duration) *SnaplockRetentionOperationDeleteParams
- func (o *SnaplockRetentionOperationDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockRetentionOperationDeleteReader
- type SnaplockRetentionOperationGetDefault
- func (o *SnaplockRetentionOperationGetDefault) Code() int
- func (o *SnaplockRetentionOperationGetDefault) Error() string
- func (o *SnaplockRetentionOperationGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockRetentionOperationGetDefault) IsClientError() bool
- func (o *SnaplockRetentionOperationGetDefault) IsCode(code int) bool
- func (o *SnaplockRetentionOperationGetDefault) IsRedirect() bool
- func (o *SnaplockRetentionOperationGetDefault) IsServerError() bool
- func (o *SnaplockRetentionOperationGetDefault) IsSuccess() bool
- func (o *SnaplockRetentionOperationGetDefault) String() string
- type SnaplockRetentionOperationGetOK
- func (o *SnaplockRetentionOperationGetOK) Error() string
- func (o *SnaplockRetentionOperationGetOK) GetPayload() *models.EbrOperation
- func (o *SnaplockRetentionOperationGetOK) IsClientError() bool
- func (o *SnaplockRetentionOperationGetOK) IsCode(code int) bool
- func (o *SnaplockRetentionOperationGetOK) IsRedirect() bool
- func (o *SnaplockRetentionOperationGetOK) IsServerError() bool
- func (o *SnaplockRetentionOperationGetOK) IsSuccess() bool
- func (o *SnaplockRetentionOperationGetOK) String() string
- type SnaplockRetentionOperationGetParams
- func NewSnaplockRetentionOperationGetParams() *SnaplockRetentionOperationGetParams
- func NewSnaplockRetentionOperationGetParamsWithContext(ctx context.Context) *SnaplockRetentionOperationGetParams
- func NewSnaplockRetentionOperationGetParamsWithHTTPClient(client *http.Client) *SnaplockRetentionOperationGetParams
- func NewSnaplockRetentionOperationGetParamsWithTimeout(timeout time.Duration) *SnaplockRetentionOperationGetParams
- func (o *SnaplockRetentionOperationGetParams) SetContext(ctx context.Context)
- func (o *SnaplockRetentionOperationGetParams) SetDefaults()
- func (o *SnaplockRetentionOperationGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockRetentionOperationGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockRetentionOperationGetParams) SetIDPathParameter(id string)
- func (o *SnaplockRetentionOperationGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockRetentionOperationGetParams) WithContext(ctx context.Context) *SnaplockRetentionOperationGetParams
- func (o *SnaplockRetentionOperationGetParams) WithDefaults() *SnaplockRetentionOperationGetParams
- func (o *SnaplockRetentionOperationGetParams) WithFieldsQueryParameter(fields []string) *SnaplockRetentionOperationGetParams
- func (o *SnaplockRetentionOperationGetParams) WithHTTPClient(client *http.Client) *SnaplockRetentionOperationGetParams
- func (o *SnaplockRetentionOperationGetParams) WithIDPathParameter(id string) *SnaplockRetentionOperationGetParams
- func (o *SnaplockRetentionOperationGetParams) WithTimeout(timeout time.Duration) *SnaplockRetentionOperationGetParams
- func (o *SnaplockRetentionOperationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockRetentionOperationGetReader
- type SnaplockRetentionPolicyCollectionGetDefault
- func (o *SnaplockRetentionPolicyCollectionGetDefault) Code() int
- func (o *SnaplockRetentionPolicyCollectionGetDefault) Error() string
- func (o *SnaplockRetentionPolicyCollectionGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockRetentionPolicyCollectionGetDefault) IsClientError() bool
- func (o *SnaplockRetentionPolicyCollectionGetDefault) IsCode(code int) bool
- func (o *SnaplockRetentionPolicyCollectionGetDefault) IsRedirect() bool
- func (o *SnaplockRetentionPolicyCollectionGetDefault) IsServerError() bool
- func (o *SnaplockRetentionPolicyCollectionGetDefault) IsSuccess() bool
- func (o *SnaplockRetentionPolicyCollectionGetDefault) String() string
- type SnaplockRetentionPolicyCollectionGetOK
- func (o *SnaplockRetentionPolicyCollectionGetOK) Error() string
- func (o *SnaplockRetentionPolicyCollectionGetOK) GetPayload() *models.SnaplockRetentionPolicyResponse
- func (o *SnaplockRetentionPolicyCollectionGetOK) IsClientError() bool
- func (o *SnaplockRetentionPolicyCollectionGetOK) IsCode(code int) bool
- func (o *SnaplockRetentionPolicyCollectionGetOK) IsRedirect() bool
- func (o *SnaplockRetentionPolicyCollectionGetOK) IsServerError() bool
- func (o *SnaplockRetentionPolicyCollectionGetOK) IsSuccess() bool
- func (o *SnaplockRetentionPolicyCollectionGetOK) String() string
- type SnaplockRetentionPolicyCollectionGetParams
- func NewSnaplockRetentionPolicyCollectionGetParams() *SnaplockRetentionPolicyCollectionGetParams
- func NewSnaplockRetentionPolicyCollectionGetParamsWithContext(ctx context.Context) *SnaplockRetentionPolicyCollectionGetParams
- func NewSnaplockRetentionPolicyCollectionGetParamsWithHTTPClient(client *http.Client) *SnaplockRetentionPolicyCollectionGetParams
- func NewSnaplockRetentionPolicyCollectionGetParamsWithTimeout(timeout time.Duration) *SnaplockRetentionPolicyCollectionGetParams
- func (o *SnaplockRetentionPolicyCollectionGetParams) SetContext(ctx context.Context)
- func (o *SnaplockRetentionPolicyCollectionGetParams) SetDefaults()
- func (o *SnaplockRetentionPolicyCollectionGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockRetentionPolicyCollectionGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockRetentionPolicyCollectionGetParams) SetMaxRecordsQueryParameter(maxRecords *int64)
- func (o *SnaplockRetentionPolicyCollectionGetParams) SetOrderByQueryParameter(orderBy []string)
- func (o *SnaplockRetentionPolicyCollectionGetParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockRetentionPolicyCollectionGetParams) SetReturnTimeoutQueryParameter(returnTimeout *int64)
- func (o *SnaplockRetentionPolicyCollectionGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockRetentionPolicyCollectionGetParams) WithContext(ctx context.Context) *SnaplockRetentionPolicyCollectionGetParams
- func (o *SnaplockRetentionPolicyCollectionGetParams) WithDefaults() *SnaplockRetentionPolicyCollectionGetParams
- func (o *SnaplockRetentionPolicyCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockRetentionPolicyCollectionGetParams
- func (o *SnaplockRetentionPolicyCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockRetentionPolicyCollectionGetParams
- func (o *SnaplockRetentionPolicyCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockRetentionPolicyCollectionGetParams
- func (o *SnaplockRetentionPolicyCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockRetentionPolicyCollectionGetParams
- func (o *SnaplockRetentionPolicyCollectionGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockRetentionPolicyCollectionGetParams
- func (o *SnaplockRetentionPolicyCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockRetentionPolicyCollectionGetParams
- func (o *SnaplockRetentionPolicyCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockRetentionPolicyCollectionGetParams
- func (o *SnaplockRetentionPolicyCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockRetentionPolicyCollectionGetReader
- type SnaplockRetentionPolicyCreateCreated
- func (o *SnaplockRetentionPolicyCreateCreated) Error() string
- func (o *SnaplockRetentionPolicyCreateCreated) GetPayload() *models.SnaplockRetentionPolicy
- func (o *SnaplockRetentionPolicyCreateCreated) IsClientError() bool
- func (o *SnaplockRetentionPolicyCreateCreated) IsCode(code int) bool
- func (o *SnaplockRetentionPolicyCreateCreated) IsRedirect() bool
- func (o *SnaplockRetentionPolicyCreateCreated) IsServerError() bool
- func (o *SnaplockRetentionPolicyCreateCreated) IsSuccess() bool
- func (o *SnaplockRetentionPolicyCreateCreated) String() string
- type SnaplockRetentionPolicyCreateDefault
- func (o *SnaplockRetentionPolicyCreateDefault) Code() int
- func (o *SnaplockRetentionPolicyCreateDefault) Error() string
- func (o *SnaplockRetentionPolicyCreateDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockRetentionPolicyCreateDefault) IsClientError() bool
- func (o *SnaplockRetentionPolicyCreateDefault) IsCode(code int) bool
- func (o *SnaplockRetentionPolicyCreateDefault) IsRedirect() bool
- func (o *SnaplockRetentionPolicyCreateDefault) IsServerError() bool
- func (o *SnaplockRetentionPolicyCreateDefault) IsSuccess() bool
- func (o *SnaplockRetentionPolicyCreateDefault) String() string
- type SnaplockRetentionPolicyCreateParams
- func NewSnaplockRetentionPolicyCreateParams() *SnaplockRetentionPolicyCreateParams
- func NewSnaplockRetentionPolicyCreateParamsWithContext(ctx context.Context) *SnaplockRetentionPolicyCreateParams
- func NewSnaplockRetentionPolicyCreateParamsWithHTTPClient(client *http.Client) *SnaplockRetentionPolicyCreateParams
- func NewSnaplockRetentionPolicyCreateParamsWithTimeout(timeout time.Duration) *SnaplockRetentionPolicyCreateParams
- func (o *SnaplockRetentionPolicyCreateParams) SetContext(ctx context.Context)
- func (o *SnaplockRetentionPolicyCreateParams) SetDefaults()
- func (o *SnaplockRetentionPolicyCreateParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockRetentionPolicyCreateParams) SetInfo(info *models.SnaplockRetentionPolicy)
- func (o *SnaplockRetentionPolicyCreateParams) SetReturnRecordsQueryParameter(returnRecords *bool)
- func (o *SnaplockRetentionPolicyCreateParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockRetentionPolicyCreateParams) WithContext(ctx context.Context) *SnaplockRetentionPolicyCreateParams
- func (o *SnaplockRetentionPolicyCreateParams) WithDefaults() *SnaplockRetentionPolicyCreateParams
- func (o *SnaplockRetentionPolicyCreateParams) WithHTTPClient(client *http.Client) *SnaplockRetentionPolicyCreateParams
- func (o *SnaplockRetentionPolicyCreateParams) WithInfo(info *models.SnaplockRetentionPolicy) *SnaplockRetentionPolicyCreateParams
- func (o *SnaplockRetentionPolicyCreateParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockRetentionPolicyCreateParams
- func (o *SnaplockRetentionPolicyCreateParams) WithTimeout(timeout time.Duration) *SnaplockRetentionPolicyCreateParams
- func (o *SnaplockRetentionPolicyCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockRetentionPolicyCreateReader
- type SnaplockRetentionPolicyDeleteDefault
- func (o *SnaplockRetentionPolicyDeleteDefault) Code() int
- func (o *SnaplockRetentionPolicyDeleteDefault) Error() string
- func (o *SnaplockRetentionPolicyDeleteDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockRetentionPolicyDeleteDefault) IsClientError() bool
- func (o *SnaplockRetentionPolicyDeleteDefault) IsCode(code int) bool
- func (o *SnaplockRetentionPolicyDeleteDefault) IsRedirect() bool
- func (o *SnaplockRetentionPolicyDeleteDefault) IsServerError() bool
- func (o *SnaplockRetentionPolicyDeleteDefault) IsSuccess() bool
- func (o *SnaplockRetentionPolicyDeleteDefault) String() string
- type SnaplockRetentionPolicyDeleteOK
- func (o *SnaplockRetentionPolicyDeleteOK) Error() string
- func (o *SnaplockRetentionPolicyDeleteOK) IsClientError() bool
- func (o *SnaplockRetentionPolicyDeleteOK) IsCode(code int) bool
- func (o *SnaplockRetentionPolicyDeleteOK) IsRedirect() bool
- func (o *SnaplockRetentionPolicyDeleteOK) IsServerError() bool
- func (o *SnaplockRetentionPolicyDeleteOK) IsSuccess() bool
- func (o *SnaplockRetentionPolicyDeleteOK) String() string
- type SnaplockRetentionPolicyDeleteParams
- func NewSnaplockRetentionPolicyDeleteParams() *SnaplockRetentionPolicyDeleteParams
- func NewSnaplockRetentionPolicyDeleteParamsWithContext(ctx context.Context) *SnaplockRetentionPolicyDeleteParams
- func NewSnaplockRetentionPolicyDeleteParamsWithHTTPClient(client *http.Client) *SnaplockRetentionPolicyDeleteParams
- func NewSnaplockRetentionPolicyDeleteParamsWithTimeout(timeout time.Duration) *SnaplockRetentionPolicyDeleteParams
- func (o *SnaplockRetentionPolicyDeleteParams) SetContext(ctx context.Context)
- func (o *SnaplockRetentionPolicyDeleteParams) SetDefaults()
- func (o *SnaplockRetentionPolicyDeleteParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockRetentionPolicyDeleteParams) SetPolicyNamePathParameter(policyName string)
- func (o *SnaplockRetentionPolicyDeleteParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockRetentionPolicyDeleteParams) WithContext(ctx context.Context) *SnaplockRetentionPolicyDeleteParams
- func (o *SnaplockRetentionPolicyDeleteParams) WithDefaults() *SnaplockRetentionPolicyDeleteParams
- func (o *SnaplockRetentionPolicyDeleteParams) WithHTTPClient(client *http.Client) *SnaplockRetentionPolicyDeleteParams
- func (o *SnaplockRetentionPolicyDeleteParams) WithPolicyNamePathParameter(policyName string) *SnaplockRetentionPolicyDeleteParams
- func (o *SnaplockRetentionPolicyDeleteParams) WithTimeout(timeout time.Duration) *SnaplockRetentionPolicyDeleteParams
- func (o *SnaplockRetentionPolicyDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockRetentionPolicyDeleteReader
- type SnaplockRetentionPolicyGetDefault
- func (o *SnaplockRetentionPolicyGetDefault) Code() int
- func (o *SnaplockRetentionPolicyGetDefault) Error() string
- func (o *SnaplockRetentionPolicyGetDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockRetentionPolicyGetDefault) IsClientError() bool
- func (o *SnaplockRetentionPolicyGetDefault) IsCode(code int) bool
- func (o *SnaplockRetentionPolicyGetDefault) IsRedirect() bool
- func (o *SnaplockRetentionPolicyGetDefault) IsServerError() bool
- func (o *SnaplockRetentionPolicyGetDefault) IsSuccess() bool
- func (o *SnaplockRetentionPolicyGetDefault) String() string
- type SnaplockRetentionPolicyGetOK
- func (o *SnaplockRetentionPolicyGetOK) Error() string
- func (o *SnaplockRetentionPolicyGetOK) GetPayload() *models.SnaplockRetentionPolicy
- func (o *SnaplockRetentionPolicyGetOK) IsClientError() bool
- func (o *SnaplockRetentionPolicyGetOK) IsCode(code int) bool
- func (o *SnaplockRetentionPolicyGetOK) IsRedirect() bool
- func (o *SnaplockRetentionPolicyGetOK) IsServerError() bool
- func (o *SnaplockRetentionPolicyGetOK) IsSuccess() bool
- func (o *SnaplockRetentionPolicyGetOK) String() string
- type SnaplockRetentionPolicyGetParams
- func NewSnaplockRetentionPolicyGetParams() *SnaplockRetentionPolicyGetParams
- func NewSnaplockRetentionPolicyGetParamsWithContext(ctx context.Context) *SnaplockRetentionPolicyGetParams
- func NewSnaplockRetentionPolicyGetParamsWithHTTPClient(client *http.Client) *SnaplockRetentionPolicyGetParams
- func NewSnaplockRetentionPolicyGetParamsWithTimeout(timeout time.Duration) *SnaplockRetentionPolicyGetParams
- func (o *SnaplockRetentionPolicyGetParams) SetContext(ctx context.Context)
- func (o *SnaplockRetentionPolicyGetParams) SetDefaults()
- func (o *SnaplockRetentionPolicyGetParams) SetFieldsQueryParameter(fields []string)
- func (o *SnaplockRetentionPolicyGetParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockRetentionPolicyGetParams) SetPolicyNamePathParameter(policyName string)
- func (o *SnaplockRetentionPolicyGetParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockRetentionPolicyGetParams) WithContext(ctx context.Context) *SnaplockRetentionPolicyGetParams
- func (o *SnaplockRetentionPolicyGetParams) WithDefaults() *SnaplockRetentionPolicyGetParams
- func (o *SnaplockRetentionPolicyGetParams) WithFieldsQueryParameter(fields []string) *SnaplockRetentionPolicyGetParams
- func (o *SnaplockRetentionPolicyGetParams) WithHTTPClient(client *http.Client) *SnaplockRetentionPolicyGetParams
- func (o *SnaplockRetentionPolicyGetParams) WithPolicyNamePathParameter(policyName string) *SnaplockRetentionPolicyGetParams
- func (o *SnaplockRetentionPolicyGetParams) WithTimeout(timeout time.Duration) *SnaplockRetentionPolicyGetParams
- func (o *SnaplockRetentionPolicyGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockRetentionPolicyGetReader
- type SnaplockRetentionPolicyModifyDefault
- func (o *SnaplockRetentionPolicyModifyDefault) Code() int
- func (o *SnaplockRetentionPolicyModifyDefault) Error() string
- func (o *SnaplockRetentionPolicyModifyDefault) GetPayload() *models.ErrorResponse
- func (o *SnaplockRetentionPolicyModifyDefault) IsClientError() bool
- func (o *SnaplockRetentionPolicyModifyDefault) IsCode(code int) bool
- func (o *SnaplockRetentionPolicyModifyDefault) IsRedirect() bool
- func (o *SnaplockRetentionPolicyModifyDefault) IsServerError() bool
- func (o *SnaplockRetentionPolicyModifyDefault) IsSuccess() bool
- func (o *SnaplockRetentionPolicyModifyDefault) String() string
- type SnaplockRetentionPolicyModifyOK
- func (o *SnaplockRetentionPolicyModifyOK) Error() string
- func (o *SnaplockRetentionPolicyModifyOK) IsClientError() bool
- func (o *SnaplockRetentionPolicyModifyOK) IsCode(code int) bool
- func (o *SnaplockRetentionPolicyModifyOK) IsRedirect() bool
- func (o *SnaplockRetentionPolicyModifyOK) IsServerError() bool
- func (o *SnaplockRetentionPolicyModifyOK) IsSuccess() bool
- func (o *SnaplockRetentionPolicyModifyOK) String() string
- type SnaplockRetentionPolicyModifyParams
- func NewSnaplockRetentionPolicyModifyParams() *SnaplockRetentionPolicyModifyParams
- func NewSnaplockRetentionPolicyModifyParamsWithContext(ctx context.Context) *SnaplockRetentionPolicyModifyParams
- func NewSnaplockRetentionPolicyModifyParamsWithHTTPClient(client *http.Client) *SnaplockRetentionPolicyModifyParams
- func NewSnaplockRetentionPolicyModifyParamsWithTimeout(timeout time.Duration) *SnaplockRetentionPolicyModifyParams
- func (o *SnaplockRetentionPolicyModifyParams) SetContext(ctx context.Context)
- func (o *SnaplockRetentionPolicyModifyParams) SetDefaults()
- func (o *SnaplockRetentionPolicyModifyParams) SetHTTPClient(client *http.Client)
- func (o *SnaplockRetentionPolicyModifyParams) SetInfo(info *models.SnaplockRetentionPolicy)
- func (o *SnaplockRetentionPolicyModifyParams) SetPolicyNamePathParameter(policyName string)
- func (o *SnaplockRetentionPolicyModifyParams) SetTimeout(timeout time.Duration)
- func (o *SnaplockRetentionPolicyModifyParams) WithContext(ctx context.Context) *SnaplockRetentionPolicyModifyParams
- func (o *SnaplockRetentionPolicyModifyParams) WithDefaults() *SnaplockRetentionPolicyModifyParams
- func (o *SnaplockRetentionPolicyModifyParams) WithHTTPClient(client *http.Client) *SnaplockRetentionPolicyModifyParams
- func (o *SnaplockRetentionPolicyModifyParams) WithInfo(info *models.SnaplockRetentionPolicy) *SnaplockRetentionPolicyModifyParams
- func (o *SnaplockRetentionPolicyModifyParams) WithPolicyNamePathParameter(policyName string) *SnaplockRetentionPolicyModifyParams
- func (o *SnaplockRetentionPolicyModifyParams) WithTimeout(timeout time.Duration) *SnaplockRetentionPolicyModifyParams
- func (o *SnaplockRetentionPolicyModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SnaplockRetentionPolicyModifyReader
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 ¶
func (a *Client) SnaplockComplianceClockCreate(params *SnaplockComplianceClockCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockComplianceClockCreateCreated, error)
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 ¶
func (a *Client) SnaplockFilePrivilegedDelete(params *SnaplockFilePrivilegedDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFilePrivilegedDeleteAccepted, error)
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 ¶
func (a *Client) SnaplockFingerprintOperationCollectionGet(params *SnaplockFingerprintOperationCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFingerprintOperationCollectionGetOK, error)
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 ¶
func (a *Client) SnaplockFingerprintOperationCreate(params *SnaplockFingerprintOperationCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockFingerprintOperationCreateAccepted, error)
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 ¶
func (a *Client) SnaplockRetentionOperationCollectionGet(params *SnaplockRetentionOperationCollectionGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionOperationCollectionGetOK, error)
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 ¶
func (a *Client) SnaplockRetentionOperationCreate(params *SnaplockRetentionOperationCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionOperationCreateCreated, error)
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 ¶
func (a *Client) SnaplockRetentionPolicyCreate(params *SnaplockRetentionPolicyCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnaplockRetentionPolicyCreateCreated, error)
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 ¶
func (o *SnaplockComplianceClockCollectionGetDefault) Code() int
Code gets the status code for the snaplock compliance clock collection get default response
func (*SnaplockComplianceClockCollectionGetDefault) Error ¶
func (o *SnaplockComplianceClockCollectionGetDefault) Error() string
func (*SnaplockComplianceClockCollectionGetDefault) GetPayload ¶
func (o *SnaplockComplianceClockCollectionGetDefault) GetPayload() *models.ErrorResponse
func (*SnaplockComplianceClockCollectionGetDefault) IsClientError ¶
func (o *SnaplockComplianceClockCollectionGetDefault) IsClientError() bool
IsClientError returns true when this snaplock compliance clock collection get default response has a 4xx status code
func (*SnaplockComplianceClockCollectionGetDefault) IsCode ¶
func (o *SnaplockComplianceClockCollectionGetDefault) IsCode(code int) bool
IsCode returns true when this snaplock compliance clock collection get default response a status code equal to that given
func (*SnaplockComplianceClockCollectionGetDefault) IsRedirect ¶
func (o *SnaplockComplianceClockCollectionGetDefault) IsRedirect() bool
IsRedirect returns true when this snaplock compliance clock collection get default response has a 3xx status code
func (*SnaplockComplianceClockCollectionGetDefault) IsServerError ¶
func (o *SnaplockComplianceClockCollectionGetDefault) IsServerError() bool
IsServerError returns true when this snaplock compliance clock collection get default response has a 5xx status code
func (*SnaplockComplianceClockCollectionGetDefault) IsSuccess ¶
func (o *SnaplockComplianceClockCollectionGetDefault) IsSuccess() bool
IsSuccess returns true when this snaplock compliance clock collection get default response has a 2xx status code
func (*SnaplockComplianceClockCollectionGetDefault) String ¶
func (o *SnaplockComplianceClockCollectionGetDefault) String() 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 (o *SnaplockComplianceClockCollectionGetOK) Error() string
func (*SnaplockComplianceClockCollectionGetOK) GetPayload ¶
func (o *SnaplockComplianceClockCollectionGetOK) GetPayload() *models.SnaplockComplianceClockResponse
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 ¶
func (o *SnaplockComplianceClockCollectionGetOK) IsCode(code int) bool
IsCode returns true when this snaplock compliance clock collection get o k response a status code equal to that given
func (*SnaplockComplianceClockCollectionGetOK) IsRedirect ¶
func (o *SnaplockComplianceClockCollectionGetOK) IsRedirect() bool
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 ¶
func (o *SnaplockComplianceClockCollectionGetOK) IsSuccess() bool
IsSuccess returns true when this snaplock compliance clock collection get o k response has a 2xx status code
func (*SnaplockComplianceClockCollectionGetOK) String ¶
func (o *SnaplockComplianceClockCollectionGetOK) String() 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 ¶
func (o *SnaplockComplianceClockCollectionGetParams) SetContext(ctx context.Context)
SetContext adds the context to the snaplock compliance clock collection get params
func (*SnaplockComplianceClockCollectionGetParams) SetDefaults ¶
func (o *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 ¶
func (o *SnaplockComplianceClockCollectionGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snaplock compliance clock collection get params
func (*SnaplockComplianceClockCollectionGetParams) WithContext ¶
func (o *SnaplockComplianceClockCollectionGetParams) WithContext(ctx context.Context) *SnaplockComplianceClockCollectionGetParams
WithContext adds the context to the snaplock compliance clock collection get params
func (*SnaplockComplianceClockCollectionGetParams) WithDefaults ¶
func (o *SnaplockComplianceClockCollectionGetParams) WithDefaults() *SnaplockComplianceClockCollectionGetParams
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 ¶
func (o *SnaplockComplianceClockCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockComplianceClockCollectionGetParams
WithFieldsQueryParameter adds the fields to the snaplock compliance clock collection get params
func (*SnaplockComplianceClockCollectionGetParams) WithHTTPClient ¶
func (o *SnaplockComplianceClockCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockComplianceClockCollectionGetParams
WithHTTPClient adds the HTTPClient to the snaplock compliance clock collection get params
func (*SnaplockComplianceClockCollectionGetParams) WithMaxRecordsQueryParameter ¶
func (o *SnaplockComplianceClockCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockComplianceClockCollectionGetParams
WithMaxRecordsQueryParameter adds the maxRecords to the snaplock compliance clock collection get params
func (*SnaplockComplianceClockCollectionGetParams) WithOrderByQueryParameter ¶
func (o *SnaplockComplianceClockCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockComplianceClockCollectionGetParams
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 ¶
func (o *SnaplockComplianceClockCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockComplianceClockCollectionGetParams
WithTimeout adds the timeout to the snaplock compliance clock collection get params
func (*SnaplockComplianceClockCollectionGetParams) WriteToRequest ¶
func (o *SnaplockComplianceClockCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SnaplockComplianceClockCreateCreated) Error() string
func (*SnaplockComplianceClockCreateCreated) GetPayload ¶
func (o *SnaplockComplianceClockCreateCreated) GetPayload() *models.SnaplockComplianceClock
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 ¶
func (o *SnaplockComplianceClockCreateCreated) IsCode(code int) bool
IsCode returns true when this snaplock compliance clock create created response a status code equal to that given
func (*SnaplockComplianceClockCreateCreated) IsRedirect ¶
func (o *SnaplockComplianceClockCreateCreated) IsRedirect() bool
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 ¶
func (o *SnaplockComplianceClockCreateCreated) IsSuccess() bool
IsSuccess returns true when this snaplock compliance clock create created response has a 2xx status code
func (*SnaplockComplianceClockCreateCreated) String ¶
func (o *SnaplockComplianceClockCreateCreated) String() 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 ¶
func (o *SnaplockComplianceClockCreateDefault) Code() int
Code gets the status code for the snaplock compliance clock create default response
func (*SnaplockComplianceClockCreateDefault) Error ¶
func (o *SnaplockComplianceClockCreateDefault) Error() string
func (*SnaplockComplianceClockCreateDefault) GetPayload ¶
func (o *SnaplockComplianceClockCreateDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockComplianceClockCreateDefault) IsCode(code int) bool
IsCode returns true when this snaplock compliance clock create default response a status code equal to that given
func (*SnaplockComplianceClockCreateDefault) IsRedirect ¶
func (o *SnaplockComplianceClockCreateDefault) IsRedirect() bool
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 ¶
func (o *SnaplockComplianceClockCreateDefault) IsSuccess() bool
IsSuccess returns true when this snaplock compliance clock create default response has a 2xx status code
func (*SnaplockComplianceClockCreateDefault) String ¶
func (o *SnaplockComplianceClockCreateDefault) String() 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 ¶
func (o *SnaplockComplianceClockCreateParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockComplianceClockCreateParams) SetInfo(info *models.SnaplockComplianceClock)
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 ¶
func (o *SnaplockComplianceClockCreateParams) WithContext(ctx context.Context) *SnaplockComplianceClockCreateParams
WithContext adds the context to the snaplock compliance clock create params
func (*SnaplockComplianceClockCreateParams) WithDefaults ¶
func (o *SnaplockComplianceClockCreateParams) WithDefaults() *SnaplockComplianceClockCreateParams
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 ¶
func (o *SnaplockComplianceClockCreateParams) WithHTTPClient(client *http.Client) *SnaplockComplianceClockCreateParams
WithHTTPClient adds the HTTPClient to the snaplock compliance clock create params
func (*SnaplockComplianceClockCreateParams) WithInfo ¶
func (o *SnaplockComplianceClockCreateParams) WithInfo(info *models.SnaplockComplianceClock) *SnaplockComplianceClockCreateParams
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 ¶
func (o *SnaplockComplianceClockCreateParams) WithTimeout(timeout time.Duration) *SnaplockComplianceClockCreateParams
WithTimeout adds the timeout to the snaplock compliance clock create params
func (*SnaplockComplianceClockCreateParams) WriteToRequest ¶
func (o *SnaplockComplianceClockCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockComplianceClockGetDefault) Code() int
Code gets the status code for the snaplock compliance clock get default response
func (*SnaplockComplianceClockGetDefault) Error ¶
func (o *SnaplockComplianceClockGetDefault) Error() string
func (*SnaplockComplianceClockGetDefault) GetPayload ¶
func (o *SnaplockComplianceClockGetDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockComplianceClockGetDefault) String() 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 (o *SnaplockComplianceClockGetOK) Error() string
func (*SnaplockComplianceClockGetOK) GetPayload ¶
func (o *SnaplockComplianceClockGetOK) GetPayload() *models.SnaplockComplianceClock
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 ¶
func (o *SnaplockComplianceClockGetOK) String() 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 ¶
func (o *SnaplockComplianceClockGetParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockComplianceClockGetParams) WithContext(ctx context.Context) *SnaplockComplianceClockGetParams
WithContext adds the context to the snaplock compliance clock get params
func (*SnaplockComplianceClockGetParams) WithDefaults ¶
func (o *SnaplockComplianceClockGetParams) WithDefaults() *SnaplockComplianceClockGetParams
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 ¶
func (o *SnaplockComplianceClockGetParams) WithHTTPClient(client *http.Client) *SnaplockComplianceClockGetParams
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 ¶
func (o *SnaplockComplianceClockGetParams) WithTimeout(timeout time.Duration) *SnaplockComplianceClockGetParams
WithTimeout adds the timeout to the snaplock compliance clock get params
func (*SnaplockComplianceClockGetParams) WriteToRequest ¶
func (o *SnaplockComplianceClockGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SnaplockFilePrivilegedDeleteAccepted) Error() string
func (*SnaplockFilePrivilegedDeleteAccepted) GetPayload ¶
func (o *SnaplockFilePrivilegedDeleteAccepted) GetPayload() *models.JobLinkResponse
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 ¶
func (o *SnaplockFilePrivilegedDeleteAccepted) IsCode(code int) bool
IsCode returns true when this snaplock file privileged delete accepted response a status code equal to that given
func (*SnaplockFilePrivilegedDeleteAccepted) IsRedirect ¶
func (o *SnaplockFilePrivilegedDeleteAccepted) IsRedirect() bool
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 ¶
func (o *SnaplockFilePrivilegedDeleteAccepted) IsSuccess() bool
IsSuccess returns true when this snaplock file privileged delete accepted response has a 2xx status code
func (*SnaplockFilePrivilegedDeleteAccepted) String ¶
func (o *SnaplockFilePrivilegedDeleteAccepted) String() 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 ¶
func (o *SnaplockFilePrivilegedDeleteDefault) Code() int
Code gets the status code for the snaplock file privileged delete default response
func (*SnaplockFilePrivilegedDeleteDefault) Error ¶
func (o *SnaplockFilePrivilegedDeleteDefault) Error() string
func (*SnaplockFilePrivilegedDeleteDefault) GetPayload ¶
func (o *SnaplockFilePrivilegedDeleteDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockFilePrivilegedDeleteDefault) IsCode(code int) bool
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 ¶
func (o *SnaplockFilePrivilegedDeleteDefault) IsSuccess() bool
IsSuccess returns true when this snaplock file privileged delete default response has a 2xx status code
func (*SnaplockFilePrivilegedDeleteDefault) String ¶
func (o *SnaplockFilePrivilegedDeleteDefault) String() 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 ¶
func (o *SnaplockFilePrivilegedDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockFilePrivilegedDeleteParams) WithContext(ctx context.Context) *SnaplockFilePrivilegedDeleteParams
WithContext adds the context to the snaplock file privileged delete params
func (*SnaplockFilePrivilegedDeleteParams) WithDefaults ¶
func (o *SnaplockFilePrivilegedDeleteParams) WithDefaults() *SnaplockFilePrivilegedDeleteParams
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 ¶
func (o *SnaplockFilePrivilegedDeleteParams) WithHTTPClient(client *http.Client) *SnaplockFilePrivilegedDeleteParams
WithHTTPClient adds the HTTPClient to the snaplock file privileged delete params
func (*SnaplockFilePrivilegedDeleteParams) WithPathPathParameter ¶
func (o *SnaplockFilePrivilegedDeleteParams) WithPathPathParameter(path string) *SnaplockFilePrivilegedDeleteParams
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 ¶
func (o *SnaplockFilePrivilegedDeleteParams) WithTimeout(timeout time.Duration) *SnaplockFilePrivilegedDeleteParams
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 ¶
func (o *SnaplockFilePrivilegedDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockFileRetentionGetDefault) Code() int
Code gets the status code for the snaplock file retention get default response
func (*SnaplockFileRetentionGetDefault) Error ¶
func (o *SnaplockFileRetentionGetDefault) Error() string
func (*SnaplockFileRetentionGetDefault) GetPayload ¶
func (o *SnaplockFileRetentionGetDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockFileRetentionGetDefault) String() 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 (o *SnaplockFileRetentionGetOK) Error() string
func (*SnaplockFileRetentionGetOK) GetPayload ¶
func (o *SnaplockFileRetentionGetOK) GetPayload() *models.SnaplockFileRetention
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 ¶
func (o *SnaplockFileRetentionGetParams) WithContext(ctx context.Context) *SnaplockFileRetentionGetParams
WithContext adds the context to the snaplock file retention get params
func (*SnaplockFileRetentionGetParams) WithDefaults ¶
func (o *SnaplockFileRetentionGetParams) WithDefaults() *SnaplockFileRetentionGetParams
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 ¶
func (o *SnaplockFileRetentionGetParams) WithHTTPClient(client *http.Client) *SnaplockFileRetentionGetParams
WithHTTPClient adds the HTTPClient to the snaplock file retention get params
func (*SnaplockFileRetentionGetParams) WithPathPathParameter ¶
func (o *SnaplockFileRetentionGetParams) WithPathPathParameter(path string) *SnaplockFileRetentionGetParams
WithPathPathParameter adds the path to the snaplock file retention get params
func (*SnaplockFileRetentionGetParams) WithTimeout ¶
func (o *SnaplockFileRetentionGetParams) WithTimeout(timeout time.Duration) *SnaplockFileRetentionGetParams
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 ¶
func (o *SnaplockFileRetentionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockFileRetentionTimeModifyDefault) Code() int
Code gets the status code for the snaplock file retention time modify default response
func (*SnaplockFileRetentionTimeModifyDefault) Error ¶
func (o *SnaplockFileRetentionTimeModifyDefault) Error() string
func (*SnaplockFileRetentionTimeModifyDefault) GetPayload ¶
func (o *SnaplockFileRetentionTimeModifyDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockFileRetentionTimeModifyDefault) IsCode(code int) bool
IsCode returns true when this snaplock file retention time modify default response a status code equal to that given
func (*SnaplockFileRetentionTimeModifyDefault) IsRedirect ¶
func (o *SnaplockFileRetentionTimeModifyDefault) IsRedirect() bool
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 ¶
func (o *SnaplockFileRetentionTimeModifyDefault) IsSuccess() bool
IsSuccess returns true when this snaplock file retention time modify default response has a 2xx status code
func (*SnaplockFileRetentionTimeModifyDefault) String ¶
func (o *SnaplockFileRetentionTimeModifyDefault) String() 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 (o *SnaplockFileRetentionTimeModifyOK) Error() string
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 ¶
func (o *SnaplockFileRetentionTimeModifyOK) String() 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 ¶
func (o *SnaplockFileRetentionTimeModifyParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockFileRetentionTimeModifyParams) SetInfo(info *models.SnaplockFileRetention)
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 ¶
func (o *SnaplockFileRetentionTimeModifyParams) WithContext(ctx context.Context) *SnaplockFileRetentionTimeModifyParams
WithContext adds the context to the snaplock file retention time modify params
func (*SnaplockFileRetentionTimeModifyParams) WithDefaults ¶
func (o *SnaplockFileRetentionTimeModifyParams) WithDefaults() *SnaplockFileRetentionTimeModifyParams
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 ¶
func (o *SnaplockFileRetentionTimeModifyParams) WithHTTPClient(client *http.Client) *SnaplockFileRetentionTimeModifyParams
WithHTTPClient adds the HTTPClient to the snaplock file retention time modify params
func (*SnaplockFileRetentionTimeModifyParams) WithInfo ¶
func (o *SnaplockFileRetentionTimeModifyParams) WithInfo(info *models.SnaplockFileRetention) *SnaplockFileRetentionTimeModifyParams
WithInfo adds the info to the snaplock file retention time modify params
func (*SnaplockFileRetentionTimeModifyParams) WithPathPathParameter ¶
func (o *SnaplockFileRetentionTimeModifyParams) WithPathPathParameter(path string) *SnaplockFileRetentionTimeModifyParams
WithPathPathParameter adds the path to the snaplock file retention time modify params
func (*SnaplockFileRetentionTimeModifyParams) WithTimeout ¶
func (o *SnaplockFileRetentionTimeModifyParams) WithTimeout(timeout time.Duration) *SnaplockFileRetentionTimeModifyParams
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 ¶
func (o *SnaplockFileRetentionTimeModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockFingerprintOperationCollectionGetDefault) Code() int
Code gets the status code for the snaplock fingerprint operation collection get default response
func (*SnaplockFingerprintOperationCollectionGetDefault) Error ¶
func (o *SnaplockFingerprintOperationCollectionGetDefault) Error() string
func (*SnaplockFingerprintOperationCollectionGetDefault) GetPayload ¶
func (o *SnaplockFingerprintOperationCollectionGetDefault) GetPayload() *models.ErrorResponse
func (*SnaplockFingerprintOperationCollectionGetDefault) IsClientError ¶
func (o *SnaplockFingerprintOperationCollectionGetDefault) IsClientError() bool
IsClientError returns true when this snaplock fingerprint operation collection get default response has a 4xx status code
func (*SnaplockFingerprintOperationCollectionGetDefault) IsCode ¶
func (o *SnaplockFingerprintOperationCollectionGetDefault) IsCode(code int) bool
IsCode returns true when this snaplock fingerprint operation collection get default response a status code equal to that given
func (*SnaplockFingerprintOperationCollectionGetDefault) IsRedirect ¶
func (o *SnaplockFingerprintOperationCollectionGetDefault) IsRedirect() bool
IsRedirect returns true when this snaplock fingerprint operation collection get default response has a 3xx status code
func (*SnaplockFingerprintOperationCollectionGetDefault) IsServerError ¶
func (o *SnaplockFingerprintOperationCollectionGetDefault) IsServerError() bool
IsServerError returns true when this snaplock fingerprint operation collection get default response has a 5xx status code
func (*SnaplockFingerprintOperationCollectionGetDefault) IsSuccess ¶
func (o *SnaplockFingerprintOperationCollectionGetDefault) IsSuccess() bool
IsSuccess returns true when this snaplock fingerprint operation collection get default response has a 2xx status code
func (*SnaplockFingerprintOperationCollectionGetDefault) String ¶
func (o *SnaplockFingerprintOperationCollectionGetDefault) String() 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 (o *SnaplockFingerprintOperationCollectionGetOK) Error() string
func (*SnaplockFingerprintOperationCollectionGetOK) GetPayload ¶
func (o *SnaplockFingerprintOperationCollectionGetOK) GetPayload() *models.SnaplockFileFingerprintResponse
func (*SnaplockFingerprintOperationCollectionGetOK) IsClientError ¶
func (o *SnaplockFingerprintOperationCollectionGetOK) IsClientError() bool
IsClientError returns true when this snaplock fingerprint operation collection get o k response has a 4xx status code
func (*SnaplockFingerprintOperationCollectionGetOK) IsCode ¶
func (o *SnaplockFingerprintOperationCollectionGetOK) IsCode(code int) bool
IsCode returns true when this snaplock fingerprint operation collection get o k response a status code equal to that given
func (*SnaplockFingerprintOperationCollectionGetOK) IsRedirect ¶
func (o *SnaplockFingerprintOperationCollectionGetOK) IsRedirect() bool
IsRedirect returns true when this snaplock fingerprint operation collection get o k response has a 3xx status code
func (*SnaplockFingerprintOperationCollectionGetOK) IsServerError ¶
func (o *SnaplockFingerprintOperationCollectionGetOK) IsServerError() bool
IsServerError returns true when this snaplock fingerprint operation collection get o k response has a 5xx status code
func (*SnaplockFingerprintOperationCollectionGetOK) IsSuccess ¶
func (o *SnaplockFingerprintOperationCollectionGetOK) IsSuccess() bool
IsSuccess returns true when this snaplock fingerprint operation collection get o k response has a 2xx status code
func (*SnaplockFingerprintOperationCollectionGetOK) String ¶
func (o *SnaplockFingerprintOperationCollectionGetOK) String() 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 ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) SetContext(ctx context.Context)
SetContext adds the context to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) SetDefaults ¶
func (o *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 ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithContext(ctx context.Context) *SnaplockFingerprintOperationCollectionGetParams
WithContext adds the context to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) WithDefaults ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithDefaults() *SnaplockFingerprintOperationCollectionGetParams
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 ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockFingerprintOperationCollectionGetParams
WithFieldsQueryParameter adds the fields to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) WithHTTPClient ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockFingerprintOperationCollectionGetParams
WithHTTPClient adds the HTTPClient to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) WithMaxRecordsQueryParameter ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockFingerprintOperationCollectionGetParams
WithMaxRecordsQueryParameter adds the maxRecords to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) WithOrderByQueryParameter ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockFingerprintOperationCollectionGetParams
WithOrderByQueryParameter adds the orderBy to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) WithReturnRecordsQueryParameter ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithReturnRecordsQueryParameter(returnRecords *bool) *SnaplockFingerprintOperationCollectionGetParams
WithReturnRecordsQueryParameter adds the returnRecords to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) WithReturnTimeoutQueryParameter ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockFingerprintOperationCollectionGetParams
WithReturnTimeoutQueryParameter adds the returnTimeout to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) WithSVMUUIDQueryParameter ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithSVMUUIDQueryParameter(svmUUID string) *SnaplockFingerprintOperationCollectionGetParams
WithSVMUUIDQueryParameter adds the svmUUID to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) WithTimeout ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockFingerprintOperationCollectionGetParams
WithTimeout adds the timeout to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) WithVolumeUUIDQueryParameter ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WithVolumeUUIDQueryParameter(volumeUUID string) *SnaplockFingerprintOperationCollectionGetParams
WithVolumeUUIDQueryParameter adds the volumeUUID to the snaplock fingerprint operation collection get params
func (*SnaplockFingerprintOperationCollectionGetParams) WriteToRequest ¶
func (o *SnaplockFingerprintOperationCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SnaplockFingerprintOperationCreateAccepted) Error() string
func (*SnaplockFingerprintOperationCreateAccepted) GetPayload ¶
func (o *SnaplockFingerprintOperationCreateAccepted) GetPayload() *models.JobLinkResponse
func (*SnaplockFingerprintOperationCreateAccepted) IsClientError ¶
func (o *SnaplockFingerprintOperationCreateAccepted) IsClientError() bool
IsClientError returns true when this snaplock fingerprint operation create accepted response has a 4xx status code
func (*SnaplockFingerprintOperationCreateAccepted) IsCode ¶
func (o *SnaplockFingerprintOperationCreateAccepted) IsCode(code int) bool
IsCode returns true when this snaplock fingerprint operation create accepted response a status code equal to that given
func (*SnaplockFingerprintOperationCreateAccepted) IsRedirect ¶
func (o *SnaplockFingerprintOperationCreateAccepted) IsRedirect() bool
IsRedirect returns true when this snaplock fingerprint operation create accepted response has a 3xx status code
func (*SnaplockFingerprintOperationCreateAccepted) IsServerError ¶
func (o *SnaplockFingerprintOperationCreateAccepted) IsServerError() bool
IsServerError returns true when this snaplock fingerprint operation create accepted response has a 5xx status code
func (*SnaplockFingerprintOperationCreateAccepted) IsSuccess ¶
func (o *SnaplockFingerprintOperationCreateAccepted) IsSuccess() bool
IsSuccess returns true when this snaplock fingerprint operation create accepted response has a 2xx status code
func (*SnaplockFingerprintOperationCreateAccepted) String ¶
func (o *SnaplockFingerprintOperationCreateAccepted) String() 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 ¶
func (o *SnaplockFingerprintOperationCreateDefault) Code() int
Code gets the status code for the snaplock fingerprint operation create default response
func (*SnaplockFingerprintOperationCreateDefault) Error ¶
func (o *SnaplockFingerprintOperationCreateDefault) Error() string
func (*SnaplockFingerprintOperationCreateDefault) GetPayload ¶
func (o *SnaplockFingerprintOperationCreateDefault) GetPayload() *models.ErrorResponse
func (*SnaplockFingerprintOperationCreateDefault) IsClientError ¶
func (o *SnaplockFingerprintOperationCreateDefault) IsClientError() bool
IsClientError returns true when this snaplock fingerprint operation create default response has a 4xx status code
func (*SnaplockFingerprintOperationCreateDefault) IsCode ¶
func (o *SnaplockFingerprintOperationCreateDefault) IsCode(code int) bool
IsCode returns true when this snaplock fingerprint operation create default response a status code equal to that given
func (*SnaplockFingerprintOperationCreateDefault) IsRedirect ¶
func (o *SnaplockFingerprintOperationCreateDefault) IsRedirect() bool
IsRedirect returns true when this snaplock fingerprint operation create default response has a 3xx status code
func (*SnaplockFingerprintOperationCreateDefault) IsServerError ¶
func (o *SnaplockFingerprintOperationCreateDefault) IsServerError() bool
IsServerError returns true when this snaplock fingerprint operation create default response has a 5xx status code
func (*SnaplockFingerprintOperationCreateDefault) IsSuccess ¶
func (o *SnaplockFingerprintOperationCreateDefault) IsSuccess() bool
IsSuccess returns true when this snaplock fingerprint operation create default response has a 2xx status code
func (*SnaplockFingerprintOperationCreateDefault) String ¶
func (o *SnaplockFingerprintOperationCreateDefault) String() 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 ¶
func (o *SnaplockFingerprintOperationCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the snaplock fingerprint operation create params
func (*SnaplockFingerprintOperationCreateParams) SetDefaults ¶
func (o *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 ¶
func (o *SnaplockFingerprintOperationCreateParams) SetInfo(info *models.SnaplockFileFingerprint)
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 ¶
func (o *SnaplockFingerprintOperationCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snaplock fingerprint operation create params
func (*SnaplockFingerprintOperationCreateParams) WithContext ¶
func (o *SnaplockFingerprintOperationCreateParams) WithContext(ctx context.Context) *SnaplockFingerprintOperationCreateParams
WithContext adds the context to the snaplock fingerprint operation create params
func (*SnaplockFingerprintOperationCreateParams) WithDefaults ¶
func (o *SnaplockFingerprintOperationCreateParams) WithDefaults() *SnaplockFingerprintOperationCreateParams
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 ¶
func (o *SnaplockFingerprintOperationCreateParams) WithHTTPClient(client *http.Client) *SnaplockFingerprintOperationCreateParams
WithHTTPClient adds the HTTPClient to the snaplock fingerprint operation create params
func (*SnaplockFingerprintOperationCreateParams) WithInfo ¶
func (o *SnaplockFingerprintOperationCreateParams) WithInfo(info *models.SnaplockFileFingerprint) *SnaplockFingerprintOperationCreateParams
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 ¶
func (o *SnaplockFingerprintOperationCreateParams) WithTimeout(timeout time.Duration) *SnaplockFingerprintOperationCreateParams
WithTimeout adds the timeout to the snaplock fingerprint operation create params
func (*SnaplockFingerprintOperationCreateParams) WriteToRequest ¶
func (o *SnaplockFingerprintOperationCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockFingerprintOperationDeleteDefault) Code() int
Code gets the status code for the snaplock fingerprint operation delete default response
func (*SnaplockFingerprintOperationDeleteDefault) Error ¶
func (o *SnaplockFingerprintOperationDeleteDefault) Error() string
func (*SnaplockFingerprintOperationDeleteDefault) GetPayload ¶
func (o *SnaplockFingerprintOperationDeleteDefault) GetPayload() *models.ErrorResponse
func (*SnaplockFingerprintOperationDeleteDefault) IsClientError ¶
func (o *SnaplockFingerprintOperationDeleteDefault) IsClientError() bool
IsClientError returns true when this snaplock fingerprint operation delete default response has a 4xx status code
func (*SnaplockFingerprintOperationDeleteDefault) IsCode ¶
func (o *SnaplockFingerprintOperationDeleteDefault) IsCode(code int) bool
IsCode returns true when this snaplock fingerprint operation delete default response a status code equal to that given
func (*SnaplockFingerprintOperationDeleteDefault) IsRedirect ¶
func (o *SnaplockFingerprintOperationDeleteDefault) IsRedirect() bool
IsRedirect returns true when this snaplock fingerprint operation delete default response has a 3xx status code
func (*SnaplockFingerprintOperationDeleteDefault) IsServerError ¶
func (o *SnaplockFingerprintOperationDeleteDefault) IsServerError() bool
IsServerError returns true when this snaplock fingerprint operation delete default response has a 5xx status code
func (*SnaplockFingerprintOperationDeleteDefault) IsSuccess ¶
func (o *SnaplockFingerprintOperationDeleteDefault) IsSuccess() bool
IsSuccess returns true when this snaplock fingerprint operation delete default response has a 2xx status code
func (*SnaplockFingerprintOperationDeleteDefault) String ¶
func (o *SnaplockFingerprintOperationDeleteDefault) String() 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 (o *SnaplockFingerprintOperationDeleteOK) Error() string
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 ¶
func (o *SnaplockFingerprintOperationDeleteOK) IsCode(code int) bool
IsCode returns true when this snaplock fingerprint operation delete o k response a status code equal to that given
func (*SnaplockFingerprintOperationDeleteOK) IsRedirect ¶
func (o *SnaplockFingerprintOperationDeleteOK) IsRedirect() bool
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 ¶
func (o *SnaplockFingerprintOperationDeleteOK) IsSuccess() bool
IsSuccess returns true when this snaplock fingerprint operation delete o k response has a 2xx status code
func (*SnaplockFingerprintOperationDeleteOK) String ¶
func (o *SnaplockFingerprintOperationDeleteOK) String() 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 ¶
func (o *SnaplockFingerprintOperationDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the snaplock fingerprint operation delete params
func (*SnaplockFingerprintOperationDeleteParams) SetDefaults ¶
func (o *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 ¶
func (o *SnaplockFingerprintOperationDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snaplock fingerprint operation delete params
func (*SnaplockFingerprintOperationDeleteParams) WithContext ¶
func (o *SnaplockFingerprintOperationDeleteParams) WithContext(ctx context.Context) *SnaplockFingerprintOperationDeleteParams
WithContext adds the context to the snaplock fingerprint operation delete params
func (*SnaplockFingerprintOperationDeleteParams) WithDefaults ¶
func (o *SnaplockFingerprintOperationDeleteParams) WithDefaults() *SnaplockFingerprintOperationDeleteParams
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 ¶
func (o *SnaplockFingerprintOperationDeleteParams) WithHTTPClient(client *http.Client) *SnaplockFingerprintOperationDeleteParams
WithHTTPClient adds the HTTPClient to the snaplock fingerprint operation delete params
func (*SnaplockFingerprintOperationDeleteParams) WithIDPathParameter ¶
func (o *SnaplockFingerprintOperationDeleteParams) WithIDPathParameter(id string) *SnaplockFingerprintOperationDeleteParams
WithIDPathParameter adds the id to the snaplock fingerprint operation delete params
func (*SnaplockFingerprintOperationDeleteParams) WithTimeout ¶
func (o *SnaplockFingerprintOperationDeleteParams) WithTimeout(timeout time.Duration) *SnaplockFingerprintOperationDeleteParams
WithTimeout adds the timeout to the snaplock fingerprint operation delete params
func (*SnaplockFingerprintOperationDeleteParams) WriteToRequest ¶
func (o *SnaplockFingerprintOperationDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockFingerprintOperationGetDefault) Code() int
Code gets the status code for the snaplock fingerprint operation get default response
func (*SnaplockFingerprintOperationGetDefault) Error ¶
func (o *SnaplockFingerprintOperationGetDefault) Error() string
func (*SnaplockFingerprintOperationGetDefault) GetPayload ¶
func (o *SnaplockFingerprintOperationGetDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockFingerprintOperationGetDefault) IsCode(code int) bool
IsCode returns true when this snaplock fingerprint operation get default response a status code equal to that given
func (*SnaplockFingerprintOperationGetDefault) IsRedirect ¶
func (o *SnaplockFingerprintOperationGetDefault) IsRedirect() bool
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 ¶
func (o *SnaplockFingerprintOperationGetDefault) IsSuccess() bool
IsSuccess returns true when this snaplock fingerprint operation get default response has a 2xx status code
func (*SnaplockFingerprintOperationGetDefault) String ¶
func (o *SnaplockFingerprintOperationGetDefault) String() 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 (o *SnaplockFingerprintOperationGetOK) Error() string
func (*SnaplockFingerprintOperationGetOK) GetPayload ¶
func (o *SnaplockFingerprintOperationGetOK) GetPayload() *models.SnaplockFileFingerprint
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 ¶
func (o *SnaplockFingerprintOperationGetOK) String() 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 ¶
func (o *SnaplockFingerprintOperationGetParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockFingerprintOperationGetParams) WithContext(ctx context.Context) *SnaplockFingerprintOperationGetParams
WithContext adds the context to the snaplock fingerprint operation get params
func (*SnaplockFingerprintOperationGetParams) WithDefaults ¶
func (o *SnaplockFingerprintOperationGetParams) WithDefaults() *SnaplockFingerprintOperationGetParams
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 ¶
func (o *SnaplockFingerprintOperationGetParams) WithFieldsQueryParameter(fields []string) *SnaplockFingerprintOperationGetParams
WithFieldsQueryParameter adds the fields to the snaplock fingerprint operation get params
func (*SnaplockFingerprintOperationGetParams) WithHTTPClient ¶
func (o *SnaplockFingerprintOperationGetParams) WithHTTPClient(client *http.Client) *SnaplockFingerprintOperationGetParams
WithHTTPClient adds the HTTPClient to the snaplock fingerprint operation get params
func (*SnaplockFingerprintOperationGetParams) WithIDPathParameter ¶
func (o *SnaplockFingerprintOperationGetParams) WithIDPathParameter(id string) *SnaplockFingerprintOperationGetParams
WithIDPathParameter adds the id to the snaplock fingerprint operation get params
func (*SnaplockFingerprintOperationGetParams) WithTimeout ¶
func (o *SnaplockFingerprintOperationGetParams) WithTimeout(timeout time.Duration) *SnaplockFingerprintOperationGetParams
WithTimeout adds the timeout to the snaplock fingerprint operation get params
func (*SnaplockFingerprintOperationGetParams) WriteToRequest ¶
func (o *SnaplockFingerprintOperationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SnaplockLegalHoldBeginCreated) Error() string
func (*SnaplockLegalHoldBeginCreated) GetPayload ¶
func (o *SnaplockLegalHoldBeginCreated) GetPayload() *models.SnaplockLitigation
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 ¶
func (o *SnaplockLegalHoldBeginCreated) String() 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 ¶
func (o *SnaplockLegalHoldBeginDefault) Code() int
Code gets the status code for the snaplock legal hold begin default response
func (*SnaplockLegalHoldBeginDefault) Error ¶
func (o *SnaplockLegalHoldBeginDefault) Error() string
func (*SnaplockLegalHoldBeginDefault) GetPayload ¶
func (o *SnaplockLegalHoldBeginDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLegalHoldBeginDefault) String() 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 ¶
func (o *SnaplockLegalHoldBeginParams) SetInfo(info *models.SnaplockLitigation)
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 ¶
func (o *SnaplockLegalHoldBeginParams) WithContext(ctx context.Context) *SnaplockLegalHoldBeginParams
WithContext adds the context to the snaplock legal hold begin params
func (*SnaplockLegalHoldBeginParams) WithDefaults ¶
func (o *SnaplockLegalHoldBeginParams) WithDefaults() *SnaplockLegalHoldBeginParams
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 ¶
func (o *SnaplockLegalHoldBeginParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldBeginParams
WithHTTPClient adds the HTTPClient to the snaplock legal hold begin params
func (*SnaplockLegalHoldBeginParams) WithInfo ¶
func (o *SnaplockLegalHoldBeginParams) WithInfo(info *models.SnaplockLitigation) *SnaplockLegalHoldBeginParams
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 ¶
func (o *SnaplockLegalHoldBeginParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldBeginParams
WithTimeout adds the timeout to the snaplock legal hold begin params
func (*SnaplockLegalHoldBeginParams) WriteToRequest ¶
func (o *SnaplockLegalHoldBeginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockLegalHoldCollectionGetDefault) Code() int
Code gets the status code for the snaplock legal hold collection get default response
func (*SnaplockLegalHoldCollectionGetDefault) Error ¶
func (o *SnaplockLegalHoldCollectionGetDefault) Error() string
func (*SnaplockLegalHoldCollectionGetDefault) GetPayload ¶
func (o *SnaplockLegalHoldCollectionGetDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLegalHoldCollectionGetDefault) IsCode(code int) bool
IsCode returns true when this snaplock legal hold collection get default response a status code equal to that given
func (*SnaplockLegalHoldCollectionGetDefault) IsRedirect ¶
func (o *SnaplockLegalHoldCollectionGetDefault) IsRedirect() bool
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 ¶
func (o *SnaplockLegalHoldCollectionGetDefault) IsSuccess() bool
IsSuccess returns true when this snaplock legal hold collection get default response has a 2xx status code
func (*SnaplockLegalHoldCollectionGetDefault) String ¶
func (o *SnaplockLegalHoldCollectionGetDefault) String() 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 (o *SnaplockLegalHoldCollectionGetOK) Error() string
func (*SnaplockLegalHoldCollectionGetOK) GetPayload ¶
func (o *SnaplockLegalHoldCollectionGetOK) GetPayload() *models.SnaplockLitigationResponse
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 ¶
func (o *SnaplockLegalHoldCollectionGetOK) String() 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 ¶
func (o *SnaplockLegalHoldCollectionGetParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockLegalHoldCollectionGetParams) WithContext(ctx context.Context) *SnaplockLegalHoldCollectionGetParams
WithContext adds the context to the snaplock legal hold collection get params
func (*SnaplockLegalHoldCollectionGetParams) WithDefaults ¶
func (o *SnaplockLegalHoldCollectionGetParams) WithDefaults() *SnaplockLegalHoldCollectionGetParams
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 ¶
func (o *SnaplockLegalHoldCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockLegalHoldCollectionGetParams
WithFieldsQueryParameter adds the fields to the snaplock legal hold collection get params
func (*SnaplockLegalHoldCollectionGetParams) WithHTTPClient ¶
func (o *SnaplockLegalHoldCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldCollectionGetParams
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 ¶
func (o *SnaplockLegalHoldCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldCollectionGetParams
WithTimeout adds the timeout to the snaplock legal hold collection get params
func (*SnaplockLegalHoldCollectionGetParams) WriteToRequest ¶
func (o *SnaplockLegalHoldCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SnaplockLegalHoldCreateCreated) Error() string
func (*SnaplockLegalHoldCreateCreated) GetPayload ¶
func (o *SnaplockLegalHoldCreateCreated) GetPayload() *models.SnaplockLegalHoldOperation
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 ¶
func (o *SnaplockLegalHoldCreateCreated) String() 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 ¶
func (o *SnaplockLegalHoldCreateDefault) Code() int
Code gets the status code for the snaplock legal hold create default response
func (*SnaplockLegalHoldCreateDefault) Error ¶
func (o *SnaplockLegalHoldCreateDefault) Error() string
func (*SnaplockLegalHoldCreateDefault) GetPayload ¶
func (o *SnaplockLegalHoldCreateDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLegalHoldCreateDefault) String() 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 ¶
func (o *SnaplockLegalHoldCreateParams) SetInfo(info *models.SnaplockLegalHoldOperation)
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 ¶
func (o *SnaplockLegalHoldCreateParams) WithContext(ctx context.Context) *SnaplockLegalHoldCreateParams
WithContext adds the context to the snaplock legal hold create params
func (*SnaplockLegalHoldCreateParams) WithDefaults ¶
func (o *SnaplockLegalHoldCreateParams) WithDefaults() *SnaplockLegalHoldCreateParams
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 ¶
func (o *SnaplockLegalHoldCreateParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldCreateParams
WithHTTPClient adds the HTTPClient to the snaplock legal hold create params
func (*SnaplockLegalHoldCreateParams) WithInfo ¶
func (o *SnaplockLegalHoldCreateParams) WithInfo(info *models.SnaplockLegalHoldOperation) *SnaplockLegalHoldCreateParams
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 ¶
func (o *SnaplockLegalHoldCreateParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldCreateParams
WithTimeout adds the timeout to the snaplock legal hold create params
func (*SnaplockLegalHoldCreateParams) WriteToRequest ¶
func (o *SnaplockLegalHoldCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockLegalHoldDeleteDefault) Code() int
Code gets the status code for the snaplock legal hold delete default response
func (*SnaplockLegalHoldDeleteDefault) Error ¶
func (o *SnaplockLegalHoldDeleteDefault) Error() string
func (*SnaplockLegalHoldDeleteDefault) GetPayload ¶
func (o *SnaplockLegalHoldDeleteDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLegalHoldDeleteDefault) String() 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 ¶
func (o *SnaplockLegalHoldDeleteParams) WithContext(ctx context.Context) *SnaplockLegalHoldDeleteParams
WithContext adds the context to the snaplock legal hold delete params
func (*SnaplockLegalHoldDeleteParams) WithDefaults ¶
func (o *SnaplockLegalHoldDeleteParams) WithDefaults() *SnaplockLegalHoldDeleteParams
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 ¶
func (o *SnaplockLegalHoldDeleteParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldDeleteParams
WithHTTPClient adds the HTTPClient to the snaplock legal hold delete params
func (*SnaplockLegalHoldDeleteParams) WithIDPathParameter ¶
func (o *SnaplockLegalHoldDeleteParams) WithIDPathParameter(id string) *SnaplockLegalHoldDeleteParams
WithIDPathParameter adds the id to the snaplock legal hold delete params
func (*SnaplockLegalHoldDeleteParams) WithTimeout ¶
func (o *SnaplockLegalHoldDeleteParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldDeleteParams
WithTimeout adds the timeout to the snaplock legal hold delete params
func (*SnaplockLegalHoldDeleteParams) WriteToRequest ¶
func (o *SnaplockLegalHoldDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockLegalHoldFilesGetDefault) Code() int
Code gets the status code for the snaplock legal hold files get default response
func (*SnaplockLegalHoldFilesGetDefault) Error ¶
func (o *SnaplockLegalHoldFilesGetDefault) Error() string
func (*SnaplockLegalHoldFilesGetDefault) GetPayload ¶
func (o *SnaplockLegalHoldFilesGetDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLegalHoldFilesGetDefault) String() 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 (o *SnaplockLegalHoldFilesGetOK) Error() string
func (*SnaplockLegalHoldFilesGetOK) GetPayload ¶
func (o *SnaplockLegalHoldFilesGetOK) GetPayload() *models.SnaplockLitigationFileResponse
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 ¶
func (o *SnaplockLegalHoldFilesGetParams) WithContext(ctx context.Context) *SnaplockLegalHoldFilesGetParams
WithContext adds the context to the snaplock legal hold files get params
func (*SnaplockLegalHoldFilesGetParams) WithDefaults ¶
func (o *SnaplockLegalHoldFilesGetParams) WithDefaults() *SnaplockLegalHoldFilesGetParams
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 ¶
func (o *SnaplockLegalHoldFilesGetParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldFilesGetParams
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 ¶
func (o *SnaplockLegalHoldFilesGetParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldFilesGetParams
WithTimeout adds the timeout to the snaplock legal hold files get params
func (*SnaplockLegalHoldFilesGetParams) WriteToRequest ¶
func (o *SnaplockLegalHoldFilesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SnaplockLegalHoldGetDefault) Error() string
func (*SnaplockLegalHoldGetDefault) GetPayload ¶
func (o *SnaplockLegalHoldGetDefault) GetPayload() *models.ErrorResponse
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 (o *SnaplockLegalHoldGetOK) GetPayload() *models.SnaplockLitigation
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 ¶
func (o *SnaplockLegalHoldGetParams) WithContext(ctx context.Context) *SnaplockLegalHoldGetParams
WithContext adds the context to the snaplock legal hold get params
func (*SnaplockLegalHoldGetParams) WithDefaults ¶
func (o *SnaplockLegalHoldGetParams) WithDefaults() *SnaplockLegalHoldGetParams
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 ¶
func (o *SnaplockLegalHoldGetParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldGetParams
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 ¶
func (o *SnaplockLegalHoldGetParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldGetParams
WithTimeout adds the timeout to the snaplock legal hold get params
func (*SnaplockLegalHoldGetParams) WriteToRequest ¶
func (o *SnaplockLegalHoldGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockLegalHoldOperationDeleteDefault) Code() int
Code gets the status code for the snaplock legal hold operation delete default response
func (*SnaplockLegalHoldOperationDeleteDefault) Error ¶
func (o *SnaplockLegalHoldOperationDeleteDefault) Error() string
func (*SnaplockLegalHoldOperationDeleteDefault) GetPayload ¶
func (o *SnaplockLegalHoldOperationDeleteDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLegalHoldOperationDeleteDefault) IsCode(code int) bool
IsCode returns true when this snaplock legal hold operation delete default response a status code equal to that given
func (*SnaplockLegalHoldOperationDeleteDefault) IsRedirect ¶
func (o *SnaplockLegalHoldOperationDeleteDefault) IsRedirect() bool
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 ¶
func (o *SnaplockLegalHoldOperationDeleteDefault) IsSuccess() bool
IsSuccess returns true when this snaplock legal hold operation delete default response has a 2xx status code
func (*SnaplockLegalHoldOperationDeleteDefault) String ¶
func (o *SnaplockLegalHoldOperationDeleteDefault) String() 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 (o *SnaplockLegalHoldOperationDeleteOK) Error() string
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 ¶
func (o *SnaplockLegalHoldOperationDeleteOK) IsCode(code int) bool
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 ¶
func (o *SnaplockLegalHoldOperationDeleteOK) IsSuccess() bool
IsSuccess returns true when this snaplock legal hold operation delete o k response has a 2xx status code
func (*SnaplockLegalHoldOperationDeleteOK) String ¶
func (o *SnaplockLegalHoldOperationDeleteOK) String() 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 ¶
func (o *SnaplockLegalHoldOperationDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockLegalHoldOperationDeleteParams) WithContext(ctx context.Context) *SnaplockLegalHoldOperationDeleteParams
WithContext adds the context to the snaplock legal hold operation delete params
func (*SnaplockLegalHoldOperationDeleteParams) WithDefaults ¶
func (o *SnaplockLegalHoldOperationDeleteParams) WithDefaults() *SnaplockLegalHoldOperationDeleteParams
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 ¶
func (o *SnaplockLegalHoldOperationDeleteParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldOperationDeleteParams
WithHTTPClient adds the HTTPClient to the snaplock legal hold operation delete params
func (*SnaplockLegalHoldOperationDeleteParams) WithIDPathParameter ¶
func (o *SnaplockLegalHoldOperationDeleteParams) WithIDPathParameter(id string) *SnaplockLegalHoldOperationDeleteParams
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 ¶
func (o *SnaplockLegalHoldOperationDeleteParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldOperationDeleteParams
WithTimeout adds the timeout to the snaplock legal hold operation delete params
func (*SnaplockLegalHoldOperationDeleteParams) WriteToRequest ¶
func (o *SnaplockLegalHoldOperationDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockLegalHoldOperationGetDefault) Code() int
Code gets the status code for the snaplock legal hold operation get default response
func (*SnaplockLegalHoldOperationGetDefault) Error ¶
func (o *SnaplockLegalHoldOperationGetDefault) Error() string
func (*SnaplockLegalHoldOperationGetDefault) GetPayload ¶
func (o *SnaplockLegalHoldOperationGetDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLegalHoldOperationGetDefault) IsCode(code int) bool
IsCode returns true when this snaplock legal hold operation get default response a status code equal to that given
func (*SnaplockLegalHoldOperationGetDefault) IsRedirect ¶
func (o *SnaplockLegalHoldOperationGetDefault) IsRedirect() bool
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 ¶
func (o *SnaplockLegalHoldOperationGetDefault) IsSuccess() bool
IsSuccess returns true when this snaplock legal hold operation get default response has a 2xx status code
func (*SnaplockLegalHoldOperationGetDefault) String ¶
func (o *SnaplockLegalHoldOperationGetDefault) String() 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 (o *SnaplockLegalHoldOperationGetOK) Error() string
func (*SnaplockLegalHoldOperationGetOK) GetPayload ¶
func (o *SnaplockLegalHoldOperationGetOK) GetPayload() *models.SnaplockLegalHoldOperation
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 ¶
func (o *SnaplockLegalHoldOperationGetOK) String() 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 ¶
func (o *SnaplockLegalHoldOperationGetParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockLegalHoldOperationGetParams) WithContext(ctx context.Context) *SnaplockLegalHoldOperationGetParams
WithContext adds the context to the snaplock legal hold operation get params
func (*SnaplockLegalHoldOperationGetParams) WithDefaults ¶
func (o *SnaplockLegalHoldOperationGetParams) WithDefaults() *SnaplockLegalHoldOperationGetParams
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 ¶
func (o *SnaplockLegalHoldOperationGetParams) WithFieldsQueryParameter(fields []string) *SnaplockLegalHoldOperationGetParams
WithFieldsQueryParameter adds the fields to the snaplock legal hold operation get params
func (*SnaplockLegalHoldOperationGetParams) WithHTTPClient ¶
func (o *SnaplockLegalHoldOperationGetParams) WithHTTPClient(client *http.Client) *SnaplockLegalHoldOperationGetParams
WithHTTPClient adds the HTTPClient to the snaplock legal hold operation get params
func (*SnaplockLegalHoldOperationGetParams) WithIDPathParameter ¶
func (o *SnaplockLegalHoldOperationGetParams) WithIDPathParameter(id string) *SnaplockLegalHoldOperationGetParams
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 ¶
func (o *SnaplockLegalHoldOperationGetParams) WithTimeout(timeout time.Duration) *SnaplockLegalHoldOperationGetParams
WithTimeout adds the timeout to the snaplock legal hold operation get params
func (*SnaplockLegalHoldOperationGetParams) WriteToRequest ¶
func (o *SnaplockLegalHoldOperationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockLogCollectionGetDefault) Code() int
Code gets the status code for the snaplock log collection get default response
func (*SnaplockLogCollectionGetDefault) Error ¶
func (o *SnaplockLogCollectionGetDefault) Error() string
func (*SnaplockLogCollectionGetDefault) GetPayload ¶
func (o *SnaplockLogCollectionGetDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLogCollectionGetDefault) String() 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 (o *SnaplockLogCollectionGetOK) Error() string
func (*SnaplockLogCollectionGetOK) GetPayload ¶
func (o *SnaplockLogCollectionGetOK) GetPayload() *models.SnaplockLogResponse
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 ¶
func (o *SnaplockLogCollectionGetParams) WithContext(ctx context.Context) *SnaplockLogCollectionGetParams
WithContext adds the context to the snaplock log collection get params
func (*SnaplockLogCollectionGetParams) WithDefaults ¶
func (o *SnaplockLogCollectionGetParams) WithDefaults() *SnaplockLogCollectionGetParams
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 ¶
func (o *SnaplockLogCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockLogCollectionGetParams
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 ¶
func (o *SnaplockLogCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockLogCollectionGetParams
WithTimeout adds the timeout to the snaplock log collection get params
func (*SnaplockLogCollectionGetParams) WriteToRequest ¶
func (o *SnaplockLogCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SnaplockLogCreateAccepted) GetPayload() *models.JobLinkResponse
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 (o *SnaplockLogCreateDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLogCreateParams) WithContext(ctx context.Context) *SnaplockLogCreateParams
WithContext adds the context to the snaplock log create params
func (*SnaplockLogCreateParams) WithDefaults ¶
func (o *SnaplockLogCreateParams) WithDefaults() *SnaplockLogCreateParams
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 ¶
func (o *SnaplockLogCreateParams) WithInfo(info *models.SnaplockLog) *SnaplockLogCreateParams
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 ¶
func (o *SnaplockLogCreateParams) WithTimeout(timeout time.Duration) *SnaplockLogCreateParams
WithTimeout adds the timeout to the snaplock log create params
func (*SnaplockLogCreateParams) WriteToRequest ¶
func (o *SnaplockLogCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SnaplockLogDeleteAccepted) GetPayload() *models.JobLinkResponse
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 (o *SnaplockLogDeleteDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLogDeleteParams) WithContext(ctx context.Context) *SnaplockLogDeleteParams
WithContext adds the context to the snaplock log delete params
func (*SnaplockLogDeleteParams) WithDefaults ¶
func (o *SnaplockLogDeleteParams) WithDefaults() *SnaplockLogDeleteParams
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 ¶
func (o *SnaplockLogDeleteParams) WithTimeout(timeout time.Duration) *SnaplockLogDeleteParams
WithTimeout adds the timeout to the snaplock log delete params
func (*SnaplockLogDeleteParams) WriteToRequest ¶
func (o *SnaplockLogDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockLogGetParams) WithContext(ctx context.Context) *SnaplockLogGetParams
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 (o *SnaplockLogModifyAccepted) GetPayload() *models.JobLinkResponse
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 (o *SnaplockLogModifyDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockLogModifyParams) WithContext(ctx context.Context) *SnaplockLogModifyParams
WithContext adds the context to the snaplock log modify params
func (*SnaplockLogModifyParams) WithDefaults ¶
func (o *SnaplockLogModifyParams) WithDefaults() *SnaplockLogModifyParams
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 ¶
func (o *SnaplockLogModifyParams) WithInfo(info *models.SnaplockLog) *SnaplockLogModifyParams
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 ¶
func (o *SnaplockLogModifyParams) WithTimeout(timeout time.Duration) *SnaplockLogModifyParams
WithTimeout adds the timeout to the snaplock log modify params
func (*SnaplockLogModifyParams) WriteToRequest ¶
func (o *SnaplockLogModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockRetentionOperationCollectionGetDefault) Code() int
Code gets the status code for the snaplock retention operation collection get default response
func (*SnaplockRetentionOperationCollectionGetDefault) Error ¶
func (o *SnaplockRetentionOperationCollectionGetDefault) Error() string
func (*SnaplockRetentionOperationCollectionGetDefault) GetPayload ¶
func (o *SnaplockRetentionOperationCollectionGetDefault) GetPayload() *models.ErrorResponse
func (*SnaplockRetentionOperationCollectionGetDefault) IsClientError ¶
func (o *SnaplockRetentionOperationCollectionGetDefault) IsClientError() bool
IsClientError returns true when this snaplock retention operation collection get default response has a 4xx status code
func (*SnaplockRetentionOperationCollectionGetDefault) IsCode ¶
func (o *SnaplockRetentionOperationCollectionGetDefault) IsCode(code int) bool
IsCode returns true when this snaplock retention operation collection get default response a status code equal to that given
func (*SnaplockRetentionOperationCollectionGetDefault) IsRedirect ¶
func (o *SnaplockRetentionOperationCollectionGetDefault) IsRedirect() bool
IsRedirect returns true when this snaplock retention operation collection get default response has a 3xx status code
func (*SnaplockRetentionOperationCollectionGetDefault) IsServerError ¶
func (o *SnaplockRetentionOperationCollectionGetDefault) IsServerError() bool
IsServerError returns true when this snaplock retention operation collection get default response has a 5xx status code
func (*SnaplockRetentionOperationCollectionGetDefault) IsSuccess ¶
func (o *SnaplockRetentionOperationCollectionGetDefault) IsSuccess() bool
IsSuccess returns true when this snaplock retention operation collection get default response has a 2xx status code
func (*SnaplockRetentionOperationCollectionGetDefault) String ¶
func (o *SnaplockRetentionOperationCollectionGetDefault) String() 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 (o *SnaplockRetentionOperationCollectionGetOK) Error() string
func (*SnaplockRetentionOperationCollectionGetOK) GetPayload ¶
func (o *SnaplockRetentionOperationCollectionGetOK) GetPayload() *models.EbrOperationResponse
func (*SnaplockRetentionOperationCollectionGetOK) IsClientError ¶
func (o *SnaplockRetentionOperationCollectionGetOK) IsClientError() bool
IsClientError returns true when this snaplock retention operation collection get o k response has a 4xx status code
func (*SnaplockRetentionOperationCollectionGetOK) IsCode ¶
func (o *SnaplockRetentionOperationCollectionGetOK) IsCode(code int) bool
IsCode returns true when this snaplock retention operation collection get o k response a status code equal to that given
func (*SnaplockRetentionOperationCollectionGetOK) IsRedirect ¶
func (o *SnaplockRetentionOperationCollectionGetOK) IsRedirect() bool
IsRedirect returns true when this snaplock retention operation collection get o k response has a 3xx status code
func (*SnaplockRetentionOperationCollectionGetOK) IsServerError ¶
func (o *SnaplockRetentionOperationCollectionGetOK) IsServerError() bool
IsServerError returns true when this snaplock retention operation collection get o k response has a 5xx status code
func (*SnaplockRetentionOperationCollectionGetOK) IsSuccess ¶
func (o *SnaplockRetentionOperationCollectionGetOK) IsSuccess() bool
IsSuccess returns true when this snaplock retention operation collection get o k response has a 2xx status code
func (*SnaplockRetentionOperationCollectionGetOK) String ¶
func (o *SnaplockRetentionOperationCollectionGetOK) String() 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 ¶
func (o *SnaplockRetentionOperationCollectionGetParams) SetContext(ctx context.Context)
SetContext adds the context to the snaplock retention operation collection get params
func (*SnaplockRetentionOperationCollectionGetParams) SetDefaults ¶
func (o *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 ¶
func (o *SnaplockRetentionOperationCollectionGetParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *SnaplockRetentionOperationCollectionGetParams) WithContext(ctx context.Context) *SnaplockRetentionOperationCollectionGetParams
WithContext adds the context to the snaplock retention operation collection get params
func (*SnaplockRetentionOperationCollectionGetParams) WithDefaults ¶
func (o *SnaplockRetentionOperationCollectionGetParams) WithDefaults() *SnaplockRetentionOperationCollectionGetParams
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 ¶
func (o *SnaplockRetentionOperationCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockRetentionOperationCollectionGetParams
WithFieldsQueryParameter adds the fields to the snaplock retention operation collection get params
func (*SnaplockRetentionOperationCollectionGetParams) WithHTTPClient ¶
func (o *SnaplockRetentionOperationCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockRetentionOperationCollectionGetParams
WithHTTPClient adds the HTTPClient to the snaplock retention operation collection get params
func (*SnaplockRetentionOperationCollectionGetParams) WithMaxRecordsQueryParameter ¶
func (o *SnaplockRetentionOperationCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockRetentionOperationCollectionGetParams
WithMaxRecordsQueryParameter adds the maxRecords to the snaplock retention operation collection get params
func (*SnaplockRetentionOperationCollectionGetParams) WithOrderByQueryParameter ¶
func (o *SnaplockRetentionOperationCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockRetentionOperationCollectionGetParams
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 ¶
func (o *SnaplockRetentionOperationCollectionGetParams) WithReturnTimeoutQueryParameter(returnTimeout *int64) *SnaplockRetentionOperationCollectionGetParams
WithReturnTimeoutQueryParameter adds the returnTimeout to the snaplock retention operation collection get params
func (*SnaplockRetentionOperationCollectionGetParams) WithTimeout ¶
func (o *SnaplockRetentionOperationCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockRetentionOperationCollectionGetParams
WithTimeout adds the timeout to the snaplock retention operation collection get params
func (*SnaplockRetentionOperationCollectionGetParams) WithVolumeUUIDQueryParameter ¶
func (o *SnaplockRetentionOperationCollectionGetParams) WithVolumeUUIDQueryParameter(volumeUUID string) *SnaplockRetentionOperationCollectionGetParams
WithVolumeUUIDQueryParameter adds the volumeUUID to the snaplock retention operation collection get params
func (*SnaplockRetentionOperationCollectionGetParams) WriteToRequest ¶
func (o *SnaplockRetentionOperationCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SnaplockRetentionOperationCreateCreated) Error() string
func (*SnaplockRetentionOperationCreateCreated) GetPayload ¶
func (o *SnaplockRetentionOperationCreateCreated) GetPayload() *models.EbrOperation
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 ¶
func (o *SnaplockRetentionOperationCreateCreated) IsCode(code int) bool
IsCode returns true when this snaplock retention operation create created response a status code equal to that given
func (*SnaplockRetentionOperationCreateCreated) IsRedirect ¶
func (o *SnaplockRetentionOperationCreateCreated) IsRedirect() bool
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 ¶
func (o *SnaplockRetentionOperationCreateCreated) IsSuccess() bool
IsSuccess returns true when this snaplock retention operation create created response has a 2xx status code
func (*SnaplockRetentionOperationCreateCreated) String ¶
func (o *SnaplockRetentionOperationCreateCreated) String() 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 ¶
func (o *SnaplockRetentionOperationCreateDefault) Code() int
Code gets the status code for the snaplock retention operation create default response
func (*SnaplockRetentionOperationCreateDefault) Error ¶
func (o *SnaplockRetentionOperationCreateDefault) Error() string
func (*SnaplockRetentionOperationCreateDefault) GetPayload ¶
func (o *SnaplockRetentionOperationCreateDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockRetentionOperationCreateDefault) IsCode(code int) bool
IsCode returns true when this snaplock retention operation create default response a status code equal to that given
func (*SnaplockRetentionOperationCreateDefault) IsRedirect ¶
func (o *SnaplockRetentionOperationCreateDefault) IsRedirect() bool
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 ¶
func (o *SnaplockRetentionOperationCreateDefault) IsSuccess() bool
IsSuccess returns true when this snaplock retention operation create default response has a 2xx status code
func (*SnaplockRetentionOperationCreateDefault) String ¶
func (o *SnaplockRetentionOperationCreateDefault) String() 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 ¶
func (o *SnaplockRetentionOperationCreateParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockRetentionOperationCreateParams) SetInfo(info *models.EbrOperation)
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 ¶
func (o *SnaplockRetentionOperationCreateParams) WithContext(ctx context.Context) *SnaplockRetentionOperationCreateParams
WithContext adds the context to the snaplock retention operation create params
func (*SnaplockRetentionOperationCreateParams) WithDefaults ¶
func (o *SnaplockRetentionOperationCreateParams) WithDefaults() *SnaplockRetentionOperationCreateParams
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 ¶
func (o *SnaplockRetentionOperationCreateParams) WithHTTPClient(client *http.Client) *SnaplockRetentionOperationCreateParams
WithHTTPClient adds the HTTPClient to the snaplock retention operation create params
func (*SnaplockRetentionOperationCreateParams) WithInfo ¶
func (o *SnaplockRetentionOperationCreateParams) WithInfo(info *models.EbrOperation) *SnaplockRetentionOperationCreateParams
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 ¶
func (o *SnaplockRetentionOperationCreateParams) WithTimeout(timeout time.Duration) *SnaplockRetentionOperationCreateParams
WithTimeout adds the timeout to the snaplock retention operation create params
func (*SnaplockRetentionOperationCreateParams) WriteToRequest ¶
func (o *SnaplockRetentionOperationCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockRetentionOperationDeleteDefault) Code() int
Code gets the status code for the snaplock retention operation delete default response
func (*SnaplockRetentionOperationDeleteDefault) Error ¶
func (o *SnaplockRetentionOperationDeleteDefault) Error() string
func (*SnaplockRetentionOperationDeleteDefault) GetPayload ¶
func (o *SnaplockRetentionOperationDeleteDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockRetentionOperationDeleteDefault) IsCode(code int) bool
IsCode returns true when this snaplock retention operation delete default response a status code equal to that given
func (*SnaplockRetentionOperationDeleteDefault) IsRedirect ¶
func (o *SnaplockRetentionOperationDeleteDefault) IsRedirect() bool
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 ¶
func (o *SnaplockRetentionOperationDeleteDefault) IsSuccess() bool
IsSuccess returns true when this snaplock retention operation delete default response has a 2xx status code
func (*SnaplockRetentionOperationDeleteDefault) String ¶
func (o *SnaplockRetentionOperationDeleteDefault) String() 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 (o *SnaplockRetentionOperationDeleteOK) Error() string
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 ¶
func (o *SnaplockRetentionOperationDeleteOK) IsCode(code int) bool
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 ¶
func (o *SnaplockRetentionOperationDeleteOK) IsSuccess() bool
IsSuccess returns true when this snaplock retention operation delete o k response has a 2xx status code
func (*SnaplockRetentionOperationDeleteOK) String ¶
func (o *SnaplockRetentionOperationDeleteOK) String() 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 ¶
func (o *SnaplockRetentionOperationDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockRetentionOperationDeleteParams) WithContext(ctx context.Context) *SnaplockRetentionOperationDeleteParams
WithContext adds the context to the snaplock retention operation delete params
func (*SnaplockRetentionOperationDeleteParams) WithDefaults ¶
func (o *SnaplockRetentionOperationDeleteParams) WithDefaults() *SnaplockRetentionOperationDeleteParams
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 ¶
func (o *SnaplockRetentionOperationDeleteParams) WithHTTPClient(client *http.Client) *SnaplockRetentionOperationDeleteParams
WithHTTPClient adds the HTTPClient to the snaplock retention operation delete params
func (*SnaplockRetentionOperationDeleteParams) WithIDPathParameter ¶
func (o *SnaplockRetentionOperationDeleteParams) WithIDPathParameter(id string) *SnaplockRetentionOperationDeleteParams
WithIDPathParameter adds the id to the snaplock retention operation delete params
func (*SnaplockRetentionOperationDeleteParams) WithTimeout ¶
func (o *SnaplockRetentionOperationDeleteParams) WithTimeout(timeout time.Duration) *SnaplockRetentionOperationDeleteParams
WithTimeout adds the timeout to the snaplock retention operation delete params
func (*SnaplockRetentionOperationDeleteParams) WriteToRequest ¶
func (o *SnaplockRetentionOperationDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockRetentionOperationGetDefault) Code() int
Code gets the status code for the snaplock retention operation get default response
func (*SnaplockRetentionOperationGetDefault) Error ¶
func (o *SnaplockRetentionOperationGetDefault) Error() string
func (*SnaplockRetentionOperationGetDefault) GetPayload ¶
func (o *SnaplockRetentionOperationGetDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockRetentionOperationGetDefault) IsCode(code int) bool
IsCode returns true when this snaplock retention operation get default response a status code equal to that given
func (*SnaplockRetentionOperationGetDefault) IsRedirect ¶
func (o *SnaplockRetentionOperationGetDefault) IsRedirect() bool
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 ¶
func (o *SnaplockRetentionOperationGetDefault) IsSuccess() bool
IsSuccess returns true when this snaplock retention operation get default response has a 2xx status code
func (*SnaplockRetentionOperationGetDefault) String ¶
func (o *SnaplockRetentionOperationGetDefault) String() 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 (o *SnaplockRetentionOperationGetOK) Error() string
func (*SnaplockRetentionOperationGetOK) GetPayload ¶
func (o *SnaplockRetentionOperationGetOK) GetPayload() *models.EbrOperation
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 ¶
func (o *SnaplockRetentionOperationGetOK) String() 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 ¶
func (o *SnaplockRetentionOperationGetParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockRetentionOperationGetParams) WithContext(ctx context.Context) *SnaplockRetentionOperationGetParams
WithContext adds the context to the snaplock retention operation get params
func (*SnaplockRetentionOperationGetParams) WithDefaults ¶
func (o *SnaplockRetentionOperationGetParams) WithDefaults() *SnaplockRetentionOperationGetParams
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 ¶
func (o *SnaplockRetentionOperationGetParams) WithFieldsQueryParameter(fields []string) *SnaplockRetentionOperationGetParams
WithFieldsQueryParameter adds the fields to the snaplock retention operation get params
func (*SnaplockRetentionOperationGetParams) WithHTTPClient ¶
func (o *SnaplockRetentionOperationGetParams) WithHTTPClient(client *http.Client) *SnaplockRetentionOperationGetParams
WithHTTPClient adds the HTTPClient to the snaplock retention operation get params
func (*SnaplockRetentionOperationGetParams) WithIDPathParameter ¶
func (o *SnaplockRetentionOperationGetParams) WithIDPathParameter(id string) *SnaplockRetentionOperationGetParams
WithIDPathParameter adds the id to the snaplock retention operation get params
func (*SnaplockRetentionOperationGetParams) WithTimeout ¶
func (o *SnaplockRetentionOperationGetParams) WithTimeout(timeout time.Duration) *SnaplockRetentionOperationGetParams
WithTimeout adds the timeout to the snaplock retention operation get params
func (*SnaplockRetentionOperationGetParams) WriteToRequest ¶
func (o *SnaplockRetentionOperationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockRetentionPolicyCollectionGetDefault) Code() int
Code gets the status code for the snaplock retention policy collection get default response
func (*SnaplockRetentionPolicyCollectionGetDefault) Error ¶
func (o *SnaplockRetentionPolicyCollectionGetDefault) Error() string
func (*SnaplockRetentionPolicyCollectionGetDefault) GetPayload ¶
func (o *SnaplockRetentionPolicyCollectionGetDefault) GetPayload() *models.ErrorResponse
func (*SnaplockRetentionPolicyCollectionGetDefault) IsClientError ¶
func (o *SnaplockRetentionPolicyCollectionGetDefault) IsClientError() bool
IsClientError returns true when this snaplock retention policy collection get default response has a 4xx status code
func (*SnaplockRetentionPolicyCollectionGetDefault) IsCode ¶
func (o *SnaplockRetentionPolicyCollectionGetDefault) IsCode(code int) bool
IsCode returns true when this snaplock retention policy collection get default response a status code equal to that given
func (*SnaplockRetentionPolicyCollectionGetDefault) IsRedirect ¶
func (o *SnaplockRetentionPolicyCollectionGetDefault) IsRedirect() bool
IsRedirect returns true when this snaplock retention policy collection get default response has a 3xx status code
func (*SnaplockRetentionPolicyCollectionGetDefault) IsServerError ¶
func (o *SnaplockRetentionPolicyCollectionGetDefault) IsServerError() bool
IsServerError returns true when this snaplock retention policy collection get default response has a 5xx status code
func (*SnaplockRetentionPolicyCollectionGetDefault) IsSuccess ¶
func (o *SnaplockRetentionPolicyCollectionGetDefault) IsSuccess() bool
IsSuccess returns true when this snaplock retention policy collection get default response has a 2xx status code
func (*SnaplockRetentionPolicyCollectionGetDefault) String ¶
func (o *SnaplockRetentionPolicyCollectionGetDefault) String() 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 (o *SnaplockRetentionPolicyCollectionGetOK) Error() string
func (*SnaplockRetentionPolicyCollectionGetOK) GetPayload ¶
func (o *SnaplockRetentionPolicyCollectionGetOK) GetPayload() *models.SnaplockRetentionPolicyResponse
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 ¶
func (o *SnaplockRetentionPolicyCollectionGetOK) IsCode(code int) bool
IsCode returns true when this snaplock retention policy collection get o k response a status code equal to that given
func (*SnaplockRetentionPolicyCollectionGetOK) IsRedirect ¶
func (o *SnaplockRetentionPolicyCollectionGetOK) IsRedirect() bool
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 ¶
func (o *SnaplockRetentionPolicyCollectionGetOK) IsSuccess() bool
IsSuccess returns true when this snaplock retention policy collection get o k response has a 2xx status code
func (*SnaplockRetentionPolicyCollectionGetOK) String ¶
func (o *SnaplockRetentionPolicyCollectionGetOK) String() 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 ¶
func (o *SnaplockRetentionPolicyCollectionGetParams) SetContext(ctx context.Context)
SetContext adds the context to the snaplock retention policy collection get params
func (*SnaplockRetentionPolicyCollectionGetParams) SetDefaults ¶
func (o *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 ¶
func (o *SnaplockRetentionPolicyCollectionGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the snaplock retention policy collection get params
func (*SnaplockRetentionPolicyCollectionGetParams) WithContext ¶
func (o *SnaplockRetentionPolicyCollectionGetParams) WithContext(ctx context.Context) *SnaplockRetentionPolicyCollectionGetParams
WithContext adds the context to the snaplock retention policy collection get params
func (*SnaplockRetentionPolicyCollectionGetParams) WithDefaults ¶
func (o *SnaplockRetentionPolicyCollectionGetParams) WithDefaults() *SnaplockRetentionPolicyCollectionGetParams
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 ¶
func (o *SnaplockRetentionPolicyCollectionGetParams) WithFieldsQueryParameter(fields []string) *SnaplockRetentionPolicyCollectionGetParams
WithFieldsQueryParameter adds the fields to the snaplock retention policy collection get params
func (*SnaplockRetentionPolicyCollectionGetParams) WithHTTPClient ¶
func (o *SnaplockRetentionPolicyCollectionGetParams) WithHTTPClient(client *http.Client) *SnaplockRetentionPolicyCollectionGetParams
WithHTTPClient adds the HTTPClient to the snaplock retention policy collection get params
func (*SnaplockRetentionPolicyCollectionGetParams) WithMaxRecordsQueryParameter ¶
func (o *SnaplockRetentionPolicyCollectionGetParams) WithMaxRecordsQueryParameter(maxRecords *int64) *SnaplockRetentionPolicyCollectionGetParams
WithMaxRecordsQueryParameter adds the maxRecords to the snaplock retention policy collection get params
func (*SnaplockRetentionPolicyCollectionGetParams) WithOrderByQueryParameter ¶
func (o *SnaplockRetentionPolicyCollectionGetParams) WithOrderByQueryParameter(orderBy []string) *SnaplockRetentionPolicyCollectionGetParams
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 ¶
func (o *SnaplockRetentionPolicyCollectionGetParams) WithTimeout(timeout time.Duration) *SnaplockRetentionPolicyCollectionGetParams
WithTimeout adds the timeout to the snaplock retention policy collection get params
func (*SnaplockRetentionPolicyCollectionGetParams) WriteToRequest ¶
func (o *SnaplockRetentionPolicyCollectionGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SnaplockRetentionPolicyCreateCreated) Error() string
func (*SnaplockRetentionPolicyCreateCreated) GetPayload ¶
func (o *SnaplockRetentionPolicyCreateCreated) GetPayload() *models.SnaplockRetentionPolicy
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 ¶
func (o *SnaplockRetentionPolicyCreateCreated) IsCode(code int) bool
IsCode returns true when this snaplock retention policy create created response a status code equal to that given
func (*SnaplockRetentionPolicyCreateCreated) IsRedirect ¶
func (o *SnaplockRetentionPolicyCreateCreated) IsRedirect() bool
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 ¶
func (o *SnaplockRetentionPolicyCreateCreated) IsSuccess() bool
IsSuccess returns true when this snaplock retention policy create created response has a 2xx status code
func (*SnaplockRetentionPolicyCreateCreated) String ¶
func (o *SnaplockRetentionPolicyCreateCreated) String() 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 ¶
func (o *SnaplockRetentionPolicyCreateDefault) Code() int
Code gets the status code for the snaplock retention policy create default response
func (*SnaplockRetentionPolicyCreateDefault) Error ¶
func (o *SnaplockRetentionPolicyCreateDefault) Error() string
func (*SnaplockRetentionPolicyCreateDefault) GetPayload ¶
func (o *SnaplockRetentionPolicyCreateDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockRetentionPolicyCreateDefault) IsCode(code int) bool
IsCode returns true when this snaplock retention policy create default response a status code equal to that given
func (*SnaplockRetentionPolicyCreateDefault) IsRedirect ¶
func (o *SnaplockRetentionPolicyCreateDefault) IsRedirect() bool
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 ¶
func (o *SnaplockRetentionPolicyCreateDefault) IsSuccess() bool
IsSuccess returns true when this snaplock retention policy create default response has a 2xx status code
func (*SnaplockRetentionPolicyCreateDefault) String ¶
func (o *SnaplockRetentionPolicyCreateDefault) String() 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 ¶
func (o *SnaplockRetentionPolicyCreateParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockRetentionPolicyCreateParams) SetInfo(info *models.SnaplockRetentionPolicy)
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 ¶
func (o *SnaplockRetentionPolicyCreateParams) WithContext(ctx context.Context) *SnaplockRetentionPolicyCreateParams
WithContext adds the context to the snaplock retention policy create params
func (*SnaplockRetentionPolicyCreateParams) WithDefaults ¶
func (o *SnaplockRetentionPolicyCreateParams) WithDefaults() *SnaplockRetentionPolicyCreateParams
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 ¶
func (o *SnaplockRetentionPolicyCreateParams) WithHTTPClient(client *http.Client) *SnaplockRetentionPolicyCreateParams
WithHTTPClient adds the HTTPClient to the snaplock retention policy create params
func (*SnaplockRetentionPolicyCreateParams) WithInfo ¶
func (o *SnaplockRetentionPolicyCreateParams) WithInfo(info *models.SnaplockRetentionPolicy) *SnaplockRetentionPolicyCreateParams
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 ¶
func (o *SnaplockRetentionPolicyCreateParams) WithTimeout(timeout time.Duration) *SnaplockRetentionPolicyCreateParams
WithTimeout adds the timeout to the snaplock retention policy create params
func (*SnaplockRetentionPolicyCreateParams) WriteToRequest ¶
func (o *SnaplockRetentionPolicyCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockRetentionPolicyDeleteDefault) Code() int
Code gets the status code for the snaplock retention policy delete default response
func (*SnaplockRetentionPolicyDeleteDefault) Error ¶
func (o *SnaplockRetentionPolicyDeleteDefault) Error() string
func (*SnaplockRetentionPolicyDeleteDefault) GetPayload ¶
func (o *SnaplockRetentionPolicyDeleteDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockRetentionPolicyDeleteDefault) IsCode(code int) bool
IsCode returns true when this snaplock retention policy delete default response a status code equal to that given
func (*SnaplockRetentionPolicyDeleteDefault) IsRedirect ¶
func (o *SnaplockRetentionPolicyDeleteDefault) IsRedirect() bool
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 ¶
func (o *SnaplockRetentionPolicyDeleteDefault) IsSuccess() bool
IsSuccess returns true when this snaplock retention policy delete default response has a 2xx status code
func (*SnaplockRetentionPolicyDeleteDefault) String ¶
func (o *SnaplockRetentionPolicyDeleteDefault) String() 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 (o *SnaplockRetentionPolicyDeleteOK) Error() string
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 ¶
func (o *SnaplockRetentionPolicyDeleteOK) String() 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 ¶
func (o *SnaplockRetentionPolicyDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockRetentionPolicyDeleteParams) WithContext(ctx context.Context) *SnaplockRetentionPolicyDeleteParams
WithContext adds the context to the snaplock retention policy delete params
func (*SnaplockRetentionPolicyDeleteParams) WithDefaults ¶
func (o *SnaplockRetentionPolicyDeleteParams) WithDefaults() *SnaplockRetentionPolicyDeleteParams
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 ¶
func (o *SnaplockRetentionPolicyDeleteParams) WithHTTPClient(client *http.Client) *SnaplockRetentionPolicyDeleteParams
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 ¶
func (o *SnaplockRetentionPolicyDeleteParams) WithTimeout(timeout time.Duration) *SnaplockRetentionPolicyDeleteParams
WithTimeout adds the timeout to the snaplock retention policy delete params
func (*SnaplockRetentionPolicyDeleteParams) WriteToRequest ¶
func (o *SnaplockRetentionPolicyDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockRetentionPolicyGetDefault) Code() int
Code gets the status code for the snaplock retention policy get default response
func (*SnaplockRetentionPolicyGetDefault) Error ¶
func (o *SnaplockRetentionPolicyGetDefault) Error() string
func (*SnaplockRetentionPolicyGetDefault) GetPayload ¶
func (o *SnaplockRetentionPolicyGetDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockRetentionPolicyGetDefault) String() 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 (o *SnaplockRetentionPolicyGetOK) Error() string
func (*SnaplockRetentionPolicyGetOK) GetPayload ¶
func (o *SnaplockRetentionPolicyGetOK) GetPayload() *models.SnaplockRetentionPolicy
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 ¶
func (o *SnaplockRetentionPolicyGetOK) String() 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 ¶
func (o *SnaplockRetentionPolicyGetParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockRetentionPolicyGetParams) WithContext(ctx context.Context) *SnaplockRetentionPolicyGetParams
WithContext adds the context to the snaplock retention policy get params
func (*SnaplockRetentionPolicyGetParams) WithDefaults ¶
func (o *SnaplockRetentionPolicyGetParams) WithDefaults() *SnaplockRetentionPolicyGetParams
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 ¶
func (o *SnaplockRetentionPolicyGetParams) WithHTTPClient(client *http.Client) *SnaplockRetentionPolicyGetParams
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 ¶
func (o *SnaplockRetentionPolicyGetParams) WithTimeout(timeout time.Duration) *SnaplockRetentionPolicyGetParams
WithTimeout adds the timeout to the snaplock retention policy get params
func (*SnaplockRetentionPolicyGetParams) WriteToRequest ¶
func (o *SnaplockRetentionPolicyGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *SnaplockRetentionPolicyModifyDefault) Code() int
Code gets the status code for the snaplock retention policy modify default response
func (*SnaplockRetentionPolicyModifyDefault) Error ¶
func (o *SnaplockRetentionPolicyModifyDefault) Error() string
func (*SnaplockRetentionPolicyModifyDefault) GetPayload ¶
func (o *SnaplockRetentionPolicyModifyDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *SnaplockRetentionPolicyModifyDefault) IsCode(code int) bool
IsCode returns true when this snaplock retention policy modify default response a status code equal to that given
func (*SnaplockRetentionPolicyModifyDefault) IsRedirect ¶
func (o *SnaplockRetentionPolicyModifyDefault) IsRedirect() bool
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 ¶
func (o *SnaplockRetentionPolicyModifyDefault) IsSuccess() bool
IsSuccess returns true when this snaplock retention policy modify default response has a 2xx status code
func (*SnaplockRetentionPolicyModifyDefault) String ¶
func (o *SnaplockRetentionPolicyModifyDefault) String() 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 (o *SnaplockRetentionPolicyModifyOK) Error() string
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 ¶
func (o *SnaplockRetentionPolicyModifyOK) String() 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 ¶
func (o *SnaplockRetentionPolicyModifyParams) SetContext(ctx context.Context)
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 ¶
func (o *SnaplockRetentionPolicyModifyParams) SetInfo(info *models.SnaplockRetentionPolicy)
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 ¶
func (o *SnaplockRetentionPolicyModifyParams) WithContext(ctx context.Context) *SnaplockRetentionPolicyModifyParams
WithContext adds the context to the snaplock retention policy modify params
func (*SnaplockRetentionPolicyModifyParams) WithDefaults ¶
func (o *SnaplockRetentionPolicyModifyParams) WithDefaults() *SnaplockRetentionPolicyModifyParams
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 ¶
func (o *SnaplockRetentionPolicyModifyParams) WithHTTPClient(client *http.Client) *SnaplockRetentionPolicyModifyParams
WithHTTPClient adds the HTTPClient to the snaplock retention policy modify params
func (*SnaplockRetentionPolicyModifyParams) WithInfo ¶
func (o *SnaplockRetentionPolicyModifyParams) WithInfo(info *models.SnaplockRetentionPolicy) *SnaplockRetentionPolicyModifyParams
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 ¶
func (o *SnaplockRetentionPolicyModifyParams) WithTimeout(timeout time.Duration) *SnaplockRetentionPolicyModifyParams
WithTimeout adds the timeout to the snaplock retention policy modify params
func (*SnaplockRetentionPolicyModifyParams) WriteToRequest ¶
func (o *SnaplockRetentionPolicyModifyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
- snaplock_client.go
- snaplock_compliance_clock_collection_get_parameters.go
- snaplock_compliance_clock_collection_get_responses.go
- snaplock_compliance_clock_create_parameters.go
- snaplock_compliance_clock_create_responses.go
- snaplock_compliance_clock_get_parameters.go
- snaplock_compliance_clock_get_responses.go
- snaplock_file_privileged_delete_parameters.go
- snaplock_file_privileged_delete_responses.go
- snaplock_file_retention_get_parameters.go
- snaplock_file_retention_get_responses.go
- snaplock_file_retention_time_modify_parameters.go
- snaplock_file_retention_time_modify_responses.go
- snaplock_fingerprint_operation_collection_get_parameters.go
- snaplock_fingerprint_operation_collection_get_responses.go
- snaplock_fingerprint_operation_create_parameters.go
- snaplock_fingerprint_operation_create_responses.go
- snaplock_fingerprint_operation_delete_parameters.go
- snaplock_fingerprint_operation_delete_responses.go
- snaplock_fingerprint_operation_get_parameters.go
- snaplock_fingerprint_operation_get_responses.go
- snaplock_legal_hold_begin_parameters.go
- snaplock_legal_hold_begin_responses.go
- snaplock_legal_hold_collection_get_parameters.go
- snaplock_legal_hold_collection_get_responses.go
- snaplock_legal_hold_create_parameters.go
- snaplock_legal_hold_create_responses.go
- snaplock_legal_hold_delete_parameters.go
- snaplock_legal_hold_delete_responses.go
- snaplock_legal_hold_files_get_parameters.go
- snaplock_legal_hold_files_get_responses.go
- snaplock_legal_hold_get_parameters.go
- snaplock_legal_hold_get_responses.go
- snaplock_legal_hold_operation_delete_parameters.go
- snaplock_legal_hold_operation_delete_responses.go
- snaplock_legal_hold_operation_get_parameters.go
- snaplock_legal_hold_operation_get_responses.go
- snaplock_log_collection_get_parameters.go
- snaplock_log_collection_get_responses.go
- snaplock_log_create_parameters.go
- snaplock_log_create_responses.go
- snaplock_log_delete_parameters.go
- snaplock_log_delete_responses.go
- snaplock_log_get_parameters.go
- snaplock_log_get_responses.go
- snaplock_log_modify_parameters.go
- snaplock_log_modify_responses.go
- snaplock_retention_operation_collection_get_parameters.go
- snaplock_retention_operation_collection_get_responses.go
- snaplock_retention_operation_create_parameters.go
- snaplock_retention_operation_create_responses.go
- snaplock_retention_operation_delete_parameters.go
- snaplock_retention_operation_delete_responses.go
- snaplock_retention_operation_get_parameters.go
- snaplock_retention_operation_get_responses.go
- snaplock_retention_policy_collection_get_parameters.go
- snaplock_retention_policy_collection_get_responses.go
- snaplock_retention_policy_create_parameters.go
- snaplock_retention_policy_create_responses.go
- snaplock_retention_policy_delete_parameters.go
- snaplock_retention_policy_delete_responses.go
- snaplock_retention_policy_get_parameters.go
- snaplock_retention_policy_get_responses.go
- snaplock_retention_policy_modify_parameters.go
- snaplock_retention_policy_modify_responses.go