@alicloud/live20161101 2.3.3 → 2.5.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 +54 -0
  2. package/dist/client.js +135 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeLiveRtcRecordUsageDataRequest.d.ts +50 -0
  5. package/dist/models/DescribeLiveRtcRecordUsageDataRequest.js +66 -0
  6. package/dist/models/DescribeLiveRtcRecordUsageDataRequest.js.map +1 -0
  7. package/dist/models/DescribeLiveRtcRecordUsageDataResponse.d.ts +19 -0
  8. package/dist/models/DescribeLiveRtcRecordUsageDataResponse.js +69 -0
  9. package/dist/models/DescribeLiveRtcRecordUsageDataResponse.js.map +1 -0
  10. package/dist/models/DescribeLiveRtcRecordUsageDataResponseBody.d.ts +99 -0
  11. package/dist/models/DescribeLiveRtcRecordUsageDataResponseBody.js +106 -0
  12. package/dist/models/DescribeLiveRtcRecordUsageDataResponseBody.js.map +1 -0
  13. package/dist/models/ListLiveTagResourcesRequest.d.ts +66 -0
  14. package/dist/models/ListLiveTagResourcesRequest.js +99 -0
  15. package/dist/models/ListLiveTagResourcesRequest.js.map +1 -0
  16. package/dist/models/ListLiveTagResourcesResponse.d.ts +19 -0
  17. package/dist/models/ListLiveTagResourcesResponse.js +69 -0
  18. package/dist/models/ListLiveTagResourcesResponse.js.map +1 -0
  19. package/dist/models/ListLiveTagResourcesResponseBody.d.ts +69 -0
  20. package/dist/models/ListLiveTagResourcesResponseBody.js +112 -0
  21. package/dist/models/ListLiveTagResourcesResponseBody.js.map +1 -0
  22. package/dist/models/model.d.ts +10 -0
  23. package/dist/models/model.js +53 -33
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +152 -0
  27. package/src/models/DescribeLiveRtcRecordUsageDataRequest.ts +71 -0
  28. package/src/models/DescribeLiveRtcRecordUsageDataResponse.ts +40 -0
  29. package/src/models/DescribeLiveRtcRecordUsageDataResponseBody.ts +151 -0
  30. package/src/models/ListLiveTagResourcesRequest.ts +111 -0
  31. package/src/models/ListLiveTagResourcesResponse.ts +40 -0
  32. package/src/models/ListLiveTagResourcesResponseBody.ts +118 -0
  33. package/src/models/model.ts +10 -0
