# Module `netapp_ontap.models.shelf_bays`

Copyright © 2023 NetApp Inc. All rights reserved.

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

## Classes

`class ShelfBaysSchema (*, 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 ShelfBays object

  ### Ancestors

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

  ### Class variables

  `drawer: ShelfBaysDrawer GET POST PATCH`

    The drawer field of the shelf_bays.

  `has_disk: bool GET POST PATCH`

    The has_disk field of the shelf_bays.

  `id: Size GET POST PATCH`

    The id field of the shelf_bays.

    Example: 0

  `state: str GET POST PATCH`

    The state field of the shelf_bays.

    Valid choices:

    - unknown
    - ok
    - error
  `type: str GET POST PATCH`

    The type field of the shelf_bays.

    Valid choices:

    - unknown
    - single_disk
    - multi_lun