|
1 | 1 | # generated by datamodel-codegen: |
2 | 2 | # filename: <stdin> |
3 | | -# timestamp: 2025-04-01T14:11:38+00:00 |
| 3 | +# timestamp: 2025-04-16T07:12:57+00:00 |
4 | 4 |
|
5 | 5 | from __future__ import annotations |
6 | 6 |
|
@@ -724,7 +724,7 @@ class BlocklistsUploadBlocklistContentQueryParameters(BaseModelSdk): |
724 | 724 | Optional[datetime], |
725 | 725 | Field( |
726 | 726 | description='Blocklist expiration', |
727 | | - examples='2025-04-01T14:11:16.563106+00:00', |
| 727 | + examples='2025-04-16T07:12:36.323875+00:00', |
728 | 728 | title='Expiration', |
729 | 729 | ), |
730 | 730 | ] = None |
@@ -783,6 +783,15 @@ class BlocklistsSubscribeBlocklistPathParameters(BaseModelSdk): |
783 | 783 | ] |
784 | 784 |
|
785 | 785 |
|
| 786 | +class BlocklistsGetBlocklistSubscribersQueryParameters(BaseModelSdk): |
| 787 | + page: Annotated[ |
| 788 | + Optional[int], Field(description='Page number', ge=1, title='Page') |
| 789 | + ] = 1 |
| 790 | + size: Annotated[ |
| 791 | + Optional[int], Field(description='Page size', ge=1, le=100, title='Size') |
| 792 | + ] = 50 |
| 793 | + |
| 794 | + |
786 | 795 | class BlocklistsGetBlocklistSubscribersPathParameters(BaseModelSdk): |
787 | 796 | blocklist_id: Annotated[ |
788 | 797 | str, Field(examples=['5f9d88b9e5c4f5b9a3d3e8b1'], title='Blocklist Id') |
@@ -1185,11 +1194,11 @@ class BlocklistSubscriberEntity(BaseModelSdk): |
1185 | 1194 | remediation: Annotated[str, Field(description='Remediation', title='Remediation')] |
1186 | 1195 |
|
1187 | 1196 |
|
1188 | | -class BlocklistSubscribersResponse(BaseModelSdk): |
1189 | | - subscribers: Annotated[ |
1190 | | - List[BlocklistSubscriberEntity], |
1191 | | - Field(description='List of subscribers', title='Subscribers'), |
| 1197 | +class BlocklistSubscribersCount(BaseModelSdk): |
| 1198 | + entity_type: Annotated[ |
| 1199 | + SubscriberEntityType, Field(description='Subscriber entity type') |
1192 | 1200 | ] |
| 1201 | + count: Annotated[int, Field(description='Subscriber entity count', title='Count')] |
1193 | 1202 |
|
1194 | 1203 |
|
1195 | 1204 | class BlocklistSubscriptionRequest(BaseModelSdk): |
@@ -1463,6 +1472,15 @@ class PageAllowlistSubscriberEntity(BaseModelSdk): |
1463 | 1472 | links: Links |
1464 | 1473 |
|
1465 | 1474 |
|
| 1475 | +class PageBlocklistSubscriberEntity(BaseModelSdk): |
| 1476 | + items: Annotated[List[BlocklistSubscriberEntity], Field(title='Items')] |
| 1477 | + total: Annotated[Optional[Total], Field(title='Total')] = None |
| 1478 | + page: Annotated[Optional[Page], Field(title='Page')] = None |
| 1479 | + size: Annotated[Optional[Size], Field(title='Size')] = None |
| 1480 | + pages: Annotated[Optional[Pages], Field(title='Pages')] = None |
| 1481 | + links: Links |
| 1482 | + |
| 1483 | + |
1466 | 1484 | class PageIntegrationGetResponse(BaseModelSdk): |
1467 | 1485 | items: Annotated[List[IntegrationGetResponse], Field(title='Items')] |
1468 | 1486 | total: Annotated[Optional[Total], Field(title='Total')] = None |
@@ -1536,7 +1554,7 @@ class PublicBlocklistResponse(BaseModelSdk): |
1536 | 1554 | ), |
1537 | 1555 | ] = None |
1538 | 1556 | subscribers: Annotated[ |
1539 | | - Optional[List[BlocklistSubscriberEntity]], |
| 1557 | + Optional[List[BlocklistSubscribersCount]], |
1540 | 1558 | Field( |
1541 | 1559 | description='List of subscribers to the blocklist. Only subscribers belonging to your organization are returned', |
1542 | 1560 | title='Subscribers', |
|
0 commit comments