Class: Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ShareSynchronization

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

Class Method Summary collapse

Instance Attribute Details

#companyString

Returns Company name.

Returns:

  • (String)

    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_msInteger

Returns synchronization duration.

Returns:

  • (Integer)

    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_timeDateTime

Returns End time of synchronization.

Returns:

  • (DateTime)

    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

#messageString

Returns message of synchronization.

Returns:

  • (String)

    message of synchronization



25
26
27
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_synchronization.rb', line 25

def message
  @message
end

#recipientString

Returns Recipient id.

Returns:

  • (String)

    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_timeDateTime

Returns start time of synchronization.

Returns:

  • (DateTime)

    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

#statusString

Returns Raw Status.

Returns:

  • (String)

    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_idString

Returns Synchronization id.

Returns:

  • (String)

    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

.mapperObject

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