Sha256: 939544d9e2a9c3a8b78926364c7bff84d5cd0960d1bf6ebbc07688fe506b65d6

Contents?: true

Size: 1.83 KB

Versions: 3

Compression:

Stored size: 1.83 KB

Contents

# 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::Subscriptions::Mgmt::V2018_03_01_preview
  module Models
    #
    # The object that represents the operation.
    #
    class OperationDisplay

      include MsRestAzure

      # @return [String] Service provider: Microsoft.Subscription
      attr_accessor :provider

      # @return [String] Resource on which the operation is performed: Profile,
      # endpoint, etc.
      attr_accessor :resource

      # @return [String] Operation type: Read, write, delete, etc.
      attr_accessor :operation


      #
      # Mapper for OperationDisplay class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Operation_display',
          type: {
            name: 'Composite',
            class_name: 'OperationDisplay',
            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'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_subscriptions-0.17.3 lib/2018-03-01-preview/generated/azure_mgmt_subscriptions/models/operation_display.rb
azure_mgmt_subscriptions-0.17.2 lib/2018-03-01-preview/generated/azure_mgmt_subscriptions/models/operation_display.rb
azure_mgmt_subscriptions-0.17.1 lib/2018-03-01-preview/generated/azure_mgmt_subscriptions/models/operation_display.rb