/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

/**
 * Specifies the parameters needed to enable periodic backup.
 *
 */
class EnableBackupDescription {
  /**
   * Create a EnableBackupDescription.
   * @property {string} backupPolicyName Name of the backup policy to be used
   * for enabling periodic backups.
   */
  constructor() {
  }

  /**
   * Defines the metadata of EnableBackupDescription
   *
   * @returns {object} metadata of EnableBackupDescription
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'EnableBackupDescription',
      type: {
        name: 'Composite',
        className: 'EnableBackupDescription',
        modelProperties: {
          backupPolicyName: {
            required: true,
            serializedName: 'BackupPolicyName',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
}

module.exports = EnableBackupDescription;
