lib/bandwidth-sdk/models/initiate_callback.rb in bandwidth-sdk-11.0.0.pre.beta.1.1 vs lib/bandwidth-sdk/models/initiate_callback.rb in bandwidth-sdk-11.0.0.pre.beta.2.0

- old
+ new

@@ -4,11 +4,11 @@ #Bandwidth's Communication APIs The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.4.0 +OpenAPI Generator version: 6.5.0 =end require 'date' require 'time' @@ -96,11 +96,11 @@ # Attribute type mapping. def self.openapi_types { :'event_type' => :'String', - :'event_time' => :'String', + :'event_time' => :'Time', :'account_id' => :'String', :'application_id' => :'String', :'from' => :'String', :'to' => :'String', :'direction' => :'CallDirectionEnum', @@ -120,11 +120,11 @@ # Initializes the object # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Bandwidth::InitiateCallback` initialize method" + fail ArgumentError, 'The input argument (attributes) must be a hash in `Bandwidth::InitiateCallback` initialize method' end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) @@ -342,9 +342,7 @@ value.to_hash else value end end - end - end