@@ -0,0 +1,50 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeLiveRtcRecordUsageDataRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * intl7f92-a5a8*************7ce4eb44a6
9
+ */
10
+ appId?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * 2022-10-10T21:00:00Z
17
+ */
18
+ endTime?: string;
19
+ /**
20
+ * @example
21
+ * 3600
22
+ */
23
+ interval?: string;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * 0
30
+ */
31
+ recordMode?: string;
32
+ /**
33
+ * @remarks
34
+ * This parameter is required.
35
+ *
36
+ * @example
37
+ * 2017-12-21T08:00:00Z
38
+ */
39
+ startTime?: string;
40
+ static names(): {
41
+ [key: string]: string;
42
+ };
43
+ static types(): {
44
+ [key: string]: any;
45
+ };
46
+ validate(): void;
47
+ constructor(map?: {
48
+ [key: string]: any;
49
+ });
50
+ }
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeLiveRtcRecordUsageDataRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeLiveRtcRecordUsageDataRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ appId: 'AppId',
43
+ endTime: 'EndTime',
44
+ interval: 'Interval',
45
+ recordMode: 'RecordMode',
46
+ startTime: 'StartTime',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ appId: 'string',
52
+ endTime: 'string',
53
+ interval: 'string',
54
+ recordMode: 'string',
55
+ startTime: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.DescribeLiveRtcRecordUsageDataRequest = DescribeLiveRtcRecordUsageDataRequest;
66
+ //# sourceMappingURL=DescribeLiveRtcRecordUsageDataRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeLiveRtcRecordUsageDataRequest.js","sourceRoot":"","sources":["../../src/models/DescribeLiveRtcRecordUsageDataRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAsCpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjED,sFAiEC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeLiveRtcRecordUsageDataResponseBody } from "./DescribeLiveRtcRecordUsageDataResponseBody";
3
+ export declare class DescribeLiveRtcRecordUsageDataResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeLiveRtcRecordUsageDataResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeLiveRtcRecordUsageDataResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeLiveRtcRecordUsageDataResponseBody_1 = require("./DescribeLiveRtcRecordUsageDataResponseBody");
40
+ class DescribeLiveRtcRecordUsageDataResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DescribeLiveRtcRecordUsageDataResponseBody_1.DescribeLiveRtcRecordUsageDataResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DescribeLiveRtcRecordUsageDataResponse = DescribeLiveRtcRecordUsageDataResponse;
69
+ //# sourceMappingURL=DescribeLiveRtcRecordUsageDataResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeLiveRtcRecordUsageDataResponse.js","sourceRoot":"","sources":["../../src/models/DescribeLiveRtcRecordUsageDataResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6GAA0G;AAG1G,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAIrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,uFAA0C;SACjD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,wFAiCC"}
@@ -0,0 +1,99 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeLiveRtcRecordUsageDataResponseBodyData extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 20
6
+ */
7
+ audioDuration?: number;
8
+ /**
9
+ * @example
10
+ * 2022-10-10T20:00:00Z
11
+ */
12
+ timestamp?: string;
13
+ /**
14
+ * @example
15
+ * 150
16
+ */
17
+ totalDuration?: number;
18
+ /**
19
+ * @example
20
+ * 10
21
+ */
22
+ v1080Duration?: number;
23
+ /**
24
+ * @example
25
+ * 30
26
+ */
27
+ v480Duration?: number;
28
+ /**
29
+ * @example
30
+ * 40
31
+ */
32
+ v720Duration?: number;
33
+ static names(): {
34
+ [key: string]: string;
35
+ };
36
+ static types(): {
37
+ [key: string]: any;
38
+ };
39
+ validate(): void;
40
+ constructor(map?: {
41
+ [key: string]: any;
42
+ });
43
+ }
44
+ export declare class DescribeLiveRtcRecordUsageDataResponseBody extends $dara.Model {
45
+ /**
46
+ * @example
47
+ * 7fd341b3-c6fa-43e1-96b8-7295a1dd****
48
+ */
49
+ appId?: string;
50
+ /**
51
+ * @example
52
+ * 20
53
+ */
54
+ audioSummaryDuration?: number;
55
+ data?: DescribeLiveRtcRecordUsageDataResponseBodyData[];
56
+ /**
57
+ * @example
58
+ * 0
59
+ */
60
+ recordMode?: string;
61
+ /**
62
+ * @remarks
63
+ * Id of the request
64
+ *
65
+ * @example
66
+ * 16A96B9A-F2*************B92E68F4CD8
67
+ */
68
+ requestId?: string;
69
+ /**
70
+ * @example
71
+ * 150
72
+ */
73
+ totalSummaryDuration?: number;
74
+ /**
75
+ * @example
76
+ * 10
77
+ */
78
+ v1080SummaryDuration?: number;
79
+ /**
80
+ * @example
81
+ * 30
82
+ */
83
+ v480SummaryDuration?: number;
84
+ /**
85
+ * @example
86
+ * 40
87
+ */
88
+ v720SummaryDuration?: number;
89
+ static names(): {
90
+ [key: string]: string;
91
+ };
92
+ static types(): {
93
+ [key: string]: any;
94
+ };
95
+ validate(): void;
96
+ constructor(map?: {
97
+ [key: string]: any;
98
+ });
99
+ }
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeLiveRtcRecordUsageDataResponseBody = exports.DescribeLiveRtcRecordUsageDataResponseBodyData = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeLiveRtcRecordUsageDataResponseBodyData extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ audioDuration: 'AudioDuration',
43
+ timestamp: 'Timestamp',
44
+ totalDuration: 'TotalDuration',
45
+ v1080Duration: 'V1080Duration',
46
+ v480Duration: 'V480Duration',
47
+ v720Duration: 'V720Duration',
48
+ };
49
+ }
50
+ static types() {
51
+ return {
52
+ audioDuration: 'number',
53
+ timestamp: 'string',
54
+ totalDuration: 'number',
55
+ v1080Duration: 'number',
56
+ v480Duration: 'number',
57
+ v720Duration: 'number',
58
+ };
59
+ }
60
+ validate() {
61
+ super.validate();
62
+ }
63
+ constructor(map) {
64
+ super(map);
65
+ }
66
+ }
67
+ exports.DescribeLiveRtcRecordUsageDataResponseBodyData = DescribeLiveRtcRecordUsageDataResponseBodyData;
68
+ class DescribeLiveRtcRecordUsageDataResponseBody extends $dara.Model {
69
+ static names() {
70
+ return {
71
+ appId: 'AppId',
72
+ audioSummaryDuration: 'AudioSummaryDuration',
73
+ data: 'Data',
74
+ recordMode: 'RecordMode',
75
+ requestId: 'RequestId',
76
+ totalSummaryDuration: 'TotalSummaryDuration',
77
+ v1080SummaryDuration: 'V1080SummaryDuration',
78
+ v480SummaryDuration: 'V480SummaryDuration',
79
+ v720SummaryDuration: 'V720SummaryDuration',
80
+ };
81
+ }
82
+ static types() {
83
+ return {
84
+ appId: 'string',
85
+ audioSummaryDuration: 'number',
86
+ data: { 'type': 'array', 'itemType': DescribeLiveRtcRecordUsageDataResponseBodyData },
87
+ recordMode: 'string',
88
+ requestId: 'string',
89
+ totalSummaryDuration: 'number',
90
+ v1080SummaryDuration: 'number',
91
+ v480SummaryDuration: 'number',
92
+ v720SummaryDuration: 'number',
93
+ };
94
+ }
95
+ validate() {
96
+ if (Array.isArray(this.data)) {
97
+ $dara.Model.validateArray(this.data);
98
+ }
99
+ super.validate();
100
+ }
101
+ constructor(map) {
102
+ super(map);
103
+ }
104
+ }
105
+ exports.DescribeLiveRtcRecordUsageDataResponseBody = DescribeLiveRtcRecordUsageDataResponseBody;
106
+ //# sourceMappingURL=DescribeLiveRtcRecordUsageDataResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeLiveRtcRecordUsageDataResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeLiveRtcRecordUsage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,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,oBAAoB,EAAE,QAAQ;YAC9B,oBAAoB,EAAE,QAAQ;YAC9B,mBAAmB,EAAE,QAAQ;YAC7B,mBAAmB,EAAE,QAAQ;SAC9B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnFD,gGAmFC"}
@@ -0,0 +1,66 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListLiveTagResourcesRequestTag extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * env
6
+ */
7
+ key?: string;
8
+ /**
9
+ * @example
10
+ * dev
11
+ */
12
+ value?: string;
13
+ static names(): {
14
+ [key: string]: string;
15
+ };
16
+ static types(): {
17
+ [key: string]: any;
18
+ };
19
+ validate(): void;
20
+ constructor(map?: {
21
+ [key: string]: any;
22
+ });
23
+ }
24
+ export declare class ListLiveTagResourcesRequest extends $dara.Model {
25
+ /**
26
+ * @example
27
+ * q2j8bLtBdhONLRkgaPBa6A==
28
+ */
29
+ nextToken?: string;
30
+ ownerId?: number;
31
+ /**
32
+ * @example
33
+ * cn-shanghai
34
+ */
35
+ regionId?: string;
36
+ resourceId?: string[];
37
+ /**
38
+ * @remarks
39
+ * This parameter is required.
40
+ *
41
+ * @example
42
+ * DOMAIN
43
+ */
44
+ resourceType?: string;
45
+ tag?: ListLiveTagResourcesRequestTag[];
46
+ /**
47
+ * @example
48
+ * 26842
49
+ */
50
+ tagOwnerBid?: string;
51
+ /**
52
+ * @example
53
+ * xxx1234xxx
54
+ */
55
+ tagOwnerUid?: string;
56
+ static names(): {
57
+ [key: string]: string;
58
+ };
59
+ static types(): {
60
+ [key: string]: any;
61
+ };
62
+ validate(): void;
63
+ constructor(map?: {
64
+ [key: string]: any;
65
+ });
66
+ }
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListLiveTagResourcesRequest = exports.ListLiveTagResourcesRequestTag = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListLiveTagResourcesRequestTag extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ key: 'Key',
43
+ value: 'Value',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ key: 'string',
49
+ value: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.ListLiveTagResourcesRequestTag = ListLiveTagResourcesRequestTag;
60
+ class ListLiveTagResourcesRequest extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ nextToken: 'NextToken',
64
+ ownerId: 'OwnerId',
65
+ regionId: 'RegionId',
66
+ resourceId: 'ResourceId',
67
+ resourceType: 'ResourceType',
68
+ tag: 'Tag',
69
+ tagOwnerBid: 'TagOwnerBid',
70
+ tagOwnerUid: 'TagOwnerUid',
71
+ };
72
+ }
73
+ static types() {
74
+ return {
75
+ nextToken: 'string',
76
+ ownerId: 'number',
77
+ regionId: 'string',
78
+ resourceId: { 'type': 'array', 'itemType': 'string' },
79
+ resourceType: 'string',
80
+ tag: { 'type': 'array', 'itemType': ListLiveTagResourcesRequestTag },
81
+ tagOwnerBid: 'string',
82
+ tagOwnerUid: 'string',
83
+ };
84
+ }
85
+ validate() {
86
+ if (Array.isArray(this.resourceId)) {
87
+ $dara.Model.validateArray(this.resourceId);
88
+ }
89
+ if (Array.isArray(this.tag)) {
90
+ $dara.Model.validateArray(this.tag);
91
+ }
92
+ super.validate();
93
+ }
94
+ constructor(map) {
95
+ super(map);
96
+ }
97
+ }
98
+ exports.ListLiveTagResourcesRequest = ListLiveTagResourcesRequest;
99
+ //# sourceMappingURL=ListLiveTagResourcesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListLiveTagResourcesRequest.js","sourceRoot":"","sources":["../../src/models/ListLiveTagResourcesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAW7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAA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a,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvED,kEAuEC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListLiveTagResourcesResponseBody } from "./ListLiveTagResourcesResponseBody";
3
+ export declare class ListLiveTagResourcesResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListLiveTagResourcesResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ListLiveTagResourcesResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListLiveTagResourcesResponseBody_1 = require("./ListLiveTagResourcesResponseBody");
40
+ class ListLiveTagResourcesResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: ListLiveTagResourcesResponseBody_1.ListLiveTagResourcesResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.ListLiveTagResourcesResponse = ListLiveTagResourcesResponse;
69
+ //# sourceMappingURL=ListLiveTagResourcesResponse.js.map