Class: Azure::DataShare::Mgmt::V2019_11_01::Models::ShareSynchronization

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#consumer_emailString

Returns Email of the user who created the synchronization.

Returns:

  • (String)

    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_nameString

Returns Name of the user who created the synchronization.

Returns:

  • (String)

    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_nameString

synchronization

Returns:

  • (String)

    Tenant name of the consumer who created the



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_msInteger

Returns synchronization duration.

Returns:

  • (Integer)

    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_timeDateTime

Returns End time of synchronization.

Returns:

  • (DateTime)

    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

#messageString

Returns message of synchronization.

Returns:

  • (String)

    message of synchronization



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

def message
  @message
end

#start_timeDateTime

Returns start time of synchronization.

Returns:

  • (DateTime)

    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

#statusString

Returns Raw Status.

Returns:

  • (String)

    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_idString

Returns Synchronization id.

Returns:

  • (String)

    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_modeSynchronizationMode

include: ‘Incremental’, ‘FullSync’

Returns:



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

.mapperObject

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