@@ -25,7 +25,8 @@ def update(self,
2525 message_method = 'POST' ,
2626 default_number_app = False ,
2727 default_endpoint_app = False ,
28- subaccount = None ):
28+ subaccount = None ,
29+ log_incoming_messages = True ):
2930 params = to_param_dict (self .update , locals ())
3031 self .__dict__ .update (params )
3132 return self .client .applications .update (self .id , ** params )
@@ -54,7 +55,8 @@ class Applications(PlivoResourceInterface):
5455 message_method = [optional (of_type (six .text_type ))],
5556 default_number_app = [optional (of_type_exact (bool ))],
5657 default_endpoint_app = [optional (of_type_exact (bool ))],
57- subaccount = [optional (is_subaccount ())])
58+ subaccount = [optional (is_subaccount ())],
59+ log_incoming_messages = [optional (of_type_exact (bool ))])
5860 def create (self ,
5961 answer_url ,
6062 app_name ,
@@ -67,7 +69,8 @@ def create(self,
6769 message_method = 'POST' ,
6870 default_number_app = False ,
6971 default_endpoint_app = False ,
70- subaccount = None ):
72+ subaccount = None ,
73+ log_incoming_messages = True ):
7174
7275 if subaccount :
7376 if isinstance (subaccount , Subaccount ):
@@ -117,7 +120,8 @@ def list(self, subaccount=None, limit=20, offset=0):
117120 message_method = [optional (of_type (six .text_type ))],
118121 default_number_app = [optional (of_type_exact (bool ))],
119122 default_endpoint_app = [optional (of_type_exact (bool ))],
120- subaccount = [optional (is_subaccount ())])
123+ subaccount = [optional (is_subaccount ())],
124+ log_incoming_messages = [optional (of_type_exact (bool ))])
121125 def update (self ,
122126 app_id ,
123127 answer_url ,
@@ -130,7 +134,8 @@ def update(self,
130134 message_method = 'POST' ,
131135 default_number_app = False ,
132136 default_endpoint_app = False ,
133- subaccount = None ):
137+ subaccount = None ,
138+ log_incoming_messages = True ):
134139 if subaccount :
135140 if isinstance (subaccount , Subaccount ):
136141 subaccount = subaccount .id
0 commit comments