|
1 | 1 | # generated by datamodel-codegen: |
2 | 2 | # filename: openapi.json |
3 | | -# timestamp: 2025-12-28T21:31:16+00:00 |
| 3 | +# timestamp: 2026-01-02T15:04:48+00:00 |
4 | 4 |
|
5 | 5 | from __future__ import annotations |
6 | 6 |
|
@@ -197,13 +197,15 @@ class ActorStats(BaseModel): |
197 | 197 | total_users7_days: Annotated[float, Field(alias='totalUsers7Days', examples=[2])] |
198 | 198 | total_users30_days: Annotated[float, Field(alias='totalUsers30Days', examples=[6])] |
199 | 199 | total_users90_days: Annotated[float, Field(alias='totalUsers90Days', examples=[6])] |
200 | | - total_metamorphs: Annotated[float, Field(alias='totalMetamorphs', examples=[2])] |
201 | | - last_run_started_at: Annotated[str, Field(alias='lastRunStartedAt', examples=['2019-07-08T14:01:05.546Z'])] |
| 200 | + total_metamorphs: Annotated[float | None, Field(alias='totalMetamorphs', examples=[2])] = None |
| 201 | + last_run_started_at: Annotated[ |
| 202 | + str | None, Field(alias='lastRunStartedAt', examples=['2019-07-08T14:01:05.546Z']) |
| 203 | + ] = None |
202 | 204 |
|
203 | 205 |
|
204 | 206 | class ExampleRunInput(BaseModel): |
205 | | - body: Annotated[str | None, Field(examples=[{'helloWorld': 123}])] = None |
206 | | - content_type: Annotated[str | None, Field(alias='contentType', examples=['application/json; charset=utf-8'])] = None |
| 207 | + body: Annotated[str, Field(examples=[{'helloWorld': 123}])] |
| 208 | + content_type: Annotated[str, Field(alias='contentType', examples=['application/json; charset=utf-8'])] |
207 | 209 |
|
208 | 210 |
|
209 | 211 | class Latest(BaseModel): |
@@ -242,7 +244,7 @@ class Actor(BaseModel): |
242 | 244 | default_run_options: Annotated[DefaultRunOptions, Field(alias='defaultRunOptions')] |
243 | 245 | example_run_input: Annotated[Any | ExampleRunInput | None, Field(alias='exampleRunInput')] = None |
244 | 246 | is_deprecated: Annotated[bool | None, Field(alias='isDeprecated', examples=[False])] = None |
245 | | - deployment_key: Annotated[str, Field(alias='deploymentKey', examples=['ssh-rsa AAAA ...'])] |
| 247 | + deployment_key: Annotated[str | None, Field(alias='deploymentKey', examples=['ssh-rsa AAAA ...'])] = None |
246 | 248 | title: Annotated[str | None, Field(examples=['My Actor'])] = None |
247 | 249 | tagged_builds: Annotated[Any | TaggedBuilds | None, Field(alias='taggedBuilds')] = None |
248 | 250 |
|
@@ -416,7 +418,7 @@ class GetListOfWebhooksResponse(BaseModel): |
416 | 418 |
|
417 | 419 | class BuildsMeta(BaseModel): |
418 | 420 | origin: Annotated[str, Field(examples=['WEB'])] |
419 | | - client_ip: Annotated[str, Field(alias='clientIp', examples=['172.234.12.34'])] |
| 421 | + client_ip: Annotated[str | None, Field(alias='clientIp', examples=['172.234.12.34'])] = None |
420 | 422 | user_agent: Annotated[str, Field(alias='userAgent', examples=['Mozilla/5.0 (iPad)'])] |
421 | 423 |
|
422 | 424 |
|
@@ -444,8 +446,8 @@ class GetBuildListResponse(BaseModel): |
444 | 446 |
|
445 | 447 |
|
446 | 448 | class BuildStats(BaseModel): |
447 | | - duration_millis: Annotated[float, Field(alias='durationMillis', examples=[1000])] |
448 | | - run_time_secs: Annotated[float, Field(alias='runTimeSecs', examples=[45.718])] |
| 449 | + duration_millis: Annotated[float | None, Field(alias='durationMillis', examples=[1000])] = None |
| 450 | + run_time_secs: Annotated[float | None, Field(alias='runTimeSecs', examples=[45.718])] = None |
449 | 451 | compute_units: Annotated[float, Field(alias='computeUnits', examples=[0.0126994444444444])] |
450 | 452 |
|
451 | 453 |
|
|
0 commit comments