huaweicloudsdkcae 3.1.99__py2.py3-none-any.whl → 3.1.101__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 huaweicloudsdkcae might be problematic. Click here for more details.
- huaweicloudsdkcae/v1/__init__.py +6 -2
- huaweicloudsdkcae/v1/cae_async_client.py +71 -0
- huaweicloudsdkcae/v1/cae_client.py +71 -0
- huaweicloudsdkcae/v1/model/__init__.py +6 -2
- huaweicloudsdkcae/v1/model/create_component_request_body.py +8 -8
- huaweicloudsdkcae/v1/model/create_component_with_configuration_request.py +196 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body.py +213 -0
- huaweicloudsdkcae/v1/model/{create_component_request_body_metadata.py → create_component_with_configuration_request_body_metadata.py} +11 -11
- huaweicloudsdkcae/v1/model/{create_component_request_body_spec.py → create_component_with_configuration_request_body_spec.py} +27 -27
- huaweicloudsdkcae/v1/model/create_component_with_configuration_response.py +241 -0
- huaweicloudsdkcae/v1/model/create_component_with_configuration_response_body_status.py +115 -0
- {huaweicloudsdkcae-3.1.99.dist-info → huaweicloudsdkcae-3.1.101.dist-info}/METADATA +2 -2
- {huaweicloudsdkcae-3.1.99.dist-info → huaweicloudsdkcae-3.1.101.dist-info}/RECORD +16 -12
- {huaweicloudsdkcae-3.1.99.dist-info → huaweicloudsdkcae-3.1.101.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcae-3.1.99.dist-info → huaweicloudsdkcae-3.1.101.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcae-3.1.99.dist-info → huaweicloudsdkcae-3.1.101.dist-info}/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ import six
|
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class CreateComponentWithConfigurationRequestBodyMetadata:
|
|
9
9
|
|
|
10
10
|
"""
|
|
11
11
|
Attributes:
|
|
@@ -27,7 +27,7 @@ class CreateComponentRequestBodyMetadata:
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
def __init__(self, name=None, annotations=None):
|
|
30
|
-
"""
|
|
30
|
+
"""CreateComponentWithConfigurationRequestBodyMetadata
|
|
31
31
|
|
|
32
32
|
The model defined in huaweicloud sdk
|
|
33
33
|
|
|
@@ -48,44 +48,44 @@ class CreateComponentRequestBodyMetadata:
|
|
|
48
48
|
|
|
49
49
|
@property
|
|
50
50
|
def name(self):
|
|
51
|
-
"""Gets the name of this
|
|
51
|
+
"""Gets the name of this CreateComponentWithConfigurationRequestBodyMetadata.
|
|
52
52
|
|
|
53
53
|
组件名称。
|
|
54
54
|
|
|
55
|
-
:return: The name of this
|
|
55
|
+
:return: The name of this CreateComponentWithConfigurationRequestBodyMetadata.
|
|
56
56
|
:rtype: str
|
|
57
57
|
"""
|
|
58
58
|
return self._name
|
|
59
59
|
|
|
60
60
|
@name.setter
|
|
61
61
|
def name(self, name):
|
|
62
|
-
"""Sets the name of this
|
|
62
|
+
"""Sets the name of this CreateComponentWithConfigurationRequestBodyMetadata.
|
|
63
63
|
|
|
64
64
|
组件名称。
|
|
65
65
|
|
|
66
|
-
:param name: The name of this
|
|
66
|
+
:param name: The name of this CreateComponentWithConfigurationRequestBodyMetadata.
|
|
67
67
|
:type name: str
|
|
68
68
|
"""
|
|
69
69
|
self._name = name
|
|
70
70
|
|
|
71
71
|
@property
|
|
72
72
|
def annotations(self):
|
|
73
|
-
"""Gets the annotations of this
|
|
73
|
+
"""Gets the annotations of this CreateComponentWithConfigurationRequestBodyMetadata.
|
|
74
74
|
|
|
75
75
|
创建组件请求体附加参数,当前只支持version参数,此参数必填。
|
|
76
76
|
|
|
77
|
-
:return: The annotations of this
|
|
77
|
+
:return: The annotations of this CreateComponentWithConfigurationRequestBodyMetadata.
|
|
78
78
|
:rtype: dict(str, str)
|
|
79
79
|
"""
|
|
80
80
|
return self._annotations
|
|
81
81
|
|
|
82
82
|
@annotations.setter
|
|
83
83
|
def annotations(self, annotations):
|
|
84
|
-
"""Sets the annotations of this
|
|
84
|
+
"""Sets the annotations of this CreateComponentWithConfigurationRequestBodyMetadata.
|
|
85
85
|
|
|
86
86
|
创建组件请求体附加参数,当前只支持version参数,此参数必填。
|
|
87
87
|
|
|
88
|
-
:param annotations: The annotations of this
|
|
88
|
+
:param annotations: The annotations of this CreateComponentWithConfigurationRequestBodyMetadata.
|
|
89
89
|
:type annotations: dict(str, str)
|
|
90
90
|
"""
|
|
91
91
|
self._annotations = annotations
|
|
@@ -132,7 +132,7 @@ class CreateComponentRequestBodyMetadata:
|
|
|
132
132
|
|
|
133
133
|
def __eq__(self, other):
|
|
134
134
|
"""Returns true if both objects are equal"""
|
|
135
|
-
if not isinstance(other,
|
|
135
|
+
if not isinstance(other, CreateComponentWithConfigurationRequestBodyMetadata):
|
|
136
136
|
return False
|
|
137
137
|
|
|
138
138
|
return self.__dict__ == other.__dict__
|
|
@@ -5,7 +5,7 @@ import six
|
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class CreateComponentWithConfigurationRequestBodySpec:
|
|
9
9
|
|
|
10
10
|
"""
|
|
11
11
|
Attributes:
|
|
@@ -35,7 +35,7 @@ class CreateComponentRequestBodySpec:
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
def __init__(self, runtime=None, replica=None, build=None, source=None, resource_limit=None, image_url=None):
|
|
38
|
-
"""
|
|
38
|
+
"""CreateComponentWithConfigurationRequestBodySpec
|
|
39
39
|
|
|
40
40
|
The model defined in huaweicloud sdk
|
|
41
41
|
|
|
@@ -74,120 +74,120 @@ class CreateComponentRequestBodySpec:
|
|
|
74
74
|
|
|
75
75
|
@property
|
|
76
76
|
def runtime(self):
|
|
77
|
-
"""Gets the runtime of this
|
|
77
|
+
"""Gets the runtime of this CreateComponentWithConfigurationRequestBodySpec.
|
|
78
78
|
|
|
79
79
|
语言/运行时。
|
|
80
80
|
|
|
81
|
-
:return: The runtime of this
|
|
81
|
+
:return: The runtime of this CreateComponentWithConfigurationRequestBodySpec.
|
|
82
82
|
:rtype: str
|
|
83
83
|
"""
|
|
84
84
|
return self._runtime
|
|
85
85
|
|
|
86
86
|
@runtime.setter
|
|
87
87
|
def runtime(self, runtime):
|
|
88
|
-
"""Sets the runtime of this
|
|
88
|
+
"""Sets the runtime of this CreateComponentWithConfigurationRequestBodySpec.
|
|
89
89
|
|
|
90
90
|
语言/运行时。
|
|
91
91
|
|
|
92
|
-
:param runtime: The runtime of this
|
|
92
|
+
:param runtime: The runtime of this CreateComponentWithConfigurationRequestBodySpec.
|
|
93
93
|
:type runtime: str
|
|
94
94
|
"""
|
|
95
95
|
self._runtime = runtime
|
|
96
96
|
|
|
97
97
|
@property
|
|
98
98
|
def replica(self):
|
|
99
|
-
"""Gets the replica of this
|
|
99
|
+
"""Gets the replica of this CreateComponentWithConfigurationRequestBodySpec.
|
|
100
100
|
|
|
101
101
|
实例个数。
|
|
102
102
|
|
|
103
|
-
:return: The replica of this
|
|
103
|
+
:return: The replica of this CreateComponentWithConfigurationRequestBodySpec.
|
|
104
104
|
:rtype: int
|
|
105
105
|
"""
|
|
106
106
|
return self._replica
|
|
107
107
|
|
|
108
108
|
@replica.setter
|
|
109
109
|
def replica(self, replica):
|
|
110
|
-
"""Sets the replica of this
|
|
110
|
+
"""Sets the replica of this CreateComponentWithConfigurationRequestBodySpec.
|
|
111
111
|
|
|
112
112
|
实例个数。
|
|
113
113
|
|
|
114
|
-
:param replica: The replica of this
|
|
114
|
+
:param replica: The replica of this CreateComponentWithConfigurationRequestBodySpec.
|
|
115
115
|
:type replica: int
|
|
116
116
|
"""
|
|
117
117
|
self._replica = replica
|
|
118
118
|
|
|
119
119
|
@property
|
|
120
120
|
def build(self):
|
|
121
|
-
"""Gets the build of this
|
|
121
|
+
"""Gets the build of this CreateComponentWithConfigurationRequestBodySpec.
|
|
122
122
|
|
|
123
|
-
:return: The build of this
|
|
123
|
+
:return: The build of this CreateComponentWithConfigurationRequestBodySpec.
|
|
124
124
|
:rtype: :class:`huaweicloudsdkcae.v1.Build`
|
|
125
125
|
"""
|
|
126
126
|
return self._build
|
|
127
127
|
|
|
128
128
|
@build.setter
|
|
129
129
|
def build(self, build):
|
|
130
|
-
"""Sets the build of this
|
|
130
|
+
"""Sets the build of this CreateComponentWithConfigurationRequestBodySpec.
|
|
131
131
|
|
|
132
|
-
:param build: The build of this
|
|
132
|
+
:param build: The build of this CreateComponentWithConfigurationRequestBodySpec.
|
|
133
133
|
:type build: :class:`huaweicloudsdkcae.v1.Build`
|
|
134
134
|
"""
|
|
135
135
|
self._build = build
|
|
136
136
|
|
|
137
137
|
@property
|
|
138
138
|
def source(self):
|
|
139
|
-
"""Gets the source of this
|
|
139
|
+
"""Gets the source of this CreateComponentWithConfigurationRequestBodySpec.
|
|
140
140
|
|
|
141
|
-
:return: The source of this
|
|
141
|
+
:return: The source of this CreateComponentWithConfigurationRequestBodySpec.
|
|
142
142
|
:rtype: :class:`huaweicloudsdkcae.v1.Source`
|
|
143
143
|
"""
|
|
144
144
|
return self._source
|
|
145
145
|
|
|
146
146
|
@source.setter
|
|
147
147
|
def source(self, source):
|
|
148
|
-
"""Sets the source of this
|
|
148
|
+
"""Sets the source of this CreateComponentWithConfigurationRequestBodySpec.
|
|
149
149
|
|
|
150
|
-
:param source: The source of this
|
|
150
|
+
:param source: The source of this CreateComponentWithConfigurationRequestBodySpec.
|
|
151
151
|
:type source: :class:`huaweicloudsdkcae.v1.Source`
|
|
152
152
|
"""
|
|
153
153
|
self._source = source
|
|
154
154
|
|
|
155
155
|
@property
|
|
156
156
|
def resource_limit(self):
|
|
157
|
-
"""Gets the resource_limit of this
|
|
157
|
+
"""Gets the resource_limit of this CreateComponentWithConfigurationRequestBodySpec.
|
|
158
158
|
|
|
159
|
-
:return: The resource_limit of this
|
|
159
|
+
:return: The resource_limit of this CreateComponentWithConfigurationRequestBodySpec.
|
|
160
160
|
:rtype: :class:`huaweicloudsdkcae.v1.ResourceLimit`
|
|
161
161
|
"""
|
|
162
162
|
return self._resource_limit
|
|
163
163
|
|
|
164
164
|
@resource_limit.setter
|
|
165
165
|
def resource_limit(self, resource_limit):
|
|
166
|
-
"""Sets the resource_limit of this
|
|
166
|
+
"""Sets the resource_limit of this CreateComponentWithConfigurationRequestBodySpec.
|
|
167
167
|
|
|
168
|
-
:param resource_limit: The resource_limit of this
|
|
168
|
+
:param resource_limit: The resource_limit of this CreateComponentWithConfigurationRequestBodySpec.
|
|
169
169
|
:type resource_limit: :class:`huaweicloudsdkcae.v1.ResourceLimit`
|
|
170
170
|
"""
|
|
171
171
|
self._resource_limit = resource_limit
|
|
172
172
|
|
|
173
173
|
@property
|
|
174
174
|
def image_url(self):
|
|
175
|
-
"""Gets the image_url of this
|
|
175
|
+
"""Gets the image_url of this CreateComponentWithConfigurationRequestBodySpec.
|
|
176
176
|
|
|
177
177
|
镜像地址。
|
|
178
178
|
|
|
179
|
-
:return: The image_url of this
|
|
179
|
+
:return: The image_url of this CreateComponentWithConfigurationRequestBodySpec.
|
|
180
180
|
:rtype: str
|
|
181
181
|
"""
|
|
182
182
|
return self._image_url
|
|
183
183
|
|
|
184
184
|
@image_url.setter
|
|
185
185
|
def image_url(self, image_url):
|
|
186
|
-
"""Sets the image_url of this
|
|
186
|
+
"""Sets the image_url of this CreateComponentWithConfigurationRequestBodySpec.
|
|
187
187
|
|
|
188
188
|
镜像地址。
|
|
189
189
|
|
|
190
|
-
:param image_url: The image_url of this
|
|
190
|
+
:param image_url: The image_url of this CreateComponentWithConfigurationRequestBodySpec.
|
|
191
191
|
:type image_url: str
|
|
192
192
|
"""
|
|
193
193
|
self._image_url = image_url
|
|
@@ -234,7 +234,7 @@ class CreateComponentRequestBodySpec:
|
|
|
234
234
|
|
|
235
235
|
def __eq__(self, other):
|
|
236
236
|
"""Returns true if both objects are equal"""
|
|
237
|
-
if not isinstance(other,
|
|
237
|
+
if not isinstance(other, CreateComponentWithConfigurationRequestBodySpec):
|
|
238
238
|
return False
|
|
239
239
|
|
|
240
240
|
return self.__dict__ == other.__dict__
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class CreateComponentWithConfigurationResponse(SdkResponse):
|
|
10
|
+
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
openapi_types (dict): The key is attribute name
|
|
14
|
+
and the value is attribute type.
|
|
15
|
+
attribute_map (dict): The key is attribute name
|
|
16
|
+
and the value is json key in definition.
|
|
17
|
+
"""
|
|
18
|
+
sensitive_list = []
|
|
19
|
+
|
|
20
|
+
openapi_types = {
|
|
21
|
+
'api_version': 'ApiVersionObj',
|
|
22
|
+
'kind': 'ComponentKindObj',
|
|
23
|
+
'metadata': 'MetadataResponse',
|
|
24
|
+
'spec': 'CreateComponentSpec',
|
|
25
|
+
'configurations': 'list[ConfigurationItem]',
|
|
26
|
+
'status': 'CreateComponentWithConfigurationResponseBodyStatus'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
attribute_map = {
|
|
30
|
+
'api_version': 'api_version',
|
|
31
|
+
'kind': 'kind',
|
|
32
|
+
'metadata': 'metadata',
|
|
33
|
+
'spec': 'spec',
|
|
34
|
+
'configurations': 'configurations',
|
|
35
|
+
'status': 'status'
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
def __init__(self, api_version=None, kind=None, metadata=None, spec=None, configurations=None, status=None):
|
|
39
|
+
"""CreateComponentWithConfigurationResponse
|
|
40
|
+
|
|
41
|
+
The model defined in huaweicloud sdk
|
|
42
|
+
|
|
43
|
+
:param api_version:
|
|
44
|
+
:type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
45
|
+
:param kind:
|
|
46
|
+
:type kind: :class:`huaweicloudsdkcae.v1.ComponentKindObj`
|
|
47
|
+
:param metadata:
|
|
48
|
+
:type metadata: :class:`huaweicloudsdkcae.v1.MetadataResponse`
|
|
49
|
+
:param spec:
|
|
50
|
+
:type spec: :class:`huaweicloudsdkcae.v1.CreateComponentSpec`
|
|
51
|
+
:param configurations: 配置项列表。
|
|
52
|
+
:type configurations: list[:class:`huaweicloudsdkcae.v1.ConfigurationItem`]
|
|
53
|
+
:param status:
|
|
54
|
+
:type status: :class:`huaweicloudsdkcae.v1.CreateComponentWithConfigurationResponseBodyStatus`
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
super(CreateComponentWithConfigurationResponse, self).__init__()
|
|
58
|
+
|
|
59
|
+
self._api_version = None
|
|
60
|
+
self._kind = None
|
|
61
|
+
self._metadata = None
|
|
62
|
+
self._spec = None
|
|
63
|
+
self._configurations = None
|
|
64
|
+
self._status = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if api_version is not None:
|
|
68
|
+
self.api_version = api_version
|
|
69
|
+
if kind is not None:
|
|
70
|
+
self.kind = kind
|
|
71
|
+
if metadata is not None:
|
|
72
|
+
self.metadata = metadata
|
|
73
|
+
if spec is not None:
|
|
74
|
+
self.spec = spec
|
|
75
|
+
if configurations is not None:
|
|
76
|
+
self.configurations = configurations
|
|
77
|
+
if status is not None:
|
|
78
|
+
self.status = status
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def api_version(self):
|
|
82
|
+
"""Gets the api_version of this CreateComponentWithConfigurationResponse.
|
|
83
|
+
|
|
84
|
+
:return: The api_version of this CreateComponentWithConfigurationResponse.
|
|
85
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
86
|
+
"""
|
|
87
|
+
return self._api_version
|
|
88
|
+
|
|
89
|
+
@api_version.setter
|
|
90
|
+
def api_version(self, api_version):
|
|
91
|
+
"""Sets the api_version of this CreateComponentWithConfigurationResponse.
|
|
92
|
+
|
|
93
|
+
:param api_version: The api_version of this CreateComponentWithConfigurationResponse.
|
|
94
|
+
:type api_version: :class:`huaweicloudsdkcae.v1.ApiVersionObj`
|
|
95
|
+
"""
|
|
96
|
+
self._api_version = api_version
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def kind(self):
|
|
100
|
+
"""Gets the kind of this CreateComponentWithConfigurationResponse.
|
|
101
|
+
|
|
102
|
+
:return: The kind of this CreateComponentWithConfigurationResponse.
|
|
103
|
+
:rtype: :class:`huaweicloudsdkcae.v1.ComponentKindObj`
|
|
104
|
+
"""
|
|
105
|
+
return self._kind
|
|
106
|
+
|
|
107
|
+
@kind.setter
|
|
108
|
+
def kind(self, kind):
|
|
109
|
+
"""Sets the kind of this CreateComponentWithConfigurationResponse.
|
|
110
|
+
|
|
111
|
+
:param kind: The kind of this CreateComponentWithConfigurationResponse.
|
|
112
|
+
:type kind: :class:`huaweicloudsdkcae.v1.ComponentKindObj`
|
|
113
|
+
"""
|
|
114
|
+
self._kind = kind
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def metadata(self):
|
|
118
|
+
"""Gets the metadata of this CreateComponentWithConfigurationResponse.
|
|
119
|
+
|
|
120
|
+
:return: The metadata of this CreateComponentWithConfigurationResponse.
|
|
121
|
+
:rtype: :class:`huaweicloudsdkcae.v1.MetadataResponse`
|
|
122
|
+
"""
|
|
123
|
+
return self._metadata
|
|
124
|
+
|
|
125
|
+
@metadata.setter
|
|
126
|
+
def metadata(self, metadata):
|
|
127
|
+
"""Sets the metadata of this CreateComponentWithConfigurationResponse.
|
|
128
|
+
|
|
129
|
+
:param metadata: The metadata of this CreateComponentWithConfigurationResponse.
|
|
130
|
+
:type metadata: :class:`huaweicloudsdkcae.v1.MetadataResponse`
|
|
131
|
+
"""
|
|
132
|
+
self._metadata = metadata
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def spec(self):
|
|
136
|
+
"""Gets the spec of this CreateComponentWithConfigurationResponse.
|
|
137
|
+
|
|
138
|
+
:return: The spec of this CreateComponentWithConfigurationResponse.
|
|
139
|
+
:rtype: :class:`huaweicloudsdkcae.v1.CreateComponentSpec`
|
|
140
|
+
"""
|
|
141
|
+
return self._spec
|
|
142
|
+
|
|
143
|
+
@spec.setter
|
|
144
|
+
def spec(self, spec):
|
|
145
|
+
"""Sets the spec of this CreateComponentWithConfigurationResponse.
|
|
146
|
+
|
|
147
|
+
:param spec: The spec of this CreateComponentWithConfigurationResponse.
|
|
148
|
+
:type spec: :class:`huaweicloudsdkcae.v1.CreateComponentSpec`
|
|
149
|
+
"""
|
|
150
|
+
self._spec = spec
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
def configurations(self):
|
|
154
|
+
"""Gets the configurations of this CreateComponentWithConfigurationResponse.
|
|
155
|
+
|
|
156
|
+
配置项列表。
|
|
157
|
+
|
|
158
|
+
:return: The configurations of this CreateComponentWithConfigurationResponse.
|
|
159
|
+
:rtype: list[:class:`huaweicloudsdkcae.v1.ConfigurationItem`]
|
|
160
|
+
"""
|
|
161
|
+
return self._configurations
|
|
162
|
+
|
|
163
|
+
@configurations.setter
|
|
164
|
+
def configurations(self, configurations):
|
|
165
|
+
"""Sets the configurations of this CreateComponentWithConfigurationResponse.
|
|
166
|
+
|
|
167
|
+
配置项列表。
|
|
168
|
+
|
|
169
|
+
:param configurations: The configurations of this CreateComponentWithConfigurationResponse.
|
|
170
|
+
:type configurations: list[:class:`huaweicloudsdkcae.v1.ConfigurationItem`]
|
|
171
|
+
"""
|
|
172
|
+
self._configurations = configurations
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
def status(self):
|
|
176
|
+
"""Gets the status of this CreateComponentWithConfigurationResponse.
|
|
177
|
+
|
|
178
|
+
:return: The status of this CreateComponentWithConfigurationResponse.
|
|
179
|
+
:rtype: :class:`huaweicloudsdkcae.v1.CreateComponentWithConfigurationResponseBodyStatus`
|
|
180
|
+
"""
|
|
181
|
+
return self._status
|
|
182
|
+
|
|
183
|
+
@status.setter
|
|
184
|
+
def status(self, status):
|
|
185
|
+
"""Sets the status of this CreateComponentWithConfigurationResponse.
|
|
186
|
+
|
|
187
|
+
:param status: The status of this CreateComponentWithConfigurationResponse.
|
|
188
|
+
:type status: :class:`huaweicloudsdkcae.v1.CreateComponentWithConfigurationResponseBodyStatus`
|
|
189
|
+
"""
|
|
190
|
+
self._status = status
|
|
191
|
+
|
|
192
|
+
def to_dict(self):
|
|
193
|
+
"""Returns the model properties as a dict"""
|
|
194
|
+
result = {}
|
|
195
|
+
|
|
196
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
197
|
+
value = getattr(self, attr)
|
|
198
|
+
if isinstance(value, list):
|
|
199
|
+
result[attr] = list(map(
|
|
200
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
201
|
+
value
|
|
202
|
+
))
|
|
203
|
+
elif hasattr(value, "to_dict"):
|
|
204
|
+
result[attr] = value.to_dict()
|
|
205
|
+
elif isinstance(value, dict):
|
|
206
|
+
result[attr] = dict(map(
|
|
207
|
+
lambda item: (item[0], item[1].to_dict())
|
|
208
|
+
if hasattr(item[1], "to_dict") else item,
|
|
209
|
+
value.items()
|
|
210
|
+
))
|
|
211
|
+
else:
|
|
212
|
+
if attr in self.sensitive_list:
|
|
213
|
+
result[attr] = "****"
|
|
214
|
+
else:
|
|
215
|
+
result[attr] = value
|
|
216
|
+
|
|
217
|
+
return result
|
|
218
|
+
|
|
219
|
+
def to_str(self):
|
|
220
|
+
"""Returns the string representation of the model"""
|
|
221
|
+
import simplejson as json
|
|
222
|
+
if six.PY2:
|
|
223
|
+
import sys
|
|
224
|
+
reload(sys)
|
|
225
|
+
sys.setdefaultencoding("utf-8")
|
|
226
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
227
|
+
|
|
228
|
+
def __repr__(self):
|
|
229
|
+
"""For `print`"""
|
|
230
|
+
return self.to_str()
|
|
231
|
+
|
|
232
|
+
def __eq__(self, other):
|
|
233
|
+
"""Returns true if both objects are equal"""
|
|
234
|
+
if not isinstance(other, CreateComponentWithConfigurationResponse):
|
|
235
|
+
return False
|
|
236
|
+
|
|
237
|
+
return self.__dict__ == other.__dict__
|
|
238
|
+
|
|
239
|
+
def __ne__(self, other):
|
|
240
|
+
"""Returns true if both objects are not equal"""
|
|
241
|
+
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 CreateComponentWithConfigurationResponseBodyStatus:
|
|
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
|
+
'job_id': 'str'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'job_id': 'job_id'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, job_id=None):
|
|
28
|
+
"""CreateComponentWithConfigurationResponseBodyStatus
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param job_id: 任务ID。
|
|
33
|
+
:type job_id: str
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
self._job_id = None
|
|
39
|
+
self.discriminator = None
|
|
40
|
+
|
|
41
|
+
if job_id is not None:
|
|
42
|
+
self.job_id = job_id
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def job_id(self):
|
|
46
|
+
"""Gets the job_id of this CreateComponentWithConfigurationResponseBodyStatus.
|
|
47
|
+
|
|
48
|
+
任务ID。
|
|
49
|
+
|
|
50
|
+
:return: The job_id of this CreateComponentWithConfigurationResponseBodyStatus.
|
|
51
|
+
:rtype: str
|
|
52
|
+
"""
|
|
53
|
+
return self._job_id
|
|
54
|
+
|
|
55
|
+
@job_id.setter
|
|
56
|
+
def job_id(self, job_id):
|
|
57
|
+
"""Sets the job_id of this CreateComponentWithConfigurationResponseBodyStatus.
|
|
58
|
+
|
|
59
|
+
任务ID。
|
|
60
|
+
|
|
61
|
+
:param job_id: The job_id of this CreateComponentWithConfigurationResponseBodyStatus.
|
|
62
|
+
:type job_id: str
|
|
63
|
+
"""
|
|
64
|
+
self._job_id = job_id
|
|
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, CreateComponentWithConfigurationResponseBodyStatus):
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: huaweicloudsdkcae
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.101
|
|
4
4
|
Summary: CAE
|
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
|
6
6
|
Author: HuaweiCloud SDK
|
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE
|
|
25
|
-
Requires-Dist: huaweicloudsdkcore >=3.1.
|
|
25
|
+
Requires-Dist: huaweicloudsdkcore >=3.1.101
|
|
26
26
|
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
huaweicloudsdkcae/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
huaweicloudsdkcae/v1/__init__.py,sha256=
|
|
3
|
-
huaweicloudsdkcae/v1/cae_async_client.py,sha256=
|
|
4
|
-
huaweicloudsdkcae/v1/cae_client.py,sha256=
|
|
5
|
-
huaweicloudsdkcae/v1/model/__init__.py,sha256=
|
|
2
|
+
huaweicloudsdkcae/v1/__init__.py,sha256=9ZOrcm4s4w637AEKh0GbAMy2t-BVieMMMCcHfZsbDUA,20975
|
|
3
|
+
huaweicloudsdkcae/v1/cae_async_client.py,sha256=YM3KevrC25pafNI7WXlta-qfdFsTcxW9xrIk4rSXU5E,127106
|
|
4
|
+
huaweicloudsdkcae/v1/cae_client.py,sha256=kn7V5uXH8TR31ND-ZXTwPSDNiT-3I-h35i6ax3Mngkg,127105
|
|
5
|
+
huaweicloudsdkcae/v1/model/__init__.py,sha256=km1c3ZB0nYgXeLzfkVGAza5C7MVLG8vhe25wT2tDuCw,20889
|
|
6
6
|
huaweicloudsdkcae/v1/model/access.py,sha256=0xqNmw_Fm4AGwHLp9NS0NKl4sI0uvoEVIOe5aW9-Gr0,3611
|
|
7
7
|
huaweicloudsdkcae/v1/model/access_configuration_data_items.py,sha256=gFxOZxgM0QxrF_qUrePgHYN6RDgZIY1eS9Eqxa7Cg78,10445
|
|
8
8
|
huaweicloudsdkcae/v1/model/access_configuration_http_path.py,sha256=EHJjhTkSlZCcXpeBtHApu36hG7Toj10HLNDKemMkQyw,5037
|
|
@@ -59,11 +59,15 @@ huaweicloudsdkcae/v1/model/create_component_configuration_request.py,sha256=jWSm
|
|
|
59
59
|
huaweicloudsdkcae/v1/model/create_component_configuration_request_body.py,sha256=zZoKd-xkln6XMnTL3tjVJjD8eSmu4_vxqKSJ7rK4Oc0,5093
|
|
60
60
|
huaweicloudsdkcae/v1/model/create_component_configuration_response.py,sha256=xJQCTIIj9xzNQyMcYmrHfbHVOo4JfEfbF-JXcIu2Sj8,2495
|
|
61
61
|
huaweicloudsdkcae/v1/model/create_component_request.py,sha256=D3E9JG6990BD2ZfjTH4mY3bixGFYLagPJ5pp8LB_Jtw,8344
|
|
62
|
-
huaweicloudsdkcae/v1/model/create_component_request_body.py,sha256=
|
|
63
|
-
huaweicloudsdkcae/v1/model/create_component_request_body_metadata.py,sha256=FS8yqJMuGjfLs-cg8kI7lt6AQFOJA-oL9mWUXCFA9yI,4174
|
|
64
|
-
huaweicloudsdkcae/v1/model/create_component_request_body_spec.py,sha256=j0efl_HOt6dUgxSvXBr4E0dpJKOmK0p6jcY7NGXcw-4,7217
|
|
62
|
+
huaweicloudsdkcae/v1/model/create_component_request_body.py,sha256=KGRfx_e405X7vDBrcxmv8o424OH7Pt-baOyPcshHdtQ,5892
|
|
65
63
|
huaweicloudsdkcae/v1/model/create_component_response.py,sha256=9mVp3VK48wIG41OCJeY0TEOfxqW7lcsp_L2htCGVJiM,5772
|
|
66
64
|
huaweicloudsdkcae/v1/model/create_component_spec.py,sha256=OoYkksoNING4zV9kzso6sHGeIq3rr3zWC4jPp6Wv3HQ,8704
|
|
65
|
+
huaweicloudsdkcae/v1/model/create_component_with_configuration_request.py,sha256=ZyXVnepMkuZ5RwELfqUG88_-US5yYmDddZomOIkVvws,8752
|
|
66
|
+
huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body.py,sha256=SUo9hw1teSPlE-R9uj-jYKWTKfFk9TX7IYzi9CTtaS4,7396
|
|
67
|
+
huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_metadata.py,sha256=4vUPluyWIrDr_NDu8qqlkNP40ECnQd22S78gO1_K7RA,4361
|
|
68
|
+
huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_spec.py,sha256=DCL9Tve-SAui-p0v8oU8EFj_AJxB040Q_-nJx_oQXpM,7676
|
|
69
|
+
huaweicloudsdkcae/v1/model/create_component_with_configuration_response.py,sha256=YroIC4SONlrwRZ8qAl4YZqG7_1hXbiPuB38kxMpKh5c,8300
|
|
70
|
+
huaweicloudsdkcae/v1/model/create_component_with_configuration_response_body_status.py,sha256=yPdKNMaNs27RCU309R8C2a97HHAs-Q-SYAyTlLNLL8s,3242
|
|
67
71
|
huaweicloudsdkcae/v1/model/create_domain_req.py,sha256=BvGgQvzzNRQ0SlryFoBpj1x_QuBvNPspvNWqNwlaOg8,4633
|
|
68
72
|
huaweicloudsdkcae/v1/model/create_domain_request.py,sha256=8qgYZ1qH64Z6jvWWDc1otIiqufPI8hAiQztAannX5qs,7389
|
|
69
73
|
huaweicloudsdkcae/v1/model/create_domain_response.py,sha256=9tAjNCruPw_19jyaEMOUuOg3ao9wcCQg35241CKZLpo,4988
|
|
@@ -239,8 +243,8 @@ huaweicloudsdkcae/v1/model/vpc_egress_request_body_spec.py,sha256=UOWANus9wddqNC
|
|
|
239
243
|
huaweicloudsdkcae/v1/model/vpc_egress_response_body_spec.py,sha256=CF7CeqWOcGrevnTBeLYHDXcDnerM01A0z3Gc5n6l4Ok,4816
|
|
240
244
|
huaweicloudsdkcae/v1/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
241
245
|
huaweicloudsdkcae/v1/region/cae_region.py,sha256=jwRHLF_CPoikdZ37-x0FehGQx6cPnz6zvu7BuXBFA-0,1536
|
|
242
|
-
huaweicloudsdkcae-3.1.
|
|
243
|
-
huaweicloudsdkcae-3.1.
|
|
244
|
-
huaweicloudsdkcae-3.1.
|
|
245
|
-
huaweicloudsdkcae-3.1.
|
|
246
|
-
huaweicloudsdkcae-3.1.
|
|
246
|
+
huaweicloudsdkcae-3.1.101.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
|
247
|
+
huaweicloudsdkcae-3.1.101.dist-info/METADATA,sha256=om7gqj_BSHgaubAmZ7t6lO-BnMCrn54PluqalmDjM7o,1136
|
|
248
|
+
huaweicloudsdkcae-3.1.101.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
249
|
+
huaweicloudsdkcae-3.1.101.dist-info/top_level.txt,sha256=bSiBgsEXtNwy-Yv8143HEaMChUEIffdz2t9FM-26QjM,18
|
|
250
|
+
huaweicloudsdkcae-3.1.101.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|