# Module `netapp_ontap.models.volume_efficiency_scanner`

Copyright © 2022 NetApp Inc. All rights reserved.

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

## Classes

`class VolumeEfficiencyScannerSchema (*, 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 VolumeEfficiencyScanner object

  ### Ancestors

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

  ### Class variables

  `compression: bool GET PATCH`

    Start compression if scanning old data. Valid for PATCH and GET.

  `dedupe: bool GET PATCH`

    Start deduplication if scanning old data. Valid for PATCH and GET.

  `scan_old_data: bool GET PATCH`

    Indicates whether or not to scan old data. Valid for PATCH and GET.

  `state: str GET PATCH`

    State of the volume efficiency scanner. Valid for PATCH and GET. Valid options for PATCH are "idle" and "active".

    Valid choices:

    - idle
    - initializing
    - active
    - undoing
    - pending
    - downgrading
    - disabled