Sha256: 832223ed0c5564d50bc3670ad7502f07433d12b285494d9cd19e413b415fdfc2

Contents?: true

Size: 1.84 KB

Versions: 6

Compression:

Stored size: 1.84 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::ContainerService::Mgmt::V2020_02_01
  module Models
    #
    # Reference to another subresource.
    #
    class SubResource

      include MsRestAzure

      # @return [String] Resource ID.
      attr_accessor :id

      # @return [String] The name of the resource that is unique within a
      # resource group. This name can be used to access the resource.
      attr_accessor :name

      # @return [String] Resource type
      attr_accessor :type


      #
      # 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,
                read_only: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_container_service-0.22.0 lib/2020-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb
azure_mgmt_container_service-0.21.0 lib/2020-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb
azure_mgmt_container_service-0.20.4 lib/2020-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb
azure_mgmt_container_service-0.20.3 lib/2020-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb
azure_mgmt_container_service-0.20.2 lib/2020-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb
azure_mgmt_container_service-0.20.1 lib/2020-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb