huaweicloudsdkoctopus 3.1.155__py2.py3-none-any.whl → 3.1.156__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.
Files changed (82) hide show
  1. huaweicloudsdkoctopus/v2/__init__.py +72 -0
  2. huaweicloudsdkoctopus/v2/model/__init__.py +72 -0
  3. huaweicloudsdkoctopus/v2/model/alg_image_create_srlz.py +350 -0
  4. huaweicloudsdkoctopus/v2/model/alg_image_list_srlz.py +266 -0
  5. huaweicloudsdkoctopus/v2/model/algorithm_create_srlz.py +399 -0
  6. huaweicloudsdkoctopus/v2/model/algorithm_list_srlz.py +266 -0
  7. huaweicloudsdkoctopus/v2/model/batch_config_abc_info_srlz.py +142 -0
  8. huaweicloudsdkoctopus/v2/model/batch_config_evaluation_info_srlz.py +142 -0
  9. huaweicloudsdkoctopus/v2/model/batch_config_image_info_srlz.py +198 -0
  10. huaweicloudsdkoctopus/v2/model/batch_config_msg_notify_srlz.py +115 -0
  11. huaweicloudsdkoctopus/v2/model/batch_config_scenario_srlz.py +173 -0
  12. huaweicloudsdkoctopus/v2/model/batch_config_srlz.py +806 -0
  13. huaweicloudsdkoctopus/v2/model/batch_srlz.py +604 -0
  14. huaweicloudsdkoctopus/v2/model/build_create_srlz.py +115 -0
  15. huaweicloudsdkoctopus/v2/model/build_update_srlz.py +143 -0
  16. huaweicloudsdkoctopus/v2/model/category_f62_enum.py +89 -0
  17. huaweicloudsdkoctopus/v2/model/compilation_create_srlz.py +255 -0
  18. huaweicloudsdkoctopus/v2/model/compilation_update_srlz.py +311 -0
  19. huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_request.py +111 -0
  20. huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_response.py +361 -0
  21. huaweicloudsdkoctopus/v2/model/create_sim_algorithms_request.py +111 -0
  22. huaweicloudsdkoctopus/v2/model/create_sim_algorithms_response.py +404 -0
  23. huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_request.py +111 -0
  24. huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_response.py +819 -0
  25. huaweicloudsdkoctopus/v2/model/create_sim_extensions_request.py +111 -0
  26. huaweicloudsdkoctopus/v2/model/create_sim_extensions_response.py +314 -0
  27. huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_request.py +114 -0
  28. huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_response.py +85 -0
  29. huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_request.py +114 -0
  30. huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_response.py +85 -0
  31. huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_request.py +114 -0
  32. huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_response.py +85 -0
  33. huaweicloudsdkoctopus/v2/model/delete_sim_batches_request.py +114 -0
  34. huaweicloudsdkoctopus/v2/model/delete_sim_batches_response.py +85 -0
  35. huaweicloudsdkoctopus/v2/model/delete_sim_extensions_request.py +114 -0
  36. huaweicloudsdkoctopus/v2/model/delete_sim_extensions_response.py +85 -0
  37. huaweicloudsdkoctopus/v2/model/extension_srlz.py +353 -0
  38. huaweicloudsdkoctopus/v2/model/extensions_create_srlz.py +306 -0
  39. huaweicloudsdkoctopus/v2/model/extensions_list_srlz.py +291 -0
  40. huaweicloudsdkoctopus/v2/model/file_nested_srlz.py +279 -0
  41. huaweicloudsdkoctopus/v2/model/file_retrieve_srlz.py +310 -0
  42. huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_request.py +339 -0
  43. huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_response.py +185 -0
  44. huaweicloudsdkoctopus/v2/model/list_sim_algorithms_request.py +281 -0
  45. huaweicloudsdkoctopus/v2/model/list_sim_algorithms_response.py +185 -0
  46. huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_request.py +625 -0
  47. huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_response.py +185 -0
  48. huaweicloudsdkoctopus/v2/model/list_sim_batches_request.py +426 -0
  49. huaweicloudsdkoctopus/v2/model/list_sim_batches_response.py +185 -0
  50. huaweicloudsdkoctopus/v2/model/list_sim_extensions_request.py +202 -0
  51. huaweicloudsdkoctopus/v2/model/list_sim_extensions_response.py +185 -0
  52. huaweicloudsdkoctopus/v2/model/patched_alg_image_update_srlz.py +302 -0
  53. huaweicloudsdkoctopus/v2/model/patched_algorithm_update_srlz.py +796 -0
  54. huaweicloudsdkoctopus/v2/model/record_mode_enum.py +88 -0
  55. huaweicloudsdkoctopus/v2/model/run_image_status_enum.py +91 -0
  56. huaweicloudsdkoctopus/v2/model/run_srlz.py +254 -0
  57. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_request.py +114 -0
  58. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_response.py +361 -0
  59. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_request.py +114 -0
  60. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_response.py +377 -0
  61. huaweicloudsdkoctopus/v2/model/show_sim_batch_config_request.py +114 -0
  62. huaweicloudsdkoctopus/v2/model/show_sim_batch_config_response.py +819 -0
  63. huaweicloudsdkoctopus/v2/model/show_sim_extension_request.py +110 -0
  64. huaweicloudsdkoctopus/v2/model/show_sim_extension_response.py +353 -0
  65. huaweicloudsdkoctopus/v2/model/status6a7_enum.py +106 -0
  66. huaweicloudsdkoctopus/v2/model/type87e_enum.py +88 -0
  67. huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_request.py +139 -0
  68. huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_response.py +303 -0
  69. huaweicloudsdkoctopus/v2/model/update_sim_algorithms_request.py +139 -0
  70. huaweicloudsdkoctopus/v2/model/update_sim_algorithms_response.py +431 -0
  71. huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_request.py +138 -0
  72. huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_response.py +85 -0
  73. huaweicloudsdkoctopus/v2/model/update_sim_extensions_request.py +139 -0
  74. huaweicloudsdkoctopus/v2/model/update_sim_extensions_response.py +356 -0
  75. huaweicloudsdkoctopus/v2/octopus_async_client.py +1679 -150
  76. huaweicloudsdkoctopus/v2/octopus_client.py +1679 -150
  77. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/METADATA +2 -2
  78. huaweicloudsdkoctopus-3.1.156.dist-info/RECORD +126 -0
  79. huaweicloudsdkoctopus-3.1.155.dist-info/RECORD +0 -54
  80. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/LICENSE +0 -0
  81. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/WHEEL +0 -0
  82. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,198 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class BatchConfigImageInfoSrlz:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'id': 'int',
