Method: OCI::Waas::Models::WorkRequestLogEntry#initialize
- Defined in:
- lib/oci/waas/models/work_request_log_entry.rb
#initialize(attributes = {}) ⇒ WorkRequestLogEntry
Initializes the object
45 46 47 48 49 50 51 52 53 54 |
# File 'lib/oci/waas/models/work_request_log_entry.rb', line 45 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } self. = attributes[:'message'] if attributes[:'message'] self. = attributes[:'timestamp'] if attributes[:'timestamp'] end |