Method: PureCloud::ExportUriNotification#initialize
- Defined in:
- lib/purecloud/models/export_uri_notification.rb
#initialize(attributes = {}) ⇒ ExportUriNotification
Returns a new instance of ExportUriNotification.
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/purecloud/models/export_uri_notification.rb', line 50 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} if attributes[:'uri'] self.uri = attributes[:'uri'] end if attributes[:'exportTimestamp'] self. = attributes[:'exportTimestamp'] end if attributes[:'additionalProperties'] self.additional_properties = attributes[:'additionalProperties'] end end |