50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# File 'lib/purecloud/models/domain_capabilities.rb', line 50
def initialize(attributes = {})
return unless attributes.is_a?(Hash)
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
if attributes[:'enabled']
self.enabled = attributes[:'enabled']
else
self.enabled = false
end
if attributes[:'dhcp']
self.dhcp = attributes[:'dhcp']
else
self.dhcp = false
end
if attributes[:'metric']
self.metric = attributes[:'metric']
end
end
|