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
|
# File 'lib/purecloud/models/fax_status.rb', line 83
def initialize(attributes = {})
return unless attributes.is_a?(Hash)
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
if attributes[:'direction']
self.direction = attributes[:'direction']
end
if attributes[:'expectedPages']
self.expected_pages = attributes[:'expectedPages']
end
if attributes[:'activePage']
self.active_page = attributes[:'activePage']
end
if attributes[:'linesTransmitted']
self.lines_transmitted = attributes[:'linesTransmitted']
end
if attributes[:'bytesTransmitted']
self.bytes_transmitted = attributes[:'bytesTransmitted']
end
if attributes[:'baudRate']
self.baud_rate = attributes[:'baudRate']
end
if attributes[:'pageErrors']
self.page_errors = attributes[:'pageErrors']
end
if attributes[:'lineErrors']
self.line_errors = attributes[:'lineErrors']
end
end
|