Skip to content

Commit

Permalink
added_feature_name_attribute_to_policy_ticket_details
Browse files Browse the repository at this point in the history
  • Loading branch information
pranjal-astuto committed Dec 3, 2024
1 parent 7c10ae7 commit 37ca818
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 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-12-03T05:28:12+00:00
# timestamp: 2024-12-03T07:17:48+00:00

from __future__ import annotations

Expand Down Expand Up @@ -3140,9 +3140,6 @@ class TenantPolicyFilters(BaseModel):
change_types: Optional[List[ChangeType]] = Field(
[], description="Filter by change type.", title="Change Types"
)
effort_levels: Optional[List[Effort]] = Field(
[], description="Filter by effort level.", title="Effort Levels"
)


class TenantPolicyState(str, Enum):
Expand Down Expand Up @@ -3199,6 +3196,11 @@ class TenantPolicyTicketDetailsMixin(BaseModel):
description="The hash of the policy sql query",
title="Rule Definition Hash",
)
feature_name: Optional[str] = Field(
None,
description="The name of the feature associated with the policy.",
title="Feature Name",
)


class TenantProviderAttributes(str, Enum):
Expand Down Expand Up @@ -6382,7 +6384,6 @@ class GetTenantPoliciesAPIRequest(BaseModel):
"risk_levels": [],
"cost_saving_categories": [],
"change_types": [],
"effort_levels": [],
}
),
description="Filters to apply to the tenant policies.",
Expand All @@ -6405,7 +6406,6 @@ class GetTenantPoliciesRequest(BaseModel):
"risk_levels": [],
"cost_saving_categories": [],
"change_types": [],
"effort_levels": [],
}
),
description="Filters to apply to the tenant policies.",
Expand Down

0 comments on commit 37ca818

Please sign in to comment.