Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion activitysmith_openapi/docs/LiveActivityLimitError.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**error** | **str** | |
**message** | **str** | |
**limit** | **int** | |
**active** | **int** | Current number of active Live Activities. |
**blocked_devices** | **int** | Number of targeted devices that have reached the enforced iOS Live Activity concurrency threshold. |

## Example

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**error** | **str** | |
**message** | **str** | |
**limit** | **int** | |
**active** | **int** | Current number of active Live Activities. |
**blocked_devices** | **int** | Number of targeted devices that have reached the enforced iOS Live Activity concurrency threshold. |

## Example

Expand Down
6 changes: 3 additions & 3 deletions activitysmith_openapi/models/live_activity_limit_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class LiveActivityLimitError(BaseModel):
error: StrictStr
message: StrictStr
limit: StrictInt
active: StrictInt = Field(description="Current number of active Live Activities.")
__properties: ClassVar[List[str]] = ["error", "message", "limit", "active"]
blocked_devices: StrictInt = Field(description="Number of targeted devices that have reached the enforced iOS Live Activity concurrency threshold.")
__properties: ClassVar[List[str]] = ["error", "message", "limit", "blocked_devices"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -86,7 +86,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"error": obj.get("error"),
"message": obj.get("message"),
"limit": obj.get("limit"),
"active": obj.get("active")
"blocked_devices": obj.get("blocked_devices")
})
return _obj

Expand Down
4 changes: 2 additions & 2 deletions activitysmith_openapi/test/test_live_activity_limit_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ def make_instance(self, include_optional) -> LiveActivityLimitError:
error = '',
message = '',
limit = 56,
active = 56
blocked_devices = 56
)
else:
return LiveActivityLimitError(
error = '',
message = '',
limit = 56,
active = 56,
blocked_devices = 56,
)
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ def make_instance(self, include_optional) -> SendPushNotification429Response:
error = '',
message = '',
limit = 56,
active = 56
blocked_devices = 56
)
else:
return SendPushNotification429Response(
error = '',
message = '',
limit = 56,
active = 56,
blocked_devices = 56,
)
"""

Expand Down