Sha256: 4603dd40e3ab25ac9c921e076240c1681dbca35561c44f2252c3e0e09a49b249

Contents?: true

Size: 1.47 KB

Versions: 9

Compression:

Stored size: 1.47 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::Resources::Mgmt::V2019_03_01
  module Models
    #
    # Microsoft.Resources operation
    #
    class Operation

      include MsRestAzure

      # @return [String] Operation name: {provider}/{resource}/{operation}
      attr_accessor :name

      # @return [OperationDisplay] The object that represents the operation.
      attr_accessor :display


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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
azure_mgmt_resources2-0.19.0 lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb
azure_mgmt_resources2-0.18.2 lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb
azure_mgmt_resources-0.18.2 lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb
azure_mgmt_resources-0.18.1 lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb
azure_mgmt_resources-0.18.0 lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb
azure_mgmt_resources-0.17.9 lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb
azure_mgmt_resources-0.17.8 lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb
azure_mgmt_resources-0.17.7 lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb
azure_mgmt_resources-0.17.6 lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb