huaweicloudsdkworkspace 3.1.105__py2.py3-none-any.whl → 3.1.107__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 huaweicloudsdkworkspace might be problematic. Click here for more details.

@@ -17,6 +17,8 @@ class Record:
17
17
  sensitive_list = []
18
18
 
19
19
  openapi_types = {
20
+ 'sid': 'str',
21
+ 'transaction_id': 'str',
20
22
  'computer_name': 'str',
21
23
  'user_name': 'str',
22
24
  'terminal_mac': 'str',
@@ -30,10 +32,14 @@ class Record:
30
32
  'connection_setup_time': 'str',
31
33
  'connection_end_time': 'str',
32
34
  'is_reconnect': 'bool',
33
- 'connection_failure_reason': 'str'
35
+ 'connection_failure_reason': 'str',
36
+ 'network_rtt': 'int',
37
+ 'e2e_rtt': 'int'
34
38
  }
35
39
 
36
40
  attribute_map = {
41
+ 'sid': 'sid',
42
+ 'transaction_id': 'transaction_id',
37
43
  'computer_name': 'computer_name',
38
44
  'user_name': 'user_name',
39
45
  'terminal_mac': 'terminal_mac',
@@ -47,14 +53,20 @@ class Record:
47
53
  'connection_setup_time': 'connection_setup_time',
48
54
  'connection_end_time': 'connection_end_time',
49
55
  'is_reconnect': 'is_reconnect',
50
- 'connection_failure_reason': 'connection_failure_reason'
56
+ 'connection_failure_reason': 'connection_failure_reason',
57
+ 'network_rtt': 'network_rtt',
58
+ 'e2e_rtt': 'e2e_rtt'
51
59
  }
52
60
 
53
- def __init__(self, computer_name=None, user_name=None, terminal_mac=None, terminal_name=None, terminal_ip=None, client_version=None, terminal_type=None, agent_version=None, desktop_ip=None, connection_start_time=None, connection_setup_time=None, connection_end_time=None, is_reconnect=None, connection_failure_reason=None):
61
+ def __init__(self, sid=None, transaction_id=None, computer_name=None, user_name=None, terminal_mac=None, terminal_name=None, terminal_ip=None, client_version=None, terminal_type=None, agent_version=None, desktop_ip=None, connection_start_time=None, connection_setup_time=None, connection_end_time=None, is_reconnect=None, connection_failure_reason=None, network_rtt=None, e2e_rtt=None):
54
62
  """Record
55
63
 
56
64
  The model defined in huaweicloud sdk
57
65
 
66
+ :param sid: 桌面sid
67
+ :type sid: str
68
+ :param transaction_id: 事务id
69
+ :type transaction_id: str
58
70
  :param computer_name: 计算机名。
59
71
  :type computer_name: str
60
72
  :param user_name: 用户名。
@@ -83,10 +95,16 @@ class Record:
83
95
  :type is_reconnect: bool
84
96
  :param connection_failure_reason: 连接失败原因。
85
97
  :type connection_failure_reason: str
98
+ :param network_rtt: 网络时延ms
99
+ :type network_rtt: int
100
+ :param e2e_rtt: 端到端时延 ms
101
+ :type e2e_rtt: int
86
102
  """
87
103
 
88
104
 
89
105
 
106
+ self._sid = None
107
+ self._transaction_id = None
90
108
  self._computer_name = None
91
109
  self._user_name = None
92
110
  self._terminal_mac = None
@@ -101,8 +119,14 @@ class Record:
101
119
  self._connection_end_time = None
102
120
  self._is_reconnect = None
103
121
  self._connection_failure_reason = None
122
+ self._network_rtt = None
123
+ self._e2e_rtt = None
104
124
  self.discriminator = None
105
125
 
126
+ if sid is not None:
127
+ self.sid = sid
128
+ if transaction_id is not None:
129
+ self.transaction_id = transaction_id
106
130
  if computer_name is not None:
107
131
  self.computer_name = computer_name
108
132
  if user_name is not None:
@@ -131,6 +155,54 @@ class Record:
131
155
  self.is_reconnect = is_reconnect
132
156
  if connection_failure_reason is not None:
133
157
  self.connection_failure_reason = connection_failure_reason
158
+ if network_rtt is not None:
159
+ self.network_rtt = network_rtt
160
+ if e2e_rtt is not None:
161
+ self.e2e_rtt = e2e_rtt
162
+
163
+ @property
164
+ def sid(self):
165
+ """Gets the sid of this Record.
166
+
167
+ 桌面sid
168
+
169
+ :return: The sid of this Record.
170
+ :rtype: str
171
+ """
172
+ return self._sid
173
+
174
+ @sid.setter
175
+ def sid(self, sid):
176
+ """Sets the sid of this Record.
177
+
178
+ 桌面sid
179
+
180
+ :param sid: The sid of this Record.
181
+ :type sid: str
182
+ """
183
+ self._sid = sid
184
+
185
+ @property
186
+ def transaction_id(self):
187
+ """Gets the transaction_id of this Record.
188
+
189
+ 事务id
190
+
191
+ :return: The transaction_id of this Record.
192
+ :rtype: str
193
+ """
194
+ return self._transaction_id
195
+
196
+ @transaction_id.setter
197
+ def transaction_id(self, transaction_id):
198
+ """Sets the transaction_id of this Record.
199
+
200
+ 事务id
201
+
202
+ :param transaction_id: The transaction_id of this Record.
203
+ :type transaction_id: str
204
+ """
205
+ self._transaction_id = transaction_id
134
206
 
135
207
  @property
