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

/**
 * Properties for evaluating a policy set.
 *
 */
class EvaluatePoliciesProperties {
  /**
   * Create a EvaluatePoliciesProperties.
   * @property {string} [factName] The fact name.
   * @property {string} [factData] The fact data.
   * @property {string} [valueOffset] The value offset.
   * @property {string} [userObjectId] The user for which policies will be
   * evaluated
   */
  constructor() {
  }

  /**
   * Defines the metadata of EvaluatePoliciesProperties
   *
   * @returns {object} metadata of EvaluatePoliciesProperties
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'EvaluatePoliciesProperties',
      type: {
        name: 'Composite',
        className: 'EvaluatePoliciesProperties',
        modelProperties: {
          factName: {
            required: false,
            serializedName: 'factName',
            type: {
              name: 'String'
            }
          },
          factData: {
            required: false,
            serializedName: 'factData',
            type: {
              name: 'String'
            }
          },
          valueOffset: {
            required: false,
            serializedName: 'valueOffset',
            type: {
              name: 'String'
            }
          },
          userObjectId: {
            required: false,
            serializedName: 'userObjectId',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
}

module.exports = EvaluatePoliciesProperties;
