|
1 | 1 | # generated by datamodel-codegen: |
2 | 2 | # filename: openapi.json |
3 | | -# timestamp: 2026-01-30T15:37:40+00:00 |
| 3 | +# timestamp: 2026-01-30T15:49:23+00:00 |
4 | 4 |
|
5 | 5 | from __future__ import annotations |
6 | 6 |
|
@@ -1649,10 +1649,14 @@ class TaskOptions(BaseModel): |
1649 | 1649 |
|
1650 | 1650 |
|
1651 | 1651 | class TaskInput(BaseModel): |
| 1652 | + """The input configuration for the Actor task. This is a user-defined JSON object |
| 1653 | + that will be passed to the Actor when the task is run. |
| 1654 | +
|
| 1655 | + """ |
| 1656 | + |
1652 | 1657 | model_config = ConfigDict( |
1653 | 1658 | extra='allow', |
1654 | 1659 | ) |
1655 | | - hello: Annotated[str | None, Field(examples=['world'])] = None |
1656 | 1660 |
|
1657 | 1661 |
|
1658 | 1662 | class CreateTaskRequest(BaseModel): |
@@ -1883,17 +1887,25 @@ class GetListOfKeysResponse(BaseModel): |
1883 | 1887 |
|
1884 | 1888 |
|
1885 | 1889 | class GetRecordResponse(BaseModel): |
| 1890 | + """The response body contains the value of the record. The content type of the response |
| 1891 | + is determined by the Content-Type header stored with the record. |
| 1892 | +
|
| 1893 | + """ |
| 1894 | + |
1886 | 1895 | model_config = ConfigDict( |
1887 | 1896 | extra='allow', |
1888 | 1897 | ) |
1889 | | - foo: str |
1890 | 1898 |
|
1891 | 1899 |
|
1892 | 1900 | class PutRecordRequest(BaseModel): |
| 1901 | + """The request body contains the value to store in the record. The content type |
| 1902 | + should be specified in the Content-Type header. |
| 1903 | +
|
| 1904 | + """ |
| 1905 | + |
1893 | 1906 | model_config = ConfigDict( |
1894 | 1907 | extra='allow', |
1895 | 1908 | ) |
1896 | | - foo: Annotated[str | None, Field(examples=['bar'])] = None |
1897 | 1909 |
|
1898 | 1910 |
|
1899 | 1911 | class DatasetListItem(BaseModel): |
@@ -2012,10 +2024,14 @@ class UpdateDatasetRequest(BaseModel): |
2012 | 2024 |
|
2013 | 2025 |
|
2014 | 2026 | class PutItemsRequest(BaseModel): |
| 2027 | + """The request body containing the item(s) to add to the dataset. Can be a single |
| 2028 | + object or an array of objects. Each object represents one dataset item. |
| 2029 | +
|
| 2030 | + """ |
| 2031 | + |
2015 | 2032 | model_config = ConfigDict( |
2016 | 2033 | extra='allow', |
2017 | 2034 | ) |
2018 | | - foo: str |
2019 | 2035 |
|
2020 | 2036 |
|
2021 | 2037 | class ValidationError(BaseModel): |
@@ -3143,14 +3159,6 @@ class Proxy(BaseModel): |
3143 | 3159 | groups: list[ProxyGroup] |
3144 | 3160 |
|
3145 | 3161 |
|
3146 | | -class AvailableProxyGroups(BaseModel): |
3147 | | - model_config = ConfigDict( |
3148 | | - extra='allow', |
3149 | | - ) |
3150 | | - somegroup: Annotated[int, Field(alias='SOMEGROUP', examples=[20])] |
3151 | | - anothergroup: Annotated[int, Field(alias='ANOTHERGROUP', examples=[200])] |
3152 | | - |
3153 | | - |
3154 | 3162 | class Plan(BaseModel): |
3155 | 3163 | model_config = ConfigDict( |
3156 | 3164 | extra='allow', |
@@ -3181,7 +3189,10 @@ class Plan(BaseModel): |
3181 | 3189 | max_actor_count: Annotated[int, Field(alias='maxActorCount', examples=[100])] |
3182 | 3190 | max_actor_task_count: Annotated[int, Field(alias='maxActorTaskCount', examples=[1000])] |
3183 | 3191 | data_retention_days: Annotated[int, Field(alias='dataRetentionDays', examples=[14])] |
3184 | | - available_proxy_groups: Annotated[AvailableProxyGroups, Field(alias='availableProxyGroups')] |
| 3192 | + available_proxy_groups: Annotated[dict[str, int], Field(alias='availableProxyGroups')] |
| 3193 | + """ |
| 3194 | + The number of available proxies in this group. |
| 3195 | + """ |
3185 | 3196 | team_account_seat_count: Annotated[int, Field(alias='teamAccountSeatCount', examples=[1])] |
3186 | 3197 | support_level: Annotated[str, Field(alias='supportLevel', examples=['COMMUNITY'])] |
3187 | 3198 | available_add_ons: Annotated[list[str], Field(alias='availableAddOns', examples=[[]])] |
|
0 commit comments