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

/**
 * Evaluation details of IfNotExists effect.
 *
 */
class IfNotExistsEvaluationDetails {
  /**
   * Create a IfNotExistsEvaluationDetails.
   * @property {string} [resourceId] ID of the last evaluated resource for
   * IfNotExists effect.
   * @property {number} [totalResources] Total number of resources to which the
   * existence condition is applicable.
   */
  constructor() {
  }

  /**
   * Defines the metadata of IfNotExistsEvaluationDetails
   *
   * @returns {object} metadata of IfNotExistsEvaluationDetails
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'IfNotExistsEvaluationDetails',
      type: {
        name: 'Composite',
        className: 'IfNotExistsEvaluationDetails',
        modelProperties: {
          resourceId: {
            required: false,
            serializedName: 'resourceId',
            type: {
              name: 'String'
            }
          },
          totalResources: {
            required: false,
            serializedName: 'totalResources',
            type: {
              name: 'Number'
            }
          }
        }
      }
    };
  }
}

module.exports = IfNotExistsEvaluationDetails;
