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

/**
 * The parameters used to create a new virtual network rule while creating a
 * new Data Lake Store account.
 *
 */
class CreateVirtualNetworkRuleWithAccountParameters {
  /**
   * Create a CreateVirtualNetworkRuleWithAccountParameters.
   * @property {string} name The unique name of the virtual network rule to
   * create.
   * @property {string} subnetId The resource identifier for the subnet.
   */
  constructor() {
  }

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

module.exports = CreateVirtualNetworkRuleWithAccountParameters;
