Sha256: 9fad0d3308a8d54d16205d6f4c60594b6dcddf32941b582d8c98169f80074aec
Contents?: true
Size: 1.27 KB
Versions: 2
Compression:
Stored size: 1.27 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::V7_0_0_42 module Models # # Describes a Service Fabric property value. # class PropertyValue include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["Binary"] = "BinaryPropertyValue" @@discriminatorMap["Int64"] = "Int64PropertyValue" @@discriminatorMap["Double"] = "DoublePropertyValue" @@discriminatorMap["String"] = "StringPropertyValue" @@discriminatorMap["Guid"] = "GuidPropertyValue" def initialize @Kind = "PropertyValue" end attr_accessor :Kind # # Mapper for PropertyValue class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PropertyValue', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'PropertyValue', class_name: 'PropertyValue', model_properties: { } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems