# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::NetApp::Mgmt::V2020_07_01 module Models # # Volume Backup Properties # class VolumeBackupProperties include MsRestAzure # @return [String] Backup Policy Resource ID attr_accessor :backup_policy_id # @return [Boolean] Policy Enforced attr_accessor :policy_enforced # @return [String] Vault Resource ID attr_accessor :vault_id # @return [Boolean] Backup Enabled attr_accessor :backup_enabled # # Mapper for VolumeBackupProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'volumeBackupProperties', type: { name: 'Composite', class_name: 'VolumeBackupProperties', model_properties: { backup_policy_id: { client_side_validation: true, required: false, serialized_name: 'backupPolicyId', type: { name: 'String' } }, policy_enforced: { client_side_validation: true, required: false, serialized_name: 'policyEnforced', type: { name: 'Boolean' } }, vault_id: { client_side_validation: true, required: false, serialized_name: 'vaultId', type: { name: 'String' } }, backup_enabled: { client_side_validation: true, required: false, serialized_name: 'backupEnabled', type: { name: 'Boolean' } } } } } end end end end