Sha256: 59524c5ca6650e9e9aa177c7a429498b105bff5527be0063966961d8fa673db9

Contents?: true

Size: 1.74 KB

Versions: 5

Compression:

Stored size: 1.74 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::Logic::Mgmt::V2018_07_01_preview
  module Models
    #
    # The resource reference.
    #
    class ResourceReference

      include MsRestAzure

      # @return [String] The resource id.
      attr_accessor :id

      # @return [String] Gets the resource name.
      attr_accessor :name

      # @return [String] Gets the resource type.
      attr_accessor :type


      #
      # Mapper for ResourceReference class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ResourceReference',
          type: {
            name: 'Composite',
            class_name: 'ResourceReference',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                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

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_logic-0.18.3 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/resource_reference.rb
azure_mgmt_logic-0.18.2 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/resource_reference.rb
azure_mgmt_logic-0.18.1 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/resource_reference.rb
azure_mgmt_logic-0.18.0 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/resource_reference.rb
azure_mgmt_logic-0.17.2 lib/2018-07-01-preview/generated/azure_mgmt_logic/models/resource_reference.rb