# 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_5_0_36 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