lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/notify/v1/service/user/user_binding.rb in twilio-ruby-5.0.0.rc24
- old
+ new
@@ -148,12 +148,12 @@
# @param [Integer] page_number Page Number, this value is simply for client state
# @param [Integer] page_size Number of records to return, defaults to 50
# @return [Page] Page of UserBindingInstance
def page(start_date: :unset, end_date: :unset, tag: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
params = Twilio::Values.of({
- 'StartDate' => Twilio.serialize_iso8601(start_date),
- 'EndDate' => Twilio.serialize_iso8601(end_date),
+ 'StartDate' => Twilio.serialize_iso8601_date(start_date),
+ 'EndDate' => Twilio.serialize_iso8601_date(end_date),
'Tag' => tag,
'PageToken' => page_token,
'Page' => page_number,
'PageSize' => page_size,
})
@@ -293,11 +293,11 @@
@properties = {
'sid' => payload['sid'],
'account_sid' => payload['account_sid'],
'service_sid' => payload['service_sid'],
'credential_sid' => payload['credential_sid'],
- 'date_created' => Twilio.deserialize_iso8601(payload['date_created']),
- 'date_updated' => Twilio.deserialize_iso8601(payload['date_updated']),
+ 'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
+ 'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
'notification_protocol_version' => payload['notification_protocol_version'],
'endpoint' => payload['endpoint'],
'identity' => payload['identity'],
'binding_type' => payload['binding_type'],
'address' => payload['address'],
\ No newline at end of file