/*
 * 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 0.16.0.0
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

var models = require('./index');

/**
 * @class
 * Initializes a new instance of the TagValue class.
 * @constructor
 * Tag information.
 * @member {string} [id] Gets or sets the tag ID.
 * 
 * @member {string} [tagValueProperty] Gets or sets the tag value.
 * 
 * @member {object} [count] Gets or sets the tag value count.
 * 
 * @member {string} [count.type] Type of count.
 * 
 * @member {string} [count.value] Value of count.
 * 
 */
function TagValue() {
}

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

module.exports = TagValue;
