text: /*
   * 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';
  
  var models = require('./index');
  
  /**
   * @class
   * Initializes a new instance of the Operation class.
   * @constructor
   * CDN REST API operation
   * @member {string} [name] Operation name: {provider}/{resource}/{operation}
   * 
   * @member {object} [display]
   * 
   * @member {string} [display.provider] Service provider: Microsoft.Cdn
   * 
   * @member {string} [display.resource] Resource on which the operation is
   * performed: Profile, endpoint, etc.
   * 
   * @member {string} [display.operation] Operation type: Read, write, delete,
   * etc.
   * 
   */
  function Operation() {
  }
  
  /**
   * Defines the metadata of Operation
   *
   * @returns {object} metadata of Operation
   *
   */
  Operation.prototype.mapper = function () {
    return {
      required: false,
      serializedName: 'Operation',
      type: {
        name: 'Composite',
        className: 'Operation',
        modelProperties: {
          name: {
            required: false,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          display: {
            required: false,
            serializedName: 'display',
            type: {
              name: 'Composite',
              className: 'OperationDisplay'
            }
          }
        }
      }
    };
  };
  
  module.exports = Operation;
  