You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sinch/domains/sms/models/v1/shared/binary_request.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ class BinaryRequest(BaseModelConfigurationRequest):
14
14
default=...,
15
15
description="A list of phone numbers and group IDs that will receive the batch. [More info](https://community.sinch.com/t5/Glossary/MSISDN/ta-p/7628).",
16
16
)
17
-
var_from: Optional[StrictStr] =Field(
17
+
from_: Optional[StrictStr] =Field(
18
18
default=None,
19
19
alias="from",
20
20
description="Sender number. Must be valid phone number, short code or alphanumeric. Required if Automatic Default Originator not configured.",
@@ -28,7 +28,7 @@ class BinaryRequest(BaseModelConfigurationRequest):
28
28
description="The UDH header of a binary message HEX encoded. Max 140 bytes including the `body`.",
29
29
)
30
30
type: Optional[StrictStr] =Field(
31
-
default=None,
31
+
default="mt_binary",
32
32
description="SMS in [binary](https://community.sinch.com/t5/Glossary/Binary-SMS/ta-p/7470) format.",
Copy file name to clipboardExpand all lines: sinch/domains/sms/models/v1/shared/binary_response.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ class BinaryResponse(BaseModelConfigurationResponse):
14
14
default=None,
15
15
description="A list of phone numbers and group IDs that have received the batch. [More info](https://community.sinch.com/t5/Glossary/MSISDN/ta-p/7628).",
16
16
)
17
-
var_from: Optional[StrictStr] =Field(
17
+
from_: Optional[StrictStr] =Field(
18
18
default=None,
19
19
alias="from",
20
20
description="The sender number provided. Required if the Automatic Default Originator is not configured.",
0 commit comments