Skip to content

Commit

Permalink
updated client
Browse files Browse the repository at this point in the history
  • Loading branch information
pranjal-astuto committed Nov 22, 2024
1 parent 9342d7e commit a0d0e79
Showing 1 changed file with 97 additions and 1 deletion.
98 changes: 97 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-11-22T11:12:10+00:00
# timestamp: 2024-11-22T12:03:03+00:00

from __future__ import annotations

Expand Down Expand Up @@ -4485,6 +4485,38 @@ class CreateTenantTicketRequestMixin(BaseModel):
description="The unique identifier of the user the current ticket is assigned to",
title="Assigned To",
)
is_config_changed: Optional[bool] = Field(
None,
description="Flag indicating if the configuration has changed",
title="Is Config Changed",
)
policy_definition_changed: Optional[bool] = Field(
None,
description="Flag indicating if the policy definition has changed",
title="Policy Definition Changed",
)
changed_from: Optional[str] = Field(
None, description="The previous state of the resource", title="Changed From"
)
changed_to: Optional[str] = Field(
None, description="The new state of the resource", title="Changed To"
)
resource_terminated: Optional[bool] = Field(
None,
description="Flag indicating if the resource has been terminated",
title="Resource Terminated",
)
date_of_change: Optional[datetime] = Field(
None, description="The date of the last change", title="Date Of Change"
)
reason_for_closure: Optional[ChangeReason] = Field(
None, description="The reason for closing the ticket"
)
post_policy_execution_last_run: Optional[datetime] = Field(
None,
description="The date of the last post policy execution run",
title="Post Policy Execution Last Run",
)
last_run_id: UUID4 = Field(
...,
description="Id of the last policy violation/anomaly run",
Expand Down Expand Up @@ -7071,6 +7103,38 @@ class TenantTicket(BaseModel):
description="The unique identifier of the user the current ticket is assigned to",
title="Assigned To",
)
is_config_changed: Optional[bool] = Field(
None,
description="Flag indicating if the configuration has changed",
title="Is Config Changed",
)
policy_definition_changed: Optional[bool] = Field(
None,
description="Flag indicating if the policy definition has changed",
title="Policy Definition Changed",
)
changed_from: Optional[str] = Field(
None, description="The previous state of the resource", title="Changed From"
)
changed_to: Optional[str] = Field(
None, description="The new state of the resource", title="Changed To"
)
resource_terminated: Optional[bool] = Field(
None,
description="Flag indicating if the resource has been terminated",
title="Resource Terminated",
)
date_of_change: Optional[datetime] = Field(
None, description="The date of the last change", title="Date Of Change"
)
reason_for_closure: Optional[ChangeReason] = Field(
None, description="The reason for closing the ticket"
)
post_policy_execution_last_run: Optional[datetime] = Field(
None,
description="The date of the last post policy execution run",
title="Post Policy Execution Last Run",
)
last_run_id: UUID4 = Field(
...,
description="Id of the last policy violation/anomaly run",
Expand Down Expand Up @@ -7262,6 +7326,38 @@ class TenantTicketWithTicketAlias(BaseModel):
description="The unique identifier of the user the current ticket is assigned to",
title="Assigned To",
)
is_config_changed: Optional[bool] = Field(
None,
description="Flag indicating if the configuration has changed",
title="Is Config Changed",
)
policy_definition_changed: Optional[bool] = Field(
None,
description="Flag indicating if the policy definition has changed",
title="Policy Definition Changed",
)
changed_from: Optional[str] = Field(
None, description="The previous state of the resource", title="Changed From"
)
changed_to: Optional[str] = Field(
None, description="The new state of the resource", title="Changed To"
)
resource_terminated: Optional[bool] = Field(
None,
description="Flag indicating if the resource has been terminated",
title="Resource Terminated",
)
date_of_change: Optional[datetime] = Field(
None, description="The date of the last change", title="Date Of Change"
)
reason_for_closure: Optional[ChangeReason] = Field(
None, description="The reason for closing the ticket"
)
post_policy_execution_last_run: Optional[datetime] = Field(
None,
description="The date of the last post policy execution run",
title="Post Policy Execution Last Run",
)
last_run_id: UUID4 = Field(
...,
description="Id of the last policy violation/anomaly run",
Expand Down

0 comments on commit a0d0e79

Please sign in to comment.