Skip to content

Commit

Permalink
Updated the MetricChartFilters defination
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 6, 2024
1 parent 15383f4 commit 383b66b
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions onelens_backend_client_v2/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# generated by datamodel-codegen:
# filename: <stdin>
# timestamp: 2024-09-06T05:49:34+00:00
# timestamp: 2024-09-06T08:18:00+00:00

from __future__ import annotations

Expand Down Expand Up @@ -1215,6 +1215,7 @@ class NaviraLogUpdateRequest(BaseModel):

class OperatorOutput(Enum):
equals = "equals"
in_ = "in"


class OrItem(BaseModel):
Expand Down Expand Up @@ -2768,6 +2769,7 @@ class OnelensModelsServiceInterfacesTenantDataMetricsServiceGranularityUnit(Enum

class OnelensModelsServiceInterfacesTenantDataMetricsServiceOperator(Enum):
equals = "equals"
in_ = "in"


class OnelensModelsServiceInterfacesTenantMetadataCommonsHierarchyNodeCategory1(Enum):
Expand Down Expand Up @@ -4981,8 +4983,8 @@ class ResourceCatalogCostDataMixin(BaseModel):
id: UUID = Field(
..., description="The id of the resource catalog cost data.", title="Id"
)
resource_id: UUID = Field(
..., description="The id of the resource.", title="Resource Id"
resource_catalog_id: UUID = Field(
..., description="The id of the resource catalog.", title="Resource Catalog Id"
)
start_datetime: datetime = Field(
..., description="The start datetime.", title="Start Datetime"
Expand Down Expand Up @@ -6881,8 +6883,8 @@ class MetricsChartConfigInput(BaseModel):
look_back_period: Optional[MetricsLookBackPeriod] = Field(
None, description="The look back period of the metric."
)
filter: Optional[MetricChartFilters] = Field(
None, description="The filters for displaying the metrics"
filter: Optional[List[MetricChartFilters]] = Field(
None, description="The filters for displaying the metrics", title="Filter"
)
threshold: Optional[MetricsThreshold] = Field(
None, description="The threshold of the metric."
Expand Down Expand Up @@ -6911,8 +6913,8 @@ class MetricsChartConfigOutput(BaseModel):
look_back_period: Optional[MetricsLookBackPeriod] = Field(
None, description="The look back period of the metric."
)
filter: Optional[MetricChartFilters] = Field(
None, description="The filters for displaying the metrics"
filter: Optional[List[MetricChartFilters]] = Field(
None, description="The filters for displaying the metrics", title="Filter"
)
threshold: Optional[MetricsThreshold] = Field(
None, description="The threshold of the metric."
Expand Down Expand Up @@ -7421,8 +7423,8 @@ class ViolationMetricsDetails(BaseModel):
look_back_period: Optional[MetricsLookBackPeriod] = Field(
None, description="The look back period of the metric."
)
filter: Optional[MetricChartFilters] = Field(
None, description="The filters for displaying the metrics"
filter: Optional[List[MetricChartFilters]] = Field(
None, description="The filters for displaying the metrics", title="Filter"
)
threshold: Optional[MetricsThreshold] = Field(
None, description="The threshold of the metric."
Expand Down

0 comments on commit 383b66b

Please sign in to comment.