/*
 * 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';

/**
 * Azure VM managed disk input details.
 *
 */
class A2AVmManagedDiskInputDetails {
  /**
   * Create a A2AVmManagedDiskInputDetails.
   * @member {string} [diskId] The disk Id.
   * @member {string} [primaryStagingAzureStorageAccountId] The primary staging
   * storage account Arm Id.
   * @member {string} [recoveryResourceGroupId] The target resource group Arm
   * Id.
   * @member {string} [recoveryReplicaDiskAccountType] The replica disk type.
   * Its an optional value and will be same as source disk type if not user
   * provided.
   * @member {string} [recoveryTargetDiskAccountType] The target disk type
   * after failover. Its an optional value and will be same as source disk type
   * if not user provided.
   */
  constructor() {
  }

  /**
   * Defines the metadata of A2AVmManagedDiskInputDetails
   *
   * @returns {object} metadata of A2AVmManagedDiskInputDetails
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'A2AVmManagedDiskInputDetails',
      type: {
        name: 'Composite',
        className: 'A2AVmManagedDiskInputDetails',
        modelProperties: {
          diskId: {
            required: false,
            serializedName: 'diskId',
            type: {
              name: 'String'
            }
          },
          primaryStagingAzureStorageAccountId: {
            required: false,
            serializedName: 'primaryStagingAzureStorageAccountId',
            type: {
              name: 'String'
            }
          },
          recoveryResourceGroupId: {
            required: false,
            serializedName: 'recoveryResourceGroupId',
            type: {
              name: 'String'
            }
          },
          recoveryReplicaDiskAccountType: {
            required: false,
            serializedName: 'recoveryReplicaDiskAccountType',
            type: {
              name: 'String'
            }
          },
          recoveryTargetDiskAccountType: {
            required: false,
            serializedName: 'recoveryTargetDiskAccountType',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
}

module.exports = A2AVmManagedDiskInputDetails;
