59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# File 'lib/purecloud/models/user_stations.rb', line 59
def initialize(attributes = {})
return unless attributes.is_a?(Hash)
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
if attributes[:'associatedStation']
self.associated_station = attributes[:'associatedStation']
end
if attributes[:'effectiveStation']
self.effective_station = attributes[:'effectiveStation']
end
if attributes[:'defaultStation']
self.default_station = attributes[:'defaultStation']
end
if attributes[:'lastAssociatedStation']
self.last_associated_station = attributes[:'lastAssociatedStation']
end
end
|