Sha256: 7e611613bee7cdb03d56ea9a15b55486972dfbcc0560ded949309d0d99a79bfd

Contents?: true

Size: 1.84 KB

Versions: 4

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_06_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

4 entries across 4 versions & 1 rubygems

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