136
208
  def computer_name(self):
@@ -440,6 +512,50 @@ class Record:
440
512
  """
441
513
  self._connection_failure_reason = connection_failure_reason
442
514
 
515
+ @property
516
+ def network_rtt(self):
517
+ """Gets the network_rtt of this Record.
518
+
519
+ 网络时延ms
520
+
521
+ :return: The network_rtt of this Record.
522
+ :rtype: int
523
+ """
524
+ return self._network_rtt
525
+
526
+ @network_rtt.setter
527
+ def network_rtt(self, network_rtt):
528
+ """Sets the network_rtt of this Record.
529
+
530
+ 网络时延ms
531
+
532
+ :param network_rtt: The network_rtt of this Record.
533
+ :type network_rtt: int
534
+ """
535
+ self._network_rtt = network_rtt
536
+
537
+ @property
538
+ def e2e_rtt(self):
539
+ """Gets the e2e_rtt of this Record.
540
+
541
+ 端到端时延 ms
542
+
543
+ :return: The e2e_rtt of this Record.
544
+ :rtype: int
545
+ """
546
+ return self._e2e_rtt
547
+
548
+ @e2e_rtt.setter
549
+ def e2e_rtt(self, e2e_rtt):
550
+ """Sets the e2e_rtt of this Record.
551
+
552
+ 端到端时延 ms
553
+
554
+ :param e2e_rtt: The e2e_rtt of this Record.
555
+ :type e2e_rtt: int
556
+ """
557
+ self._e2e_rtt = e2e_rtt
558
+
443
559
  def to_dict(self):
444
560
  """Returns the model properties as a dict"""
445
561
  result = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkworkspace
3
- Version: 3.1.105
3
+ Version: 3.1.107
4
4
  Summary: Workspace
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.105
25
+ Requires-Dist: huaweicloudsdkcore >=3.1.107
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
@@ -257,7 +257,7 @@ huaweicloudsdkworkspace/v2/model/query_desktop_by_tag_req.py,sha256=na3oiv-y63JP
257
257
  huaweicloudsdkworkspace/v2/model/quota_no_limit.py,sha256=GY_d6XaTAwSCfi6nhS4GTbS3r_wyVTMzDkAN8gJE0gQ,3208
258
258
  huaweicloudsdkworkspace/v2/model/rebuild_desktops_req.py,sha256=bKmW6Kugyl8w0JGkug1YhVA37x22ky_u1cRSUmcNxaI,9375
259
259
  huaweicloudsdkworkspace/v2/model/receive_mode_enum.py,sha256=OxZVCKeOajPgtbybc8mKmI-MyeqhH1kQ9WRQXrIBxyo,2378
260
- huaweicloudsdkworkspace/v2/model/record.py,sha256=7UAIW4b_FguE8PfKrg0MCiRGLpzSNzi8wX6oux--yEQ,14565
260
+ huaweicloudsdkworkspace/v2/model/record.py,sha256=Ht4pMSBfY1Rw0wficWwFkTsstF_nyBrYbBbvuUx0n-Q,17465
261
261
  huaweicloudsdkworkspace/v2/model/reset_random_password_request.py,sha256=ZGuVnoyjKWew5CUTONGZHV7YwVD0VJfH3UcpVebLJ4k,4542
262
262
  huaweicloudsdkworkspace/v2/model/reset_random_password_response.py,sha256=wWYplmcwD0BLEhijubFIXUVfW9QvPOIyJ2y5BPl4TyY,3241
263
263
  huaweicloudsdkworkspace/v2/model/resize_desktop_data.py,sha256=KKf1uFfGoL-YwJH8DGV-eITB7Tf15yUUnsxYWHc7AGU,3103
@@ -347,8 +347,8 @@ huaweicloudsdkworkspace/v2/model/volume_detail.py,sha256=EadIl0qszTD9oQEGiRlmZrb
347
347
  huaweicloudsdkworkspace/v2/model/vpc.py,sha256=rKqAU5vZK4Y059h5LIFxWfWefxsgiERApZaw3Wm5qlY,4099
348
348
  huaweicloudsdkworkspace/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
349
349
  huaweicloudsdkworkspace/v2/region/workspace_region.py,sha256=sQ3AfV2rupDNT_nxIFCCXOLNLg-jtEI6B4CSXUYeof8,2359
350
- huaweicloudsdkworkspace-3.1.105.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
351
- huaweicloudsdkworkspace-3.1.105.dist-info/METADATA,sha256=D3HKVYK0iaNGjuy8KIW8g7Lfi1TsvLEUt_L1NR_frIg,1154
352
- huaweicloudsdkworkspace-3.1.105.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
353
- huaweicloudsdkworkspace-3.1.105.dist-info/top_level.txt,sha256=Iqj0R-5g-jAYosVE4_il8rB8wRuaDb2fefMXUBmIAs4,24
354
- huaweicloudsdkworkspace-3.1.105.dist-info/RECORD,,
350
+ huaweicloudsdkworkspace-3.1.107.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
351
+ huaweicloudsdkworkspace-3.1.107.dist-info/METADATA,sha256=696lYBCPfczGhou05u90MgmkqdtbBdYe4wgptMtZCDI,1154
352
+ huaweicloudsdkworkspace-3.1.107.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
353
+ huaweicloudsdkworkspace-3.1.107.dist-info/top_level.txt,sha256=Iqj0R-5g-jAYosVE4_il8rB8wRuaDb2fefMXUBmIAs4,24
354
+ huaweicloudsdkworkspace-3.1.107.dist-info/RECORD,,