Sha256: 13b1f9b758216be14d4805801c5e5dec973bf8a0a8348391ffbfa0aa438275a1
Contents?: true
Size: 2 KB
Versions: 2
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::V7_0_0_42 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
2 entries across 2 versions & 1 rubygems