|
1 | 1 | # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. |
2 | 2 |
|
| 3 | +from pydantic import Field as FieldInfo |
| 4 | + |
3 | 5 | from ....._models import BaseModel |
4 | 6 |
|
5 | | -__all__ = ["HealthGetResponse", "Items"] |
| 7 | +__all__ = [ |
| 8 | + "HealthGetResponse", |
| 9 | + "Properties", |
| 10 | + "PropertiesDurationMs", |
| 11 | + "PropertiesOk", |
| 12 | + "PropertiesShards", |
| 13 | + "PropertiesShardsItems", |
| 14 | + "PropertiesShardsItemsProperties", |
| 15 | + "PropertiesShardsItemsPropertiesDatasetID", |
| 16 | + "PropertiesShardsItemsPropertiesDate", |
| 17 | + "PropertiesShardsItemsPropertiesHealthCheckMs", |
| 18 | + "PropertiesShardsItemsPropertiesPageCount", |
| 19 | + "PropertiesShardsItemsPropertiesPageSize", |
| 20 | + "PropertiesShardsItemsPropertiesSizeBytes", |
| 21 | + "PropertiesShardsItemsPropertiesSizeMB", |
| 22 | + "PropertiesShardsItemsPropertiesStartupMs", |
| 23 | + "PropertiesShardsItemsPropertiesTableStats", |
| 24 | + "PropertiesShardsItemsPropertiesTableStatsAdditionalProperties", |
| 25 | + "PropertiesShardsItemsPropertiesTimedOut", |
| 26 | + "PropertiesShardsItemsPropertiesTotalMs", |
| 27 | + "PropertiesTotalShards", |
| 28 | + "PropertiesTotalSizeBytes", |
| 29 | + "PropertiesTotalSizeMB", |
| 30 | +] |
| 31 | + |
| 32 | + |
| 33 | +class PropertiesDurationMs(BaseModel): |
| 34 | + type: str |
| 35 | + |
| 36 | + |
| 37 | +class PropertiesOk(BaseModel): |
| 38 | + type: str |
| 39 | + |
| 40 | + |
| 41 | +class PropertiesShardsItemsPropertiesDatasetID(BaseModel): |
| 42 | + type: str |
| 43 | + |
| 44 | + |
| 45 | +class PropertiesShardsItemsPropertiesDate(BaseModel): |
| 46 | + type: str |
| 47 | + |
| 48 | + |
| 49 | +class PropertiesShardsItemsPropertiesHealthCheckMs(BaseModel): |
| 50 | + type: str |
6 | 51 |
|
7 | 52 |
|
8 | | -class Items(BaseModel): |
| 53 | +class PropertiesShardsItemsPropertiesPageCount(BaseModel): |
9 | 54 | type: str |
10 | 55 |
|
11 | 56 |
|
| 57 | +class PropertiesShardsItemsPropertiesPageSize(BaseModel): |
| 58 | + type: str |
| 59 | + |
| 60 | + |
| 61 | +class PropertiesShardsItemsPropertiesSizeBytes(BaseModel): |
| 62 | + type: str |
| 63 | + |
| 64 | + |
| 65 | +class PropertiesShardsItemsPropertiesSizeMB(BaseModel): |
| 66 | + type: str |
| 67 | + |
| 68 | + |
| 69 | +class PropertiesShardsItemsPropertiesStartupMs(BaseModel): |
| 70 | + type: str |
| 71 | + |
| 72 | + |
| 73 | +class PropertiesShardsItemsPropertiesTableStatsAdditionalProperties(BaseModel): |
| 74 | + type: str |
| 75 | + |
| 76 | + |
| 77 | +class PropertiesShardsItemsPropertiesTableStats(BaseModel): |
| 78 | + additional_properties: PropertiesShardsItemsPropertiesTableStatsAdditionalProperties = FieldInfo( |
| 79 | + alias="additionalProperties" |
| 80 | + ) |
| 81 | + |
| 82 | + type: str |
| 83 | + |
| 84 | + |
| 85 | +class PropertiesShardsItemsPropertiesTimedOut(BaseModel): |
| 86 | + type: str |
| 87 | + |
| 88 | + |
| 89 | +class PropertiesShardsItemsPropertiesTotalMs(BaseModel): |
| 90 | + type: str |
| 91 | + |
| 92 | + |
| 93 | +class PropertiesShardsItemsProperties(BaseModel): |
| 94 | + dataset_id: PropertiesShardsItemsPropertiesDatasetID = FieldInfo(alias="datasetId") |
| 95 | + |
| 96 | + date: PropertiesShardsItemsPropertiesDate |
| 97 | + |
| 98 | + health_check_ms: PropertiesShardsItemsPropertiesHealthCheckMs = FieldInfo(alias="healthCheckMs") |
| 99 | + |
| 100 | + page_count: PropertiesShardsItemsPropertiesPageCount = FieldInfo(alias="pageCount") |
| 101 | + |
| 102 | + page_size: PropertiesShardsItemsPropertiesPageSize = FieldInfo(alias="pageSize") |
| 103 | + |
| 104 | + size_bytes: PropertiesShardsItemsPropertiesSizeBytes = FieldInfo(alias="sizeBytes") |
| 105 | + |
| 106 | + size_mb: PropertiesShardsItemsPropertiesSizeMB = FieldInfo(alias="sizeMB") |
| 107 | + |
| 108 | + startup_ms: PropertiesShardsItemsPropertiesStartupMs = FieldInfo(alias="startupMs") |
| 109 | + |
| 110 | + table_stats: PropertiesShardsItemsPropertiesTableStats = FieldInfo(alias="tableStats") |
| 111 | + |
| 112 | + timed_out: PropertiesShardsItemsPropertiesTimedOut = FieldInfo(alias="timedOut") |
| 113 | + |
| 114 | + total_ms: PropertiesShardsItemsPropertiesTotalMs = FieldInfo(alias="totalMs") |
| 115 | + |
| 116 | + |
| 117 | +class PropertiesShardsItems(BaseModel): |
| 118 | + properties: PropertiesShardsItemsProperties |
| 119 | + |
| 120 | + type: str |
| 121 | + |
| 122 | + |
| 123 | +class PropertiesShards(BaseModel): |
| 124 | + items: PropertiesShardsItems |
| 125 | + |
| 126 | + type: str |
| 127 | + |
| 128 | + |
| 129 | +class PropertiesTotalShards(BaseModel): |
| 130 | + type: str |
| 131 | + |
| 132 | + |
| 133 | +class PropertiesTotalSizeBytes(BaseModel): |
| 134 | + type: str |
| 135 | + |
| 136 | + |
| 137 | +class PropertiesTotalSizeMB(BaseModel): |
| 138 | + type: str |
| 139 | + |
| 140 | + |
| 141 | +class Properties(BaseModel): |
| 142 | + duration_ms: PropertiesDurationMs = FieldInfo(alias="durationMs") |
| 143 | + |
| 144 | + ok: PropertiesOk |
| 145 | + |
| 146 | + shards: PropertiesShards |
| 147 | + |
| 148 | + total_shards: PropertiesTotalShards = FieldInfo(alias="totalShards") |
| 149 | + |
| 150 | + total_size_bytes: PropertiesTotalSizeBytes = FieldInfo(alias="totalSizeBytes") |
| 151 | + |
| 152 | + total_size_mb: PropertiesTotalSizeMB = FieldInfo(alias="totalSizeMB") |
| 153 | + |
| 154 | + |
12 | 155 | class HealthGetResponse(BaseModel): |
13 | | - items: Items |
| 156 | + properties: Properties |
14 | 157 |
|
15 | 158 | type: str |
0 commit comments