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

/**
 * Object to define the number of days after creation.
 *
 */
class DateAfterCreation {
  /**
   * Create a DateAfterCreation.
   * @property {number} daysAfterCreationGreaterThan Integer value indicating
   * the age in days after creation
   */
  constructor() {
  }

  /**
   * Defines the metadata of DateAfterCreation
   *
   * @returns {object} metadata of DateAfterCreation
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'DateAfterCreation',
      type: {
        name: 'Composite',
        className: 'DateAfterCreation',
        modelProperties: {
          daysAfterCreationGreaterThan: {
            required: true,
            serializedName: 'daysAfterCreationGreaterThan',
            constraints: {
              InclusiveMinimum: 0
            },
            type: {
              name: 'Number'
            }
          }
        }
      }
    };
  }
}

module.exports = DateAfterCreation;
