@alicloud/live20161101 2.4.0 → 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.
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListLiveTagResourcesResponseBody } from "./ListLiveTagResourcesResponseBody";
4
+
5
+
6
+ export class ListLiveTagResourcesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListLiveTagResourcesResponseBody;
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: ListLiveTagResourcesResponseBody,
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,118 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListLiveTagResourcesResponseBodyTagResourcesTagResource extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * my-resource-id
9
+ */
10
+ resourceId?: string;
11
+ /**
12
+ * @example
13
+ * DOMAIN
14
+ */
15
+ resourceType?: string;
16
+ /**
17
+ * @example
18
+ * env
19
+ */
20
+ tagKey?: string;
21
+ /**
22
+ * @example
23
+ * dev
24
+ */
25
+ tagValue?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ resourceId: 'ResourceId',
29
+ resourceType: 'ResourceType',
30
+ tagKey: 'TagKey',
31
+ tagValue: 'TagValue',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ resourceId: 'string',
38
+ resourceType: 'string',
39
+ tagKey: 'string',
40
+ tagValue: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
53
+ export class ListLiveTagResourcesResponseBodyTagResources extends $dara.Model {
54
+ tagResource?: ListLiveTagResourcesResponseBodyTagResourcesTagResource[];
55
+ static names(): { [key: string]: string } {
56
+ return {
57
+ tagResource: 'TagResource',
58
+ };
59
+ }
60
+
61
+ static types(): { [key: string]: any } {
62
+ return {
63
+ tagResource: { 'type': 'array', 'itemType': ListLiveTagResourcesResponseBodyTagResourcesTagResource },
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(Array.isArray(this.tagResource)) {
69
+ $dara.Model.validateArray(this.tagResource);
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
79
+ export class ListLiveTagResourcesResponseBody extends $dara.Model {
80
+ /**
81
+ * @example
82
+ * 6a5e8f4fae643e70d1a2ff1827cd91bd
83
+ */
84
+ nextToken?: string;
85
+ /**
86
+ * @example
87
+ * ******3B-0E1A-586A-AC29-742247******
88
+ */
89
+ requestId?: string;
90
+ tagResources?: ListLiveTagResourcesResponseBodyTagResources;
91
+ static names(): { [key: string]: string } {
92
+ return {
93
+ nextToken: 'NextToken',
94
+ requestId: 'RequestId',
95
+ tagResources: 'TagResources',
96
+ };
97
+ }
98
+
99
+ static types(): { [key: string]: any } {
100
+ return {
101
+ nextToken: 'string',
102
+ requestId: 'string',
103
+ tagResources: ListLiveTagResourcesResponseBodyTagResources,
104
+ };
105
+ }
106
+
107
+ validate() {
108
+ if(this.tagResources && typeof (this.tagResources as any).validate === 'function') {
109
+ (this.tagResources as any).validate();
110
+ }
111
+ super.validate();
112
+ }
113
+
114
+ constructor(map?: { [key: string]: any }) {
115
+ super(map);
116
+ }
117
+ }
118
+
@@ -396,6 +396,9 @@ export { ListLiveRealtimeLogDeliveryDomainsResponseBodyContentDomains } from './
396
396
  export { ListLiveRealtimeLogDeliveryDomainsResponseBodyContent } from './ListLiveRealtimeLogDeliveryDomainsResponseBody';
397
397
  export { ListLiveRealtimeLogDeliveryInfosResponseBodyContentRealtimeLogDeliveryInfos } from './ListLiveRealtimeLogDeliveryInfosResponseBody';
398
398
  export { ListLiveRealtimeLogDeliveryInfosResponseBodyContent } from './ListLiveRealtimeLogDeliveryInfosResponseBody';
399
+ export { ListLiveTagResourcesRequestTag } from './ListLiveTagResourcesRequest';
400
+ export { ListLiveTagResourcesResponseBodyTagResourcesTagResource } from './ListLiveTagResourcesResponseBody';
401
+ export { ListLiveTagResourcesResponseBodyTagResources } from './ListLiveTagResourcesResponseBody';
399
402
  export { ListMessageResponseBodyResultMessageList } from './ListMessageResponseBody';
400
403
  export { ListMessageResponseBodyResult } from './ListMessageResponseBody';
401
404
  export { ListMessageAppResponseBodyResultAppList } from './ListMessageAppResponseBody';
@@ -1437,6 +1440,9 @@ export { ListLiveRealtimeLogDeliveryDomainsResponse } from './ListLiveRealtimeLo
1437
1440
  export { ListLiveRealtimeLogDeliveryInfosRequest } from './ListLiveRealtimeLogDeliveryInfosRequest';
1438
1441
  export { ListLiveRealtimeLogDeliveryInfosResponseBody } from './ListLiveRealtimeLogDeliveryInfosResponseBody';
1439
1442
  export { ListLiveRealtimeLogDeliveryInfosResponse } from './ListLiveRealtimeLogDeliveryInfosResponse';
1443
+ export { ListLiveTagResourcesRequest } from './ListLiveTagResourcesRequest';
1444
+ export { ListLiveTagResourcesResponseBody } from './ListLiveTagResourcesResponseBody';
1445
+ export { ListLiveTagResourcesResponse } from './ListLiveTagResourcesResponse';
1440
1446
  export { ListMessageRequest } from './ListMessageRequest';
1441
1447
  export { ListMessageResponseBody } from './ListMessageResponseBody';
1442
1448
  export { ListMessageResponse } from './ListMessageResponse';