Class: Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ShareSynchronization
- Inherits:
-
Object
- Object
- Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ShareSynchronization
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb
Overview
A ShareSynchronization data transfer object.
Instance Attribute Summary collapse
-
#company ⇒ String
Company name.
-
#duration_ms ⇒ Integer
Synchronization duration.
-
#end_time ⇒ DateTime
End time of synchronization.
-
#message ⇒ String
Message of synchronization.
-
#recipient ⇒ String
Recipient id.
-
#start_time ⇒ DateTime
Start time of synchronization.
-
#status ⇒ String
Raw Status.
-
#synchronization_id ⇒ String
Synchronization id.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ShareSynchronization class as Ruby Hash.
Instance Attribute Details
#company ⇒ String
Returns Company name.
16 17 18 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 16 def company @company end |
#duration_ms ⇒ Integer
Returns synchronization duration.
19 20 21 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 19 def duration_ms @duration_ms end |
#end_time ⇒ DateTime
Returns End time of synchronization.
22 23 24 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 22 def end_time @end_time end |
#message ⇒ String
Returns message of synchronization.
25 26 27 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 25 def @message end |
#recipient ⇒ String
Returns Recipient id.
28 29 30 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 28 def recipient @recipient end |
#start_time ⇒ DateTime
Returns start time of synchronization.
31 32 33 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 31 def start_time @start_time end |
#status ⇒ String
Returns Raw Status.
34 35 36 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 34 def status @status end |
#synchronization_id ⇒ String
Returns Synchronization id.
37 38 39 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 37 def synchronization_id @synchronization_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ShareSynchronization class as Ruby Hash. This will be used for serialization/deserialization.
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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ShareSynchronization', type: { name: 'Composite', class_name: 'ShareSynchronization', model_properties: { company: { client_side_validation: true, required: false, serialized_name: 'company', 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' } }, recipient: { client_side_validation: true, required: false, serialized_name: 'recipient', 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' } } } } } end |