Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 2.32 KB

GetSinglePolicyTicketByEntityIdResponse.md

File metadata and controls

46 lines (37 loc) · 2.32 KB

GetSinglePolicyTicketByEntityIdResponse

Properties

Name Type Description Notes
ticket_id str The unique identifier of the ticket
status PolicyTicketStatus Status of the ticket
state TicketState State of the ticket
violation_attributes object Attributes of the violation
entity_id str The id of the resource experiencing policy violation.
entity_name str Name of the resource
region str Region of the resource
service str Service of the resource
service_display_name str Service name in UI
account_id str Account Id managing the resource
recommendation_unit_title str [optional]
policy_id str The unique identifier of the policy
policy_title str Policy name
policy_labels List[str] List of policy labels [optional]
policy_violated_on datetime Datetime of the policy violation
potential_savings float Potential savings possible for the current policy violation
resource_id str [optional]
account_name str [optional]

Example

from onelens_backend_client.models.get_single_policy_ticket_by_entity_id_response import GetSinglePolicyTicketByEntityIdResponse

# TODO update the JSON string below
json = "{}"
# create an instance of GetSinglePolicyTicketByEntityIdResponse from a JSON string
get_single_policy_ticket_by_entity_id_response_instance = GetSinglePolicyTicketByEntityIdResponse.from_json(json)
# print the JSON string representation of the object
print(GetSinglePolicyTicketByEntityIdResponse.to_json())

# convert the object into a dict
get_single_policy_ticket_by_entity_id_response_dict = get_single_policy_ticket_by_entity_id_response_instance.to_dict()
# create an instance of GetSinglePolicyTicketByEntityIdResponse from a dict
get_single_policy_ticket_by_entity_id_response_form_dict = get_single_policy_ticket_by_entity_id_response.from_dict(get_single_policy_ticket_by_entity_id_response_dict)

[Back to Model list] [Back to API list] [Back to README]