Class: Azure::ServiceFabric::V6_3_0_9::Models::SecondaryActiveReplicatorStatus

Inherits:
SecondaryReplicatorStatus show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/secondary_active_replicator_status.rb

Overview

Status of the secondary replicator when it is in active mode and is part of the replica set.

Instance Attribute Summary collapse

Attributes inherited from SecondaryReplicatorStatus

#copy_queue_status, #is_in_build, #last_acknowledgement_sent_time_utc, #last_copy_operation_received_time_utc, #last_replication_operation_received_time_utc, #replication_queue_status

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSecondaryActiveReplicatorStatus

Returns a new instance of SecondaryActiveReplicatorStatus.



17
18
19
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/secondary_active_replicator_status.rb', line 17

def initialize
  @Kind = "ActiveSecondary"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



21
22
23
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/secondary_active_replicator_status.rb', line 21

def Kind
  @Kind
end

Class Method Details

.mapperObject

Mapper for SecondaryActiveReplicatorStatus class as Ruby Hash. This will be used for serialization/deserialization.



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/secondary_active_replicator_status.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ActiveSecondary',
    type: {
      name: 'Composite',
      class_name: 'SecondaryActiveReplicatorStatus',
      model_properties: {
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        replication_queue_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReplicationQueueStatus',
          type: {
            name: 'Composite',
            class_name: 'ReplicatorQueueStatus'
          }
        },
        last_replication_operation_received_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LastReplicationOperationReceivedTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        is_in_build: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IsInBuild',
          type: {
            name: 'Boolean'
          }
        },
        copy_queue_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CopyQueueStatus',
          type: {
            name: 'Composite',
            class_name: 'ReplicatorQueueStatus'
          }
        },
        last_copy_operation_received_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LastCopyOperationReceivedTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        last_acknowledgement_sent_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LastAcknowledgementSentTimeUtc',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end