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

/**
 * @class
 * Initializes a new instance of the GenericResourceFilter class.
 * @constructor
 * Resource filter.
 * @member {string} [resourceType] Gets or sets the resource type.
 * 
 * @member {string} [tagname] Gets or sets the tag name.
 * 
 * @member {string} [tagvalue] Gets or sets the tag value.
 * 
 */
function GenericResourceFilter() {
}

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

module.exports = GenericResourceFilter;
