Skip to content

Commit 1217645

Browse files
committed
Travis update: Jul 2024 (Build 776)
[skip ci]
1 parent c2f2677 commit 1217645

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/DeliveryResult.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
1313
**err** | [**ErrorCodeOmnichannelMachine**](ErrorCodeOmnichannelMachine.md) | | [optional]
1414
**timestamp** | **datetime** | When this status was received by Omnichannel API | [optional]
1515
**price_info** | [**PriceInfo**](PriceInfo.md) | | [optional]
16+
**sender** | **str** | the sender of the message | [optional]
1617

1718
## Example
1819

messente_api/models/delivery_result.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ class DeliveryResult(BaseModel):
3939
err: Optional[ErrorCodeOmnichannelMachine] = None
4040
timestamp: Optional[datetime] = Field(default=None, description="When this status was received by Omnichannel API")
4141
price_info: Optional[PriceInfo] = None
42-
__properties: ClassVar[List[str]] = ["status", "channel", "message_id", "error", "err", "timestamp", "price_info"]
42+
sender: Optional[StrictStr] = Field(default=None, description="the sender of the message")
43+
__properties: ClassVar[List[str]] = ["status", "channel", "message_id", "error", "err", "timestamp", "price_info", "sender"]
4344

4445
model_config = ConfigDict(
4546
populate_by_name=True,
@@ -106,7 +107,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
106107
"error": obj.get("error"),
107108
"err": obj.get("err"),
108109
"timestamp": obj.get("timestamp"),
109-
"price_info": PriceInfo.from_dict(obj["price_info"]) if obj.get("price_info") is not None else None
110+
"price_info": PriceInfo.from_dict(obj["price_info"]) if obj.get("price_info") is not None else None,
111+
"sender": obj.get("sender")
110112
})
111113
return _obj
112114

0 commit comments

Comments
 (0)