# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::DevTestLabs::Mgmt::V2016_05_15
  module Models
    #
    # The object that describes the operations
    #
    class OperationMetadataDisplay

      include MsRestAzure

      # @return [String] Friendly name of the resource provider
      attr_accessor :provider

      # @return [String] Resource type on which the operation is performed.
      attr_accessor :resource

      # @return [String] Operation type: read, write, delete, listKeys/action,
      # etc.
      attr_accessor :operation

      # @return [String] Friendly name of the operation
      attr_accessor :description


      #
      # Mapper for OperationMetadataDisplay class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'OperationMetadataDisplay',
          type: {
            name: 'Composite',
            class_name: 'OperationMetadataDisplay',
            model_properties: {
              provider: {
                client_side_validation: true,
                required: false,
                serialized_name: 'provider',
                type: {
                  name: 'String'
                }
              },
              resource: {
                client_side_validation: true,
                required: false,
                serialized_name: 'resource',
                type: {
                  name: 'String'
                }
              },
              operation: {
                client_side_validation: true,
                required: false,
                serialized_name: 'operation',
                type: {
                  name: 'String'
                }
              },
              description: {
                client_side_validation: true,
                required: false,
                serialized_name: 'description',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