21
+ 'name': 'str',
22
+ 'image_id': 'int',
23
+ 'image_version': 'str'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'id': 'id',
28
+ 'name': 'name',
29
+ 'image_id': 'image_id',
30
+ 'image_version': 'image_version'
31
+ }
32
+
33
+ def __init__(self, id=None, name=None, image_id=None, image_version=None):
34
+ r"""BatchConfigImageInfoSrlz
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param id: 项目id
39
+ :type id: int
40
+ :param name: 项目名称
41
+ :type name: str
42
+ :param image_id: 镜像id
43
+ :type image_id: int
44
+ :param image_version: 镜像版本
45
+ :type image_version: str
46
+ """
47
+
48
+
49
+
50
+ self._id = None
51
+ self._name = None
52
+ self._image_id = None
53
+ self._image_version = None
54
+ self.discriminator = None
55
+
56
+ self.id = id
57
+ self.name = name
58
+ self.image_id = image_id
59
+ self.image_version = image_version
60
+
61
+ @property
62
+ def id(self):
63
+ r"""Gets the id of this BatchConfigImageInfoSrlz.
64
+
65
+ 项目id
66
+
67
+ :return: The id of this BatchConfigImageInfoSrlz.
68
+ :rtype: int
69
+ """
70
+ return self._id
71
+
72
+ @id.setter
73
+ def id(self, id):
74
+ r"""Sets the id of this BatchConfigImageInfoSrlz.
75
+
76
+ 项目id
77
+
78
+ :param id: The id of this BatchConfigImageInfoSrlz.
79
+ :type id: int
80
+ """
81
+ self._id = id
82
+
83
+ @property
84
+ def name(self):
85
+ r"""Gets the name of this BatchConfigImageInfoSrlz.
86
+
87
+ 项目名称
88
+
89
+ :return: The name of this BatchConfigImageInfoSrlz.
90
+ :rtype: str
91
+ """
92
+ return self._name
93
+
94
+ @name.setter
95
+ def name(self, name):
96
+ r"""Sets the name of this BatchConfigImageInfoSrlz.
97
+
98
+ 项目名称
99
+
100
+ :param name: The name of this BatchConfigImageInfoSrlz.
101
+ :type name: str
102
+ """
103
+ self._name = name
104
+
105
+ @property
106
+ def image_id(self):
107
+ r"""Gets the image_id of this BatchConfigImageInfoSrlz.
108
+
109
+ 镜像id
110
+
111
+ :return: The image_id of this BatchConfigImageInfoSrlz.
112
+ :rtype: int
113
+ """
114
+ return self._image_id
115
+
116
+ @image_id.setter
117
+ def image_id(self, image_id):
118
+ r"""Sets the image_id of this BatchConfigImageInfoSrlz.
119
+
120
+ 镜像id
121
+
122
+ :param image_id: The image_id of this BatchConfigImageInfoSrlz.
123
+ :type image_id: int
124
+ """
125
+ self._image_id = image_id
126
+
127
+ @property
128
+ def image_version(self):
129
+ r"""Gets the image_version of this BatchConfigImageInfoSrlz.
130
+
131
+ 镜像版本
132
+
133
+ :return: The image_version of this BatchConfigImageInfoSrlz.
134
+ :rtype: str
135
+ """
136
+ return self._image_version
137
+
138
+ @image_version.setter
139
+ def image_version(self, image_version):
140
+ r"""Sets the image_version of this BatchConfigImageInfoSrlz.
141
+
142
+ 镜像版本
143
+
144
+ :param image_version: The image_version of this BatchConfigImageInfoSrlz.
145
+ :type image_version: str
146
+ """
147
+ self._image_version = image_version
148
+
149
+ def to_dict(self):
150
+ """Returns the model properties as a dict"""
151
+ result = {}
152
+
153
+ for attr, _ in six.iteritems(self.openapi_types):
154
+ value = getattr(self, attr)
155
+ if isinstance(value, list):
156
+ result[attr] = list(map(
157
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
158
+ value
159
+ ))
160
+ elif hasattr(value, "to_dict"):
161
+ result[attr] = value.to_dict()
162
+ elif isinstance(value, dict):
163
+ result[attr] = dict(map(
164
+ lambda item: (item[0], item[1].to_dict())
165
+ if hasattr(item[1], "to_dict") else item,
166
+ value.items()
167
+ ))
168
+ else:
169
+ if attr in self.sensitive_list:
170
+ result[attr] = "****"
171
+ else:
172
+ result[attr] = value
173
+
174
+ return result
175
+
176
+ def to_str(self):
177
+ """Returns the string representation of the model"""
178
+ import simplejson as json
179
+ if six.PY2:
180
+ import sys
181
+ reload(sys)
182
+ sys.setdefaultencoding("utf-8")
183
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
184
+
185
+ def __repr__(self):
186
+ """For `print`"""
187
+ return self.to_str()
188
+
189
+ def __eq__(self, other):
190
+ """Returns true if both objects are equal"""
191
+ if not isinstance(other, BatchConfigImageInfoSrlz):
192
+ return False
193
+
194
+ return self.__dict__ == other.__dict__
195
+
196
+ def __ne__(self, other):
197
+ """Returns true if both objects are not equal"""
198
+ return not self == other
@@ -0,0 +1,115 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class BatchConfigMsgNotifySrlz:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'mail': 'list[str]'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'mail': 'mail'
25
+ }
26
+
27
+ def __init__(self, mail=None):
28
+ r"""BatchConfigMsgNotifySrlz
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param mail: 消息通知邮箱
33
+ :type mail: list[str]
34
+ """
35
+
36
+
37
+
38
+ self._mail = None
39
+ self.discriminator = None
40
+
41
+ if mail is not None:
42
+ self.mail = mail
43
+
44
+ @property
45
+ def mail(self):
46
+ r"""Gets the mail of this BatchConfigMsgNotifySrlz.
47
+
48
+ 消息通知邮箱
49
+
50
+ :return: The mail of this BatchConfigMsgNotifySrlz.
51
+ :rtype: list[str]
52
+ """
53
+ return self._mail
54
+
55
+ @mail.setter
56
+ def mail(self, mail):
57
+ r"""Sets the mail of this BatchConfigMsgNotifySrlz.
58
+
59
+ 消息通知邮箱
60
+
61
+ :param mail: The mail of this BatchConfigMsgNotifySrlz.
62
+ :type mail: list[str]
63
+ """
64
+ self._mail = mail
65
+
66
+ def to_dict(self):
67
+ """Returns the model properties as a dict"""
68
+ result = {}
69
+
70
+ for attr, _ in six.iteritems(self.openapi_types):
71
+ value = getattr(self, attr)
72
+ if isinstance(value, list):
73
+ result[attr] = list(map(
74
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
75
+ value
76
+ ))
77
+ elif hasattr(value, "to_dict"):
78
+ result[attr] = value.to_dict()
79
+ elif isinstance(value, dict):
80
+ result[attr] = dict(map(
81
+ lambda item: (item[0], item[1].to_dict())
82
+ if hasattr(item[1], "to_dict") else item,
83
+ value.items()
84
+ ))
85
+ else:
86
+ if attr in self.sensitive_list:
87
+ result[attr] = "****"
88
+ else:
89
+ result[attr] = value
90
+
91
+ return result
92
+
93
+ def to_str(self):
94
+ """Returns the string representation of the model"""
95
+ import simplejson as json
96
+ if six.PY2:
97
+ import sys
98
+ reload(sys)
99
+ sys.setdefaultencoding("utf-8")
100
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
101
+
102
+ def __repr__(self):
103
+ """For `print`"""
104
+ return self.to_str()
105
+
106
+ def __eq__(self, other):
107
+ """Returns true if both objects are equal"""
108
+ if not isinstance(other, BatchConfigMsgNotifySrlz):
109
+ return False
110
+
111
+ return self.__dict__ == other.__dict__
112
+
113
+ def __ne__(self, other):
114
+ """Returns true if both objects are not equal"""
115
+ return not self == other
@@ -0,0 +1,173 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class BatchConfigScenarioSrlz:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'group_ids': 'list[int]',
21
+ 'generalization_ids': 'list[int]',
22
+ 'suit_ids': 'list[int]'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'group_ids': 'group_ids',
27
+ 'generalization_ids': 'generalization_ids',
28
+ 'suit_ids': 'suit_ids'
29
+ }
30
+
31
+ def __init__(self, group_ids=None, generalization_ids=None, suit_ids=None):
32
+ r"""BatchConfigScenarioSrlz
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param group_ids: 场景库id信息
37
+ :type group_ids: list[int]
38
+ :param generalization_ids: 泛化任务id信息
39
+ :type generalization_ids: list[int]
40
+ :param suit_ids: 测试套件id信息
41
+ :type suit_ids: list[int]
42
+ """
43
+
44
+
45
+
46
+ self._group_ids = None
47
+ self._generalization_ids = None
48
+ self._suit_ids = None
49
+ self.discriminator = None
50
+
51
+ if group_ids is not None:
52
+ self.group_ids = group_ids
53
+ if generalization_ids is not None:
54
+ self.generalization_ids = generalization_ids
55
+ if suit_ids is not None:
56
+ self.suit_ids = suit_ids
57
+
58
+ @property
59
+ def group_ids(self):
60
+ r"""Gets the group_ids of this BatchConfigScenarioSrlz.
61
+
62
+ 场景库id信息
63
+
64
+ :return: The group_ids of this BatchConfigScenarioSrlz.
65
+ :rtype: list[int]
66
+ """
67
+ return self._group_ids
68
+
69
+ @group_ids.setter
70
+ def group_ids(self, group_ids):
71
+ r"""Sets the group_ids of this BatchConfigScenarioSrlz.
72
+
73
+ 场景库id信息
74
+
75
+ :param group_ids: The group_ids of this BatchConfigScenarioSrlz.
76
+ :type group_ids: list[int]
77
+ """
78
+ self._group_ids = group_ids
79
+
80
+ @property
81
+ def generalization_ids(self):
82
+ r"""Gets the generalization_ids of this BatchConfigScenarioSrlz.
83
+
84
+ 泛化任务id信息
85
+
86
+ :return: The generalization_ids of this BatchConfigScenarioSrlz.
87
+ :rtype: list[int]
88
+ """
89
+ return self._generalization_ids
90
+
91
+ @generalization_ids.setter
92
+ def generalization_ids(self, generalization_ids):
93
+ r"""Sets the generalization_ids of this BatchConfigScenarioSrlz.
94
+
95
+ 泛化任务id信息
96
+
97
+ :param generalization_ids: The generalization_ids of this BatchConfigScenarioSrlz.
98
+ :type generalization_ids: list[int]
99
+ """
100
+ self._generalization_ids = generalization_ids
101
+
102
+ @property
103
+ def suit_ids(self):
104
+ r"""Gets the suit_ids of this BatchConfigScenarioSrlz.
105
+
106
+ 测试套件id信息
107
+
108
+ :return: The suit_ids of this BatchConfigScenarioSrlz.
109
+ :rtype: list[int]
110
+ """
111
+ return self._suit_ids
112
+
113
+ @suit_ids.setter
114
+ def suit_ids(self, suit_ids):
115
+ r"""Sets the suit_ids of this BatchConfigScenarioSrlz.
116
+
117
+ 测试套件id信息
118
+
119
+ :param suit_ids: The suit_ids of this BatchConfigScenarioSrlz.
120
+ :type suit_ids: list[int]
121
+ """
122
+ self._suit_ids = suit_ids
123
+
124
+ def to_dict(self):
125
+ """Returns the model properties as a dict"""
126
+ result = {}
127
+
128
+ for attr, _ in six.iteritems(self.openapi_types):
129
+ value = getattr(self, attr)
130
+ if isinstance(value, list):
131
+ result[attr] = list(map(
132
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
133
+ value
134
+ ))
135
+ elif hasattr(value, "to_dict"):
136
+ result[attr] = value.to_dict()
137
+ elif isinstance(value, dict):
138
+ result[attr] = dict(map(
139
+ lambda item: (item[0], item[1].to_dict())
140
+ if hasattr(item[1], "to_dict") else item,
141
+ value.items()
142
+ ))
143
+ else:
144
+ if attr in self.sensitive_list:
145
+ result[attr] = "****"
146
+ else:
147
+ result[attr] = value
148
+
149
+ return result
150
+
151
+ def to_str(self):
152
+ """Returns the string representation of the model"""
153
+ import simplejson as json
154
+ if six.PY2:
155
+ import sys
156
+ reload(sys)
157
+ sys.setdefaultencoding("utf-8")
158
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
159
+
160
+ def __repr__(self):
161
+ """For `print`"""
162
+ return self.to_str()
163
+
164
+ def __eq__(self, other):
165
+ """Returns true if both objects are equal"""
166
+ if not isinstance(other, BatchConfigScenarioSrlz):
167
+ return False
168
+
169
+ return self.__dict__ == other.__dict__
170
+
171
+ def __ne__(self, other):
172
+ """Returns true if both objects are not equal"""
173
+ return not self == other