Class: Azure::DataShare::Mgmt::V2019_11_01::Models::ShareSynchronization
- Inherits:
-
Object
- Object
- Azure::DataShare::Mgmt::V2019_11_01::Models::ShareSynchronization
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb
Overview
A ShareSynchronization data transfer object.
Instance Attribute Summary collapse
-
#consumer_email ⇒ String
Email of the user who created the synchronization.
-
#consumer_name ⇒ String
Name of the user who created the synchronization.
-
#consumer_tenant_name ⇒ String
synchronization.
-
#duration_ms ⇒ Integer
Synchronization duration.
-
#end_time ⇒ DateTime
End time of synchronization.
-
#message ⇒ String
Message of synchronization.
-
#start_time ⇒ DateTime
Start time of synchronization.
-
#status ⇒ String
Raw Status.
-
#synchronization_id ⇒ String
Synchronization id.
-
#synchronization_mode ⇒ SynchronizationMode
include: ‘Incremental’, ‘FullSync’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ShareSynchronization class as Ruby Hash.
Instance Attribute Details
#consumer_email ⇒ String
Returns Email of the user who created the synchronization.
16 17 18 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 16 def consumer_email @consumer_email end |
#consumer_name ⇒ String
Returns Name of the user who created the synchronization.
19 20 21 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 19 def consumer_name @consumer_name end |
#consumer_tenant_name ⇒ String
synchronization
23 24 25 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 23 def consumer_tenant_name @consumer_tenant_name end |
#duration_ms ⇒ Integer
Returns synchronization duration.
26 27 28 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 26 def duration_ms @duration_ms end |
#end_time ⇒ DateTime
Returns End time of synchronization.
29 30 31 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 29 def end_time @end_time end |
#message ⇒ String
Returns message of synchronization.
32 33 34 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 32 def @message end |
#start_time ⇒ DateTime
Returns start time of synchronization.
35 36 37 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 35 def start_time @start_time end |
#status ⇒ String
Returns Raw Status.
38 39 40 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 38 def status @status end |
#synchronization_id ⇒ String
Returns Synchronization id.
41 42 43 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 41 def synchronization_id @synchronization_id end |
#synchronization_mode ⇒ SynchronizationMode
include: ‘Incremental’, ‘FullSync’
45 46 47 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 45 def synchronization_mode @synchronization_mode end |
Class Method Details
.mapper ⇒ Object
Mapper for ShareSynchronization class as Ruby Hash. This will be used for serialization/deserialization.
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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 52 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ShareSynchronization', type: { name: 'Composite', class_name: 'ShareSynchronization', model_properties: { consumer_email: { client_side_validation: true, required: false, serialized_name: 'consumerEmail', type: { name: 'String' } }, consumer_name: { client_side_validation: true, required: false, serialized_name: 'consumerName', type: { name: 'String' } }, consumer_tenant_name: { client_side_validation: true, required: false, serialized_name: 'consumerTenantName', type: { name: 'String' } }, duration_ms: { client_side_validation: true, required: false, serialized_name: 'durationMs', type: { name: 'Number' } }, end_time: { client_side_validation: true, required: false, serialized_name: 'endTime', type: { name: 'DateTime' } }, message: { client_side_validation: true, required: false, serialized_name: 'message', type: { name: 'String' } }, start_time: { client_side_validation: true, required: false, serialized_name: 'startTime', type: { name: 'DateTime' } }, status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'String' } }, synchronization_id: { client_side_validation: true, required: false, serialized_name: 'synchronizationId', type: { name: 'String' } }, synchronization_mode: { client_side_validation: true, required: false, read_only: true, serialized_name: 'synchronizationMode', type: { name: 'String' } } } } } end |