Sha256: 0db79b39b6e15ed5bcc3f0de0e445d7957a224dd0bbe80cd646d26f284115463

Contents?: true

Size: 1.03 KB

Versions: 2

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::Resources2::Mgmt::V2019_10_01
  module Models
    #
    # Sub-resource.
    #
    class SubResource

      include MsRestAzure2

      # @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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_resources2-1.0.1 lib/2019-10-01/generated/azure_mgmt_resources2/models/sub_resource.rb
azure_mgmt_resources2-1.0.0 lib/2019-10-01/generated/azure_mgmt_resources2/models/sub_resource.rb