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
|
# File 'lib/purecloud/models/campaign_interactions.rb', line 60
def initialize(attributes = {})
return unless attributes.is_a?(Hash)
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
if attributes[:'campaign']
self.campaign = attributes[:'campaign']
end
if attributes[:'pendingInteractions']
if (value = attributes[:'pendingInteractions']).is_a?(Array)
self.pending_interactions = value
end
end
if attributes[:'proceedingInteractions']
if (value = attributes[:'proceedingInteractions']).is_a?(Array)
self.proceeding_interactions = value
end
end
if attributes[:'previewingInteractions']
if (value = attributes[:'previewingInteractions']).is_a?(Array)
self.previewing_interactions = value
end
end
if attributes[:'interactingInteractions']
if (value = attributes[:'interactingInteractions']).is_a?(Array)
self.interacting_interactions = value
end
end
end
|