Module netapp_ontap.models.byte_lock

Copyright © 2023 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

Classes

class ByteLockSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)

The fields of the ByteLock object

Ancestors

  • netapp_ontap.resource.ResourceSchema
  • marshmallow.schema.Schema
  • marshmallow.base.SchemaABC

Class variables

exclusive: bool GET

Indicates whether it is an exclusive bytelock.

length: Size GET

Length of the bytelock starting from the offset.

Example: 10

mandatory: bool GET

Indicates whether or not the bytelock is mandatory.

offset: Size GET

Starting offset for a bytelock.

Example: 100

soft: bool GET

Indicates whether it is a soft bytelock.

super: bool GET

Indicates whether it is a super bytelock.