Skip to content

Commit 3fddc20

Browse files
DX-2663 startTime removed from createCallResponseModel
1 parent db2afec commit 3fddc20

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

bandwidth/voice/models/create_call_response.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class CreateCallResponse(object):
2222
application_id (string): TODO: type description here.
2323
to (string): TODO: type description here.
2424
mfrom (string): TODO: type description here.
25-
start_time (datetime): TODO: type description here.
2625
enqueued_time (datetime): TODO
2726
call_url (string): TODO: type description here.
2827
call_timeout (float): TODO: type description here.
@@ -55,7 +54,6 @@ class CreateCallResponse(object):
5554
"answer_url": 'answerUrl',
5655
"answer_method": 'answerMethod',
5756
"disconnect_method": 'disconnectMethod',
58-
"start_time": 'startTime',
5957
"enqueued_time": 'enqueuedTime',
6058
"call_timeout": 'callTimeout',
6159
"callback_timeout": 'callbackTimeout',
@@ -81,7 +79,6 @@ def __init__(self,
8179
answer_url=None,
8280
answer_method=None,
8381
disconnect_method=None,
84-
start_time=None,
8582
enqueued_time=None,
8683
call_timeout=None,
8784
callback_timeout=None,
@@ -102,7 +99,6 @@ def __init__(self,
10299
self.application_id = application_id
103100
self.to = to
104101
self.mfrom = mfrom
105-
self.start_time = APIHelper.RFC3339DateTime(start_time) if start_time else None
106102
self.enqueued_time = APIHelper.RFC3339DateTime(enqueued_time) if enqueued_time else None,
107103
self.enqueued_time = enqueued_time
108104
self.call_url = call_url
@@ -148,7 +144,6 @@ def from_dictionary(cls,
148144
answer_url = dictionary.get('answerUrl')
149145
answer_method = dictionary.get('answerMethod')
150146
disconnect_method = dictionary.get('disconnectMethod')
151-
start_time = APIHelper.RFC3339DateTime.from_value(dictionary.get("startTime")).datetime if dictionary.get("startTime") else None
152147
enqueued_time = APIHelper.RFC3339DateTime.from_value(dictionary.get("enqueuedTime")).datetime if dictionary.get("enqueuedTime") else None
153148
call_timeout = dictionary.get('callTimeout')
154149
callback_timeout = dictionary.get('callbackTimeout')
@@ -172,7 +167,6 @@ def from_dictionary(cls,
172167
answer_url,
173168
answer_method,
174169
disconnect_method,
175-
start_time,
176170
enqueued_time,
177171
call_timeout,
178172
callback_timeout,

0 commit comments

Comments
 (0)