The details of migration addresses.
+ */
@NameInMap("ImportAddressList")
public ListAddressResp importAddressList;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAgentRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListAgentRequest.java
similarity index 75%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAgentRequest.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListAgentRequest.java
index a8adfd33..f0e9db41 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAgentRequest.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListAgentRequest.java
@@ -1,10 +1,14 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class ListAgentRequest extends TeaModel {
/**
+ * Specifies the number of agents to be returned.\
+ * Valid values: 0 - 1000.\
+ * Default value: 1000.
+ *
* The marker after which the agents are listed.\
+ * By default, this parameter is left empty.
+ *
*
*/
@NameInMap("NextMarker")
public String nextMarker;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAgentResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListAgentResponse.java
similarity index 95%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAgentResponse.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListAgentResponse.java
index 3d6ef435..bb29760d 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAgentResponse.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListAgentResponse.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAgentResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListAgentResponseBody.java
similarity index 86%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAgentResponseBody.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListAgentResponseBody.java
index d17dcf37..22ddc535 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListAgentResponseBody.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListAgentResponseBody.java
@@ -1,9 +1,12 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class ListAgentResponseBody extends TeaModel {
+ /**
+ * The details of the agents.
+ */
@NameInMap("ImportAgentList")
public ListAgentResp importAgentList;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryRequest.java
similarity index 67%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryRequest.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryRequest.java
index cef09fe3..c0d5dd4d 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryRequest.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryRequest.java
@@ -1,20 +1,33 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class ListJobHistoryRequest extends TeaModel {
/**
+ * Specifies the number of running records of the migration task to be returned.\
+ * Valid values: 0 - 1000.\
+ * Default value: 1000.
+ *
* example:
* 100
*/
@NameInMap("count")
public Integer count;
+ /**
+ * The marker after which the running history of the task is listed.\
+ * By default, this parameter is left empty.
+ *
+ * example:
+ * test_marker
+ */
@NameInMap("marker")
public String marker;
/**
+ * The execution ID of the task. If you specify an execution ID, only the running history related to the execution ID is listed.
+ *
* example:
* 1
*/
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryResp.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryResp.java
similarity index 94%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryResp.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryResp.java
index 1208c72d..4018d00e 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryResp.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryResp.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
@@ -9,7 +9,7 @@ public class ListJobHistoryResp extends TeaModel {
/**
* example:
- * test_next_marker
+ * 1#3
*/
@NameInMap("NextMarker")
public String nextMarker;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryResponse.java
similarity index 95%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryResponse.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryResponse.java
index 23d9acfd..0b4330d0 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryResponse.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryResponse.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryResponseBody.java
similarity index 85%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryResponseBody.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryResponseBody.java
index c09f20df..71288206 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobHistoryResponseBody.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobHistoryResponseBody.java
@@ -1,9 +1,12 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class ListJobHistoryResponseBody extends TeaModel {
+ /**
+ * The running history of the migration task.
+ */
@NameInMap("JobHistoryList")
public ListJobHistoryResp jobHistoryList;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobInfo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobInfo.java
similarity index 94%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobInfo.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobInfo.java
index df508da2..fcfe36d3 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobInfo.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobInfo.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
@@ -9,7 +9,7 @@ public class ListJobInfo extends TeaModel {
/**
* example:
- * test_next_marker
+ *
*/
@NameInMap("NextMarker")
public String nextMarker;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobRequest.java
similarity index 73%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobRequest.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobRequest.java
index c3a56a2b..59351e33 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobRequest.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobRequest.java
@@ -1,10 +1,13 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class ListJobRequest extends TeaModel {
/**
+ * Specifies whether to return subtasks.\
+ * Valid values: true and false.
+ *
* example:
* true
*/
@@ -12,6 +15,10 @@ public class ListJobRequest extends TeaModel {
public Boolean all;
/**
+ * Specifies the number of migration tasks to be returned.\
+ * Valid values: 0 - 1000 (excluding 0).\
+ * Default value: 1000.
+ *
* example:
* 1000
*/
@@ -19,6 +26,9 @@ public class ListJobRequest extends TeaModel {
public Integer count;
/**
+ * The marker after which the migration tasks are listed.\
+ * By default, this parameter is left empty.
+ *
* example:
* test_marker
*/
@@ -26,6 +36,8 @@ public class ListJobRequest extends TeaModel {
public String marker;
/**
+ * The name of the parent task. If this parameter is specified, all subtasks of the parent task are returned.
+ *
* example:
* test_parent_job_name
*/
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobResp.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobResp.java
similarity index 85%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobResp.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobResp.java
index 24ae142f..d35602b3 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobResp.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobResp.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
@@ -7,9 +7,17 @@ public class ListJobResp extends TeaModel {
@NameInMap("ImportJob")
public java.util.List importJob;
+ /**
+ * example:
+ *
+ */
@NameInMap("NextMarker")
public String nextMarker;
+ /**
+ * example:
+ * true
+ */
@NameInMap("Truncated")
public Boolean truncated;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobResponse.java
similarity index 95%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobResponse.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobResponse.java
index fbd9a75e..dff7ee69 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobResponse.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobResponse.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobResponseBody.java
similarity index 85%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobResponseBody.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobResponseBody.java
index 73780ce1..3ada06eb 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListJobResponseBody.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListJobResponseBody.java
@@ -1,9 +1,12 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class ListJobResponseBody extends TeaModel {
+ /**
+ * The queried migration tasks.
+ */
@NameInMap("ImportJobList")
public ListJobResp importJobList;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelRequest.java
similarity index 75%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelRequest.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelRequest.java
index 17e07f50..e8f5f55c 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelRequest.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelRequest.java
@@ -1,10 +1,14 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class ListTunnelRequest extends TeaModel {
/**
+ * Specifies the number of tunnels to be returned.\
+ * Valid values: 0 - 1000.\
+ * Default value: 1000.
+ *
* example:
* 2
*/
@@ -12,6 +16,9 @@ public class ListTunnelRequest extends TeaModel {
public Integer count;
/**
+ * The marker after which tunnels are listed.\
+ * By default, this parameter is left empty.
+ *
* example:
* 1
*/
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelResp.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelResp.java
similarity index 95%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelResp.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelResp.java
index 0d40d005..143d3046 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelResp.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelResp.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelResponse.java
similarity index 95%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelResponse.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelResponse.java
index 33634c97..51d31461 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelResponse.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelResponse.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelResponseBody.java
similarity index 88%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelResponseBody.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelResponseBody.java
index b6f8ccf2..5197414c 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ListTunnelResponseBody.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ListTunnelResponseBody.java
@@ -1,11 +1,11 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class ListTunnelResponseBody extends TeaModel {
/**
- * 2
+ * The details of the tunnels.
*/
@NameInMap("ImportTunnelList")
public ListTunnelResp importTunnelList;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ScheduleRule.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ScheduleRule.java
similarity index 96%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ScheduleRule.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ScheduleRule.java
index 6af7cd82..0a16801c 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/ScheduleRule.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/ScheduleRule.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TimeFilter.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/TimeFilter.java
similarity index 93%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TimeFilter.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/TimeFilter.java
index 73e2db5b..b053dda5 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TimeFilter.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/TimeFilter.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TunnelQos.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/TunnelQos.java
similarity index 94%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TunnelQos.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/TunnelQos.java
index dece8b85..8d5310a9 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/TunnelQos.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/TunnelQos.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateAddressInfo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateAddressInfo.java
similarity index 91%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateAddressInfo.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateAddressInfo.java
index a44d5877..4e9b1307 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateAddressInfo.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateAddressInfo.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateAddressRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateAddressRequest.java
similarity index 84%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateAddressRequest.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateAddressRequest.java
index 6a3801b8..f59ccd6f 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateAddressRequest.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateAddressRequest.java
@@ -1,9 +1,12 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class UpdateAddressRequest extends TeaModel {
+ /**
+ * The details for updating the data address.
+ */
@NameInMap("ImportAddress")
public UpdateAddressInfo importAddress;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateAddressResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateAddressResponse.java
similarity index 94%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateAddressResponse.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateAddressResponse.java
index ca8e16a0..89b27605 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateAddressResponse.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateAddressResponse.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateJobInfo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateJobInfo.java
similarity index 94%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateJobInfo.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateJobInfo.java
index b929d306..e5135686 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateJobInfo.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateJobInfo.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateJobRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateJobRequest.java
similarity index 83%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateJobRequest.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateJobRequest.java
index 1148ae5e..9d145a99 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateJobRequest.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateJobRequest.java
@@ -1,9 +1,12 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class UpdateJobRequest extends TeaModel {
+ /**
+ * The details for updating the task.
+ */
@NameInMap("ImportJob")
public UpdateJobInfo importJob;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateJobResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateJobResponse.java
similarity index 94%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateJobResponse.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateJobResponse.java
index adf2b5cf..3bff107a 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateJobResponse.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateJobResponse.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateTunnelInfo.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateTunnelInfo.java
similarity index 86%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateTunnelInfo.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateTunnelInfo.java
index 39614561..1193df16 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateTunnelInfo.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateTunnelInfo.java
@@ -1,9 +1,13 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class UpdateTunnelInfo extends TeaModel {
+ /**
+ * example:
+ * k1=v1;k2=v2
+ */
@NameInMap("Tags")
public String tags;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateTunnelRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateTunnelRequest.java
similarity index 84%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateTunnelRequest.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateTunnelRequest.java
index f0a9a2c6..147a44e0 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateTunnelRequest.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateTunnelRequest.java
@@ -1,9 +1,12 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class UpdateTunnelRequest extends TeaModel {
+ /**
+ * The details for updating the tunnel.
+ */
@NameInMap("ImportTunnel")
public UpdateTunnelInfo importTunnel;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateTunnelResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateTunnelResponse.java
similarity index 94%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateTunnelResponse.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateTunnelResponse.java
index 97251230..9b888eed 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/UpdateTunnelResponse.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/UpdateTunnelResponse.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyAddressResp.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyAddressResp.java
similarity index 96%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyAddressResp.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyAddressResp.java
index e7b59658..f5706c5d 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyAddressResp.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyAddressResp.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyAddressResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyAddressResponse.java
similarity index 95%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyAddressResponse.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyAddressResponse.java
index 950ed966..2969067a 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyAddressResponse.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyAddressResponse.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyAddressResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyAddressResponseBody.java
similarity index 87%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyAddressResponseBody.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyAddressResponseBody.java
index 7b2e865d..75e9cdac 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyAddressResponseBody.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyAddressResponseBody.java
@@ -1,11 +1,11 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
public class VerifyAddressResponseBody extends TeaModel {
/**
- * 1
+ * The details for verifying the data address.
*/
@NameInMap("VerifyAddressResponse")
public VerifyAddressResp verifyAddressResponse;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyResp.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyResp.java
similarity index 95%
rename from alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyResp.java
rename to alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyResp.java
index 64a93aec..25531d1b 100644
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/VerifyResp.java
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/hcs_mgw_models/VerifyResp.java
@@ -1,5 +1,5 @@
// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
+package com.aliyun.gateway.oss.util.hcs_mgw_models;
import com.aliyun.tea.*;
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketOverwriteConfigResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketOverwriteConfigResponse.java
new file mode 100644
index 00000000..d8466582
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/DeleteBucketOverwriteConfigResponse.java
@@ -0,0 +1,34 @@
+// This file is auto-generated, don't edit it. Thanks.
+package com.aliyun.gateway.oss.util.models;
+
+import com.aliyun.tea.*;
+
+public class DeleteBucketOverwriteConfigResponse extends TeaModel {
+ @NameInMap("headers")
+ public java.util.Map headers;
+
+ @NameInMap("statusCode")
+ public Integer statusCode;
+
+ public static DeleteBucketOverwriteConfigResponse build(java.util.Map map) throws Exception {
+ DeleteBucketOverwriteConfigResponse self = new DeleteBucketOverwriteConfigResponse();
+ return TeaModel.build(map, self);
+ }
+
+ public DeleteBucketOverwriteConfigResponse setHeaders(java.util.Map headers) {
+ this.headers = headers;
+ return this;
+ }
+ public java.util.Map getHeaders() {
+ return this.headers;
+ }
+
+ public DeleteBucketOverwriteConfigResponse setStatusCode(Integer statusCode) {
+ this.statusCode = statusCode;
+ return this;
+ }
+ public Integer getStatusCode() {
+ return this.statusCode;
+ }
+
+}
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAgentStatusResp.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAgentStatusResp.java
deleted file mode 100644
index 93093a45..00000000
--- a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetAgentStatusResp.java
+++ /dev/null
@@ -1,27 +0,0 @@
-// This file is auto-generated, don't edit it. Thanks.
-package com.aliyun.gateway.oss.util.models;
-
-import com.aliyun.tea.*;
-
-public class GetAgentStatusResp extends TeaModel {
- /**
- * example:
- * OK
- */
- @NameInMap("Status")
- public String status;
-
- public static GetAgentStatusResp build(java.util.Map map) throws Exception {
- GetAgentStatusResp self = new GetAgentStatusResp();
- return TeaModel.build(map, self);
- }
-
- public GetAgentStatusResp setStatus(String status) {
- this.status = status;
- return this;
- }
- public String getStatus() {
- return this.status;
- }
-
-}
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketOverwriteConfigResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketOverwriteConfigResponse.java
new file mode 100644
index 00000000..cdaccf09
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketOverwriteConfigResponse.java
@@ -0,0 +1,45 @@
+// This file is auto-generated, don't edit it. Thanks.
+package com.aliyun.gateway.oss.util.models;
+
+import com.aliyun.tea.*;
+
+public class GetBucketOverwriteConfigResponse extends TeaModel {
+ @NameInMap("headers")
+ public java.util.Map headers;
+
+ @NameInMap("statusCode")
+ public Integer statusCode;
+
+ @NameInMap("body")
+ public GetBucketOverwriteConfigResponseBody body;
+
+ public static GetBucketOverwriteConfigResponse build(java.util.Map map) throws Exception {
+ GetBucketOverwriteConfigResponse self = new GetBucketOverwriteConfigResponse();
+ return TeaModel.build(map, self);
+ }
+
+ public GetBucketOverwriteConfigResponse setHeaders(java.util.Map headers) {
+ this.headers = headers;
+ return this;
+ }
+ public java.util.Map getHeaders() {
+ return this.headers;
+ }
+
+ public GetBucketOverwriteConfigResponse setStatusCode(Integer statusCode) {
+ this.statusCode = statusCode;
+ return this;
+ }
+ public Integer getStatusCode() {
+ return this.statusCode;
+ }
+
+ public GetBucketOverwriteConfigResponse setBody(GetBucketOverwriteConfigResponseBody body) {
+ this.body = body;
+ return this;
+ }
+ public GetBucketOverwriteConfigResponseBody getBody() {
+ return this.body;
+ }
+
+}
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketOverwriteConfigResponseBody.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketOverwriteConfigResponseBody.java
new file mode 100644
index 00000000..54d6dd46
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/GetBucketOverwriteConfigResponseBody.java
@@ -0,0 +1,23 @@
+// This file is auto-generated, don't edit it. Thanks.
+package com.aliyun.gateway.oss.util.models;
+
+import com.aliyun.tea.*;
+
+public class GetBucketOverwriteConfigResponseBody extends TeaModel {
+ @NameInMap("OverwriteConfiguration")
+ public OverwriteConfiguration overwriteConfiguration;
+
+ public static GetBucketOverwriteConfigResponseBody build(java.util.Map map) throws Exception {
+ GetBucketOverwriteConfigResponseBody self = new GetBucketOverwriteConfigResponseBody();
+ return TeaModel.build(map, self);
+ }
+
+ public GetBucketOverwriteConfigResponseBody setOverwriteConfiguration(OverwriteConfiguration overwriteConfiguration) {
+ this.overwriteConfiguration = overwriteConfiguration;
+ return this;
+ }
+ public OverwriteConfiguration getOverwriteConfiguration() {
+ return this.overwriteConfiguration;
+ }
+
+}
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketOverwriteConfigRequest.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketOverwriteConfigRequest.java
new file mode 100644
index 00000000..7a54a6a6
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketOverwriteConfigRequest.java
@@ -0,0 +1,23 @@
+// This file is auto-generated, don't edit it. Thanks.
+package com.aliyun.gateway.oss.util.models;
+
+import com.aliyun.tea.*;
+
+public class PutBucketOverwriteConfigRequest extends TeaModel {
+ @NameInMap("OverwriteConfiguration")
+ public OverwriteConfiguration overwriteConfiguration;
+
+ public static PutBucketOverwriteConfigRequest build(java.util.Map map) throws Exception {
+ PutBucketOverwriteConfigRequest self = new PutBucketOverwriteConfigRequest();
+ return TeaModel.build(map, self);
+ }
+
+ public PutBucketOverwriteConfigRequest setOverwriteConfiguration(OverwriteConfiguration overwriteConfiguration) {
+ this.overwriteConfiguration = overwriteConfiguration;
+ return this;
+ }
+ public OverwriteConfiguration getOverwriteConfiguration() {
+ return this.overwriteConfiguration;
+ }
+
+}
diff --git a/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketOverwriteConfigResponse.java b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketOverwriteConfigResponse.java
new file mode 100644
index 00000000..097b5e56
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/java/src/main/java/com/aliyun/gateway/oss/util/models/PutBucketOverwriteConfigResponse.java
@@ -0,0 +1,34 @@
+// This file is auto-generated, don't edit it. Thanks.
+package com.aliyun.gateway.oss.util.models;
+
+import com.aliyun.tea.*;
+
+public class PutBucketOverwriteConfigResponse extends TeaModel {
+ @NameInMap("headers")
+ public java.util.Map headers;
+
+ @NameInMap("statusCode")
+ public Integer statusCode;
+
+ public static PutBucketOverwriteConfigResponse build(java.util.Map map) throws Exception {
+ PutBucketOverwriteConfigResponse self = new PutBucketOverwriteConfigResponse();
+ return TeaModel.build(map, self);
+ }
+
+ public PutBucketOverwriteConfigResponse setHeaders(java.util.Map headers) {
+ this.headers = headers;
+ return this;
+ }
+ public java.util.Map getHeaders() {
+ return this.headers;
+ }
+
+ public PutBucketOverwriteConfigResponse setStatusCode(Integer statusCode) {
+ this.statusCode = statusCode;
+ return this;
+ }
+ public Integer getStatusCode() {
+ return this.statusCode;
+ }
+
+}
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/__init__.py b/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/__init__.py
index 27fdca49..b1a19e32 100644
--- a/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/__init__.py
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/__init__.py
@@ -1 +1 @@
-__version__ = "0.0.3"
+__version__ = "0.0.5"
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/client.py b/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/client.py
index b35cd402..e25f1cd8 100644
--- a/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/client.py
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/client.py
@@ -4,14 +4,14 @@
# import alibabacloud_tea_xml.client
from Tea.model import TeaModel
-from typing import Dict
+from typing import Dict, get_type_hints
from xml.etree import ElementTree
from collections import defaultdict
import inspect
from typing_extensions import get_origin, get_args
from Tea.exceptions import RequiredArgumentException
from .structs import *
-
+from alibabacloud_hcs_mgw20240626 import models as hcs_mgw_models
basic_instance = {}
basic_instance[str] = ''
@@ -22,16 +22,16 @@
def build_instance_from_model(model):
if model in basic_instance:
return basic_instance[model]
- sig = inspect.signature(model.__init__)
params = {}
- for para_name, param in sig.parameters.items():
+ type_hints = get_type_hints(model.__init__, globalns=globals(), localns=locals())
+ for para_name, param in type_hints.items():
if para_name == "self":
continue
- origin_type = get_origin(param.annotation)
+ origin_type = get_origin(param)
if origin_type is not None and issubclass(origin_type, list):
- params[para_name] = [build_instance_from_model(get_args(param.annotation)[0])]
+ params[para_name] = [build_instance_from_model(get_args(param)[0])]
else:
- params[para_name] = build_instance_from_model(param.annotation)
+ params[para_name] = build_instance_from_model(param)
return model(**params)
@@ -150,27 +150,31 @@ def build_instance_from_model(model):
instanceRegistry["StartDataLakeStorageTransferJob"] = build_instance_from_model(StartDataLakeStorageTransferJobResponseBody)
instanceRegistry["StartPartUpload"] = build_instance_from_model(StartPartUploadResponseBody)
instanceRegistry["UploadPartCopy"] = build_instance_from_model(UploadPartCopyResponseBody)
+instanceRegistry["GetBucketOverwriteConfig"] = build_instance_from_model(GetBucketOverwriteConfigResponseBody)
# for hcs-mgw
-instanceRegistry["GetAddress"] = build_instance_from_model(GetAddressResponseBody)
-instanceRegistry["GetAgent"] = build_instance_from_model(GetAgentResponseBody)
-instanceRegistry["GetAgentStatus"] = build_instance_from_model(GetAgentStatusResponseBody)
-instanceRegistry["GetJob"] = build_instance_from_model(GetJobResponseBody)
-instanceRegistry["GetJobResult"] = build_instance_from_model(GetJobResultResponseBody)
-instanceRegistry["GetReport"] = build_instance_from_model(GetReportResponseBody)
-instanceRegistry["GetTunnel"] = build_instance_from_model(GetTunnelResponseBody)
-instanceRegistry["ListAddress"] = build_instance_from_model(ListAddressResponseBody)
-instanceRegistry["ListAgent"] = build_instance_from_model(ListAgentResponseBody)
-instanceRegistry["ListJob"] = build_instance_from_model(ListJobResponseBody)
-instanceRegistry["ListJobHistory"] = build_instance_from_model(ListJobHistoryResponseBody)
-instanceRegistry["ListTunnel"] = build_instance_from_model(ListTunnelResponseBody)
-instanceRegistry["VerifyAddress"] = build_instance_from_model(VerifyAddressResponseBody)
+main_models = hcs_mgw_models
+instanceRegistry["GetAddress"] = build_instance_from_model(main_models.GetAddressResponseBody)
+instanceRegistry["GetAgent"] = build_instance_from_model(main_models.GetAgentResponseBody)
+instanceRegistry["GetAgentStatus"] = build_instance_from_model(main_models.GetAgentStatusResponseBody)
+instanceRegistry["GetJob"] = build_instance_from_model(main_models.GetJobResponseBody)
+instanceRegistry["GetJobResult"] = build_instance_from_model(main_models.GetJobResultResponseBody)
+instanceRegistry["GetReport"] = build_instance_from_model(main_models.GetReportResponseBody)
+instanceRegistry["GetTunnel"] = build_instance_from_model(main_models.GetTunnelResponseBody)
+instanceRegistry["ListAddress"] = build_instance_from_model(main_models.ListAddressResponseBody)
+instanceRegistry["ListAgent"] = build_instance_from_model(main_models.ListAgentResponseBody)
+instanceRegistry["ListJob"] = build_instance_from_model(main_models.ListJobResponseBody)
+instanceRegistry["ListJobHistory"] = build_instance_from_model(main_models.ListJobHistoryResponseBody)
+instanceRegistry["ListTunnel"] = build_instance_from_model(main_models.ListTunnelResponseBody)
+instanceRegistry["VerifyAddress"] = build_instance_from_model(main_models.VerifyAddressResponseBody)
class Client:
@staticmethod
def __parse_xml_impl(t, m):
+ if t.tag not in m:
+ return {}
d = {t.tag: {} if t.attrib else None}
children = list(t)
if children:
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/structs.py b/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/structs.py
index ba8b82c4..1248db5e 100644
--- a/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/structs.py
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_gateway_oss_util/structs.py
@@ -34960,6 +34960,346 @@ def from_map(self, m: dict = None):
self.status_code = m.get('statusCode')
return self
+
+class OverwriteConfigurationRulePrincipals(TeaModel):
+ def __init__(
+ self,
+ principal: List[str] = None,
+ ):
+ self.principal = principal
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.principal is not None:
+ result['Principal'] = self.principal
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('Principal') is not None:
+ self.principal = m.get('Principal')
+
+ return self
+
+
+class OverwriteConfigurationRule(TeaModel):
+ def __init__(
+ self,
+ action: str = None,
+ id: str = None,
+ prefix: str = None,
+ principals: OverwriteConfigurationRulePrincipals = None,
+ suffix: str = None,
+ ):
+ self.action = action
+ self.id = id
+ self.prefix = prefix
+ self.principals = principals
+ self.suffix = suffix
+
+ def validate(self):
+ if self.principals:
+ self.principals.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.action is not None:
+ result['Action'] = self.action
+
+ if self.id is not None:
+ result['ID'] = self.id
+
+ if self.prefix is not None:
+ result['Prefix'] = self.prefix
+
+ if self.principals is not None:
+ result['Principals'] = self.principals.to_map()
+
+ if self.suffix is not None:
+ result['Suffix'] = self.suffix
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('Action') is not None:
+ self.action = m.get('Action')
+
+ if m.get('ID') is not None:
+ self.id = m.get('ID')
+
+ if m.get('Prefix') is not None:
+ self.prefix = m.get('Prefix')
+
+ if m.get('Principals') is not None:
+ temp_model = OverwriteConfigurationRulePrincipals()
+ self.principals = temp_model.from_map(m.get('Principals'))
+
+ if m.get('Suffix') is not None:
+ self.suffix = m.get('Suffix')
+
+ return self
+
+
+class OverwriteConfiguration(TeaModel):
+ def __init__(
+ self,
+ rule: List[OverwriteConfigurationRule] = None,
+ ):
+ self.rule = rule
+
+ def validate(self):
+ if self.rule:
+ for v1 in self.rule:
+ if v1:
+ v1.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ result['Rule'] = []
+ if self.rule is not None:
+ for k1 in self.rule:
+ result['Rule'].append(k1.to_map() if k1 else None)
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ self.rule = []
+ if m.get('Rule') is not None:
+ for k1 in m.get('Rule'):
+ temp_model = OverwriteConfigurationRule()
+ self.rule.append(temp_model.from_map(k1))
+
+ return self
+
+
+class GetBucketOverwriteConfigResponseBody(TeaModel):
+ def __init__(
+ self,
+ overwrite_configuration: OverwriteConfiguration = None,
+ ):
+ self.overwrite_configuration = overwrite_configuration
+
+ def validate(self):
+ if self.overwrite_configuration:
+ self.overwrite_configuration.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.overwrite_configuration is not None:
+ result['OverwriteConfiguration'] = self.overwrite_configuration.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('OverwriteConfiguration') is not None:
+ temp_model = OverwriteConfiguration()
+ self.overwrite_configuration = temp_model.from_map(m.get('OverwriteConfiguration'))
+
+ return self
+
+
+class GetBucketOverwriteConfigResponse(TeaModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: GetBucketOverwriteConfigResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = GetBucketOverwriteConfigResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
+
+class PutBucketOverwriteConfigRequest(TeaModel):
+ def __init__(
+ self,
+ overwrite_configuration: OverwriteConfiguration = None,
+ ):
+ self.overwrite_configuration = overwrite_configuration
+
+ def validate(self):
+ if self.overwrite_configuration:
+ self.overwrite_configuration.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.overwrite_configuration is not None:
+ result['OverwriteConfiguration'] = self.overwrite_configuration.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('OverwriteConfiguration') is not None:
+ temp_model = OverwriteConfiguration()
+ self.overwrite_configuration = temp_model.from_map(m.get('OverwriteConfiguration'))
+
+ return self
+
+
+class PutBucketOverwriteConfigResponse(TeaModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
+
+class DeleteBucketOverwriteConfigResponse(TeaModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
+
+class SealAppendObjectResponse(TeaModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
# ================================================================== for hcs-mgw ===========================================================
class AddressDetail(TeaModel):
@@ -38809,5 +39149,3 @@ def from_map(self, m: dict = None):
temp_model = VerifyAddressResponseBody()
self.body = temp_model.from_map(m['body'])
return self
-
-
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/__init__.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/__init__.py
new file mode 100644
index 00000000..2ae0261c
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/__init__.py
@@ -0,0 +1,189 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from ._address_detail import AddressDetail
+from ._audit import Audit
+from ._create_address_info import CreateAddressInfo
+from ._create_agent_info import CreateAgentInfo
+from ._create_job_info import CreateJobInfo
+from ._create_report_info import CreateReportInfo
+from ._create_tunnel_info import CreateTunnelInfo
+from ._file_type_filters import FileTypeFilters
+from ._filter_rule import FilterRule
+from ._get_address_resp import GetAddressResp
+from ._get_agent_resp import GetAgentResp
+from ._get_agent_status_resp import GetAgentStatusResp
+from ._get_job_resp import GetJobResp
+from ._get_job_result_resp import GetJobResultResp
+from ._get_report_resp import GetReportResp
+from ._get_tunnel_resp import GetTunnelResp
+from ._import_qos import ImportQos
+from ._job_history import JobHistory
+from ._key_filter_item import KeyFilterItem
+from ._key_filters import KeyFilters
+from ._last_modified_filters import LastModifiedFilters
+from ._last_modify_filter_item import LastModifyFilterItem
+from ._list_address_resp import ListAddressResp
+from ._list_agent_resp import ListAgentResp
+from ._list_job_history_resp import ListJobHistoryResp
+from ._list_job_info import ListJobInfo
+from ._list_job_resp import ListJobResp
+from ._list_tunnel_resp import ListTunnelResp
+from ._schedule_rule import ScheduleRule
+from ._time_filter import TimeFilter
+from ._tunnel_qos import TunnelQos
+from ._update_address_info import UpdateAddressInfo
+from ._update_job_info import UpdateJobInfo
+from ._update_tunnel_info import UpdateTunnelInfo
+from ._verify_address_resp import VerifyAddressResp
+from ._verify_resp import VerifyResp
+from ._create_address_request import CreateAddressRequest
+from ._create_address_response import CreateAddressResponse
+from ._create_agent_request import CreateAgentRequest
+from ._create_agent_response import CreateAgentResponse
+from ._create_job_request import CreateJobRequest
+from ._create_job_response import CreateJobResponse
+from ._create_report_request import CreateReportRequest
+from ._create_report_response import CreateReportResponse
+from ._create_tunnel_request import CreateTunnelRequest
+from ._create_tunnel_response import CreateTunnelResponse
+from ._delete_address_response import DeleteAddressResponse
+from ._delete_agent_response import DeleteAgentResponse
+from ._delete_job_request import DeleteJobRequest
+from ._delete_job_response import DeleteJobResponse
+from ._delete_tunnel_response import DeleteTunnelResponse
+from ._get_address_response_body import GetAddressResponseBody
+from ._get_address_response import GetAddressResponse
+from ._get_agent_response_body import GetAgentResponseBody
+from ._get_agent_response import GetAgentResponse
+from ._get_agent_status_response_body import GetAgentStatusResponseBody
+from ._get_agent_status_response import GetAgentStatusResponse
+from ._get_job_request import GetJobRequest
+from ._get_job_response_body import GetJobResponseBody
+from ._get_job_response import GetJobResponse
+from ._get_job_result_request import GetJobResultRequest
+from ._get_job_result_response_body import GetJobResultResponseBody
+from ._get_job_result_response import GetJobResultResponse
+from ._get_report_request import GetReportRequest
+from ._get_report_response_body import GetReportResponseBody
+from ._get_report_response import GetReportResponse
+from ._get_tunnel_response_body import GetTunnelResponseBody
+from ._get_tunnel_response import GetTunnelResponse
+from ._list_address_request import ListAddressRequest
+from ._list_address_response_body import ListAddressResponseBody
+from ._list_address_response import ListAddressResponse
+from ._list_agent_request import ListAgentRequest
+from ._list_agent_response_body import ListAgentResponseBody
+from ._list_agent_response import ListAgentResponse
+from ._list_job_request import ListJobRequest
+from ._list_job_response_body import ListJobResponseBody
+from ._list_job_response import ListJobResponse
+from ._list_job_history_request import ListJobHistoryRequest
+from ._list_job_history_response_body import ListJobHistoryResponseBody
+from ._list_job_history_response import ListJobHistoryResponse
+from ._list_tunnel_request import ListTunnelRequest
+from ._list_tunnel_response_body import ListTunnelResponseBody
+from ._list_tunnel_response import ListTunnelResponse
+from ._update_address_request import UpdateAddressRequest
+from ._update_address_response import UpdateAddressResponse
+from ._update_job_request import UpdateJobRequest
+from ._update_job_response import UpdateJobResponse
+from ._update_tunnel_request import UpdateTunnelRequest
+from ._update_tunnel_response import UpdateTunnelResponse
+from ._verify_address_response_body import VerifyAddressResponseBody
+from ._verify_address_response import VerifyAddressResponse
+
+__all__ = [
+ AddressDetail,
+ Audit,
+ CreateAddressInfo,
+ CreateAgentInfo,
+ CreateJobInfo,
+ CreateReportInfo,
+ CreateTunnelInfo,
+ FileTypeFilters,
+ FilterRule,
+ GetAddressResp,
+ GetAgentResp,
+ GetAgentStatusResp,
+ GetJobResp,
+ GetJobResultResp,
+ GetReportResp,
+ GetTunnelResp,
+ ImportQos,
+ JobHistory,
+ KeyFilterItem,
+ KeyFilters,
+ LastModifiedFilters,
+ LastModifyFilterItem,
+ ListAddressResp,
+ ListAgentResp,
+ ListJobHistoryResp,
+ ListJobInfo,
+ ListJobResp,
+ ListTunnelResp,
+ ScheduleRule,
+ TimeFilter,
+ TunnelQos,
+ UpdateAddressInfo,
+ UpdateJobInfo,
+ UpdateTunnelInfo,
+ VerifyAddressResp,
+ VerifyResp,
+ CreateAddressRequest,
+ CreateAddressResponse,
+ CreateAgentRequest,
+ CreateAgentResponse,
+ CreateJobRequest,
+ CreateJobResponse,
+ CreateReportRequest,
+ CreateReportResponse,
+ CreateTunnelRequest,
+ CreateTunnelResponse,
+ DeleteAddressResponse,
+ DeleteAgentResponse,
+ DeleteJobRequest,
+ DeleteJobResponse,
+ DeleteTunnelResponse,
+ GetAddressResponseBody,
+ GetAddressResponse,
+ GetAgentResponseBody,
+ GetAgentResponse,
+ GetAgentStatusResponseBody,
+ GetAgentStatusResponse,
+ GetJobRequest,
+ GetJobResponseBody,
+ GetJobResponse,
+ GetJobResultRequest,
+ GetJobResultResponseBody,
+ GetJobResultResponse,
+ GetReportRequest,
+ GetReportResponseBody,
+ GetReportResponse,
+ GetTunnelResponseBody,
+ GetTunnelResponse,
+ ListAddressRequest,
+ ListAddressResponseBody,
+ ListAddressResponse,
+ ListAgentRequest,
+ ListAgentResponseBody,
+ ListAgentResponse,
+ ListJobRequest,
+ ListJobResponseBody,
+ ListJobResponse,
+ ListJobHistoryRequest,
+ ListJobHistoryResponseBody,
+ ListJobHistoryResponse,
+ ListTunnelRequest,
+ ListTunnelResponseBody,
+ ListTunnelResponse,
+ UpdateAddressRequest,
+ UpdateAddressResponse,
+ UpdateJobRequest,
+ UpdateJobResponse,
+ UpdateTunnelRequest,
+ UpdateTunnelResponse,
+ VerifyAddressResponseBody,
+ VerifyAddressResponse
+]
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_address_detail.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_address_detail.py
new file mode 100644
index 00000000..de98f05f
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_address_detail.py
@@ -0,0 +1,176 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+
+
+class AddressDetail(DaraModel):
+ def __init__(
+ self,
+ access_id: str = None,
+ access_secret: str = None,
+ address_type: str = None,
+ agent_list: str = None,
+ bucket: str = None,
+ data_type: str = None,
+ domain: str = None,
+ inv_access_id: str = None,
+ inv_access_secret: str = None,
+ inv_bucket: str = None,
+ inv_domain: str = None,
+ inv_location: str = None,
+ inv_path: str = None,
+ inv_region_id: str = None,
+ inv_role: str = None,
+ prefix: str = None,
+ region_id: str = None,
+ role: str = None,
+ ):
+ # This parameter is required.
+ self.access_id = access_id
+ # This parameter is required.
+ self.access_secret = access_secret
+ # This parameter is required.
+ self.address_type = address_type
+ self.agent_list = agent_list
+ # This parameter is required.
+ self.bucket = bucket
+ self.data_type = data_type
+ # This parameter is required.
+ self.domain = domain
+ self.inv_access_id = inv_access_id
+ self.inv_access_secret = inv_access_secret
+ self.inv_bucket = inv_bucket
+ self.inv_domain = inv_domain
+ self.inv_location = inv_location
+ self.inv_path = inv_path
+ self.inv_region_id = inv_region_id
+ self.inv_role = inv_role
+ self.prefix = prefix
+ self.region_id = region_id
+ self.role = role
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.access_id is not None:
+ result['AccessId'] = self.access_id
+
+ if self.access_secret is not None:
+ result['AccessSecret'] = self.access_secret
+
+ if self.address_type is not None:
+ result['AddressType'] = self.address_type
+
+ if self.agent_list is not None:
+ result['AgentList'] = self.agent_list
+
+ if self.bucket is not None:
+ result['Bucket'] = self.bucket
+
+ if self.data_type is not None:
+ result['DataType'] = self.data_type
+
+ if self.domain is not None:
+ result['Domain'] = self.domain
+
+ if self.inv_access_id is not None:
+ result['InvAccessId'] = self.inv_access_id
+
+ if self.inv_access_secret is not None:
+ result['InvAccessSecret'] = self.inv_access_secret
+
+ if self.inv_bucket is not None:
+ result['InvBucket'] = self.inv_bucket
+
+ if self.inv_domain is not None:
+ result['InvDomain'] = self.inv_domain
+
+ if self.inv_location is not None:
+ result['InvLocation'] = self.inv_location
+
+ if self.inv_path is not None:
+ result['InvPath'] = self.inv_path
+
+ if self.inv_region_id is not None:
+ result['InvRegionId'] = self.inv_region_id
+
+ if self.inv_role is not None:
+ result['InvRole'] = self.inv_role
+
+ if self.prefix is not None:
+ result['Prefix'] = self.prefix
+
+ if self.region_id is not None:
+ result['RegionId'] = self.region_id
+
+ if self.role is not None:
+ result['Role'] = self.role
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('AccessId') is not None:
+ self.access_id = m.get('AccessId')
+
+ if m.get('AccessSecret') is not None:
+ self.access_secret = m.get('AccessSecret')
+
+ if m.get('AddressType') is not None:
+ self.address_type = m.get('AddressType')
+
+ if m.get('AgentList') is not None:
+ self.agent_list = m.get('AgentList')
+
+ if m.get('Bucket') is not None:
+ self.bucket = m.get('Bucket')
+
+ if m.get('DataType') is not None:
+ self.data_type = m.get('DataType')
+
+ if m.get('Domain') is not None:
+ self.domain = m.get('Domain')
+
+ if m.get('InvAccessId') is not None:
+ self.inv_access_id = m.get('InvAccessId')
+
+ if m.get('InvAccessSecret') is not None:
+ self.inv_access_secret = m.get('InvAccessSecret')
+
+ if m.get('InvBucket') is not None:
+ self.inv_bucket = m.get('InvBucket')
+
+ if m.get('InvDomain') is not None:
+ self.inv_domain = m.get('InvDomain')
+
+ if m.get('InvLocation') is not None:
+ self.inv_location = m.get('InvLocation')
+
+ if m.get('InvPath') is not None:
+ self.inv_path = m.get('InvPath')
+
+ if m.get('InvRegionId') is not None:
+ self.inv_region_id = m.get('InvRegionId')
+
+ if m.get('InvRole') is not None:
+ self.inv_role = m.get('InvRole')
+
+ if m.get('Prefix') is not None:
+ self.prefix = m.get('Prefix')
+
+ if m.get('RegionId') is not None:
+ self.region_id = m.get('RegionId')
+
+ if m.get('Role') is not None:
+ self.role = m.get('Role')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_audit.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_audit.py
new file mode 100644
index 00000000..c19e6c91
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_audit.py
@@ -0,0 +1,33 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class Audit(DaraModel):
+ def __init__(
+ self,
+ log_mode: str = None,
+ ):
+ self.log_mode = log_mode
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.log_mode is not None:
+ result['LogMode'] = self.log_mode
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('LogMode') is not None:
+ self.log_mode = m.get('LogMode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_address_info.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_address_info.py
new file mode 100644
index 00000000..057f3933
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_address_info.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class CreateAddressInfo(DaraModel):
+ def __init__(
+ self,
+ address_detail: main_models.AddressDetail = None,
+ name: str = None,
+ tags: str = None,
+ ):
+ # This parameter is required.
+ self.address_detail = address_detail
+ # This parameter is required.
+ self.name = name
+ self.tags = tags
+
+ def validate(self):
+ if self.address_detail:
+ self.address_detail.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.address_detail is not None:
+ result['AddressDetail'] = self.address_detail.to_map()
+
+ if self.name is not None:
+ result['Name'] = self.name
+
+ if self.tags is not None:
+ result['Tags'] = self.tags
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('AddressDetail') is not None:
+ temp_model = main_models.AddressDetail()
+ self.address_detail = temp_model.from_map(m.get('AddressDetail'))
+
+ if m.get('Name') is not None:
+ self.name = m.get('Name')
+
+ if m.get('Tags') is not None:
+ self.tags = m.get('Tags')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_address_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_address_request.py
new file mode 100644
index 00000000..94a10e3c
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_address_request.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class CreateAddressRequest(DaraModel):
+ def __init__(
+ self,
+ import_address: main_models.CreateAddressInfo = None,
+ ):
+ # The details for creating the data address.
+ self.import_address = import_address
+
+ def validate(self):
+ if self.import_address:
+ self.import_address.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_address is not None:
+ result['ImportAddress'] = self.import_address.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportAddress') is not None:
+ temp_model = main_models.CreateAddressInfo()
+ self.import_address = temp_model.from_map(m.get('ImportAddress'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_address_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_address_response.py
new file mode 100644
index 00000000..701ffc7e
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_address_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class CreateAddressResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_agent_info.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_agent_info.py
new file mode 100644
index 00000000..7fab5460
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_agent_info.py
@@ -0,0 +1,69 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class CreateAgentInfo(DaraModel):
+ def __init__(
+ self,
+ agent_endpoint: str = None,
+ deploy_method: str = None,
+ name: str = None,
+ tags: str = None,
+ tunnel_id: str = None,
+ ):
+ # This parameter is required.
+ self.agent_endpoint = agent_endpoint
+ # This parameter is required.
+ self.deploy_method = deploy_method
+ # This parameter is required.
+ self.name = name
+ self.tags = tags
+ # This parameter is required.
+ self.tunnel_id = tunnel_id
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.agent_endpoint is not None:
+ result['AgentEndpoint'] = self.agent_endpoint
+
+ if self.deploy_method is not None:
+ result['DeployMethod'] = self.deploy_method
+
+ if self.name is not None:
+ result['Name'] = self.name
+
+ if self.tags is not None:
+ result['Tags'] = self.tags
+
+ if self.tunnel_id is not None:
+ result['TunnelId'] = self.tunnel_id
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('AgentEndpoint') is not None:
+ self.agent_endpoint = m.get('AgentEndpoint')
+
+ if m.get('DeployMethod') is not None:
+ self.deploy_method = m.get('DeployMethod')
+
+ if m.get('Name') is not None:
+ self.name = m.get('Name')
+
+ if m.get('Tags') is not None:
+ self.tags = m.get('Tags')
+
+ if m.get('TunnelId') is not None:
+ self.tunnel_id = m.get('TunnelId')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_agent_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_agent_request.py
new file mode 100644
index 00000000..e9b30af1
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_agent_request.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class CreateAgentRequest(DaraModel):
+ def __init__(
+ self,
+ import_agent: main_models.CreateAgentInfo = None,
+ ):
+ # The details for creating the agent.
+ self.import_agent = import_agent
+
+ def validate(self):
+ if self.import_agent:
+ self.import_agent.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_agent is not None:
+ result['ImportAgent'] = self.import_agent.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportAgent') is not None:
+ temp_model = main_models.CreateAgentInfo()
+ self.import_agent = temp_model.from_map(m.get('ImportAgent'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_agent_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_agent_response.py
new file mode 100644
index 00000000..eef7c681
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_agent_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class CreateAgentResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_job_info.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_job_info.py
new file mode 100644
index 00000000..4bd3eefd
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_job_info.py
@@ -0,0 +1,186 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class CreateJobInfo(DaraModel):
+ def __init__(
+ self,
+ appendable_to_normal: bool = None,
+ audit: main_models.Audit = None,
+ convert_symlink_target: bool = None,
+ create_report: bool = None,
+ dest_address: str = None,
+ enable_multi_versioning: bool = None,
+ filter_rule: main_models.FilterRule = None,
+ import_qos: main_models.ImportQos = None,
+ name: str = None,
+ overwrite_mode: str = None,
+ parent_version: str = None,
+ schedule_rule: main_models.ScheduleRule = None,
+ src_address: str = None,
+ tags: str = None,
+ target_storage_class: str = None,
+ transfer_mode: str = None,
+ with_last_modify_time: bool = None,
+ with_storage_class: bool = None,
+ ):
+ self.appendable_to_normal = appendable_to_normal
+ self.audit = audit
+ self.convert_symlink_target = convert_symlink_target
+ self.create_report = create_report
+ # This parameter is required.
+ self.dest_address = dest_address
+ self.enable_multi_versioning = enable_multi_versioning
+ self.filter_rule = filter_rule
+ self.import_qos = import_qos
+ # This parameter is required.
+ self.name = name
+ # This parameter is required.
+ self.overwrite_mode = overwrite_mode
+ self.parent_version = parent_version
+ self.schedule_rule = schedule_rule
+ # This parameter is required.
+ self.src_address = src_address
+ self.tags = tags
+ self.target_storage_class = target_storage_class
+ # This parameter is required.
+ self.transfer_mode = transfer_mode
+ self.with_last_modify_time = with_last_modify_time
+ self.with_storage_class = with_storage_class
+
+ def validate(self):
+ if self.audit:
+ self.audit.validate()
+ if self.filter_rule:
+ self.filter_rule.validate()
+ if self.import_qos:
+ self.import_qos.validate()
+ if self.schedule_rule:
+ self.schedule_rule.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.appendable_to_normal is not None:
+ result['AppendableToNormal'] = self.appendable_to_normal
+
+ if self.audit is not None:
+ result['Audit'] = self.audit.to_map()
+
+ if self.convert_symlink_target is not None:
+ result['ConvertSymlinkTarget'] = self.convert_symlink_target
+
+ if self.create_report is not None:
+ result['CreateReport'] = self.create_report
+
+ if self.dest_address is not None:
+ result['DestAddress'] = self.dest_address
+
+ if self.enable_multi_versioning is not None:
+ result['EnableMultiVersioning'] = self.enable_multi_versioning
+
+ if self.filter_rule is not None:
+ result['FilterRule'] = self.filter_rule.to_map()
+
+ if self.import_qos is not None:
+ result['ImportQos'] = self.import_qos.to_map()
+
+ if self.name is not None:
+ result['Name'] = self.name
+
+ if self.overwrite_mode is not None:
+ result['OverwriteMode'] = self.overwrite_mode
+
+ if self.parent_version is not None:
+ result['ParentVersion'] = self.parent_version
+
+ if self.schedule_rule is not None:
+ result['ScheduleRule'] = self.schedule_rule.to_map()
+
+ if self.src_address is not None:
+ result['SrcAddress'] = self.src_address
+
+ if self.tags is not None:
+ result['Tags'] = self.tags
+
+ if self.target_storage_class is not None:
+ result['TargetStorageClass'] = self.target_storage_class
+
+ if self.transfer_mode is not None:
+ result['TransferMode'] = self.transfer_mode
+
+ if self.with_last_modify_time is not None:
+ result['WithLastModifyTime'] = self.with_last_modify_time
+
+ if self.with_storage_class is not None:
+ result['WithStorageClass'] = self.with_storage_class
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('AppendableToNormal') is not None:
+ self.appendable_to_normal = m.get('AppendableToNormal')
+
+ if m.get('Audit') is not None:
+ temp_model = main_models.Audit()
+ self.audit = temp_model.from_map(m.get('Audit'))
+
+ if m.get('ConvertSymlinkTarget') is not None:
+ self.convert_symlink_target = m.get('ConvertSymlinkTarget')
+
+ if m.get('CreateReport') is not None:
+ self.create_report = m.get('CreateReport')
+
+ if m.get('DestAddress') is not None:
+ self.dest_address = m.get('DestAddress')
+
+ if m.get('EnableMultiVersioning') is not None:
+ self.enable_multi_versioning = m.get('EnableMultiVersioning')
+
+ if m.get('FilterRule') is not None:
+ temp_model = main_models.FilterRule()
+ self.filter_rule = temp_model.from_map(m.get('FilterRule'))
+
+ if m.get('ImportQos') is not None:
+ temp_model = main_models.ImportQos()
+ self.import_qos = temp_model.from_map(m.get('ImportQos'))
+
+ if m.get('Name') is not None:
+ self.name = m.get('Name')
+
+ if m.get('OverwriteMode') is not None:
+ self.overwrite_mode = m.get('OverwriteMode')
+
+ if m.get('ParentVersion') is not None:
+ self.parent_version = m.get('ParentVersion')
+
+ if m.get('ScheduleRule') is not None:
+ temp_model = main_models.ScheduleRule()
+ self.schedule_rule = temp_model.from_map(m.get('ScheduleRule'))
+
+ if m.get('SrcAddress') is not None:
+ self.src_address = m.get('SrcAddress')
+
+ if m.get('Tags') is not None:
+ self.tags = m.get('Tags')
+
+ if m.get('TargetStorageClass') is not None:
+ self.target_storage_class = m.get('TargetStorageClass')
+
+ if m.get('TransferMode') is not None:
+ self.transfer_mode = m.get('TransferMode')
+
+ if m.get('WithLastModifyTime') is not None:
+ self.with_last_modify_time = m.get('WithLastModifyTime')
+
+ if m.get('WithStorageClass') is not None:
+ self.with_storage_class = m.get('WithStorageClass')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_job_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_job_request.py
new file mode 100644
index 00000000..529c204c
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_job_request.py
@@ -0,0 +1,39 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class CreateJobRequest(DaraModel):
+ def __init__(
+ self,
+ import_job: main_models.CreateJobInfo = None,
+ ):
+ # The details for creating the migration task.
+ #
+ # This parameter is required.
+ self.import_job = import_job
+
+ def validate(self):
+ if self.import_job:
+ self.import_job.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_job is not None:
+ result['ImportJob'] = self.import_job.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportJob') is not None:
+ temp_model = main_models.CreateJobInfo()
+ self.import_job = temp_model.from_map(m.get('ImportJob'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_job_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_job_response.py
new file mode 100644
index 00000000..e87889ba
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_job_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class CreateJobResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_report_info.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_report_info.py
new file mode 100644
index 00000000..3b4fe3a6
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_report_info.py
@@ -0,0 +1,49 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class CreateReportInfo(DaraModel):
+ def __init__(
+ self,
+ job_name: str = None,
+ runtime_id: int = None,
+ version: str = None,
+ ):
+ self.job_name = job_name
+ self.runtime_id = runtime_id
+ self.version = version
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.job_name is not None:
+ result['JobName'] = self.job_name
+
+ if self.runtime_id is not None:
+ result['RuntimeId'] = self.runtime_id
+
+ if self.version is not None:
+ result['Version'] = self.version
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('JobName') is not None:
+ self.job_name = m.get('JobName')
+
+ if m.get('RuntimeId') is not None:
+ self.runtime_id = m.get('RuntimeId')
+
+ if m.get('Version') is not None:
+ self.version = m.get('Version')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_report_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_report_request.py
new file mode 100644
index 00000000..86d62eb7
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_report_request.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class CreateReportRequest(DaraModel):
+ def __init__(
+ self,
+ create_report: main_models.CreateReportInfo = None,
+ ):
+ # The details for creating the migration report.
+ self.create_report = create_report
+
+ def validate(self):
+ if self.create_report:
+ self.create_report.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.create_report is not None:
+ result['CreateReport'] = self.create_report.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('CreateReport') is not None:
+ temp_model = main_models.CreateReportInfo()
+ self.create_report = temp_model.from_map(m.get('CreateReport'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_report_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_report_response.py
new file mode 100644
index 00000000..6d045509
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_report_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class CreateReportResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_tunnel_info.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_tunnel_info.py
new file mode 100644
index 00000000..208be798
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_tunnel_info.py
@@ -0,0 +1,44 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class CreateTunnelInfo(DaraModel):
+ def __init__(
+ self,
+ tags: str = None,
+ tunnel_qos: main_models.TunnelQos = None,
+ ):
+ self.tags = tags
+ self.tunnel_qos = tunnel_qos
+
+ def validate(self):
+ if self.tunnel_qos:
+ self.tunnel_qos.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.tags is not None:
+ result['Tags'] = self.tags
+
+ if self.tunnel_qos is not None:
+ result['TunnelQos'] = self.tunnel_qos.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('Tags') is not None:
+ self.tags = m.get('Tags')
+
+ if m.get('TunnelQos') is not None:
+ temp_model = main_models.TunnelQos()
+ self.tunnel_qos = temp_model.from_map(m.get('TunnelQos'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_tunnel_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_tunnel_request.py
new file mode 100644
index 00000000..87bce47f
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_tunnel_request.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class CreateTunnelRequest(DaraModel):
+ def __init__(
+ self,
+ import_tunnel: main_models.CreateTunnelInfo = None,
+ ):
+ # The details for creating the tunnel.
+ self.import_tunnel = import_tunnel
+
+ def validate(self):
+ if self.import_tunnel:
+ self.import_tunnel.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_tunnel is not None:
+ result['ImportTunnel'] = self.import_tunnel.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportTunnel') is not None:
+ temp_model = main_models.CreateTunnelInfo()
+ self.import_tunnel = temp_model.from_map(m.get('ImportTunnel'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_tunnel_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_tunnel_response.py
new file mode 100644
index 00000000..c78e16e5
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_create_tunnel_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class CreateTunnelResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_address_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_address_response.py
new file mode 100644
index 00000000..732c0f4d
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_address_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class DeleteAddressResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_agent_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_agent_response.py
new file mode 100644
index 00000000..1b2cc417
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_agent_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class DeleteAgentResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_job_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_job_request.py
new file mode 100644
index 00000000..21909898
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_job_request.py
@@ -0,0 +1,34 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class DeleteJobRequest(DaraModel):
+ def __init__(
+ self,
+ force_delete: bool = None,
+ ):
+ # Specifies whether to force delete the subtask. If the task has subtasks and you set this parameter to true, the task and its subtasks are forcibly deleted. If this parameter is set to false, the task and its subtasks fail to be deleted.
+ self.force_delete = force_delete
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.force_delete is not None:
+ result['forceDelete'] = self.force_delete
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('forceDelete') is not None:
+ self.force_delete = m.get('forceDelete')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_job_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_job_response.py
new file mode 100644
index 00000000..8adf256f
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_job_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class DeleteJobResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_tunnel_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_tunnel_response.py
new file mode 100644
index 00000000..2047e4e8
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_delete_tunnel_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class DeleteTunnelResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_file_type_filters.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_file_type_filters.py
new file mode 100644
index 00000000..b98e8fc4
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_file_type_filters.py
@@ -0,0 +1,41 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class FileTypeFilters(DaraModel):
+ def __init__(
+ self,
+ exclude_dir: bool = None,
+ exclude_symlink: bool = None,
+ ):
+ self.exclude_dir = exclude_dir
+ self.exclude_symlink = exclude_symlink
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.exclude_dir is not None:
+ result['ExcludeDir'] = self.exclude_dir
+
+ if self.exclude_symlink is not None:
+ result['ExcludeSymlink'] = self.exclude_symlink
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ExcludeDir') is not None:
+ self.exclude_dir = m.get('ExcludeDir')
+
+ if m.get('ExcludeSymlink') is not None:
+ self.exclude_symlink = m.get('ExcludeSymlink')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_filter_rule.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_filter_rule.py
new file mode 100644
index 00000000..58d36414
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_filter_rule.py
@@ -0,0 +1,58 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class FilterRule(DaraModel):
+ def __init__(
+ self,
+ file_type_filters: main_models.FileTypeFilters = None,
+ key_filters: main_models.KeyFilters = None,
+ last_modified_filters: main_models.LastModifiedFilters = None,
+ ):
+ self.file_type_filters = file_type_filters
+ self.key_filters = key_filters
+ self.last_modified_filters = last_modified_filters
+
+ def validate(self):
+ if self.file_type_filters:
+ self.file_type_filters.validate()
+ if self.key_filters:
+ self.key_filters.validate()
+ if self.last_modified_filters:
+ self.last_modified_filters.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.file_type_filters is not None:
+ result['FileTypeFilters'] = self.file_type_filters.to_map()
+
+ if self.key_filters is not None:
+ result['KeyFilters'] = self.key_filters.to_map()
+
+ if self.last_modified_filters is not None:
+ result['LastModifiedFilters'] = self.last_modified_filters.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('FileTypeFilters') is not None:
+ temp_model = main_models.FileTypeFilters()
+ self.file_type_filters = temp_model.from_map(m.get('FileTypeFilters'))
+
+ if m.get('KeyFilters') is not None:
+ temp_model = main_models.KeyFilters()
+ self.key_filters = temp_model.from_map(m.get('KeyFilters'))
+
+ if m.get('LastModifiedFilters') is not None:
+ temp_model = main_models.LastModifiedFilters()
+ self.last_modified_filters = temp_model.from_map(m.get('LastModifiedFilters'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_address_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_address_resp.py
new file mode 100644
index 00000000..9142feab
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_address_resp.py
@@ -0,0 +1,111 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetAddressResp(DaraModel):
+ def __init__(
+ self,
+ address_detail: main_models.AddressDetail = None,
+ create_time: str = None,
+ modify_time: str = None,
+ name: str = None,
+ owner: str = None,
+ status: str = None,
+ tags: str = None,
+ verify_result: main_models.VerifyResp = None,
+ verify_time: str = None,
+ version: str = None,
+ ):
+ self.address_detail = address_detail
+ self.create_time = create_time
+ self.modify_time = modify_time
+ self.name = name
+ self.owner = owner
+ self.status = status
+ self.tags = tags
+ self.verify_result = verify_result
+ self.verify_time = verify_time
+ self.version = version
+
+ def validate(self):
+ if self.address_detail:
+ self.address_detail.validate()
+ if self.verify_result:
+ self.verify_result.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.address_detail is not None:
+ result['AddressDetail'] = self.address_detail.to_map()
+
+ if self.create_time is not None:
+ result['CreateTime'] = self.create_time
+
+ if self.modify_time is not None:
+ result['ModifyTime'] = self.modify_time
+
+ if self.name is not None:
+ result['Name'] = self.name
+
+ if self.owner is not None:
+ result['Owner'] = self.owner
+
+ if self.status is not None:
+ result['Status'] = self.status
+
+ if self.tags is not None:
+ result['Tags'] = self.tags
+
+ if self.verify_result is not None:
+ result['VerifyResult'] = self.verify_result.to_map()
+
+ if self.verify_time is not None:
+ result['VerifyTime'] = self.verify_time
+
+ if self.version is not None:
+ result['Version'] = self.version
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('AddressDetail') is not None:
+ temp_model = main_models.AddressDetail()
+ self.address_detail = temp_model.from_map(m.get('AddressDetail'))
+
+ if m.get('CreateTime') is not None:
+ self.create_time = m.get('CreateTime')
+
+ if m.get('ModifyTime') is not None:
+ self.modify_time = m.get('ModifyTime')
+
+ if m.get('Name') is not None:
+ self.name = m.get('Name')
+
+ if m.get('Owner') is not None:
+ self.owner = m.get('Owner')
+
+ if m.get('Status') is not None:
+ self.status = m.get('Status')
+
+ if m.get('Tags') is not None:
+ self.tags = m.get('Tags')
+
+ if m.get('VerifyResult') is not None:
+ temp_model = main_models.VerifyResp()
+ self.verify_result = temp_model.from_map(m.get('VerifyResult'))
+
+ if m.get('VerifyTime') is not None:
+ self.verify_time = m.get('VerifyTime')
+
+ if m.get('Version') is not None:
+ self.version = m.get('Version')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_address_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_address_response.py
new file mode 100644
index 00000000..c8f031f0
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_address_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetAddressResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.GetAddressResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.GetAddressResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_address_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_address_response_body.py
new file mode 100644
index 00000000..2d2cf31d
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_address_response_body.py
@@ -0,0 +1,41 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetAddressResponseBody(DaraModel):
+ def __init__(
+ self,
+ import_address: main_models.GetAddressResp = None,
+ ):
+ # The details for obtaining the data address.
+ #
+ # Valid values:
+ #
+ # * 1:1
+ self.import_address = import_address
+
+ def validate(self):
+ if self.import_address:
+ self.import_address.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_address is not None:
+ result['ImportAddress'] = self.import_address.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportAddress') is not None:
+ temp_model = main_models.GetAddressResp()
+ self.import_address = temp_model.from_map(m.get('ImportAddress'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_resp.py
new file mode 100644
index 00000000..038326d0
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_resp.py
@@ -0,0 +1,105 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class GetAgentResp(DaraModel):
+ def __init__(
+ self,
+ activation_key: str = None,
+ agent_endpoint: str = None,
+ create_time: str = None,
+ deploy_method: str = None,
+ modify_time: str = None,
+ name: str = None,
+ owner: str = None,
+ tags: str = None,
+ tunnel_id: str = None,
+ version: str = None,
+ ):
+ self.activation_key = activation_key
+ self.agent_endpoint = agent_endpoint
+ self.create_time = create_time
+ self.deploy_method = deploy_method
+ self.modify_time = modify_time
+ self.name = name
+ self.owner = owner
+ self.tags = tags
+ self.tunnel_id = tunnel_id
+ self.version = version
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.activation_key is not None:
+ result['ActivationKey'] = self.activation_key
+
+ if self.agent_endpoint is not None:
+ result['AgentEndpoint'] = self.agent_endpoint
+
+ if self.create_time is not None:
+ result['CreateTime'] = self.create_time
+
+ if self.deploy_method is not None:
+ result['DeployMethod'] = self.deploy_method
+
+ if self.modify_time is not None:
+ result['ModifyTime'] = self.modify_time
+
+ if self.name is not None:
+ result['Name'] = self.name
+
+ if self.owner is not None:
+ result['Owner'] = self.owner
+
+ if self.tags is not None:
+ result['Tags'] = self.tags
+
+ if self.tunnel_id is not None:
+ result['TunnelId'] = self.tunnel_id
+
+ if self.version is not None:
+ result['Version'] = self.version
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ActivationKey') is not None:
+ self.activation_key = m.get('ActivationKey')
+
+ if m.get('AgentEndpoint') is not None:
+ self.agent_endpoint = m.get('AgentEndpoint')
+
+ if m.get('CreateTime') is not None:
+ self.create_time = m.get('CreateTime')
+
+ if m.get('DeployMethod') is not None:
+ self.deploy_method = m.get('DeployMethod')
+
+ if m.get('ModifyTime') is not None:
+ self.modify_time = m.get('ModifyTime')
+
+ if m.get('Name') is not None:
+ self.name = m.get('Name')
+
+ if m.get('Owner') is not None:
+ self.owner = m.get('Owner')
+
+ if m.get('Tags') is not None:
+ self.tags = m.get('Tags')
+
+ if m.get('TunnelId') is not None:
+ self.tunnel_id = m.get('TunnelId')
+
+ if m.get('Version') is not None:
+ self.version = m.get('Version')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_response.py
new file mode 100644
index 00000000..830cf23d
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetAgentResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.GetAgentResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.GetAgentResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_response_body.py
new file mode 100644
index 00000000..942cb27f
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetAgentResponseBody(DaraModel):
+ def __init__(
+ self,
+ import_agent: main_models.GetAgentResp = None,
+ ):
+ # The details for obtaining the details of the agent.
+ self.import_agent = import_agent
+
+ def validate(self):
+ if self.import_agent:
+ self.import_agent.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_agent is not None:
+ result['ImportAgent'] = self.import_agent.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportAgent') is not None:
+ temp_model = main_models.GetAgentResp()
+ self.import_agent = temp_model.from_map(m.get('ImportAgent'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_status_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_status_resp.py
new file mode 100644
index 00000000..9decfeee
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_status_resp.py
@@ -0,0 +1,49 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class GetAgentStatusResp(DaraModel):
+ def __init__(
+ self,
+ agent_ip: str = None,
+ agent_version: str = None,
+ status: str = None,
+ ):
+ self.agent_ip = agent_ip
+ self.agent_version = agent_version
+ self.status = status
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.agent_ip is not None:
+ result['AgentIP'] = self.agent_ip
+
+ if self.agent_version is not None:
+ result['AgentVersion'] = self.agent_version
+
+ if self.status is not None:
+ result['Status'] = self.status
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('AgentIP') is not None:
+ self.agent_ip = m.get('AgentIP')
+
+ if m.get('AgentVersion') is not None:
+ self.agent_version = m.get('AgentVersion')
+
+ if m.get('Status') is not None:
+ self.status = m.get('Status')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_status_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_status_response.py
new file mode 100644
index 00000000..046fc148
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_status_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetAgentStatusResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.GetAgentStatusResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.GetAgentStatusResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_status_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_status_response_body.py
new file mode 100644
index 00000000..5ebe4031
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_agent_status_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetAgentStatusResponseBody(DaraModel):
+ def __init__(
+ self,
+ import_agent_status: main_models.GetAgentStatusResp = None,
+ ):
+ # The details for obtaining the status of the agent.
+ self.import_agent_status = import_agent_status
+
+ def validate(self):
+ if self.import_agent_status:
+ self.import_agent_status.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_agent_status is not None:
+ result['ImportAgentStatus'] = self.import_agent_status.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportAgentStatus') is not None:
+ temp_model = main_models.GetAgentStatusResp()
+ self.import_agent_status = temp_model.from_map(m.get('ImportAgentStatus'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_request.py
new file mode 100644
index 00000000..4d3d8f05
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_request.py
@@ -0,0 +1,34 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class GetJobRequest(DaraModel):
+ def __init__(
+ self,
+ by_version: str = None,
+ ):
+ # Specifies whether to obtain the details of the migration task by using the task ID.
+ self.by_version = by_version
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.by_version is not None:
+ result['byVersion'] = self.by_version
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('byVersion') is not None:
+ self.by_version = m.get('byVersion')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_resp.py
new file mode 100644
index 00000000..ba74ea4d
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_resp.py
@@ -0,0 +1,229 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetJobResp(DaraModel):
+ def __init__(
+ self,
+ appendable_to_normal: bool = None,
+ audit: main_models.Audit = None,
+ convert_symlink_target: bool = None,
+ create_report: bool = None,
+ create_time: str = None,
+ dest_address: str = None,
+ enable_multi_versioning: bool = None,
+ filter_rule: main_models.FilterRule = None,
+ import_qos: main_models.ImportQos = None,
+ modify_time: str = None,
+ name: str = None,
+ overwrite_mode: str = None,
+ owner: str = None,
+ parent_name: str = None,
+ parent_version: str = None,
+ schedule_rule: main_models.ScheduleRule = None,
+ src_address: str = None,
+ status: str = None,
+ tags: str = None,
+ target_storage_class: str = None,
+ transfer_mode: str = None,
+ version: str = None,
+ with_last_modify_time: bool = None,
+ with_storage_class: bool = None,
+ ):
+ self.appendable_to_normal = appendable_to_normal
+ self.audit = audit
+ self.convert_symlink_target = convert_symlink_target
+ self.create_report = create_report
+ self.create_time = create_time
+ self.dest_address = dest_address
+ self.enable_multi_versioning = enable_multi_versioning
+ self.filter_rule = filter_rule
+ self.import_qos = import_qos
+ self.modify_time = modify_time
+ self.name = name
+ self.overwrite_mode = overwrite_mode
+ self.owner = owner
+ self.parent_name = parent_name
+ self.parent_version = parent_version
+ self.schedule_rule = schedule_rule
+ self.src_address = src_address
+ self.status = status
+ self.tags = tags
+ self.target_storage_class = target_storage_class
+ self.transfer_mode = transfer_mode
+ self.version = version
+ self.with_last_modify_time = with_last_modify_time
+ self.with_storage_class = with_storage_class
+
+ def validate(self):
+ if self.audit:
+ self.audit.validate()
+ if self.filter_rule:
+ self.filter_rule.validate()
+ if self.import_qos:
+ self.import_qos.validate()
+ if self.schedule_rule:
+ self.schedule_rule.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.appendable_to_normal is not None:
+ result['AppendableToNormal'] = self.appendable_to_normal
+
+ if self.audit is not None:
+ result['Audit'] = self.audit.to_map()
+
+ if self.convert_symlink_target is not None:
+ result['ConvertSymlinkTarget'] = self.convert_symlink_target
+
+ if self.create_report is not None:
+ result['CreateReport'] = self.create_report
+
+ if self.create_time is not None:
+ result['CreateTime'] = self.create_time
+
+ if self.dest_address is not None:
+ result['DestAddress'] = self.dest_address
+
+ if self.enable_multi_versioning is not None:
+ result['EnableMultiVersioning'] = self.enable_multi_versioning
+
+ if self.filter_rule is not None:
+ result['FilterRule'] = self.filter_rule.to_map()
+
+ if self.import_qos is not None:
+ result['ImportQos'] = self.import_qos.to_map()
+
+ if self.modify_time is not None:
+ result['ModifyTime'] = self.modify_time
+
+ if self.name is not None:
+ result['Name'] = self.name
+
+ if self.overwrite_mode is not None:
+ result['OverwriteMode'] = self.overwrite_mode
+
+ if self.owner is not None:
+ result['Owner'] = self.owner
+
+ if self.parent_name is not None:
+ result['ParentName'] = self.parent_name
+
+ if self.parent_version is not None:
+ result['ParentVersion'] = self.parent_version
+
+ if self.schedule_rule is not None:
+ result['ScheduleRule'] = self.schedule_rule.to_map()
+
+ if self.src_address is not None:
+ result['SrcAddress'] = self.src_address
+
+ if self.status is not None:
+ result['Status'] = self.status
+
+ if self.tags is not None:
+ result['Tags'] = self.tags
+
+ if self.target_storage_class is not None:
+ result['TargetStorageClass'] = self.target_storage_class
+
+ if self.transfer_mode is not None:
+ result['TransferMode'] = self.transfer_mode
+
+ if self.version is not None:
+ result['Version'] = self.version
+
+ if self.with_last_modify_time is not None:
+ result['WithLastModifyTime'] = self.with_last_modify_time
+
+ if self.with_storage_class is not None:
+ result['WithStorageClass'] = self.with_storage_class
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('AppendableToNormal') is not None:
+ self.appendable_to_normal = m.get('AppendableToNormal')
+
+ if m.get('Audit') is not None:
+ temp_model = main_models.Audit()
+ self.audit = temp_model.from_map(m.get('Audit'))
+
+ if m.get('ConvertSymlinkTarget') is not None:
+ self.convert_symlink_target = m.get('ConvertSymlinkTarget')
+
+ if m.get('CreateReport') is not None:
+ self.create_report = m.get('CreateReport')
+
+ if m.get('CreateTime') is not None:
+ self.create_time = m.get('CreateTime')
+
+ if m.get('DestAddress') is not None:
+ self.dest_address = m.get('DestAddress')
+
+ if m.get('EnableMultiVersioning') is not None:
+ self.enable_multi_versioning = m.get('EnableMultiVersioning')
+
+ if m.get('FilterRule') is not None:
+ temp_model = main_models.FilterRule()
+ self.filter_rule = temp_model.from_map(m.get('FilterRule'))
+
+ if m.get('ImportQos') is not None:
+ temp_model = main_models.ImportQos()
+ self.import_qos = temp_model.from_map(m.get('ImportQos'))
+
+ if m.get('ModifyTime') is not None:
+ self.modify_time = m.get('ModifyTime')
+
+ if m.get('Name') is not None:
+ self.name = m.get('Name')
+
+ if m.get('OverwriteMode') is not None:
+ self.overwrite_mode = m.get('OverwriteMode')
+
+ if m.get('Owner') is not None:
+ self.owner = m.get('Owner')
+
+ if m.get('ParentName') is not None:
+ self.parent_name = m.get('ParentName')
+
+ if m.get('ParentVersion') is not None:
+ self.parent_version = m.get('ParentVersion')
+
+ if m.get('ScheduleRule') is not None:
+ temp_model = main_models.ScheduleRule()
+ self.schedule_rule = temp_model.from_map(m.get('ScheduleRule'))
+
+ if m.get('SrcAddress') is not None:
+ self.src_address = m.get('SrcAddress')
+
+ if m.get('Status') is not None:
+ self.status = m.get('Status')
+
+ if m.get('Tags') is not None:
+ self.tags = m.get('Tags')
+
+ if m.get('TargetStorageClass') is not None:
+ self.target_storage_class = m.get('TargetStorageClass')
+
+ if m.get('TransferMode') is not None:
+ self.transfer_mode = m.get('TransferMode')
+
+ if m.get('Version') is not None:
+ self.version = m.get('Version')
+
+ if m.get('WithLastModifyTime') is not None:
+ self.with_last_modify_time = m.get('WithLastModifyTime')
+
+ if m.get('WithStorageClass') is not None:
+ self.with_storage_class = m.get('WithStorageClass')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_response.py
new file mode 100644
index 00000000..054b2b36
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetJobResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.GetJobResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.GetJobResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_response_body.py
new file mode 100644
index 00000000..609e8a7f
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetJobResponseBody(DaraModel):
+ def __init__(
+ self,
+ import_job: main_models.GetJobResp = None,
+ ):
+ # The details for obtaining the details of the migration task.
+ self.import_job = import_job
+
+ def validate(self):
+ if self.import_job:
+ self.import_job.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_job is not None:
+ result['ImportJob'] = self.import_job.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportJob') is not None:
+ temp_model = main_models.GetJobResp()
+ self.import_job = temp_model.from_map(m.get('ImportJob'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_request.py
new file mode 100644
index 00000000..160072ea
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_request.py
@@ -0,0 +1,36 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class GetJobResultRequest(DaraModel):
+ def __init__(
+ self,
+ runtime_id: int = None,
+ ):
+ # The execution ID of the task.
+ #
+ # This parameter is required.
+ self.runtime_id = runtime_id
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.runtime_id is not None:
+ result['runtimeId'] = self.runtime_id
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('runtimeId') is not None:
+ self.runtime_id = m.get('runtimeId')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_resp.py
new file mode 100644
index 00000000..0313df7d
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_resp.py
@@ -0,0 +1,161 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class GetJobResultResp(DaraModel):
+ def __init__(
+ self,
+ address_type: str = None,
+ copied_object_count: int = None,
+ copied_object_size: int = None,
+ failed_object_count: int = None,
+ inv_access_id: str = None,
+ inv_access_secret: str = None,
+ inv_bucket: str = None,
+ inv_domain: str = None,
+ inv_location: str = None,
+ inv_path: str = None,
+ inv_region_id: str = None,
+ ready_retry: str = None,
+ skipped_object_count: int = None,
+ skipped_object_size: int = None,
+ total_object_count: int = None,
+ total_object_size: int = None,
+ version: str = None,
+ ):
+ self.address_type = address_type
+ self.copied_object_count = copied_object_count
+ self.copied_object_size = copied_object_size
+ self.failed_object_count = failed_object_count
+ self.inv_access_id = inv_access_id
+ self.inv_access_secret = inv_access_secret
+ self.inv_bucket = inv_bucket
+ self.inv_domain = inv_domain
+ self.inv_location = inv_location
+ self.inv_path = inv_path
+ self.inv_region_id = inv_region_id
+ self.ready_retry = ready_retry
+ self.skipped_object_count = skipped_object_count
+ self.skipped_object_size = skipped_object_size
+ self.total_object_count = total_object_count
+ self.total_object_size = total_object_size
+ self.version = version
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.address_type is not None:
+ result['AddressType'] = self.address_type
+
+ if self.copied_object_count is not None:
+ result['CopiedObjectCount'] = self.copied_object_count
+
+ if self.copied_object_size is not None:
+ result['CopiedObjectSize'] = self.copied_object_size
+
+ if self.failed_object_count is not None:
+ result['FailedObjectCount'] = self.failed_object_count
+
+ if self.inv_access_id is not None:
+ result['InvAccessId'] = self.inv_access_id
+
+ if self.inv_access_secret is not None:
+ result['InvAccessSecret'] = self.inv_access_secret
+
+ if self.inv_bucket is not None:
+ result['InvBucket'] = self.inv_bucket
+
+ if self.inv_domain is not None:
+ result['InvDomain'] = self.inv_domain
+
+ if self.inv_location is not None:
+ result['InvLocation'] = self.inv_location
+
+ if self.inv_path is not None:
+ result['InvPath'] = self.inv_path
+
+ if self.inv_region_id is not None:
+ result['InvRegionId'] = self.inv_region_id
+
+ if self.ready_retry is not None:
+ result['ReadyRetry'] = self.ready_retry
+
+ if self.skipped_object_count is not None:
+ result['SkippedObjectCount'] = self.skipped_object_count
+
+ if self.skipped_object_size is not None:
+ result['SkippedObjectSize'] = self.skipped_object_size
+
+ if self.total_object_count is not None:
+ result['TotalObjectCount'] = self.total_object_count
+
+ if self.total_object_size is not None:
+ result['TotalObjectSize'] = self.total_object_size
+
+ if self.version is not None:
+ result['Version'] = self.version
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('AddressType') is not None:
+ self.address_type = m.get('AddressType')
+
+ if m.get('CopiedObjectCount') is not None:
+ self.copied_object_count = m.get('CopiedObjectCount')
+
+ if m.get('CopiedObjectSize') is not None:
+ self.copied_object_size = m.get('CopiedObjectSize')
+
+ if m.get('FailedObjectCount') is not None:
+ self.failed_object_count = m.get('FailedObjectCount')
+
+ if m.get('InvAccessId') is not None:
+ self.inv_access_id = m.get('InvAccessId')
+
+ if m.get('InvAccessSecret') is not None:
+ self.inv_access_secret = m.get('InvAccessSecret')
+
+ if m.get('InvBucket') is not None:
+ self.inv_bucket = m.get('InvBucket')
+
+ if m.get('InvDomain') is not None:
+ self.inv_domain = m.get('InvDomain')
+
+ if m.get('InvLocation') is not None:
+ self.inv_location = m.get('InvLocation')
+
+ if m.get('InvPath') is not None:
+ self.inv_path = m.get('InvPath')
+
+ if m.get('InvRegionId') is not None:
+ self.inv_region_id = m.get('InvRegionId')
+
+ if m.get('ReadyRetry') is not None:
+ self.ready_retry = m.get('ReadyRetry')
+
+ if m.get('SkippedObjectCount') is not None:
+ self.skipped_object_count = m.get('SkippedObjectCount')
+
+ if m.get('SkippedObjectSize') is not None:
+ self.skipped_object_size = m.get('SkippedObjectSize')
+
+ if m.get('TotalObjectCount') is not None:
+ self.total_object_count = m.get('TotalObjectCount')
+
+ if m.get('TotalObjectSize') is not None:
+ self.total_object_size = m.get('TotalObjectSize')
+
+ if m.get('Version') is not None:
+ self.version = m.get('Version')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_response.py
new file mode 100644
index 00000000..2a8cbdcb
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetJobResultResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.GetJobResultResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.GetJobResultResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_response_body.py
new file mode 100644
index 00000000..671fb915
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_job_result_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetJobResultResponseBody(DaraModel):
+ def __init__(
+ self,
+ import_job_result: main_models.GetJobResultResp = None,
+ ):
+ # The details for obtaining the retries of the migration task.
+ self.import_job_result = import_job_result
+
+ def validate(self):
+ if self.import_job_result:
+ self.import_job_result.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_job_result is not None:
+ result['ImportJobResult'] = self.import_job_result.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportJobResult') is not None:
+ temp_model = main_models.GetJobResultResp()
+ self.import_job_result = temp_model.from_map(m.get('ImportJobResult'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_request.py
new file mode 100644
index 00000000..b8579762
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_request.py
@@ -0,0 +1,45 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class GetReportRequest(DaraModel):
+ def __init__(
+ self,
+ runtime_id: int = None,
+ version: str = None,
+ ):
+ # The execution ID of the migration task.
+ self.runtime_id = runtime_id
+ # The ID of the migration task.
+ #
+ # This parameter is required.
+ self.version = version
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.runtime_id is not None:
+ result['runtimeId'] = self.runtime_id
+
+ if self.version is not None:
+ result['version'] = self.version
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('runtimeId') is not None:
+ self.runtime_id = m.get('runtimeId')
+
+ if m.get('version') is not None:
+ self.version = m.get('version')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_resp.py
new file mode 100644
index 00000000..6c8c85fd
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_resp.py
@@ -0,0 +1,137 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class GetReportResp(DaraModel):
+ def __init__(
+ self,
+ copied_count: int = None,
+ error_message: str = None,
+ failed_count: int = None,
+ failed_list_prefix: str = None,
+ job_create_time: str = None,
+ job_end_time: str = None,
+ job_execute_time: str = None,
+ report_create_time: str = None,
+ report_end_time: str = None,
+ skipped_count: int = None,
+ skipped_list_prefix: str = None,
+ status: str = None,
+ total_count: int = None,
+ total_list_prefix: str = None,
+ ):
+ self.copied_count = copied_count
+ self.error_message = error_message
+ self.failed_count = failed_count
+ self.failed_list_prefix = failed_list_prefix
+ self.job_create_time = job_create_time
+ self.job_end_time = job_end_time
+ self.job_execute_time = job_execute_time
+ self.report_create_time = report_create_time
+ self.report_end_time = report_end_time
+ self.skipped_count = skipped_count
+ self.skipped_list_prefix = skipped_list_prefix
+ self.status = status
+ self.total_count = total_count
+ self.total_list_prefix = total_list_prefix
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.copied_count is not None:
+ result['CopiedCount'] = self.copied_count
+
+ if self.error_message is not None:
+ result['ErrorMessage'] = self.error_message
+
+ if self.failed_count is not None:
+ result['FailedCount'] = self.failed_count
+
+ if self.failed_list_prefix is not None:
+ result['FailedListPrefix'] = self.failed_list_prefix
+
+ if self.job_create_time is not None:
+ result['JobCreateTime'] = self.job_create_time
+
+ if self.job_end_time is not None:
+ result['JobEndTime'] = self.job_end_time
+
+ if self.job_execute_time is not None:
+ result['JobExecuteTime'] = self.job_execute_time
+
+ if self.report_create_time is not None:
+ result['ReportCreateTime'] = self.report_create_time
+
+ if self.report_end_time is not None:
+ result['ReportEndTime'] = self.report_end_time
+
+ if self.skipped_count is not None:
+ result['SkippedCount'] = self.skipped_count
+
+ if self.skipped_list_prefix is not None:
+ result['SkippedListPrefix'] = self.skipped_list_prefix
+
+ if self.status is not None:
+ result['Status'] = self.status
+
+ if self.total_count is not None:
+ result['TotalCount'] = self.total_count
+
+ if self.total_list_prefix is not None:
+ result['TotalListPrefix'] = self.total_list_prefix
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('CopiedCount') is not None:
+ self.copied_count = m.get('CopiedCount')
+
+ if m.get('ErrorMessage') is not None:
+ self.error_message = m.get('ErrorMessage')
+
+ if m.get('FailedCount') is not None:
+ self.failed_count = m.get('FailedCount')
+
+ if m.get('FailedListPrefix') is not None:
+ self.failed_list_prefix = m.get('FailedListPrefix')
+
+ if m.get('JobCreateTime') is not None:
+ self.job_create_time = m.get('JobCreateTime')
+
+ if m.get('JobEndTime') is not None:
+ self.job_end_time = m.get('JobEndTime')
+
+ if m.get('JobExecuteTime') is not None:
+ self.job_execute_time = m.get('JobExecuteTime')
+
+ if m.get('ReportCreateTime') is not None:
+ self.report_create_time = m.get('ReportCreateTime')
+
+ if m.get('ReportEndTime') is not None:
+ self.report_end_time = m.get('ReportEndTime')
+
+ if m.get('SkippedCount') is not None:
+ self.skipped_count = m.get('SkippedCount')
+
+ if m.get('SkippedListPrefix') is not None:
+ self.skipped_list_prefix = m.get('SkippedListPrefix')
+
+ if m.get('Status') is not None:
+ self.status = m.get('Status')
+
+ if m.get('TotalCount') is not None:
+ self.total_count = m.get('TotalCount')
+
+ if m.get('TotalListPrefix') is not None:
+ self.total_list_prefix = m.get('TotalListPrefix')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_response.py
new file mode 100644
index 00000000..ffa3c76e
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetReportResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.GetReportResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.GetReportResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_response_body.py
new file mode 100644
index 00000000..b120da16
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_report_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetReportResponseBody(DaraModel):
+ def __init__(
+ self,
+ get_report_response: main_models.GetReportResp = None,
+ ):
+ # The details for obtaining the migration report.
+ self.get_report_response = get_report_response
+
+ def validate(self):
+ if self.get_report_response:
+ self.get_report_response.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.get_report_response is not None:
+ result['GetReportResponse'] = self.get_report_response.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('GetReportResponse') is not None:
+ temp_model = main_models.GetReportResp()
+ self.get_report_response = temp_model.from_map(m.get('GetReportResponse'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_tunnel_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_tunnel_resp.py
new file mode 100644
index 00000000..51e37ce5
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_tunnel_resp.py
@@ -0,0 +1,76 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetTunnelResp(DaraModel):
+ def __init__(
+ self,
+ create_time: str = None,
+ modify_time: str = None,
+ owner: str = None,
+ tags: str = None,
+ tunnel_id: str = None,
+ tunnel_qos: main_models.TunnelQos = None,
+ ):
+ self.create_time = create_time
+ self.modify_time = modify_time
+ self.owner = owner
+ self.tags = tags
+ self.tunnel_id = tunnel_id
+ self.tunnel_qos = tunnel_qos
+
+ def validate(self):
+ if self.tunnel_qos:
+ self.tunnel_qos.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.create_time is not None:
+ result['CreateTime'] = self.create_time
+
+ if self.modify_time is not None:
+ result['ModifyTime'] = self.modify_time
+
+ if self.owner is not None:
+ result['Owner'] = self.owner
+
+ if self.tags is not None:
+ result['Tags'] = self.tags
+
+ if self.tunnel_id is not None:
+ result['TunnelId'] = self.tunnel_id
+
+ if self.tunnel_qos is not None:
+ result['TunnelQos'] = self.tunnel_qos.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('CreateTime') is not None:
+ self.create_time = m.get('CreateTime')
+
+ if m.get('ModifyTime') is not None:
+ self.modify_time = m.get('ModifyTime')
+
+ if m.get('Owner') is not None:
+ self.owner = m.get('Owner')
+
+ if m.get('Tags') is not None:
+ self.tags = m.get('Tags')
+
+ if m.get('TunnelId') is not None:
+ self.tunnel_id = m.get('TunnelId')
+
+ if m.get('TunnelQos') is not None:
+ temp_model = main_models.TunnelQos()
+ self.tunnel_qos = temp_model.from_map(m.get('TunnelQos'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_tunnel_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_tunnel_response.py
new file mode 100644
index 00000000..5cddb907
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_tunnel_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetTunnelResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.GetTunnelResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.GetTunnelResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_tunnel_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_tunnel_response_body.py
new file mode 100644
index 00000000..b57af796
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_get_tunnel_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class GetTunnelResponseBody(DaraModel):
+ def __init__(
+ self,
+ import_tunnel: main_models.GetTunnelResp = None,
+ ):
+ # The details for obtaining the details of the tunnel.
+ self.import_tunnel = import_tunnel
+
+ def validate(self):
+ if self.import_tunnel:
+ self.import_tunnel.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_tunnel is not None:
+ result['ImportTunnel'] = self.import_tunnel.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportTunnel') is not None:
+ temp_model = main_models.GetTunnelResp()
+ self.import_tunnel = temp_model.from_map(m.get('ImportTunnel'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_import_qos.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_import_qos.py
new file mode 100644
index 00000000..19110559
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_import_qos.py
@@ -0,0 +1,41 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class ImportQos(DaraModel):
+ def __init__(
+ self,
+ max_band_width: int = None,
+ max_import_task_qps: int = None,
+ ):
+ self.max_band_width = max_band_width
+ self.max_import_task_qps = max_import_task_qps
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.max_band_width is not None:
+ result['MaxBandWidth'] = self.max_band_width
+
+ if self.max_import_task_qps is not None:
+ result['MaxImportTaskQps'] = self.max_import_task_qps
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('MaxBandWidth') is not None:
+ self.max_band_width = m.get('MaxBandWidth')
+
+ if m.get('MaxImportTaskQps') is not None:
+ self.max_import_task_qps = m.get('MaxImportTaskQps')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_job_history.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_job_history.py
new file mode 100644
index 00000000..d92847d4
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_job_history.py
@@ -0,0 +1,153 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class JobHistory(DaraModel):
+ def __init__(
+ self,
+ commit_id: str = None,
+ copied_count: int = None,
+ copied_size: int = None,
+ end_time: str = None,
+ failed_count: int = None,
+ job_version: str = None,
+ list_status: str = None,
+ message: str = None,
+ name: str = None,
+ operator: str = None,
+ runtime_id: str = None,
+ runtime_state: str = None,
+ start_time: str = None,
+ status: str = None,
+ total_count: int = None,
+ total_size: int = None,
+ ):
+ self.commit_id = commit_id
+ self.copied_count = copied_count
+ self.copied_size = copied_size
+ self.end_time = end_time
+ self.failed_count = failed_count
+ self.job_version = job_version
+ self.list_status = list_status
+ self.message = message
+ self.name = name
+ self.operator = operator
+ self.runtime_id = runtime_id
+ self.runtime_state = runtime_state
+ self.start_time = start_time
+ self.status = status
+ self.total_count = total_count
+ self.total_size = total_size
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.commit_id is not None:
+ result['CommitId'] = self.commit_id
+
+ if self.copied_count is not None:
+ result['CopiedCount'] = self.copied_count
+
+ if self.copied_size is not None:
+ result['CopiedSize'] = self.copied_size
+
+ if self.end_time is not None:
+ result['EndTime'] = self.end_time
+
+ if self.failed_count is not None:
+ result['FailedCount'] = self.failed_count
+
+ if self.job_version is not None:
+ result['JobVersion'] = self.job_version
+
+ if self.list_status is not None:
+ result['ListStatus'] = self.list_status
+
+ if self.message is not None:
+ result['Message'] = self.message
+
+ if self.name is not None:
+ result['Name'] = self.name
+
+ if self.operator is not None:
+ result['Operator'] = self.operator
+
+ if self.runtime_id is not None:
+ result['RuntimeId'] = self.runtime_id
+
+ if self.runtime_state is not None:
+ result['RuntimeState'] = self.runtime_state
+
+ if self.start_time is not None:
+ result['StartTime'] = self.start_time
+
+ if self.status is not None:
+ result['Status'] = self.status
+
+ if self.total_count is not None:
+ result['TotalCount'] = self.total_count
+
+ if self.total_size is not None:
+ result['TotalSize'] = self.total_size
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('CommitId') is not None:
+ self.commit_id = m.get('CommitId')
+
+ if m.get('CopiedCount') is not None:
+ self.copied_count = m.get('CopiedCount')
+
+ if m.get('CopiedSize') is not None:
+ self.copied_size = m.get('CopiedSize')
+
+ if m.get('EndTime') is not None:
+ self.end_time = m.get('EndTime')
+
+ if m.get('FailedCount') is not None:
+ self.failed_count = m.get('FailedCount')
+
+ if m.get('JobVersion') is not None:
+ self.job_version = m.get('JobVersion')
+
+ if m.get('ListStatus') is not None:
+ self.list_status = m.get('ListStatus')
+
+ if m.get('Message') is not None:
+ self.message = m.get('Message')
+
+ if m.get('Name') is not None:
+ self.name = m.get('Name')
+
+ if m.get('Operator') is not None:
+ self.operator = m.get('Operator')
+
+ if m.get('RuntimeId') is not None:
+ self.runtime_id = m.get('RuntimeId')
+
+ if m.get('RuntimeState') is not None:
+ self.runtime_state = m.get('RuntimeState')
+
+ if m.get('StartTime') is not None:
+ self.start_time = m.get('StartTime')
+
+ if m.get('Status') is not None:
+ self.status = m.get('Status')
+
+ if m.get('TotalCount') is not None:
+ self.total_count = m.get('TotalCount')
+
+ if m.get('TotalSize') is not None:
+ self.total_size = m.get('TotalSize')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_key_filter_item.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_key_filter_item.py
new file mode 100644
index 00000000..c8ba132a
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_key_filter_item.py
@@ -0,0 +1,35 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import List
+
+from darabonba.model import DaraModel
+
+class KeyFilterItem(DaraModel):
+ def __init__(
+ self,
+ regex: List[str] = None,
+ ):
+ self.regex = regex
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.regex is not None:
+ result['Regex'] = self.regex
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('Regex') is not None:
+ self.regex = m.get('Regex')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_key_filters.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_key_filters.py
new file mode 100644
index 00000000..add695d7
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_key_filters.py
@@ -0,0 +1,47 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class KeyFilters(DaraModel):
+ def __init__(
+ self,
+ excludes: main_models.KeyFilterItem = None,
+ includes: main_models.KeyFilterItem = None,
+ ):
+ self.excludes = excludes
+ self.includes = includes
+
+ def validate(self):
+ if self.excludes:
+ self.excludes.validate()
+ if self.includes:
+ self.includes.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.excludes is not None:
+ result['Excludes'] = self.excludes.to_map()
+
+ if self.includes is not None:
+ result['Includes'] = self.includes.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('Excludes') is not None:
+ temp_model = main_models.KeyFilterItem()
+ self.excludes = temp_model.from_map(m.get('Excludes'))
+
+ if m.get('Includes') is not None:
+ temp_model = main_models.KeyFilterItem()
+ self.includes = temp_model.from_map(m.get('Includes'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_last_modified_filters.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_last_modified_filters.py
new file mode 100644
index 00000000..61bd3658
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_last_modified_filters.py
@@ -0,0 +1,47 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class LastModifiedFilters(DaraModel):
+ def __init__(
+ self,
+ excludes: main_models.LastModifyFilterItem = None,
+ includes: main_models.LastModifyFilterItem = None,
+ ):
+ self.excludes = excludes
+ self.includes = includes
+
+ def validate(self):
+ if self.excludes:
+ self.excludes.validate()
+ if self.includes:
+ self.includes.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.excludes is not None:
+ result['Excludes'] = self.excludes.to_map()
+
+ if self.includes is not None:
+ result['Includes'] = self.includes.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('Excludes') is not None:
+ temp_model = main_models.LastModifyFilterItem()
+ self.excludes = temp_model.from_map(m.get('Excludes'))
+
+ if m.get('Includes') is not None:
+ temp_model = main_models.LastModifyFilterItem()
+ self.includes = temp_model.from_map(m.get('Includes'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_last_modify_filter_item.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_last_modify_filter_item.py
new file mode 100644
index 00000000..195667f6
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_last_modify_filter_item.py
@@ -0,0 +1,44 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import List
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class LastModifyFilterItem(DaraModel):
+ def __init__(
+ self,
+ time_filter: List[main_models.TimeFilter] = None,
+ ):
+ self.time_filter = time_filter
+
+ def validate(self):
+ if self.time_filter:
+ for v1 in self.time_filter:
+ if v1:
+ v1.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ result['TimeFilter'] = []
+ if self.time_filter is not None:
+ for k1 in self.time_filter:
+ result['TimeFilter'].append(k1.to_map() if k1 else None)
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ self.time_filter = []
+ if m.get('TimeFilter') is not None:
+ for k1 in m.get('TimeFilter'):
+ temp_model = main_models.TimeFilter()
+ self.time_filter.append(temp_model.from_map(k1))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_request.py
new file mode 100644
index 00000000..4e9442df
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_request.py
@@ -0,0 +1,46 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class ListAddressRequest(DaraModel):
+ def __init__(
+ self,
+ count: int = None,
+ marker: str = None,
+ ):
+ # Specifies the number of migration addresses to be returned.\\
+ # Valid values: 0 - 1000 (excluding 0).\\
+ # Default value: 1000.
+ self.count = count
+ # The marker after which the migration addresses are listed.\\
+ # By default, this parameter is left empty.
+ self.marker = marker
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.count is not None:
+ result['count'] = self.count
+
+ if self.marker is not None:
+ result['marker'] = self.marker
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('count') is not None:
+ self.count = m.get('count')
+
+ if m.get('marker') is not None:
+ self.marker = m.get('marker')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_resp.py
new file mode 100644
index 00000000..51ee2c89
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_resp.py
@@ -0,0 +1,60 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import List
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListAddressResp(DaraModel):
+ def __init__(
+ self,
+ import_address: List[main_models.GetAddressResp] = None,
+ next_marker: str = None,
+ truncated: bool = None,
+ ):
+ self.import_address = import_address
+ self.next_marker = next_marker
+ self.truncated = truncated
+
+ def validate(self):
+ if self.import_address:
+ for v1 in self.import_address:
+ if v1:
+ v1.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ result['ImportAddress'] = []
+ if self.import_address is not None:
+ for k1 in self.import_address:
+ result['ImportAddress'].append(k1.to_map() if k1 else None)
+
+ if self.next_marker is not None:
+ result['NextMarker'] = self.next_marker
+
+ if self.truncated is not None:
+ result['Truncated'] = self.truncated
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ self.import_address = []
+ if m.get('ImportAddress') is not None:
+ for k1 in m.get('ImportAddress'):
+ temp_model = main_models.GetAddressResp()
+ self.import_address.append(temp_model.from_map(k1))
+
+ if m.get('NextMarker') is not None:
+ self.next_marker = m.get('NextMarker')
+
+ if m.get('Truncated') is not None:
+ self.truncated = m.get('Truncated')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_response.py
new file mode 100644
index 00000000..30f3c895
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListAddressResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.ListAddressResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.ListAddressResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_response_body.py
new file mode 100644
index 00000000..8c6eb7c4
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_address_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListAddressResponseBody(DaraModel):
+ def __init__(
+ self,
+ import_address_list: main_models.ListAddressResp = None,
+ ):
+ # The details of migration addresses.
+ self.import_address_list = import_address_list
+
+ def validate(self):
+ if self.import_address_list:
+ self.import_address_list.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_address_list is not None:
+ result['ImportAddressList'] = self.import_address_list.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportAddressList') is not None:
+ temp_model = main_models.ListAddressResp()
+ self.import_address_list = temp_model.from_map(m.get('ImportAddressList'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_request.py
new file mode 100644
index 00000000..feecc841
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_request.py
@@ -0,0 +1,46 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class ListAgentRequest(DaraModel):
+ def __init__(
+ self,
+ count: int = None,
+ marker: str = None,
+ ):
+ # Specifies the number of agents to be returned.\\
+ # Valid values: 0 - 1000.\\
+ # Default value: 1000.
+ self.count = count
+ # The marker after which the agents are listed.\\
+ # By default, this parameter is left empty.
+ self.marker = marker
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.count is not None:
+ result['count'] = self.count
+
+ if self.marker is not None:
+ result['marker'] = self.marker
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('count') is not None:
+ self.count = m.get('count')
+
+ if m.get('marker') is not None:
+ self.marker = m.get('marker')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_resp.py
new file mode 100644
index 00000000..a0dd8c28
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_resp.py
@@ -0,0 +1,60 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import List
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListAgentResp(DaraModel):
+ def __init__(
+ self,
+ import_agent: List[main_models.GetAgentResp] = None,
+ next_marker: str = None,
+ truncated: bool = None,
+ ):
+ self.import_agent = import_agent
+ self.next_marker = next_marker
+ self.truncated = truncated
+
+ def validate(self):
+ if self.import_agent:
+ for v1 in self.import_agent:
+ if v1:
+ v1.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ result['ImportAgent'] = []
+ if self.import_agent is not None:
+ for k1 in self.import_agent:
+ result['ImportAgent'].append(k1.to_map() if k1 else None)
+
+ if self.next_marker is not None:
+ result['NextMarker'] = self.next_marker
+
+ if self.truncated is not None:
+ result['Truncated'] = self.truncated
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ self.import_agent = []
+ if m.get('ImportAgent') is not None:
+ for k1 in m.get('ImportAgent'):
+ temp_model = main_models.GetAgentResp()
+ self.import_agent.append(temp_model.from_map(k1))
+
+ if m.get('NextMarker') is not None:
+ self.next_marker = m.get('NextMarker')
+
+ if m.get('Truncated') is not None:
+ self.truncated = m.get('Truncated')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_response.py
new file mode 100644
index 00000000..34b843f7
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListAgentResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.ListAgentResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.ListAgentResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_response_body.py
new file mode 100644
index 00000000..f4a0d731
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_agent_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListAgentResponseBody(DaraModel):
+ def __init__(
+ self,
+ import_agent_list: main_models.ListAgentResp = None,
+ ):
+ # The details of the agents.
+ self.import_agent_list = import_agent_list
+
+ def validate(self):
+ if self.import_agent_list:
+ self.import_agent_list.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_agent_list is not None:
+ result['ImportAgentList'] = self.import_agent_list.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportAgentList') is not None:
+ temp_model = main_models.ListAgentResp()
+ self.import_agent_list = temp_model.from_map(m.get('ImportAgentList'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_request.py
new file mode 100644
index 00000000..5bca666e
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_request.py
@@ -0,0 +1,55 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class ListJobHistoryRequest(DaraModel):
+ def __init__(
+ self,
+ count: int = None,
+ marker: str = None,
+ runtime_id: int = None,
+ ):
+ # Specifies the number of running records of the migration task to be returned.\\
+ # Valid values: 0 - 1000.\\
+ # Default value: 1000.
+ self.count = count
+ # The marker after which the running history of the task is listed.\\
+ # By default, this parameter is left empty.
+ self.marker = marker
+ # The execution ID of the task. If you specify an execution ID, only the running history related to the execution ID is listed.
+ self.runtime_id = runtime_id
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.count is not None:
+ result['count'] = self.count
+
+ if self.marker is not None:
+ result['marker'] = self.marker
+
+ if self.runtime_id is not None:
+ result['runtimeId'] = self.runtime_id
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('count') is not None:
+ self.count = m.get('count')
+
+ if m.get('marker') is not None:
+ self.marker = m.get('marker')
+
+ if m.get('runtimeId') is not None:
+ self.runtime_id = m.get('runtimeId')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_resp.py
new file mode 100644
index 00000000..9b16de72
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_resp.py
@@ -0,0 +1,60 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import List
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListJobHistoryResp(DaraModel):
+ def __init__(
+ self,
+ job_history: List[main_models.JobHistory] = None,
+ next_marker: str = None,
+ truncated: str = None,
+ ):
+ self.job_history = job_history
+ self.next_marker = next_marker
+ self.truncated = truncated
+
+ def validate(self):
+ if self.job_history:
+ for v1 in self.job_history:
+ if v1:
+ v1.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ result['JobHistory'] = []
+ if self.job_history is not None:
+ for k1 in self.job_history:
+ result['JobHistory'].append(k1.to_map() if k1 else None)
+
+ if self.next_marker is not None:
+ result['NextMarker'] = self.next_marker
+
+ if self.truncated is not None:
+ result['Truncated'] = self.truncated
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ self.job_history = []
+ if m.get('JobHistory') is not None:
+ for k1 in m.get('JobHistory'):
+ temp_model = main_models.JobHistory()
+ self.job_history.append(temp_model.from_map(k1))
+
+ if m.get('NextMarker') is not None:
+ self.next_marker = m.get('NextMarker')
+
+ if m.get('Truncated') is not None:
+ self.truncated = m.get('Truncated')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_response.py
new file mode 100644
index 00000000..fa930f84
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListJobHistoryResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.ListJobHistoryResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.ListJobHistoryResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_response_body.py
new file mode 100644
index 00000000..5f91fdae
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_history_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListJobHistoryResponseBody(DaraModel):
+ def __init__(
+ self,
+ job_history_list: main_models.ListJobHistoryResp = None,
+ ):
+ # The running history of the migration task.
+ self.job_history_list = job_history_list
+
+ def validate(self):
+ if self.job_history_list:
+ self.job_history_list.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.job_history_list is not None:
+ result['JobHistoryList'] = self.job_history_list.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('JobHistoryList') is not None:
+ temp_model = main_models.ListJobHistoryResp()
+ self.job_history_list = temp_model.from_map(m.get('JobHistoryList'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_info.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_info.py
new file mode 100644
index 00000000..b168e9c0
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_info.py
@@ -0,0 +1,60 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import List
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListJobInfo(DaraModel):
+ def __init__(
+ self,
+ import_job: List[main_models.CreateJobInfo] = None,
+ next_marker: str = None,
+ truncated: bool = None,
+ ):
+ self.import_job = import_job
+ self.next_marker = next_marker
+ self.truncated = truncated
+
+ def validate(self):
+ if self.import_job:
+ for v1 in self.import_job:
+ if v1:
+ v1.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ result['ImportJob'] = []
+ if self.import_job is not None:
+ for k1 in self.import_job:
+ result['ImportJob'].append(k1.to_map() if k1 else None)
+
+ if self.next_marker is not None:
+ result['NextMarker'] = self.next_marker
+
+ if self.truncated is not None:
+ result['Truncated'] = self.truncated
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ self.import_job = []
+ if m.get('ImportJob') is not None:
+ for k1 in m.get('ImportJob'):
+ temp_model = main_models.CreateJobInfo()
+ self.import_job.append(temp_model.from_map(k1))
+
+ if m.get('NextMarker') is not None:
+ self.next_marker = m.get('NextMarker')
+
+ if m.get('Truncated') is not None:
+ self.truncated = m.get('Truncated')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_request.py
new file mode 100644
index 00000000..9ec4ac85
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_request.py
@@ -0,0 +1,65 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class ListJobRequest(DaraModel):
+ def __init__(
+ self,
+ all: bool = None,
+ count: int = None,
+ marker: str = None,
+ parent_name: str = None,
+ ):
+ # Specifies whether to return subtasks.\\
+ # Valid values: true and false.
+ self.all = all
+ # Specifies the number of migration tasks to be returned.\\
+ # Valid values: 0 - 1000 (excluding 0).\\
+ # Default value: 1000.
+ self.count = count
+ # The marker after which the migration tasks are listed.\\
+ # By default, this parameter is left empty.
+ self.marker = marker
+ # The name of the parent task. If this parameter is specified, all subtasks of the parent task are returned.
+ self.parent_name = parent_name
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.all is not None:
+ result['all'] = self.all
+
+ if self.count is not None:
+ result['count'] = self.count
+
+ if self.marker is not None:
+ result['marker'] = self.marker
+
+ if self.parent_name is not None:
+ result['parentName'] = self.parent_name
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('all') is not None:
+ self.all = m.get('all')
+
+ if m.get('count') is not None:
+ self.count = m.get('count')
+
+ if m.get('marker') is not None:
+ self.marker = m.get('marker')
+
+ if m.get('parentName') is not None:
+ self.parent_name = m.get('parentName')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_resp.py
new file mode 100644
index 00000000..aa3feb3e
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_resp.py
@@ -0,0 +1,60 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import List
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListJobResp(DaraModel):
+ def __init__(
+ self,
+ import_job: List[main_models.GetJobResp] = None,
+ next_marker: str = None,
+ truncated: bool = None,
+ ):
+ self.import_job = import_job
+ self.next_marker = next_marker
+ self.truncated = truncated
+
+ def validate(self):
+ if self.import_job:
+ for v1 in self.import_job:
+ if v1:
+ v1.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ result['ImportJob'] = []
+ if self.import_job is not None:
+ for k1 in self.import_job:
+ result['ImportJob'].append(k1.to_map() if k1 else None)
+
+ if self.next_marker is not None:
+ result['NextMarker'] = self.next_marker
+
+ if self.truncated is not None:
+ result['Truncated'] = self.truncated
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ self.import_job = []
+ if m.get('ImportJob') is not None:
+ for k1 in m.get('ImportJob'):
+ temp_model = main_models.GetJobResp()
+ self.import_job.append(temp_model.from_map(k1))
+
+ if m.get('NextMarker') is not None:
+ self.next_marker = m.get('NextMarker')
+
+ if m.get('Truncated') is not None:
+ self.truncated = m.get('Truncated')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_response.py
new file mode 100644
index 00000000..d3496920
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListJobResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.ListJobResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.ListJobResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_response_body.py
new file mode 100644
index 00000000..aa141360
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_job_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListJobResponseBody(DaraModel):
+ def __init__(
+ self,
+ import_job_list: main_models.ListJobResp = None,
+ ):
+ # The queried migration tasks.
+ self.import_job_list = import_job_list
+
+ def validate(self):
+ if self.import_job_list:
+ self.import_job_list.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_job_list is not None:
+ result['ImportJobList'] = self.import_job_list.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportJobList') is not None:
+ temp_model = main_models.ListJobResp()
+ self.import_job_list = temp_model.from_map(m.get('ImportJobList'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_request.py
new file mode 100644
index 00000000..865be910
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_request.py
@@ -0,0 +1,46 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class ListTunnelRequest(DaraModel):
+ def __init__(
+ self,
+ count: int = None,
+ marker: str = None,
+ ):
+ # Specifies the number of tunnels to be returned.\\
+ # Valid values: 0 - 1000.\\
+ # Default value: 1000.
+ self.count = count
+ # The marker after which tunnels are listed.\\
+ # By default, this parameter is left empty.
+ self.marker = marker
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.count is not None:
+ result['count'] = self.count
+
+ if self.marker is not None:
+ result['marker'] = self.marker
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('count') is not None:
+ self.count = m.get('count')
+
+ if m.get('marker') is not None:
+ self.marker = m.get('marker')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_resp.py
new file mode 100644
index 00000000..c33c5b89
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_resp.py
@@ -0,0 +1,60 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import List
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListTunnelResp(DaraModel):
+ def __init__(
+ self,
+ import_tunnel: List[main_models.GetTunnelResp] = None,
+ next_marker: str = None,
+ truncated: bool = None,
+ ):
+ self.import_tunnel = import_tunnel
+ self.next_marker = next_marker
+ self.truncated = truncated
+
+ def validate(self):
+ if self.import_tunnel:
+ for v1 in self.import_tunnel:
+ if v1:
+ v1.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ result['ImportTunnel'] = []
+ if self.import_tunnel is not None:
+ for k1 in self.import_tunnel:
+ result['ImportTunnel'].append(k1.to_map() if k1 else None)
+
+ if self.next_marker is not None:
+ result['NextMarker'] = self.next_marker
+
+ if self.truncated is not None:
+ result['Truncated'] = self.truncated
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ self.import_tunnel = []
+ if m.get('ImportTunnel') is not None:
+ for k1 in m.get('ImportTunnel'):
+ temp_model = main_models.GetTunnelResp()
+ self.import_tunnel.append(temp_model.from_map(k1))
+
+ if m.get('NextMarker') is not None:
+ self.next_marker = m.get('NextMarker')
+
+ if m.get('Truncated') is not None:
+ self.truncated = m.get('Truncated')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_response.py
new file mode 100644
index 00000000..5124af19
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListTunnelResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.ListTunnelResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.ListTunnelResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_response_body.py
new file mode 100644
index 00000000..506c7974
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_list_tunnel_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class ListTunnelResponseBody(DaraModel):
+ def __init__(
+ self,
+ import_tunnel_list: main_models.ListTunnelResp = None,
+ ):
+ # The details of the tunnels.
+ self.import_tunnel_list = import_tunnel_list
+
+ def validate(self):
+ if self.import_tunnel_list:
+ self.import_tunnel_list.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_tunnel_list is not None:
+ result['ImportTunnelList'] = self.import_tunnel_list.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportTunnelList') is not None:
+ temp_model = main_models.ListTunnelResp()
+ self.import_tunnel_list = temp_model.from_map(m.get('ImportTunnelList'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_schedule_rule.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_schedule_rule.py
new file mode 100644
index 00000000..4a689620
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_schedule_rule.py
@@ -0,0 +1,49 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class ScheduleRule(DaraModel):
+ def __init__(
+ self,
+ max_schedule_count: int = None,
+ start_cron_expression: str = None,
+ suspend_cron_expression: str = None,
+ ):
+ self.max_schedule_count = max_schedule_count
+ self.start_cron_expression = start_cron_expression
+ self.suspend_cron_expression = suspend_cron_expression
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.max_schedule_count is not None:
+ result['MaxScheduleCount'] = self.max_schedule_count
+
+ if self.start_cron_expression is not None:
+ result['StartCronExpression'] = self.start_cron_expression
+
+ if self.suspend_cron_expression is not None:
+ result['SuspendCronExpression'] = self.suspend_cron_expression
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('MaxScheduleCount') is not None:
+ self.max_schedule_count = m.get('MaxScheduleCount')
+
+ if m.get('StartCronExpression') is not None:
+ self.start_cron_expression = m.get('StartCronExpression')
+
+ if m.get('SuspendCronExpression') is not None:
+ self.suspend_cron_expression = m.get('SuspendCronExpression')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_time_filter.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_time_filter.py
new file mode 100644
index 00000000..4a20f625
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_time_filter.py
@@ -0,0 +1,41 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class TimeFilter(DaraModel):
+ def __init__(
+ self,
+ end_time: str = None,
+ start_time: str = None,
+ ):
+ self.end_time = end_time
+ self.start_time = start_time
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.end_time is not None:
+ result['EndTime'] = self.end_time
+
+ if self.start_time is not None:
+ result['StartTime'] = self.start_time
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('EndTime') is not None:
+ self.end_time = m.get('EndTime')
+
+ if m.get('StartTime') is not None:
+ self.start_time = m.get('StartTime')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_tunnel_qos.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_tunnel_qos.py
new file mode 100644
index 00000000..32a69621
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_tunnel_qos.py
@@ -0,0 +1,41 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class TunnelQos(DaraModel):
+ def __init__(
+ self,
+ max_bandwidth: int = None,
+ max_qps: int = None,
+ ):
+ self.max_bandwidth = max_bandwidth
+ self.max_qps = max_qps
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.max_bandwidth is not None:
+ result['MaxBandwidth'] = self.max_bandwidth
+
+ if self.max_qps is not None:
+ result['MaxQps'] = self.max_qps
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('MaxBandwidth') is not None:
+ self.max_bandwidth = m.get('MaxBandwidth')
+
+ if m.get('MaxQps') is not None:
+ self.max_qps = m.get('MaxQps')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_address_info.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_address_info.py
new file mode 100644
index 00000000..f837a3de
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_address_info.py
@@ -0,0 +1,33 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class UpdateAddressInfo(DaraModel):
+ def __init__(
+ self,
+ agent_list: str = None,
+ ):
+ self.agent_list = agent_list
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.agent_list is not None:
+ result['AgentList'] = self.agent_list
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('AgentList') is not None:
+ self.agent_list = m.get('AgentList')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_address_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_address_request.py
new file mode 100644
index 00000000..4e9251f3
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_address_request.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class UpdateAddressRequest(DaraModel):
+ def __init__(
+ self,
+ import_address: main_models.UpdateAddressInfo = None,
+ ):
+ # The details for updating the data address.
+ self.import_address = import_address
+
+ def validate(self):
+ if self.import_address:
+ self.import_address.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_address is not None:
+ result['ImportAddress'] = self.import_address.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportAddress') is not None:
+ temp_model = main_models.UpdateAddressInfo()
+ self.import_address = temp_model.from_map(m.get('ImportAddress'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_address_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_address_response.py
new file mode 100644
index 00000000..696c9d6e
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_address_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class UpdateAddressResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_job_info.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_job_info.py
new file mode 100644
index 00000000..7fefdde9
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_job_info.py
@@ -0,0 +1,44 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class UpdateJobInfo(DaraModel):
+ def __init__(
+ self,
+ import_qos: main_models.ImportQos = None,
+ status: str = None,
+ ):
+ self.import_qos = import_qos
+ self.status = status
+
+ def validate(self):
+ if self.import_qos:
+ self.import_qos.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_qos is not None:
+ result['ImportQos'] = self.import_qos.to_map()
+
+ if self.status is not None:
+ result['Status'] = self.status
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportQos') is not None:
+ temp_model = main_models.ImportQos()
+ self.import_qos = temp_model.from_map(m.get('ImportQos'))
+
+ if m.get('Status') is not None:
+ self.status = m.get('Status')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_job_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_job_request.py
new file mode 100644
index 00000000..5546c9c5
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_job_request.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class UpdateJobRequest(DaraModel):
+ def __init__(
+ self,
+ import_job: main_models.UpdateJobInfo = None,
+ ):
+ # The details for updating the task.
+ self.import_job = import_job
+
+ def validate(self):
+ if self.import_job:
+ self.import_job.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_job is not None:
+ result['ImportJob'] = self.import_job.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportJob') is not None:
+ temp_model = main_models.UpdateJobInfo()
+ self.import_job = temp_model.from_map(m.get('ImportJob'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_job_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_job_response.py
new file mode 100644
index 00000000..d181d252
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_job_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class UpdateJobResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_tunnel_info.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_tunnel_info.py
new file mode 100644
index 00000000..87bb94ce
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_tunnel_info.py
@@ -0,0 +1,44 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class UpdateTunnelInfo(DaraModel):
+ def __init__(
+ self,
+ tags: str = None,
+ tunnel_qos: main_models.TunnelQos = None,
+ ):
+ self.tags = tags
+ self.tunnel_qos = tunnel_qos
+
+ def validate(self):
+ if self.tunnel_qos:
+ self.tunnel_qos.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.tags is not None:
+ result['Tags'] = self.tags
+
+ if self.tunnel_qos is not None:
+ result['TunnelQos'] = self.tunnel_qos.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('Tags') is not None:
+ self.tags = m.get('Tags')
+
+ if m.get('TunnelQos') is not None:
+ temp_model = main_models.TunnelQos()
+ self.tunnel_qos = temp_model.from_map(m.get('TunnelQos'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_tunnel_request.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_tunnel_request.py
new file mode 100644
index 00000000..8b940a69
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_tunnel_request.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class UpdateTunnelRequest(DaraModel):
+ def __init__(
+ self,
+ import_tunnel: main_models.UpdateTunnelInfo = None,
+ ):
+ # The details for updating the tunnel.
+ self.import_tunnel = import_tunnel
+
+ def validate(self):
+ if self.import_tunnel:
+ self.import_tunnel.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.import_tunnel is not None:
+ result['ImportTunnel'] = self.import_tunnel.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ImportTunnel') is not None:
+ temp_model = main_models.UpdateTunnelInfo()
+ self.import_tunnel = temp_model.from_map(m.get('ImportTunnel'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_tunnel_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_tunnel_response.py
new file mode 100644
index 00000000..5402e98a
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_update_tunnel_response.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from darabonba.model import DaraModel
+
+class UpdateTunnelResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_address_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_address_resp.py
new file mode 100644
index 00000000..d97ad41a
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_address_resp.py
@@ -0,0 +1,57 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class VerifyAddressResp(DaraModel):
+ def __init__(
+ self,
+ error_code: str = None,
+ error_message: str = None,
+ status: str = None,
+ verify_time: str = None,
+ ):
+ self.error_code = error_code
+ self.error_message = error_message
+ self.status = status
+ self.verify_time = verify_time
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.error_code is not None:
+ result['ErrorCode'] = self.error_code
+
+ if self.error_message is not None:
+ result['ErrorMessage'] = self.error_message
+
+ if self.status is not None:
+ result['Status'] = self.status
+
+ if self.verify_time is not None:
+ result['VerifyTime'] = self.verify_time
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ErrorCode') is not None:
+ self.error_code = m.get('ErrorCode')
+
+ if m.get('ErrorMessage') is not None:
+ self.error_message = m.get('ErrorMessage')
+
+ if m.get('Status') is not None:
+ self.status = m.get('Status')
+
+ if m.get('VerifyTime') is not None:
+ self.verify_time = m.get('VerifyTime')
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_address_response.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_address_response.py
new file mode 100644
index 00000000..f088bfe3
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_address_response.py
@@ -0,0 +1,54 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from typing import Dict
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class VerifyAddressResponse(DaraModel):
+ def __init__(
+ self,
+ headers: Dict[str, str] = None,
+ status_code: int = None,
+ body: main_models.VerifyAddressResponseBody = None,
+ ):
+ self.headers = headers
+ self.status_code = status_code
+ self.body = body
+
+ def validate(self):
+ if self.body:
+ self.body.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.headers is not None:
+ result['headers'] = self.headers
+
+ if self.status_code is not None:
+ result['statusCode'] = self.status_code
+
+ if self.body is not None:
+ result['body'] = self.body.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('headers') is not None:
+ self.headers = m.get('headers')
+
+ if m.get('statusCode') is not None:
+ self.status_code = m.get('statusCode')
+
+ if m.get('body') is not None:
+ temp_model = main_models.VerifyAddressResponseBody()
+ self.body = temp_model.from_map(m.get('body'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_address_response_body.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_address_response_body.py
new file mode 100644
index 00000000..c25d4bd8
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_address_response_body.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from alibabacloud_hcs_mgw20240626 import models as main_models
+from darabonba.model import DaraModel
+
+class VerifyAddressResponseBody(DaraModel):
+ def __init__(
+ self,
+ verify_address_response: main_models.VerifyAddressResp = None,
+ ):
+ # The details for verifying the data address.
+ self.verify_address_response = verify_address_response
+
+ def validate(self):
+ if self.verify_address_response:
+ self.verify_address_response.validate()
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.verify_address_response is not None:
+ result['VerifyAddressResponse'] = self.verify_address_response.to_map()
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('VerifyAddressResponse') is not None:
+ temp_model = main_models.VerifyAddressResp()
+ self.verify_address_response = temp_model.from_map(m.get('VerifyAddressResponse'))
+
+ return self
+
diff --git a/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_resp.py b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_resp.py
new file mode 100644
index 00000000..4fa7e66c
--- /dev/null
+++ b/alibabacloud-gateway-oss/util/python/alibabacloud_hcs_mgw20240626/models/_verify_resp.py
@@ -0,0 +1,49 @@
+# -*- coding: utf-8 -*-
+# This file is auto-generated, don't edit it. Thanks.
+from __future__ import annotations
+
+from darabonba.model import DaraModel
+
+class VerifyResp(DaraModel):
+ def __init__(
+ self,
+ error_code: str = None,
+ error_msg: str = None,
+ http_code: str = None,
+ ):
+ self.error_code = error_code
+ self.error_msg = error_msg
+ self.http_code = http_code
+
+ def validate(self):
+ pass
+
+ def to_map(self):
+ result = dict()
+ _map = super().to_map()
+ if _map is not None:
+ result = _map
+ if self.error_code is not None:
+ result['ErrorCode'] = self.error_code
+
+ if self.error_msg is not None:
+ result['ErrorMsg'] = self.error_msg
+
+ if self.http_code is not None:
+ result['HttpCode'] = self.http_code
+
+ return result
+
+ def from_map(self, m: dict = None):
+ m = m or dict()
+ if m.get('ErrorCode') is not None:
+ self.error_code = m.get('ErrorCode')
+
+ if m.get('ErrorMsg') is not None:
+ self.error_msg = m.get('ErrorMsg')
+
+ if m.get('HttpCode') is not None:
+ self.http_code = m.get('HttpCode')
+
+ return self
+