Sha256: 689d0aa7463a2e3aec4291ef58953a746719fe378882e1a30402e7fd70315c2a
Contents?: true
Size: 1.27 KB
Versions: 5
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::V6_3_0_9 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
5 entries across 5 versions & 1 rubygems