Skip to content

Commit

Permalink
Merge pull request #48 from astuto-ai/pu/update_python_client
Browse files Browse the repository at this point in the history
added potential_cost_saving_backup attribute
  • Loading branch information
pranjal-astuto authored Dec 10, 2024
2 parents d33bc60 + 47df3db commit efff93f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion 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-10T06:41:21+00:00
# timestamp: 2024-12-10T08:34:22+00:00

from __future__ import annotations

Expand Down Expand Up @@ -2184,6 +2184,7 @@ class RecommendationEngine(BaseModel):
)
sequence: int = Field(..., description="Sequence", title="Sequence")
priority: int = Field(..., description="Priority", title="Priority")
effort: Effort = Field(..., description="Effort")
instance_type: Optional[str] = Field(
None, description="Instance Type", title="Instance Type"
)
Expand Down Expand Up @@ -2280,6 +2281,7 @@ class RecommendationTicketAPIRequestInput(BaseModel):
)
sequence: int = Field(..., description="Sequence", title="Sequence")
priority: int = Field(..., description="Priority", title="Priority")
effort: Effort = Field(..., description="Effort")
instance_type: Optional[str] = Field(
None, description="Instance Type", title="Instance Type"
)
Expand Down Expand Up @@ -2328,6 +2330,7 @@ class RecommendationTicketAPIRequestOutput(BaseModel):
)
sequence: int = Field(..., description="Sequence", title="Sequence")
priority: int = Field(..., description="Priority", title="Priority")
effort: Effort = Field(..., description="Effort")
instance_type: Optional[str] = Field(
None, description="Instance Type", title="Instance Type"
)
Expand Down Expand Up @@ -3211,6 +3214,11 @@ class TenantPolicyTicketDetailsMixin(BaseModel):
description="The usage type of the resource experiencing policy violation.",
title="Usage Type",
)
potential_cost_saving_backup: Optional[float] = Field(
None,
description="The potential cost saving of the policy violation.",
title="Potential Cost Saving Backup",
)


class TenantProviderAttributes(str, Enum):
Expand Down Expand Up @@ -4412,6 +4420,9 @@ class BaseUser(BaseModel):


class BulkUpdateTenantTicketsAPIRequest(BaseModel):
trigger_id: Optional[UUID4] = Field(
None, description="The unique identifier of the trigger", title="Trigger Id"
)
ticket_ids: Optional[List[UUID]] = Field(
[], description="List of ticket ids", title="Ticket Ids"
)
Expand Down

0 comments on commit efff93f

Please sign in to comment.