huaweicloudsdkosm 3.1.139__py2.py3-none-any.whl → 3.1.140__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of huaweicloudsdkosm might be problematic. Click here for more details.
- huaweicloudsdkosm/v2/model/accessory_json_format_req.py +6 -6
- huaweicloudsdkosm/v2/model/accessory_url.py +30 -1
- huaweicloudsdkosm/v2/model/agree_tenant_authorization_v2_req.py +3 -3
- huaweicloudsdkosm/v2/model/check_need_verify_request.py +3 -3
- huaweicloudsdkosm/v2/model/contact_v2.py +3 -3
- huaweicloudsdkosm/v2/model/create_message_v2_req.py +3 -3
- huaweicloudsdkosm/v2/model/create_relations_req.py +5 -4
- huaweicloudsdkosm/v2/model/create_score_v2_req.py +3 -3
- huaweicloudsdkosm/v2/model/delete_relations_req.py +5 -4
- huaweicloudsdkosm/v2/model/download_accessories_request.py +3 -3
- huaweicloudsdkosm/v2/model/download_images_request.py +3 -3
- huaweicloudsdkosm/v2/model/incident_info_v2.py +146 -1
- huaweicloudsdkosm/v2/model/list_accessory_access_urls_request.py +5 -4
- huaweicloudsdkosm/v2/model/list_authorizations_request.py +3 -3
- huaweicloudsdkosm/v2/model/list_case_operate_logs_request.py +3 -3
- huaweicloudsdkosm/v2/model/list_cases_request.py +3 -3
- huaweicloudsdkosm/v2/model/list_has_verified_contacts_request.py +3 -3
- huaweicloudsdkosm/v2/model/list_history_operate_logs_request.py +3 -3
- huaweicloudsdkosm/v2/model/list_history_sessions_request.py +3 -3
- huaweicloudsdkosm/v2/model/list_messages_request.py +3 -3
- huaweicloudsdkosm/v2/model/list_more_instant_messages_request.py +3 -3
- huaweicloudsdkosm/v2/model/list_new_instant_messages_request.py +3 -3
- huaweicloudsdkosm/v2/model/list_transport_histories_request.py +3 -3
- huaweicloudsdkosm/v2/model/list_unread_new_instant_messages_request.py +3 -3
- huaweicloudsdkosm/v2/model/operate_authorization_v2_req.py +3 -3
- huaweicloudsdkosm/v2/model/put_case_ext_param_req.py +3 -3
- huaweicloudsdkosm/v2/model/send_verify_code_req.py +3 -3
- huaweicloudsdkosm/v2/model/show_authorization_detail_request.py +3 -3
- huaweicloudsdkosm/v2/model/show_case_detail_request.py +3 -3
- huaweicloudsdkosm/v2/model/show_case_extends_param_request.py +5 -4
- huaweicloudsdkosm/v2/model/show_latest_published_agreement_request.py +3 -3
- huaweicloudsdkosm/v2/model/show_signed_latest_published_agreement_request.py +3 -3
- huaweicloudsdkosm/v2/model/update_case_contact_info_req.py +3 -3
- huaweicloudsdkosm/v2/model/update_unread_new_instant_msg_v2_req.py +3 -3
- huaweicloudsdkosm/v2/model/verify_host_v2_req.py +3 -3
- huaweicloudsdkosm/v2/model/verify_verify_code_v2_req.py +3 -3
- huaweicloudsdkosm/v2/model/work_order_operate_v2_req.py +3 -3
- huaweicloudsdkosm/v2/osm_async_client.py +3 -3
- huaweicloudsdkosm/v2/osm_client.py +3 -3
- {huaweicloudsdkosm-3.1.139.dist-info → huaweicloudsdkosm-3.1.140.dist-info}/METADATA +2 -2
- {huaweicloudsdkosm-3.1.139.dist-info → huaweicloudsdkosm-3.1.140.dist-info}/RECORD +44 -44
- {huaweicloudsdkosm-3.1.139.dist-info → huaweicloudsdkosm-3.1.140.dist-info}/LICENSE +0 -0
- {huaweicloudsdkosm-3.1.139.dist-info → huaweicloudsdkosm-3.1.140.dist-info}/WHEEL +0 -0
- {huaweicloudsdkosm-3.1.139.dist-info → huaweicloudsdkosm-3.1.140.dist-info}/top_level.txt +0 -0
|
@@ -37,9 +37,9 @@ class AccessoryJsonFormatReq:
|
|
|
37
37
|
|
|
38
38
|
:param accessory_name: 文件名称
|
|
39
39
|
:type accessory_name: str
|
|
40
|
-
:param accessory_from:
|
|
40
|
+
:param accessory_from: 文件来源,创建工单附件传incident,留言附件传message
|
|
41
41
|
:type accessory_from: str
|
|
42
|
-
:param upload_type:
|
|
42
|
+
:param upload_type: 上传类型,默认为0,markdown模式为1
|
|
43
43
|
:type upload_type: int
|
|
44
44
|
:param accessory_data: 文件内容,Base64格式
|
|
45
45
|
:type accessory_data: str
|
|
@@ -85,7 +85,7 @@ class AccessoryJsonFormatReq:
|
|
|
85
85
|
def accessory_from(self):
|
|
86
86
|
"""Gets the accessory_from of this AccessoryJsonFormatReq.
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
文件来源,创建工单附件传incident,留言附件传message
|
|
89
89
|
|
|
90
90
|
:return: The accessory_from of this AccessoryJsonFormatReq.
|
|
91
91
|
:rtype: str
|
|
@@ -96,7 +96,7 @@ class AccessoryJsonFormatReq:
|
|
|
96
96
|
def accessory_from(self, accessory_from):
|
|
97
97
|
"""Sets the accessory_from of this AccessoryJsonFormatReq.
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
文件来源,创建工单附件传incident,留言附件传message
|
|
100
100
|
|
|
101
101
|
:param accessory_from: The accessory_from of this AccessoryJsonFormatReq.
|
|
102
102
|
:type accessory_from: str
|
|
@@ -107,7 +107,7 @@ class AccessoryJsonFormatReq:
|
|
|
107
107
|
def upload_type(self):
|
|
108
108
|
"""Gets the upload_type of this AccessoryJsonFormatReq.
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
上传类型,默认为0,markdown模式为1
|
|
111
111
|
|
|
112
112
|
:return: The upload_type of this AccessoryJsonFormatReq.
|
|
113
113
|
:rtype: int
|
|
@@ -118,7 +118,7 @@ class AccessoryJsonFormatReq:
|
|
|
118
118
|
def upload_type(self, upload_type):
|
|
119
119
|
"""Sets the upload_type of this AccessoryJsonFormatReq.
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
上传类型,默认为0,markdown模式为1
|
|
122
122
|
|
|
123
123
|
:param upload_type: The upload_type of this AccessoryJsonFormatReq.
|
|
124
124
|
:type upload_type: int
|
|
@@ -18,21 +18,25 @@ class AccessoryUrl:
|
|
|
18
18
|
|
|
19
19
|
openapi_types = {
|
|
20
20
|
'accessory_id': 'str',
|
|
21
|
+
'accessory_name': 'str',
|
|
21
22
|
'accessory_url': 'str'
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
attribute_map = {
|
|
25
26
|
'accessory_id': 'accessory_id',
|
|
27
|
+
'accessory_name': 'accessory_name',
|
|
26
28
|
'accessory_url': 'accessory_url'
|
|
27
29
|
}
|
|
28
30
|
|
|
29
|
-
def __init__(self, accessory_id=None, accessory_url=None):
|
|
31
|
+
def __init__(self, accessory_id=None, accessory_name=None, accessory_url=None):
|
|
30
32
|
"""AccessoryUrl
|
|
31
33
|
|
|
32
34
|
The model defined in huaweicloud sdk
|
|
33
35
|
|
|
34
36
|
:param accessory_id: 附件id
|
|
35
37
|
:type accessory_id: str
|
|
38
|
+
:param accessory_name: 文件名称
|
|
39
|
+
:type accessory_name: str
|
|
36
40
|
:param accessory_url: 附件链接
|
|
37
41
|
:type accessory_url: str
|
|
38
42
|
"""
|
|
@@ -40,11 +44,14 @@ class AccessoryUrl:
|
|
|
40
44
|
|
|
41
45
|
|
|
42
46
|
self._accessory_id = None
|
|
47
|
+
self._accessory_name = None
|
|
43
48
|
self._accessory_url = None
|
|
44
49
|
self.discriminator = None
|
|
45
50
|
|
|
46
51
|
if accessory_id is not None:
|
|
47
52
|
self.accessory_id = accessory_id
|
|
53
|
+
if accessory_name is not None:
|
|
54
|
+
self.accessory_name = accessory_name
|
|
48
55
|
if accessory_url is not None:
|
|
49
56
|
self.accessory_url = accessory_url
|
|
50
57
|
|
|
@@ -70,6 +77,28 @@ class AccessoryUrl:
|
|
|
70
77
|
"""
|
|
71
78
|
self._accessory_id = accessory_id
|
|
72
79
|
|
|
80
|
+
@property
|
|
81
|
+
def accessory_name(self):
|
|
82
|
+
"""Gets the accessory_name of this AccessoryUrl.
|
|
83
|
+
|
|
84
|
+
文件名称
|
|
85
|
+
|
|
86
|
+
:return: The accessory_name of this AccessoryUrl.
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._accessory_name
|
|
90
|
+
|
|
91
|
+
@accessory_name.setter
|
|
92
|
+
def accessory_name(self, accessory_name):
|
|
93
|
+
"""Sets the accessory_name of this AccessoryUrl.
|
|
94
|
+
|
|
95
|
+
文件名称
|
|
96
|
+
|
|
97
|
+
:param accessory_name: The accessory_name of this AccessoryUrl.
|
|
98
|
+
:type accessory_name: str
|
|
99
|
+
"""
|
|
100
|
+
self._accessory_name = accessory_name
|
|
101
|
+
|
|
73
102
|
@property
|
|
74
103
|
def accessory_url(self):
|
|
75
104
|
"""Gets the accessory_url of this AccessoryUrl.
|
|
@@ -43,7 +43,7 @@ class AgreeTenantAuthorizationV2Req:
|
|
|
43
43
|
:type auth_effective_time: int
|
|
44
44
|
:param auth_expire_time: 授权到期时间
|
|
45
45
|
:type auth_expire_time: int
|
|
46
|
-
:param group_id: 组id
|
|
46
|
+
:param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
47
47
|
:type group_id: str
|
|
48
48
|
:param agency_id: 委托id
|
|
49
49
|
:type agency_id: str
|
|
@@ -139,7 +139,7 @@ class AgreeTenantAuthorizationV2Req:
|
|
|
139
139
|
def group_id(self):
|
|
140
140
|
"""Gets the group_id of this AgreeTenantAuthorizationV2Req.
|
|
141
141
|
|
|
142
|
-
组id
|
|
142
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
143
143
|
|
|
144
144
|
:return: The group_id of this AgreeTenantAuthorizationV2Req.
|
|
145
145
|
:rtype: str
|
|
@@ -150,7 +150,7 @@ class AgreeTenantAuthorizationV2Req:
|
|
|
150
150
|
def group_id(self, group_id):
|
|
151
151
|
"""Sets the group_id of this AgreeTenantAuthorizationV2Req.
|
|
152
152
|
|
|
153
|
-
组id
|
|
153
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
154
154
|
|
|
155
155
|
:param group_id: The group_id of this AgreeTenantAuthorizationV2Req.
|
|
156
156
|
:type group_id: str
|
|
@@ -41,7 +41,7 @@ class CheckNeedVerifyRequest:
|
|
|
41
41
|
|
|
42
42
|
:param contact_value: 联系方式值
|
|
43
43
|
:type contact_value: str
|
|
44
|
-
:param contact_way:
|
|
44
|
+
:param contact_way: 联系方式类型,0: 手机; 1: 邮箱
|
|
45
45
|
:type contact_way: int
|
|
46
46
|
:param area_code: 国家码
|
|
47
47
|
:type area_code: str
|
|
@@ -100,7 +100,7 @@ class CheckNeedVerifyRequest:
|
|
|
100
100
|
def contact_way(self):
|
|
101
101
|
"""Gets the contact_way of this CheckNeedVerifyRequest.
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
联系方式类型,0: 手机; 1: 邮箱
|
|
104
104
|
|
|
105
105
|
:return: The contact_way of this CheckNeedVerifyRequest.
|
|
106
106
|
:rtype: int
|
|
@@ -111,7 +111,7 @@ class CheckNeedVerifyRequest:
|
|
|
111
111
|
def contact_way(self, contact_way):
|
|
112
112
|
"""Sets the contact_way of this CheckNeedVerifyRequest.
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
联系方式类型,0: 手机; 1: 邮箱
|
|
115
115
|
|
|
116
116
|
:param contact_way: The contact_way of this CheckNeedVerifyRequest.
|
|
117
117
|
:type contact_way: int
|
|
@@ -35,7 +35,7 @@ class ContactV2:
|
|
|
35
35
|
|
|
36
36
|
The model defined in huaweicloud sdk
|
|
37
37
|
|
|
38
|
-
:param contact_way:
|
|
38
|
+
:param contact_way: 联系方式类型,0: 手机; 1: 邮箱
|
|
39
39
|
:type contact_way: int
|
|
40
40
|
:param contact_value: 联系方式值
|
|
41
41
|
:type contact_value: str
|
|
@@ -66,7 +66,7 @@ class ContactV2:
|
|
|
66
66
|
def contact_way(self):
|
|
67
67
|
"""Gets the contact_way of this ContactV2.
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
联系方式类型,0: 手机; 1: 邮箱
|
|
70
70
|
|
|
71
71
|
:return: The contact_way of this ContactV2.
|
|
72
72
|
:rtype: int
|
|
@@ -77,7 +77,7 @@ class ContactV2:
|
|
|
77
77
|
def contact_way(self, contact_way):
|
|
78
78
|
"""Sets the contact_way of this ContactV2.
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
联系方式类型,0: 手机; 1: 邮箱
|
|
81
81
|
|
|
82
82
|
:param contact_way: The contact_way of this ContactV2.
|
|
83
83
|
:type contact_way: int
|
|
@@ -33,7 +33,7 @@ class CreateMessageV2Req:
|
|
|
33
33
|
|
|
34
34
|
:param message:
|
|
35
35
|
:type message: :class:`huaweicloudsdkosm.v2.CreateMessageDoV2`
|
|
36
|
-
:param group_id: 组id
|
|
36
|
+
:param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
37
37
|
:type group_id: str
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -69,7 +69,7 @@ class CreateMessageV2Req:
|
|
|
69
69
|
def group_id(self):
|
|
70
70
|
"""Gets the group_id of this CreateMessageV2Req.
|
|
71
71
|
|
|
72
|
-
组id
|
|
72
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
73
73
|
|
|
74
74
|
:return: The group_id of this CreateMessageV2Req.
|
|
75
75
|
:rtype: str
|
|
@@ -80,7 +80,7 @@ class CreateMessageV2Req:
|
|
|
80
80
|
def group_id(self, group_id):
|
|
81
81
|
"""Sets the group_id of this CreateMessageV2Req.
|
|
82
82
|
|
|
83
|
-
组id
|
|
83
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
84
84
|
|
|
85
85
|
:param group_id: The group_id of this CreateMessageV2Req.
|
|
86
86
|
:type group_id: str
|
|
@@ -33,7 +33,7 @@ class CreateRelationsReq:
|
|
|
33
33
|
|
|
34
34
|
:param related_id_list: 要关联的工单id列表,最多3个
|
|
35
35
|
:type related_id_list: list[str]
|
|
36
|
-
:param group_id: 组id
|
|
36
|
+
:param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
37
37
|
:type group_id: str
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -44,7 +44,8 @@ class CreateRelationsReq:
|
|
|
44
44
|
self.discriminator = None
|
|
45
45
|
|
|
46
46
|
self.related_id_list = related_id_list
|
|
47
|
-
|
|
47
|
+
if group_id is not None:
|
|
48
|
+
self.group_id = group_id
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
def related_id_list(self):
|
|
@@ -72,7 +73,7 @@ class CreateRelationsReq:
|
|
|
72
73
|
def group_id(self):
|
|
73
74
|
"""Gets the group_id of this CreateRelationsReq.
|
|
74
75
|
|
|
75
|
-
组id
|
|
76
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
76
77
|
|
|
77
78
|
:return: The group_id of this CreateRelationsReq.
|
|
78
79
|
:rtype: str
|
|
@@ -83,7 +84,7 @@ class CreateRelationsReq:
|
|
|
83
84
|
def group_id(self, group_id):
|
|
84
85
|
"""Sets the group_id of this CreateRelationsReq.
|
|
85
86
|
|
|
86
|
-
组id
|
|
87
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
87
88
|
|
|
88
89
|
:param group_id: The group_id of this CreateRelationsReq.
|
|
89
90
|
:type group_id: str
|
|
@@ -37,7 +37,7 @@ class CreateScoreV2Req:
|
|
|
37
37
|
:type judgement: str
|
|
38
38
|
:param incident_satisfaction_list: 满意度列表
|
|
39
39
|
:type incident_satisfaction_list: list[:class:`huaweicloudsdkosm.v2.IncidentSatisfactionV2Do`]
|
|
40
|
-
:param group_id: 组id
|
|
40
|
+
:param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
41
41
|
:type group_id: str
|
|
42
42
|
"""
|
|
43
43
|
|
|
@@ -101,7 +101,7 @@ class CreateScoreV2Req:
|
|
|
101
101
|
def group_id(self):
|
|
102
102
|
"""Gets the group_id of this CreateScoreV2Req.
|
|
103
103
|
|
|
104
|
-
组id
|
|
104
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
105
105
|
|
|
106
106
|
:return: The group_id of this CreateScoreV2Req.
|
|
107
107
|
:rtype: str
|
|
@@ -112,7 +112,7 @@ class CreateScoreV2Req:
|
|
|
112
112
|
def group_id(self, group_id):
|
|
113
113
|
"""Sets the group_id of this CreateScoreV2Req.
|
|
114
114
|
|
|
115
|
-
组id
|
|
115
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
116
116
|
|
|
117
117
|
:param group_id: The group_id of this CreateScoreV2Req.
|
|
118
118
|
:type group_id: str
|
|
@@ -33,7 +33,7 @@ class DeleteRelationsReq:
|
|
|
33
33
|
|
|
34
34
|
:param related_id: 要解除关联的工单id
|
|
35
35
|
:type related_id: str
|
|
36
|
-
:param group_id: 组id
|
|
36
|
+
:param group_id: 华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
37
37
|
:type group_id: str
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -44,7 +44,8 @@ class DeleteRelationsReq:
|
|
|
44
44
|
self.discriminator = None
|
|
45
45
|
|
|
46
46
|
self.related_id = related_id
|
|
47
|
-
|
|
47
|
+
if group_id is not None:
|
|
48
|
+
self.group_id = group_id
|
|
48
49
|
|
|
49
50
|
@property
|
|
50
51
|
def related_id(self):
|
|
@@ -72,7 +73,7 @@ class DeleteRelationsReq:
|
|
|
72
73
|
def group_id(self):
|
|
73
74
|
"""Gets the group_id of this DeleteRelationsReq.
|
|
74
75
|
|
|
75
|
-
组id
|
|
76
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
76
77
|
|
|
77
78
|
:return: The group_id of this DeleteRelationsReq.
|
|
78
79
|
:rtype: str
|
|
@@ -83,7 +84,7 @@ class DeleteRelationsReq:
|
|
|
83
84
|
def group_id(self, group_id):
|
|
84
85
|
"""Sets the group_id of this DeleteRelationsReq.
|
|
85
86
|
|
|
86
|
-
组id
|
|
87
|
+
华为云IAM组id,操作查询同组其他工单时,该id必传
|
|
87
88
|
|
|
88
89
|
:param group_id: The group_id of this DeleteRelationsReq.
|
|
89
90
|
:type group_id: str
|
|
@@ -39,7 +39,7 @@ class DownloadAccessoriesRequest:
|
|
|
39
39
|
|
|
40
40
|
:param accessory_id: 附件id列表,下载支持多个,逗号隔开
|
|
41
41
|
:type accessory_id: str
|
|
42
|
-
:param group_id: 组id
|
|
42
|
+
:param group_id: 华为云IAM组id,同组其他工单时,该id必传
|
|
43
43
|
:type group_id: str
|
|
44
44
|
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
45
45
|
:type x_site: int
|
|
@@ -94,7 +94,7 @@ class DownloadAccessoriesRequest:
|
|
|
94
94
|
def group_id(self):
|
|
95
95
|
"""Gets the group_id of this DownloadAccessoriesRequest.
|
|
96
96
|
|
|
97
|
-
组id
|
|
97
|
+
华为云IAM组id,同组其他工单时,该id必传
|
|
98
98
|
|
|
99
99
|
:return: The group_id of this DownloadAccessoriesRequest.
|
|
100
100
|
:rtype: str
|
|
@@ -105,7 +105,7 @@ class DownloadAccessoriesRequest:
|
|
|
105
105
|
def group_id(self, group_id):
|
|
106
106
|
"""Sets the group_id of this DownloadAccessoriesRequest.
|
|
107
107
|
|
|
108
|
-
组id
|
|
108
|
+
华为云IAM组id,同组其他工单时,该id必传
|
|
109
109
|
|
|
110
110
|
:param group_id: The group_id of this DownloadAccessoriesRequest.
|
|
111
111
|
:type group_id: str
|
|
@@ -39,7 +39,7 @@ class DownloadImagesRequest:
|
|
|
39
39
|
|
|
40
40
|
:param accessory_id: 附件id
|
|
41
41
|
:type accessory_id: str
|
|
42
|
-
:param group_id:
|
|
42
|
+
:param group_id: 华为云IAM组id,同组其他工单时,该id必传
|
|
43
43
|
:type group_id: str
|
|
44
44
|
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
45
45
|
:type x_site: int
|
|
@@ -94,7 +94,7 @@ class DownloadImagesRequest:
|
|
|
94
94
|
def group_id(self):
|
|
95
95
|
"""Gets the group_id of this DownloadImagesRequest.
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
华为云IAM组id,同组其他工单时,该id必传
|
|
98
98
|
|
|
99
99
|
:return: The group_id of this DownloadImagesRequest.
|
|
100
100
|
:rtype: str
|
|
@@ -105,7 +105,7 @@ class DownloadImagesRequest:
|
|
|
105
105
|
def group_id(self, group_id):
|
|
106
106
|
"""Sets the group_id of this DownloadImagesRequest.
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
华为云IAM组id,同组其他工单时,该id必传
|
|
109
109
|
|
|
110
110
|
:param group_id: The group_id of this DownloadImagesRequest.
|
|
111
111
|
:type group_id: str
|
|
@@ -23,10 +23,15 @@ class IncidentInfoV2:
|
|
|
23
23
|
'incident_id': 'str',
|
|
24
24
|
'business_type_name': 'str',
|
|
25
25
|
'incident_type_name': 'str',
|
|
26
|
+
'product_category_name': 'str',
|
|
27
|
+
'incident_service_type': 'str',
|
|
26
28
|
'customer_id': 'str',
|
|
27
29
|
'dc_name': 'str',
|
|
28
30
|
'simple_description': 'str',
|
|
31
|
+
'root_cause': 'str',
|
|
32
|
+
'resolution': 'str',
|
|
29
33
|
'create_time': 'datetime',
|
|
34
|
+
'confirmed_time': 'datetime',
|
|
30
35
|
'label_list': 'list[LabelInfo]'
|
|
31
36
|
}
|
|
32
37
|
|
|
@@ -37,14 +42,19 @@ class IncidentInfoV2:
|
|
|
37
42
|
'incident_id': 'incident_id',
|
|
38
43
|
'business_type_name': 'business_type_name',
|
|
39
44
|
'incident_type_name': 'incident_type_name',
|
|
45
|
+
'product_category_name': 'product_category_name',
|
|
46
|
+
'incident_service_type': 'incident_service_type',
|
|
40
47
|
'customer_id': 'customer_id',
|
|
41
48
|
'dc_name': 'dc_name',
|
|
42
49
|
'simple_description': 'simple_description',
|
|
50
|
+
'root_cause': 'root_cause',
|
|
51
|
+
'resolution': 'resolution',
|
|
43
52
|
'create_time': 'create_time',
|
|
53
|
+
'confirmed_time': 'confirmed_time',
|
|
44
54
|
'label_list': 'label_list'
|
|
45
55
|
}
|
|
46
56
|
|
|
47
|
-
def __init__(self, xcustomer_id=None, xcustomer_name=None, status=None, incident_id=None, business_type_name=None, incident_type_name=None, customer_id=None, dc_name=None, simple_description=None, create_time=None, label_list=None):
|
|
57
|
+
def __init__(self, xcustomer_id=None, xcustomer_name=None, status=None, incident_id=None, business_type_name=None, incident_type_name=None, product_category_name=None, incident_service_type=None, customer_id=None, dc_name=None, simple_description=None, root_cause=None, resolution=None, create_time=None, confirmed_time=None, label_list=None):
|
|
48
58
|
"""IncidentInfoV2
|
|
49
59
|
|
|
50
60
|
The model defined in huaweicloud sdk
|
|
@@ -61,14 +71,24 @@ class IncidentInfoV2:
|
|
|
61
71
|
:type business_type_name: str
|
|
62
72
|
:param incident_type_name: 工单类型名称
|
|
63
73
|
:type incident_type_name: str
|
|
74
|
+
:param product_category_name: 产品类型名称
|
|
75
|
+
:type product_category_name: str
|
|
76
|
+
:param incident_service_type: 服务类型
|
|
77
|
+
:type incident_service_type: str
|
|
64
78
|
:param customer_id: 客户id
|
|
65
79
|
:type customer_id: str
|
|
66
80
|
:param dc_name: 区域名称
|
|
67
81
|
:type dc_name: str
|
|
68
82
|
:param simple_description: 简要描述
|
|
69
83
|
:type simple_description: str
|
|
84
|
+
:param root_cause: 问题归属方
|
|
85
|
+
:type root_cause: str
|
|
86
|
+
:param resolution: 解决方案
|
|
87
|
+
:type resolution: str
|
|
70
88
|
:param create_time: 创建时间
|
|
71
89
|
:type create_time: datetime
|
|
90
|
+
:param confirmed_time: 解决时间
|
|
91
|
+
:type confirmed_time: datetime
|
|
72
92
|
:param label_list: 标签列表
|
|
73
93
|
:type label_list: list[:class:`huaweicloudsdkosm.v2.LabelInfo`]
|
|
74
94
|
"""
|
|
@@ -81,10 +101,15 @@ class IncidentInfoV2:
|
|
|
81
101
|
self._incident_id = None
|
|
82
102
|
self._business_type_name = None
|
|
83
103
|
self._incident_type_name = None
|
|
104
|
+
self._product_category_name = None
|
|
105
|
+
self._incident_service_type = None
|
|
84
106
|
self._customer_id = None
|
|
85
107
|
self._dc_name = None
|
|
86
108
|
self._simple_description = None
|
|
109
|
+
self._root_cause = None
|
|
110
|
+
self._resolution = None
|
|
87
111
|
self._create_time = None
|
|
112
|
+
self._confirmed_time = None
|
|
88
113
|
self._label_list = None
|
|
89
114
|
self.discriminator = None
|
|
90
115
|
|
|
@@ -96,10 +121,20 @@ class IncidentInfoV2:
|
|
|
96
121
|
self.incident_id = incident_id
|
|
97
122
|
self.business_type_name = business_type_name
|
|
98
123
|
self.incident_type_name = incident_type_name
|
|
124
|
+
if product_category_name is not None:
|
|
125
|
+
self.product_category_name = product_category_name
|
|
126
|
+
if incident_service_type is not None:
|
|
127
|
+
self.incident_service_type = incident_service_type
|
|
99
128
|
self.customer_id = customer_id
|
|
100
129
|
self.dc_name = dc_name
|
|
101
130
|
self.simple_description = simple_description
|
|
131
|
+
if root_cause is not None:
|
|
132
|
+
self.root_cause = root_cause
|
|
133
|
+
if resolution is not None:
|
|
134
|
+
self.resolution = resolution
|
|
102
135
|
self.create_time = create_time
|
|
136
|
+
if confirmed_time is not None:
|
|
137
|
+
self.confirmed_time = confirmed_time
|
|
103
138
|
if label_list is not None:
|
|
104
139
|
self.label_list = label_list
|
|
105
140
|
|
|
@@ -235,6 +270,50 @@ class IncidentInfoV2:
|
|
|
235
270
|
"""
|
|
236
271
|
self._incident_type_name = incident_type_name
|
|
237
272
|
|
|
273
|
+
@property
|
|
274
|
+
def product_category_name(self):
|
|
275
|
+
"""Gets the product_category_name of this IncidentInfoV2.
|
|
276
|
+
|
|
277
|
+
产品类型名称
|
|
278
|
+
|
|
279
|
+
:return: The product_category_name of this IncidentInfoV2.
|
|
280
|
+
:rtype: str
|
|
281
|
+
"""
|
|
282
|
+
return self._product_category_name
|
|
283
|
+
|
|
284
|
+
@product_category_name.setter
|
|
285
|
+
def product_category_name(self, product_category_name):
|
|
286
|
+
"""Sets the product_category_name of this IncidentInfoV2.
|
|
287
|
+
|
|
288
|
+
产品类型名称
|
|
289
|
+
|
|
290
|
+
:param product_category_name: The product_category_name of this IncidentInfoV2.
|
|
291
|
+
:type product_category_name: str
|
|
292
|
+
"""
|
|
293
|
+
self._product_category_name = product_category_name
|
|
294
|
+
|
|
295
|
+
@property
|
|
296
|
+
def incident_service_type(self):
|
|
297
|
+
"""Gets the incident_service_type of this IncidentInfoV2.
|
|
298
|
+
|
|
299
|
+
服务类型
|
|
300
|
+
|
|
301
|
+
:return: The incident_service_type of this IncidentInfoV2.
|
|
302
|
+
:rtype: str
|
|
303
|
+
"""
|
|
304
|
+
return self._incident_service_type
|
|
305
|
+
|
|
306
|
+
@incident_service_type.setter
|
|
307
|
+
def incident_service_type(self, incident_service_type):
|
|
308
|
+
"""Sets the incident_service_type of this IncidentInfoV2.
|
|
309
|
+
|
|
310
|
+
服务类型
|
|
311
|
+
|
|
312
|
+
:param incident_service_type: The incident_service_type of this IncidentInfoV2.
|
|
313
|
+
:type incident_service_type: str
|
|
314
|
+
"""
|
|
315
|
+
self._incident_service_type = incident_service_type
|
|
316
|
+
|
|
238
317
|
@property
|
|
239
318
|
def customer_id(self):
|
|
240
319
|
"""Gets the customer_id of this IncidentInfoV2.
|
|
@@ -301,6 +380,50 @@ class IncidentInfoV2:
|
|
|
301
380
|
"""
|
|
302
381
|
self._simple_description = simple_description
|
|
303
382
|
|
|
383
|
+
@property
|
|
384
|
+
def root_cause(self):
|
|
385
|
+
"""Gets the root_cause of this IncidentInfoV2.
|
|
386
|
+
|
|
387
|
+
问题归属方
|
|
388
|
+
|
|
389
|
+
:return: The root_cause of this IncidentInfoV2.
|
|
390
|
+
:rtype: str
|
|
391
|
+
"""
|
|
392
|
+
return self._root_cause
|
|
393
|
+
|
|
394
|
+
@root_cause.setter
|
|
395
|
+
def root_cause(self, root_cause):
|
|
396
|
+
"""Sets the root_cause of this IncidentInfoV2.
|
|
397
|
+
|
|
398
|
+
问题归属方
|
|
399
|
+
|
|
400
|
+
:param root_cause: The root_cause of this IncidentInfoV2.
|
|
401
|
+
:type root_cause: str
|
|
402
|
+
"""
|
|
403
|
+
self._root_cause = root_cause
|
|
404
|
+
|
|
405
|
+
@property
|
|
406
|
+
def resolution(self):
|
|
407
|
+
"""Gets the resolution of this IncidentInfoV2.
|
|
408
|
+
|
|
409
|
+
解决方案
|
|
410
|
+
|
|
411
|
+
:return: The resolution of this IncidentInfoV2.
|
|
412
|
+
:rtype: str
|
|
413
|
+
"""
|
|
414
|
+
return self._resolution
|
|
415
|
+
|
|
416
|
+
@resolution.setter
|
|
417
|
+
def resolution(self, resolution):
|
|
418
|
+
"""Sets the resolution of this IncidentInfoV2.
|
|
419
|
+
|
|
420
|
+
解决方案
|
|
421
|
+
|
|
422
|
+
:param resolution: The resolution of this IncidentInfoV2.
|
|
423
|
+
:type resolution: str
|
|
424
|
+
"""
|
|
425
|
+
self._resolution = resolution
|
|
426
|
+
|
|
304
427
|
@property
|
|
305
428
|
def create_time(self):
|
|
306
429
|
"""Gets the create_time of this IncidentInfoV2.
|
|
@@ -323,6 +446,28 @@ class IncidentInfoV2:
|
|
|
323
446
|
"""
|
|
324
447
|
self._create_time = create_time
|
|
325
448
|
|
|
449
|
+
@property
|
|
450
|
+
def confirmed_time(self):
|
|
451
|
+
"""Gets the confirmed_time of this IncidentInfoV2.
|
|
452
|
+
|
|
453
|
+
解决时间
|
|
454
|
+
|
|
455
|
+
:return: The confirmed_time of this IncidentInfoV2.
|
|
456
|
+
:rtype: datetime
|
|
457
|
+
"""
|
|
458
|
+
return self._confirmed_time
|
|
459
|
+
|
|
460
|
+
@confirmed_time.setter
|
|
461
|
+
def confirmed_time(self, confirmed_time):
|
|
462
|
+
"""Sets the confirmed_time of this IncidentInfoV2.
|
|
463
|
+
|
|
464
|
+
解决时间
|
|
465
|
+
|
|
466
|
+
:param confirmed_time: The confirmed_time of this IncidentInfoV2.
|
|
467
|
+
:type confirmed_time: datetime
|
|
468
|
+
"""
|
|
469
|
+
self._confirmed_time = confirmed_time
|
|
470
|
+
|
|
326
471
|
@property
|
|
327
472
|
def label_list(self):
|
|
328
473
|
"""Gets the label_list of this IncidentInfoV2.
|
|
@@ -37,7 +37,7 @@ class ListAccessoryAccessUrlsRequest:
|
|
|
37
37
|
|
|
38
38
|
The model defined in huaweicloud sdk
|
|
39
39
|
|
|
40
|
-
:param group_id: 组id
|
|
40
|
+
:param group_id: 华为云IAM组id,查询同组其他工单时,该id必传
|
|
41
41
|
:type group_id: str
|
|
42
42
|
:param accessory_ids: 附件id列表
|
|
43
43
|
:type accessory_ids: list[str]
|
|
@@ -58,7 +58,8 @@ class ListAccessoryAccessUrlsRequest:
|
|
|
58
58
|
self._x_time_zone = None
|
|
59
59
|
self.discriminator = None
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
if group_id is not None:
|
|
62
|
+
self.group_id = group_id
|
|
62
63
|
self.accessory_ids = accessory_ids
|
|
63
64
|
if x_site is not None:
|
|
64
65
|
self.x_site = x_site
|
|
@@ -71,7 +72,7 @@ class ListAccessoryAccessUrlsRequest:
|
|
|
71
72
|
def group_id(self):
|
|
72
73
|
"""Gets the group_id of this ListAccessoryAccessUrlsRequest.
|
|
73
74
|
|
|
74
|
-
组id
|
|
75
|
+
华为云IAM组id,查询同组其他工单时,该id必传
|
|
75
76
|
|
|
76
77
|
:return: The group_id of this ListAccessoryAccessUrlsRequest.
|
|
77
78
|
:rtype: str
|
|
@@ -82,7 +83,7 @@ class ListAccessoryAccessUrlsRequest:
|
|
|
82
83
|
def group_id(self, group_id):
|
|
83
84
|
"""Sets the group_id of this ListAccessoryAccessUrlsRequest.
|
|
84
85
|
|
|
85
|
-
组id
|
|
86
|
+
华为云IAM组id,查询同组其他工单时,该id必传
|
|
86
87
|
|
|
87
88
|
:param group_id: The group_id of this ListAccessoryAccessUrlsRequest.
|
|
88
89
|
:type group_id: str
|
|
@@ -59,7 +59,7 @@ class ListAuthorizationsRequest:
|
|
|
59
59
|
:type offset: int
|
|
60
60
|
:param limit: 查询限制条数
|
|
61
61
|
:type limit: int
|
|
62
|
-
:param group_id: 组id
|
|
62
|
+
:param group_id: 华为云IAM组id,同组其他工单时,该id必传
|
|
63
63
|
:type group_id: str
|
|
64
64
|
:param x_site: 对接站点信息。 0(中国站) 1(国际站),不填的话默认为0。
|
|
65
65
|
:type x_site: int
|
|
@@ -240,7 +240,7 @@ class ListAuthorizationsRequest:
|
|
|
240
240
|
def group_id(self):
|
|
241
241
|
"""Gets the group_id of this ListAuthorizationsRequest.
|
|
242
242
|
|
|
243
|
-
组id
|
|
243
|
+
华为云IAM组id,同组其他工单时,该id必传
|
|
244
244
|
|
|
245
245
|
:return: The group_id of this ListAuthorizationsRequest.
|
|
246
246
|
:rtype: str
|
|
@@ -251,7 +251,7 @@ class ListAuthorizationsRequest:
|
|
|
251
251
|
def group_id(self, group_id):
|
|
252
252
|
"""Sets the group_id of this ListAuthorizationsRequest.
|
|
253
253
|
|
|
254
|
-
组id
|
|
254
|
+
华为云IAM组id,同组其他工单时,该id必传
|
|
255
255
|
|
|
256
256
|
:param group_id: The group_id of this ListAuthorizationsRequest.
|
|
257
257
|
:type group_id: str
|