Sha256: 380d2fcc4d4418fd6bee16e7291e3a150fbc70734fc1d448afe66e270e96ab88
Contents?: true
Size: 1.21 KB
Versions: 5
Compression:
Stored size: 1.21 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 the Service Fabric entity that is configured for backup. # class BackupEntity include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["Application"] = "ApplicationBackupEntity" @@discriminatorMap["Service"] = "ServiceBackupEntity" @@discriminatorMap["Partition"] = "PartitionBackupEntity" def initialize @EntityKind = "BackupEntity" end attr_accessor :EntityKind # # Mapper for BackupEntity class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BackupEntity', type: { name: 'Composite', polymorphic_discriminator: 'EntityKind', uber_parent: 'BackupEntity', class_name: 'BackupEntity', model_properties: { } } } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems