Sha256: 2658ac76aac98a2b1252b1aa7a0e94f5cb78ddfb2068698ed3e2af65b13db2cd

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 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::V2020_06_01
  module Models
    #
    # Sub-resource.
    #
    class SubResource

      include MsRestAzure

      # @return [String] Resource ID
      attr_accessor :id


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

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
azure_mgmt_resources2-0.19.0 lib/2020-06-01/generated/azure_mgmt_resources/models/sub_resource.rb
azure_mgmt_resources2-0.18.2 lib/2020-06-01/generated/azure_mgmt_resources/models/sub_resource.rb
azure_mgmt_resources-0.18.2 lib/2020-06-01/generated/azure_mgmt_resources/models/sub_resource.rb
azure_mgmt_resources-0.18.1 lib/2020-06-01/generated/azure_mgmt_resources/models/sub_resource.rb
azure_mgmt_resources-0.18.0 lib/2020-06-01/generated/azure_mgmt_resources/models/sub_resource.rb