/*
 * 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 PolicyDefinitionProperties class.
 * @constructor
 * Policy definition properties.
 * @member {string} [description] Gets or sets the policy definition
 * description.
 * 
 * @member {string} [displayName] Gets or sets the policy definition display
 * name.
 * 
 * @member {object} [policyRule] The policy rule json.
 * 
 */
function PolicyDefinitionProperties() {
}

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

module.exports = PolicyDefinitionProperties;
