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

/**
 * @class
 * Initializes a new instance of the ApiEntityReference class.
 * @constructor
 * The API entity reference.
 * @member {string} [id] the ARM resource id in the form of
 * /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/...
 * 
 */
function ApiEntityReference() {
}

/**
 * Defines the metadata of ApiEntityReference
 *
 * @returns {object} metadata of ApiEntityReference
 *
 */
ApiEntityReference.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'ApiEntityReference',
    type: {
      name: 'Composite',
      className: 'ApiEntityReference',
      modelProperties: {
        id: {
          required: false,
          serializedName: 'id',
          type: {
            name: 'String'
          }
        }
      }
    }
  };
};

module.exports = ApiEntityReference;
