@alicloud/alidns20150109 3.5.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/client.d.ts +62 -0
  2. package/dist/client.js +125 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/RemoveRspDomainServerHoldStatusForGatewayRequest.d.ts +34 -0
  5. package/dist/models/RemoveRspDomainServerHoldStatusForGatewayRequest.js +62 -0
  6. package/dist/models/RemoveRspDomainServerHoldStatusForGatewayRequest.js.map +1 -0
  7. package/dist/models/RemoveRspDomainServerHoldStatusForGatewayResponse.d.ts +19 -0
  8. package/dist/models/RemoveRspDomainServerHoldStatusForGatewayResponse.js +69 -0
  9. package/dist/models/RemoveRspDomainServerHoldStatusForGatewayResponse.js.map +1 -0
  10. package/dist/models/RemoveRspDomainServerHoldStatusForGatewayResponseBody.d.ts +94 -0
  11. package/dist/models/RemoveRspDomainServerHoldStatusForGatewayResponseBody.js +122 -0
  12. package/dist/models/RemoveRspDomainServerHoldStatusForGatewayResponseBody.js.map +1 -0
  13. package/dist/models/UpdateRspDomainServerProhibitStatusForGatewayRequest.d.ts +67 -0
  14. package/dist/models/UpdateRspDomainServerProhibitStatusForGatewayRequest.js +112 -0
  15. package/dist/models/UpdateRspDomainServerProhibitStatusForGatewayRequest.js.map +1 -0
  16. package/dist/models/UpdateRspDomainServerProhibitStatusForGatewayResponse.d.ts +19 -0
  17. package/dist/models/UpdateRspDomainServerProhibitStatusForGatewayResponse.js +69 -0
  18. package/dist/models/UpdateRspDomainServerProhibitStatusForGatewayResponse.js.map +1 -0
  19. package/dist/models/UpdateRspDomainServerProhibitStatusForGatewayResponseBody.d.ts +118 -0
  20. package/dist/models/UpdateRspDomainServerProhibitStatusForGatewayResponseBody.js +150 -0
  21. package/dist/models/UpdateRspDomainServerProhibitStatusForGatewayResponseBody.js.map +1 -0
  22. package/dist/models/model.d.ts +13 -0
  23. package/dist/models/model.js +42 -15
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +136 -0
  27. package/src/models/RemoveRspDomainServerHoldStatusForGatewayRequest.ts +51 -0
  28. package/src/models/RemoveRspDomainServerHoldStatusForGatewayResponse.ts +40 -0
  29. package/src/models/RemoveRspDomainServerHoldStatusForGatewayResponseBody.ts +153 -0
  30. package/src/models/UpdateRspDomainServerProhibitStatusForGatewayRequest.ts +116 -0
  31. package/src/models/UpdateRspDomainServerProhibitStatusForGatewayResponse.ts +40 -0
  32. package/src/models/UpdateRspDomainServerProhibitStatusForGatewayResponseBody.ts +196 -0
  33. package/src/models/model.ts +13 -0
package/src/client.ts CHANGED
@@ -8940,6 +8940,72 @@ export default class Client extends OpenApi {
8940
8940
  return await this.removePdnsUdpIpSegmentWithOptions(request, runtime);
8941
8941
  }
8942
8942
 
