Class: Azure::DataShare::Mgmt::V2019_11_01::Models::ShareSubscriptionSynchronization

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization.rb

Overview

A ShareSubscriptionSynchronization data transfer object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#duration_msInteger

Returns Synchronization duration.

Returns:

  • (Integer)

    Synchronization duration



16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization.rb', line 16

def duration_ms
  @duration_ms
end

#end_timeDateTime

Returns End time of synchronization.

Returns:

  • (DateTime)

    End time of synchronization



19
20
21
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization.rb', line 19

def end_time
  @end_time
end

#messageString

Returns message of Synchronization.

Returns:

  • (String)

    message of Synchronization



22
23
24
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization.rb', line 22

def message
  @message
end

#start_timeDateTime

Returns start time of synchronization.

Returns:

  • (DateTime)

    start time of synchronization



25
26
27
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization.rb', line 25

def start_time
  @start_time
end

#statusString

Returns Raw Status.

Returns:

  • (String)

    Raw Status



28
29
30
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization.rb', line 28

def status
  @status
end

#synchronization_idString

Returns Synchronization id.

Returns:

  • (String)

    Synchronization id



31
32
33
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization.rb', line 31

def synchronization_id
  @synchronization_id
end

#synchronization_modeSynchronizationMode

include: ‘Incremental’, ‘FullSync’

Returns:



35
36
37
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization.rb', line 35

def synchronization_mode
  @synchronization_mode
end

Class Method Details

.mapperObject

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



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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription_synchronization.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ShareSubscriptionSynchronization',
    type: {
      name: 'Composite',
      class_name: 'ShareSubscriptionSynchronization',
      model_properties: {
        duration_ms: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'durationMs',
          type: {
            name: 'Number'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'endTime',
          type: {
            name: 'DateTime'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'startTime',
          type: {
            name: 'DateTime'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        synchronization_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'synchronizationId',
          type: {
            name: 'String'
          }
        },
        synchronization_mode: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'synchronizationMode',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end