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

/**
 * Extra Operation properties.
 *
 */
class OperationProperties {
  /**
   * Create a OperationProperties.
   * @member {object} [serviceSpecification] The service specifications.
   * @member {array} [serviceSpecification.metricSpecifications] Specifications
   * of the Metrics for Azure Monitoring.
   */
  constructor() {
  }

  /**
   * Defines the metadata of OperationProperties
   *
   * @returns {object} metadata of OperationProperties
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'OperationProperties',
      type: {
        name: 'Composite',
        className: 'OperationProperties',
        modelProperties: {
          serviceSpecification: {
            required: false,
            serializedName: 'serviceSpecification',
            type: {
              name: 'Composite',
              className: 'ServiceSpecification'
            }
          }
        }
      }
    };
  }
}

module.exports = OperationProperties;
