lib/services/recoveryServicesBackupManagement/lib/models/azureFileShareProtectionPolicy.js
/**
   * Defines the metadata of AzureFileShareProtectionPolicy
   *
   * @returns {object} metadata of AzureFileShareProtectionPolicy
   *
   */
Defines the metadata of AzureFileShareProtectionPolicy
@returns {object} metadata of AzureFileShareProtectionPolicy
Defines the metadata of AzureFileShareProtectionPolicy @returns { object } metadata of AzureFileShareProtectionPolicy
mapper() {
    return {
      required: false,
      serializedName: 'AzureStorage',
      type: {
        name: 'Composite',
        polymorphicDiscriminator: {
          serializedName: 'backupManagementType',
          clientName: 'backupManagementType'
        },
        uberParent: 'ProtectionPolicy',
        className: 'AzureFileShareProtectionPolicy',
        modelProperties: {
          protectedItemsCount: {
            required: false,
            serializedName: 'protectedItemsCount',
            type: {
              name: 'Number'
            }
          },
          backupManagementType: {
            required: true,
            serializedName: 'backupManagementType',
            isPolymorphicDiscriminator: true,
            type: {
              name: 'String'
            }
          },
          workLoadType: {
            required: false,
            serializedName: 'workLoadType',
            type: {
              name: 'String'
            }
          },
          schedulePolicy: {
            required: false,
            serializedName: 'schedulePolicy',
            type: {
              name: 'Composite',
              polymorphicDiscriminator: {
                serializedName: 'schedulePolicyType',
                clientName: 'schedulePolicyType'
              },
              uberParent: 'SchedulePolicy',
              className: 'SchedulePolicy'
            }
          },
          retentionPolicy: {
            required: false,
            serializedName: 'retentionPolicy',
            type: {
              name: 'Composite',
              polymorphicDiscriminator: {
                serializedName: 'retentionPolicyType',
                clientName: 'retentionPolicyType'
              },
              uberParent: 'RetentionPolicy',
              className: 'RetentionPolicy'
            }
          },
          timeZone: {
            required: false,
            serializedName: 'timeZone',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'AzureStorage' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : 'backupManagementType' , clientName : 'backupManagementType' } , uberParent : 'ProtectionPolicy' , className : 'AzureFileShareProtectionPolicy' , modelProperties : { protectedItemsCount : { required : false , serializedName : 'protectedItemsCount' , type : { name : 'Number' } } , backupManagementType : { required : true , serializedName : 'backupManagementType' , isPolymorphicDiscriminator : true , type : { name : 'String' } } , workLoadType : { required : false , serializedName : 'workLoadType' , type : { name : 'String' } } , schedulePolicy : { required : false , serializedName : 'schedulePolicy' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : 'schedulePolicyType' , clientName : 'schedulePolicyType' } , uberParent : 'SchedulePolicy' , className : 'SchedulePolicy' } } , retentionPolicy : { required : false , serializedName : 'retentionPolicy' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : 'retentionPolicyType' , clientName : 'retentionPolicyType' } , uberParent : 'RetentionPolicy' , className : 'RetentionPolicy' } } , timeZone : { required : false , serializedName : 'timeZone' , type : { name : 'String' } } } } } ; }
Defines the metadata of AzureFileShareProtectionPolicy
 @returns {object} metadata of AzureFileShareProtectionPolicy
Defines the metadata of AzureFileShareProtectionPolicy @returns { object } metadata of AzureFileShareProtectionPolicy