8943
+ /**
8944
+ * 用于删除特定域名的serverHold状态信息。
8945
+ *
8946
+ * @remarks
8947
+ * ## 请求说明
8948
+ * - 本接口专为注册局用户设计,允许他们更新指定顶级域名(TLD)的各种属性。
8949
+ * - 必须提供`RegistryId`和`Tld`参数以标识要修改的具体TLD。
8950
+ * - 可选参数包括但不限于宽限期设置、DNS解析缓存时间、价格设定等,这些都可根据需要进行调整。
8951
+ * - 环境(`Env`)参数指定了API调用的目标环境,默认值为“DAILY”表示日常测试环境;正式上线前,请确保已正确设置此参数。
8952
+ * - 某些时间戳字段如`SunriseStartTimeStamp`要求输入Unix时间戳格式的数据。
8953
+ *
8954
+ * @param request - RemoveRspDomainServerHoldStatusForGatewayRequest
8955
+ * @param runtime - runtime options for this request RuntimeOptions
8956
+ * @returns RemoveRspDomainServerHoldStatusForGatewayResponse
8957
+ */
8958
+ async removeRspDomainServerHoldStatusForGatewayWithOptions(request: $_model.RemoveRspDomainServerHoldStatusForGatewayRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveRspDomainServerHoldStatusForGatewayResponse> {
8959
+ request.validate();
8960
+ let query = { };
8961
+ if (!$dara.isNull(request.clientToken)) {
8962
+ query["ClientToken"] = request.clientToken;
8963
+ }
8964
+
8965
+ if (!$dara.isNull(request.domainName)) {
8966
+ query["DomainName"] = request.domainName;
8967
+ }
8968
+
8969
+ if (!$dara.isNull(request.statusMsg)) {
8970
+ query["StatusMsg"] = request.statusMsg;
8971
+ }
8972
+
8973
+ let req = new $OpenApiUtil.OpenApiRequest({
8974
+ query: OpenApiUtil.query(query),
8975
+ });
8976
+ let params = new $OpenApiUtil.Params({
8977
+ action: "RemoveRspDomainServerHoldStatusForGateway",
8978
+ version: "2015-01-09",
8979
+ protocol: "HTTPS",
8980
+ pathname: "/",
8981
+ method: "POST",
8982
+ authType: "AK",
8983
+ style: "RPC",
8984
+ reqBodyType: "formData",
8985
+ bodyType: "json",
8986
+ });
8987
+ return $dara.cast<$_model.RemoveRspDomainServerHoldStatusForGatewayResponse>(await this.callApi(params, req, runtime), new $_model.RemoveRspDomainServerHoldStatusForGatewayResponse({}));
8988
+ }
8989
+
8990
+ /**
8991
+ * 用于删除特定域名的serverHold状态信息。
8992
+ *
8993
+ * @remarks
8994
+ * ## 请求说明
8995
+ * - 本接口专为注册局用户设计,允许他们更新指定顶级域名(TLD)的各种属性。
8996
+ * - 必须提供`RegistryId`和`Tld`参数以标识要修改的具体TLD。
8997
+ * - 可选参数包括但不限于宽限期设置、DNS解析缓存时间、价格设定等,这些都可根据需要进行调整。
8998
+ * - 环境(`Env`)参数指定了API调用的目标环境,默认值为“DAILY”表示日常测试环境;正式上线前,请确保已正确设置此参数。
8999
+ * - 某些时间戳字段如`SunriseStartTimeStamp`要求输入Unix时间戳格式的数据。
9000
+ *
9001
+ * @param request - RemoveRspDomainServerHoldStatusForGatewayRequest
9002
+ * @returns RemoveRspDomainServerHoldStatusForGatewayResponse
9003
+ */
9004
+ async removeRspDomainServerHoldStatusForGateway(request: $_model.RemoveRspDomainServerHoldStatusForGatewayRequest): Promise<$_model.RemoveRspDomainServerHoldStatusForGatewayResponse> {
9005
+ let runtime = new $dara.RuntimeOptions({ });
9006
+ return await this.removeRspDomainServerHoldStatusForGatewayWithOptions(request, runtime);
9007
+ }
9008
+
8943
9009
  /**
8944
9010
  * Replaces the addresses referenced by an address pool.
8945
9011
  *
@@ -13168,6 +13234,76 @@ export default class Client extends OpenApi {
13168
13234
  return await this.updateRecursionZoneRemarkWithOptions(request, runtime);
13169
13235
  }
13170
13236
 
13237
+ /**
13238
+ * 用于更新特定域名的状态信息。
13239
+ *
13240
+ * @remarks
13241
+ * ## 请求说明
13242
+ * - 本接口专为注册局用户设计,允许他们更新指定顶级域名(TLD)的各种属性。
13243
+ * - 必须提供`RegistryId`和`Tld`参数以标识要修改的具体TLD。
13244
+ * - 可选参数包括但不限于宽限期设置、DNS解析缓存时间、价格设定等,这些都可根据需要进行调整。
13245
+ * - 环境(`Env`)参数指定了API调用的目标环境,默认值为“DAILY”表示日常测试环境;正式上线前,请确保已正确设置此参数。
13246
+ * - 某些时间戳字段如`SunriseStartTimeStamp`要求输入Unix时间戳格式的数据。
13247
+ *
13248
+ * @param request - UpdateRspDomainServerProhibitStatusForGatewayRequest
13249
+ * @param runtime - runtime options for this request RuntimeOptions
13250
+ * @returns UpdateRspDomainServerProhibitStatusForGatewayResponse
13251
+ */
13252
+ async updateRspDomainServerProhibitStatusForGatewayWithOptions(request: $_model.UpdateRspDomainServerProhibitStatusForGatewayRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateRspDomainServerProhibitStatusForGatewayResponse> {
13253
+ request.validate();
13254
+ let query = { };
13255
+ if (!$dara.isNull(request.addStatusList)) {
13256
+ query["AddStatusList"] = request.addStatusList;
13257
+ }
13258
+
13259
+ if (!$dara.isNull(request.clientToken)) {
13260
+ query["ClientToken"] = request.clientToken;
13261
+ }
13262
+
13263
+ if (!$dara.isNull(request.deleteStatusList)) {
13264
+ query["DeleteStatusList"] = request.deleteStatusList;
13265
+ }
13266
+
13267
+ if (!$dara.isNull(request.domainName)) {
13268
+ query["DomainName"] = request.domainName;
13269
+ }
13270
+
13271
+ let req = new $OpenApiUtil.OpenApiRequest({
13272
+ query: OpenApiUtil.query(query),
13273
+ });
13274
+ let params = new $OpenApiUtil.Params({
13275
+ action: "UpdateRspDomainServerProhibitStatusForGateway",
13276
+ version: "2015-01-09",
13277
+ protocol: "HTTPS",
13278
+ pathname: "/",
13279
+ method: "POST",
13280
+ authType: "AK",
13281
+ style: "RPC",
13282
+ reqBodyType: "formData",
13283
+ bodyType: "json",
13284
+ });
13285
+ return $dara.cast<$_model.UpdateRspDomainServerProhibitStatusForGatewayResponse>(await this.callApi(params, req, runtime), new $_model.UpdateRspDomainServerProhibitStatusForGatewayResponse({}));
13286
+ }
13287
+
13288
+ /**
13289
+ * 用于更新特定域名的状态信息。
13290
+ *
13291
+ * @remarks
13292
+ * ## 请求说明
13293
+ * - 本接口专为注册局用户设计,允许他们更新指定顶级域名(TLD)的各种属性。
13294
+ * - 必须提供`RegistryId`和`Tld`参数以标识要修改的具体TLD。
13295
+ * - 可选参数包括但不限于宽限期设置、DNS解析缓存时间、价格设定等,这些都可根据需要进行调整。
13296
+ * - 环境(`Env`)参数指定了API调用的目标环境,默认值为“DAILY”表示日常测试环境;正式上线前,请确保已正确设置此参数。
13297
+ * - 某些时间戳字段如`SunriseStartTimeStamp`要求输入Unix时间戳格式的数据。
13298
+ *
13299
+ * @param request - UpdateRspDomainServerProhibitStatusForGatewayRequest
13300
+ * @returns UpdateRspDomainServerProhibitStatusForGatewayResponse
13301
+ */
13302
+ async updateRspDomainServerProhibitStatusForGateway(request: $_model.UpdateRspDomainServerProhibitStatusForGatewayRequest): Promise<$_model.UpdateRspDomainServerProhibitStatusForGatewayResponse> {
13303
+ let runtime = new $dara.RuntimeOptions({ });
13304
+ return await this.updateRspDomainServerProhibitStatusForGatewayWithOptions(request, runtime);
13305
+ }
13306
+
13171
13307
  /**
13172
13308
  * 检查实例主机名是否可添加
13173
13309
  *
@@ -0,0 +1,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RemoveRspDomainServerHoldStatusForGatewayRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * asdf
12
+ */
13
+ clientToken?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * example.com
20
+ */
21
+ domainName?: string;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ */
26
+ statusMsg?: string;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ clientToken: 'ClientToken',
30
+ domainName: 'DomainName',
31
+ statusMsg: 'StatusMsg',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ clientToken: 'string',
38
+ domainName: 'string',
39
+ statusMsg: 'string',
40
+ };
41
+ }
42
+
43
+ validate() {
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { RemoveRspDomainServerHoldStatusForGatewayResponseBody } from "./RemoveRspDomainServerHoldStatusForGatewayResponseBody";
4
+
5
+
6
+ export class RemoveRspDomainServerHoldStatusForGatewayResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: RemoveRspDomainServerHoldStatusForGatewayResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: RemoveRspDomainServerHoldStatusForGatewayResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,153 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RemoveRspDomainServerHoldStatusForGatewayResponseBodyAccessDeniedDetail extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * CreateUser
9
+ */
10
+ authAction?: string;
11
+ /**
12
+ * @example
13
+ * 2015555733387XXXX
14
+ */
15
+ authPrincipalDisplayName?: string;
16
+ /**
17
+ * @example
18
+ * 10469733312XXX
19
+ */
20
+ authPrincipalOwnerId?: string;
21
+ /**
22
+ * @example
23
+ * SubUser
24
+ */
25
+ authPrincipalType?: string;
26
+ /**
27
+ * @example
28
+ * AQEAAAAAaNIARXXXXUQwNjE0LUQzN0XXXXVEQy1BQzExLTMzXXXXNTkxRjk1Ng==
29
+ */
30
+ encodedDiagnosticMessage?: string;
31
+ /**
32
+ * @example
33
+ * ImplicitDeny
34
+ */
35
+ noPermissionType?: string;
36
+ /**
37
+ * @example
38
+ * DlpSend
39
+ */
40
+ policyType?: string;
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ authAction: 'AuthAction',
44
+ authPrincipalDisplayName: 'AuthPrincipalDisplayName',
45
+ authPrincipalOwnerId: 'AuthPrincipalOwnerId',
46
+ authPrincipalType: 'AuthPrincipalType',
47
+ encodedDiagnosticMessage: 'EncodedDiagnosticMessage',
48
+ noPermissionType: 'NoPermissionType',
49
+ policyType: 'PolicyType',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ authAction: 'string',
56
+ authPrincipalDisplayName: 'string',
57
+ authPrincipalOwnerId: 'string',
58
+ authPrincipalType: 'string',
59
+ encodedDiagnosticMessage: 'string',
60
+ noPermissionType: 'string',
61
+ policyType: 'string',
62
+ };
63
+ }
64
+
65
+ validate() {
66
+ super.validate();
67
+ }
68
+
69
+ constructor(map?: { [key: string]: any }) {
70
+ super(map);
71
+ }
72
+ }
73
+
74
+ export class RemoveRspDomainServerHoldStatusForGatewayResponseBodyData extends $dara.Model {
75
+ /**
76
+ * @example
77
+ * example.com
78
+ */
79
+ domainName?: string;
80
+ static names(): { [key: string]: string } {
81
+ return {
82
+ domainName: 'DomainName',
83
+ };
84
+ }
85
+
86
+ static types(): { [key: string]: any } {
87
+ return {
88
+ domainName: 'string',
89
+ };
90
+ }
91
+
92
+ validate() {
93
+ super.validate();
94
+ }
95
+
96
+ constructor(map?: { [key: string]: any }) {
97
+ super(map);
98
+ }
99
+ }
100
+
101
+ export class RemoveRspDomainServerHoldStatusForGatewayResponseBody extends $dara.Model {
102
+ accessDeniedDetail?: RemoveRspDomainServerHoldStatusForGatewayResponseBodyAccessDeniedDetail;
103
+ data?: RemoveRspDomainServerHoldStatusForGatewayResponseBodyData;
104
+ /**
105
+ * @example
106
+ * true
107
+ */
108
+ recoverableError?: boolean;
109
+ /**
110
+ * @example
111
+ * 0629502C-6224-5DC9-A8ED-2ED73A2E3931
112
+ */
113
+ requestId?: string;
114
+ /**
115
+ * @example
116
+ * true
117
+ */
118
+ success?: boolean;
119
+ static names(): { [key: string]: string } {
120
+ return {
121
+ accessDeniedDetail: 'AccessDeniedDetail',
122
+ data: 'Data',
123
+ recoverableError: 'RecoverableError',
124
+ requestId: 'RequestId',
125
+ success: 'Success',
126
+ };
127
+ }
128
+
129
+ static types(): { [key: string]: any } {
130
+ return {
131
+ accessDeniedDetail: RemoveRspDomainServerHoldStatusForGatewayResponseBodyAccessDeniedDetail,
132
+ data: RemoveRspDomainServerHoldStatusForGatewayResponseBodyData,
133
+ recoverableError: 'boolean',
134
+ requestId: 'string',
135
+ success: 'boolean',
136
+ };
137
+ }
138
+
139
+ validate() {
140
+ if(this.accessDeniedDetail && typeof (this.accessDeniedDetail as any).validate === 'function') {
141
+ (this.accessDeniedDetail as any).validate();
142
+ }
143
+ if(this.data && typeof (this.data as any).validate === 'function') {
144
+ (this.data as any).validate();
145
+ }
146
+ super.validate();
147
+ }
148
+
149
+ constructor(map?: { [key: string]: any }) {
150
+ super(map);
151
+ }
152
+ }
153
+
@@ -0,0 +1,116 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateRspDomainServerProhibitStatusForGatewayRequestAddStatusList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * serverDeleteProhibited
9
+ */
10
+ status?: string;
11
+ statusMsg?: string;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ status: 'Status',
15
+ statusMsg: 'StatusMsg',
16
+ };
17
+ }
18
+
19
+ static types(): { [key: string]: any } {
20
+ return {
21
+ status: 'string',
22
+ statusMsg: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
35
+ export class UpdateRspDomainServerProhibitStatusForGatewayRequestDeleteStatusList extends $dara.Model {
36
+ /**
37
+ * @example
38
+ * serverDeleteProhibited
39
+ */
40
+ status?: string;
41
+ statusMsg?: string;
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ status: 'Status',
45
+ statusMsg: 'StatusMsg',
46
+ };
47
+ }
48
+
49
+ static types(): { [key: string]: any } {
50
+ return {
51
+ status: 'string',
52
+ statusMsg: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class UpdateRspDomainServerProhibitStatusForGatewayRequest extends $dara.Model {
66
+ addStatusList?: UpdateRspDomainServerProhibitStatusForGatewayRequestAddStatusList[];
67
+ /**
68
+ * @remarks
69
+ * This parameter is required.
70
+ *
71
+ * @example
72
+ * asdf
73
+ */
74
+ clientToken?: string;
75
+ deleteStatusList?: UpdateRspDomainServerProhibitStatusForGatewayRequestDeleteStatusList[];
76
+ /**
77
+ * @remarks
78
+ * This parameter is required.
79
+ *
80
+ * @example
81
+ * example.com
82
+ */
83
+ domainName?: string;
84
+ static names(): { [key: string]: string } {
85
+ return {
86
+ addStatusList: 'AddStatusList',
87
+ clientToken: 'ClientToken',
88
+ deleteStatusList: 'DeleteStatusList',
89
+ domainName: 'DomainName',
90
+ };
91
+ }
92
+
93
+ static types(): { [key: string]: any } {
94
+ return {
95
+ addStatusList: { 'type': 'array', 'itemType': UpdateRspDomainServerProhibitStatusForGatewayRequestAddStatusList },
96
+ clientToken: 'string',
97
+ deleteStatusList: { 'type': 'array', 'itemType': UpdateRspDomainServerProhibitStatusForGatewayRequestDeleteStatusList },
98
+ domainName: 'string',
99
+ };
100
+ }
101
+
102
+ validate() {
103
+ if(Array.isArray(this.addStatusList)) {
104
+ $dara.Model.validateArray(this.addStatusList);
105
+ }
106
+ if(Array.isArray(this.deleteStatusList)) {
107
+ $dara.Model.validateArray(this.deleteStatusList);
108
+ }
109
+ super.validate();
110
+ }
111
+
112
+ constructor(map?: { [key: string]: any }) {
113
+ super(map);
114
+ }
115
+ }
116
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateRspDomainServerProhibitStatusForGatewayResponseBody } from "./UpdateRspDomainServerProhibitStatusForGatewayResponseBody";
4
+
5
+
6
+ export class UpdateRspDomainServerProhibitStatusForGatewayResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateRspDomainServerProhibitStatusForGatewayResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: UpdateRspDomainServerProhibitStatusForGatewayResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+