1616
1717
1818if TYPE_CHECKING :
19+ from datadog_api_client .v2 .model .case_object_attributes import CaseObjectAttributes
1920 from datadog_api_client .v2 .model .jira_issue import JiraIssue
2021 from datadog_api_client .v2 .model .case_priority import CasePriority
2122 from datadog_api_client .v2 .model .service_now_ticket import ServiceNowTicket
2627class CaseAttributes (ModelNormal ):
2728 @cached_property
2829 def openapi_types (_ ):
30+ from datadog_api_client .v2 .model .case_object_attributes import CaseObjectAttributes
2931 from datadog_api_client .v2 .model .jira_issue import JiraIssue
3032 from datadog_api_client .v2 .model .case_priority import CasePriority
3133 from datadog_api_client .v2 .model .service_now_ticket import ServiceNowTicket
@@ -34,6 +36,7 @@ def openapi_types(_):
3436
3537 return {
3638 "archived_at" : (datetime , none_type ),
39+ "attributes" : (CaseObjectAttributes ,),
3740 "closed_at" : (datetime , none_type ),
3841 "created_at" : (datetime ,),
3942 "description" : (str ,),
@@ -49,6 +52,7 @@ def openapi_types(_):
4952
5053 attribute_map = {
5154 "archived_at" : "archived_at" ,
55+ "attributes" : "attributes" ,
5256 "closed_at" : "closed_at" ,
5357 "created_at" : "created_at" ,
5458 "description" : "description" ,
@@ -73,6 +77,7 @@ def openapi_types(_):
7377 def __init__ (
7478 self_ ,
7579 archived_at : Union [datetime , none_type , UnsetType ] = unset ,
80+ attributes : Union [CaseObjectAttributes , UnsetType ] = unset ,
7681 closed_at : Union [datetime , none_type , UnsetType ] = unset ,
7782 created_at : Union [datetime , UnsetType ] = unset ,
7883 description : Union [str , UnsetType ] = unset ,
@@ -87,11 +92,14 @@ def __init__(
8792 ** kwargs ,
8893 ):
8994 """
90- Case attributes
95+ Case resource attributes
9196
9297 :param archived_at: Timestamp of when the case was archived
9398 :type archived_at: datetime, none_type, optional
9499
100+ :param attributes: The definition of ``CaseObjectAttributes`` object.
101+ :type attributes: CaseObjectAttributes, optional
102+
95103 :param closed_at: Timestamp of when the case was closed
96104 :type closed_at: datetime, none_type, optional
97105
@@ -127,6 +135,8 @@ def __init__(
127135 """
128136 if archived_at is not unset :
129137 kwargs ["archived_at" ] = archived_at
138+ if attributes is not unset :
139+ kwargs ["attributes" ] = attributes
130140 if closed_at is not unset :
131141 kwargs ["closed_at" ] = closed_at
132142 if created_at is not unset :
0 commit comments