Sha256: c99adb30a4ce63b9200deb2b8f62dde0eb4bd44f39710ee334c82a2030119b68

Contents?: true

Size: 2 KB

Versions: 5

Compression:

Stored size: 2 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::ServiceFabric::V6_2_0_9
  module Models
    #
    # Information about a Service Fabric property.
    #
    class PropertyInfo

      include MsRestAzure

      # @return [String] The name of the Service Fabric property.
      attr_accessor :name

      # @return [PropertyValue] Describes a Service Fabric property value.
      attr_accessor :value

      # @return [PropertyMetadata] The metadata associated with a property,
      # including the property's name.
      attr_accessor :metadata


      #
      # Mapper for PropertyInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PropertyInfo',
          type: {
            name: 'Composite',
            class_name: 'PropertyInfo',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'Name',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Value',
                type: {
                  name: 'Composite',
                  polymorphic_discriminator: 'Kind',
                  uber_parent: 'PropertyValue',
                  class_name: 'PropertyValue'
                }
              },
              metadata: {
                client_side_validation: true,
                required: true,
                serialized_name: 'Metadata',
                type: {
                  name: 'Composite',
                  class_name: 'PropertyMetadata'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/property_info.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/property_info.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/property_info.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/property_info.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/property_info.rb