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

/**
 * @class
 * Initializes a new instance of the OperationDisplay class.
 * @constructor
 * @member {string} [provider]
 * 
 * @member {string} [resource]
 * 
 * @member {string} [operation]
 * 
 * @member {string} [description]
 * 
 * @member {string} [origin]
 * 
 */
function OperationDisplay() {
}

/**
 * Defines the metadata of OperationDisplay
 *
 * @returns {object} metadata of OperationDisplay
 *
 */
OperationDisplay.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'Operation_display',
    type: {
      name: 'Composite',
      className: 'OperationDisplay',
      modelProperties: {
        provider: {
          required: false,
          serializedName: 'provider',
          type: {
            name: 'String'
          }
        },
        resource: {
          required: false,
          serializedName: 'resource',
          type: {
            name: 'String'
          }
        },
        operation: {
          required: false,
          serializedName: 'operation',
          type: {
            name: 'String'
          }
        },
        description: {
          required: false,
          serializedName: 'description',
          type: {
            name: 'String'
          }
        },
        origin: {
          required: false,
          serializedName: 'origin',
          type: {
            name: 'String'
          }
        }
      }
    }
  };
};

module.exports = OperationDisplay;
