Sha256: 2a1f6ef9b2d06e9a6967cbaa05ce37f47d8674591ad06bce524d6054497a190b
Contents?: true
Size: 1.49 KB
Versions: 3
Compression:
Stored size: 1.49 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_5_0_36 module Models # # Represents a base class for primary or secondary replicator status. # Contains information about the service fabric replicator like the # replication/copy queue utilization, last acknowledgement received # timestamp, etc. # class ReplicatorStatus include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["Primary"] = "PrimaryReplicatorStatus" @@discriminatorMap["SecondaryReplicatorStatus"] = "SecondaryReplicatorStatus" @@discriminatorMap["ActiveSecondary"] = "SecondaryActiveReplicatorStatus" @@discriminatorMap["IdleSecondary"] = "SecondaryIdleReplicatorStatus" def initialize @Kind = "ReplicatorStatus" end attr_accessor :Kind # # Mapper for ReplicatorStatus class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ReplicatorStatus', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'ReplicatorStatus', class_name: 'ReplicatorStatus', model_properties: { } } } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems