@huaweicloud/huaweicloud-sdk-cdn 3.1.59 → 3.1.61

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/package.json +2 -2
  2. package/v1/CdnClient.d.ts +13 -13
  3. package/v1/CdnClient.js +13 -13
  4. package/v1/model/PreheatingTaskRequestBody.d.ts +4 -0
  5. package/v1/model/PreheatingTaskRequestBody.d.ts.map +1 -1
  6. package/v1/model/PreheatingTaskRequestBody.js +10 -0
  7. package/v1/model/PreheatingTaskRequestBody.js.map +1 -1
  8. package/v1/model/RefreshTaskRequestBody.d.ts +4 -0
  9. package/v1/model/RefreshTaskRequestBody.d.ts.map +1 -1
  10. package/v1/model/RefreshTaskRequestBody.js +10 -0
  11. package/v1/model/RefreshTaskRequestBody.js.map +1 -1
  12. package/v2/CdnClient.d.ts +157 -1
  13. package/v2/CdnClient.d.ts.map +1 -1
  14. package/v2/CdnClient.js +421 -1
  15. package/v2/CdnClient.js.map +1 -1
  16. package/v2/model/CreatePreheatingTasksRequest.d.ts +11 -0
  17. package/v2/model/CreatePreheatingTasksRequest.d.ts.map +1 -0
  18. package/v2/model/CreatePreheatingTasksRequest.js +23 -0
  19. package/v2/model/CreatePreheatingTasksRequest.js.map +1 -0
  20. package/v2/model/CreatePreheatingTasksResponse.d.ts +9 -0
  21. package/v2/model/CreatePreheatingTasksResponse.d.ts.map +1 -0
  22. package/v2/model/CreatePreheatingTasksResponse.js +21 -0
  23. package/v2/model/CreatePreheatingTasksResponse.js.map +1 -0
  24. package/v2/model/CreateRefreshTasksRequest.d.ts +11 -0
  25. package/v2/model/CreateRefreshTasksRequest.d.ts.map +1 -0
  26. package/v2/model/CreateRefreshTasksRequest.js +23 -0
  27. package/v2/model/CreateRefreshTasksRequest.js.map +1 -0
  28. package/v2/model/CreateRefreshTasksResponse.d.ts +9 -0
  29. package/v2/model/CreateRefreshTasksResponse.d.ts.map +1 -0
  30. package/v2/model/CreateRefreshTasksResponse.js +21 -0
  31. package/v2/model/CreateRefreshTasksResponse.js.map +1 -0
  32. package/v2/model/PreheatingTaskRequest.d.ts +9 -0
  33. package/v2/model/PreheatingTaskRequest.d.ts.map +1 -0
  34. package/v2/model/PreheatingTaskRequest.js +20 -0
  35. package/v2/model/PreheatingTaskRequest.js.map +1 -0
  36. package/v2/model/PreheatingTaskRequestBody.d.ts +10 -0
  37. package/v2/model/PreheatingTaskRequestBody.d.ts.map +1 -0
  38. package/v2/model/PreheatingTaskRequestBody.js +24 -0
  39. package/v2/model/PreheatingTaskRequestBody.js.map +1 -0
  40. package/v2/model/RefreshTaskRequest.d.ts +9 -0
  41. package/v2/model/RefreshTaskRequest.d.ts.map +1 -0
  42. package/v2/model/RefreshTaskRequest.js +20 -0
  43. package/v2/model/RefreshTaskRequest.js.map +1 -0
  44. package/v2/model/RefreshTaskRequestBody.d.ts +30 -0
  45. package/v2/model/RefreshTaskRequestBody.d.ts.map +1 -0
  46. package/v2/model/RefreshTaskRequestBody.js +50 -0
  47. package/v2/model/RefreshTaskRequestBody.js.map +1 -0
  48. package/v2/model/ShowHistoryTaskDetailsRequest.d.ts +28 -0
  49. package/v2/model/ShowHistoryTaskDetailsRequest.d.ts.map +1 -0
  50. package/v2/model/ShowHistoryTaskDetailsRequest.js +68 -0
  51. package/v2/model/ShowHistoryTaskDetailsRequest.js.map +1 -0
  52. package/v2/model/ShowHistoryTaskDetailsResponse.d.ts +32 -0
  53. package/v2/model/ShowHistoryTaskDetailsResponse.d.ts.map +1 -0
  54. package/v2/model/ShowHistoryTaskDetailsResponse.js +69 -0
  55. package/v2/model/ShowHistoryTaskDetailsResponse.js.map +1 -0
  56. package/v2/model/ShowHistoryTasksRequest.d.ts +66 -0
  57. package/v2/model/ShowHistoryTasksRequest.d.ts.map +1 -0
  58. package/v2/model/ShowHistoryTasksRequest.js +130 -0
  59. package/v2/model/ShowHistoryTasksRequest.js.map +1 -0
  60. package/v2/model/ShowHistoryTasksResponse.d.ts +10 -0
  61. package/v2/model/ShowHistoryTasksResponse.d.ts.map +1 -0
  62. package/v2/model/ShowHistoryTasksResponse.js +19 -0
  63. package/v2/model/ShowHistoryTasksResponse.js.map +1 -0
  64. package/v2/model/ShowUrlTaskInfoRequest.d.ts +28 -0
  65. package/v2/model/ShowUrlTaskInfoRequest.d.ts.map +1 -0
  66. package/v2/model/ShowUrlTaskInfoRequest.js +65 -0
  67. package/v2/model/ShowUrlTaskInfoRequest.js.map +1 -0
  68. package/v2/model/ShowUrlTaskInfoResponse.d.ts +16 -0
  69. package/v2/model/ShowUrlTaskInfoResponse.d.ts.map +1 -0
  70. package/v2/model/ShowUrlTaskInfoResponse.js +33 -0
  71. package/v2/model/ShowUrlTaskInfoResponse.js.map +1 -0
  72. package/v2/model/TasksObject.d.ts +44 -0
  73. package/v2/model/TasksObject.d.ts.map +1 -0
  74. package/v2/model/TasksObject.js +81 -0
  75. package/v2/model/TasksObject.js.map +1 -0
  76. package/v2/model/UrlObject.d.ts +22 -0
  77. package/v2/model/UrlObject.d.ts.map +1 -0
  78. package/v2/model/UrlObject.js +51 -0
  79. package/v2/model/UrlObject.js.map +1 -0
  80. package/v2/model/Urls.d.ts +30 -0
  81. package/v2/model/Urls.d.ts.map +1 -0
  82. package/v2/model/Urls.js +69 -0
  83. package/v2/model/Urls.js.map +1 -0
  84. package/v2/public-api.d.ts +17 -0
  85. package/v2/public-api.d.ts.map +1 -1
  86. package/v2/public-api.js +17 -0
  87. package/v2/public-api.js.map +1 -1
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShowHistoryTaskDetailsRequest = void 0;
4
+ class ShowHistoryTaskDetailsRequest {
5
+ constructor(historyTasksId) {
6
+ this['history_tasks_id'] = historyTasksId;
7
+ }
8
+ withEnterpriseProjectId(enterpriseProjectId) {
9
+ this['enterprise_project_id'] = enterpriseProjectId;
10
+ return this;
11
+ }
12
+ set enterpriseProjectId(enterpriseProjectId) {
13
+ this['enterprise_project_id'] = enterpriseProjectId;
14
+ }
15
+ get enterpriseProjectId() {
16
+ return this['enterprise_project_id'];
17
+ }
18
+ withHistoryTasksId(historyTasksId) {
19
+ this['history_tasks_id'] = historyTasksId;
20
+ return this;
21
+ }
22
+ set historyTasksId(historyTasksId) {
23
+ this['history_tasks_id'] = historyTasksId;
24
+ }
25
+ get historyTasksId() {
26
+ return this['history_tasks_id'];
27
+ }
28
+ withPageSize(pageSize) {
29
+ this['page_size'] = pageSize;
30
+ return this;
31
+ }
32
+ set pageSize(pageSize) {
33
+ this['page_size'] = pageSize;
34
+ }
35
+ get pageSize() {
36
+ return this['page_size'];
37
+ }
38
+ withPageNumber(pageNumber) {
39
+ this['page_number'] = pageNumber;
40
+ return this;
41
+ }
42
+ set pageNumber(pageNumber) {
43
+ this['page_number'] = pageNumber;
44
+ }
45
+ get pageNumber() {
46
+ return this['page_number'];
47
+ }
48
+ withStatus(status) {
49
+ this['status'] = status;
50
+ return this;
51
+ }
52
+ withUrl(url) {
53
+ this['url'] = url;
54
+ return this;
55
+ }
56
+ withCreateTime(createTime) {
57
+ this['create_time'] = createTime;
58
+ return this;
59
+ }
60
+ set createTime(createTime) {
61
+ this['create_time'] = createTime;
62
+ }
63
+ get createTime() {
64
+ return this['create_time'];
65
+ }
66
+ }
67
+ exports.ShowHistoryTaskDetailsRequest = ShowHistoryTaskDetailsRequest;
68
+ //# sourceMappingURL=ShowHistoryTaskDetailsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowHistoryTaskDetailsRequest.js","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/ShowHistoryTaskDetailsRequest.ts"],"names":[],"mappings":";;;AAEA,MAAa,6BAA6B;IAQtC,YAAmB,cAAuB;QACtC,IAAI,CAAC,kBAAkB,CAAC,GAAG,cAAc,CAAC;IAC9C,CAAC;IACM,uBAAuB,CAAC,mBAA2B;QACtD,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,mB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;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAA+B;QACjD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;CACJ;AArED,sEAqEC"}
@@ -0,0 +1,32 @@
1
+ import { UrlObject } from './UrlObject';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ShowHistoryTaskDetailsResponse extends SdkResponse {
4
+ id?: string;
5
+ private 'task_type'?;
6
+ status?: string;
7
+ urls?: Array<UrlObject>;
8
+ private 'create_time'?;
9
+ processing?: number;
10
+ succeed?: number;
11
+ failed?: number;
12
+ total?: number;
13
+ private 'file_type'?;
14
+ constructor();
15
+ withId(id: string): ShowHistoryTaskDetailsResponse;
16
+ withTaskType(taskType: string): ShowHistoryTaskDetailsResponse;
17
+ set taskType(taskType: string | undefined);
18
+ get taskType(): string | undefined;
19
+ withStatus(status: string): ShowHistoryTaskDetailsResponse;
20
+ withUrls(urls: Array<UrlObject>): ShowHistoryTaskDetailsResponse;
21
+ withCreateTime(createTime: number): ShowHistoryTaskDetailsResponse;
22
+ set createTime(createTime: number | undefined);
23
+ get createTime(): number | undefined;
24
+ withProcessing(processing: number): ShowHistoryTaskDetailsResponse;
25
+ withSucceed(succeed: number): ShowHistoryTaskDetailsResponse;
26
+ withFailed(failed: number): ShowHistoryTaskDetailsResponse;
27
+ withTotal(total: number): ShowHistoryTaskDetailsResponse;
28
+ withFileType(fileType: string): ShowHistoryTaskDetailsResponse;
29
+ set fileType(fileType: string | undefined);
30
+ get fileType(): string | undefined;
31
+ }
32
+ //# sourceMappingURL=ShowHistoryTaskDetailsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowHistoryTaskDetailsResponse.d.ts","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G,8BAA8B;IAI1D,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,8BAA8B;IAIxD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,8BAA8B;IAIrE,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;CACJ"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShowHistoryTaskDetailsResponse = void 0;
4
+ const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
5
+ class ShowHistoryTaskDetailsResponse extends SdkResponse_1.SdkResponse {
6
+ constructor() {
7
+ super();
8
+ }
9
+ withId(id) {
10
+ this['id'] = id;
11
+ return this;
12
+ }
13
+ withTaskType(taskType) {
14
+ this['task_type'] = taskType;
15
+ return this;
16
+ }
17
+ set taskType(taskType) {
18
+ this['task_type'] = taskType;
19
+ }
20
+ get taskType() {
21
+ return this['task_type'];
22
+ }
23
+ withStatus(status) {
24
+ this['status'] = status;
25
+ return this;
26
+ }
27
+ withUrls(urls) {
28
+ this['urls'] = urls;
29
+ return this;
30
+ }
31
+ withCreateTime(createTime) {
32
+ this['create_time'] = createTime;
33
+ return this;
34
+ }
35
+ set createTime(createTime) {
36
+ this['create_time'] = createTime;
37
+ }
38
+ get createTime() {
39
+ return this['create_time'];
40
+ }
41
+ withProcessing(processing) {
42
+ this['processing'] = processing;
43
+ return this;
44
+ }
45
+ withSucceed(succeed) {
46
+ this['succeed'] = succeed;
47
+ return this;
48
+ }
49
+ withFailed(failed) {
50
+ this['failed'] = failed;
51
+ return this;
52
+ }
53
+ withTotal(total) {
54
+ this['total'] = total;
55
+ return this;
56
+ }
57
+ withFileType(fileType) {
58
+ this['file_type'] = fileType;
59
+ return this;
60
+ }
61
+ set fileType(fileType) {
62
+ this['file_type'] = fileType;
63
+ }
64
+ get fileType() {
65
+ return this['file_type'];
66
+ }
67
+ }
68
+ exports.ShowHistoryTaskDetailsResponse = ShowHistoryTaskDetailsResponse;
69
+ //# sourceMappingURL=ShowHistoryTaskDetailsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowHistoryTaskDetailsResponse.js","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/ShowHistoryTaskDetailsResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,8BAA+B,SAAQ,yBAAW;IAW3D;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,MAAM,CAAC,EAAU;QACpB,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAsB;QAClC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAA+B;QACjD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,WAAW,CAAC,OAAe;QAC9B,IAAI,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;QAC1B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;CACJ;AAxED,wEAwEC"}
@@ -0,0 +1,66 @@
1
+ export declare class ShowHistoryTasksRequest {
2
+ private 'enterprise_project_id'?;
3
+ private 'page_size'?;
4
+ private 'page_number'?;
5
+ status?: ShowHistoryTasksRequestStatusEnum | string;
6
+ private 'start_date'?;
7
+ private 'end_date'?;
8
+ private 'order_field'?;
9
+ private 'order_type'?;
10
+ private 'file_type'?;
11
+ private 'task_type'?;
12
+ constructor();
13
+ withEnterpriseProjectId(enterpriseProjectId: string): ShowHistoryTasksRequest;
14
+ set enterpriseProjectId(enterpriseProjectId: string | undefined);
15
+ get enterpriseProjectId(): string | undefined;
16
+ withPageSize(pageSize: number): ShowHistoryTasksRequest;
17
+ set pageSize(pageSize: number | undefined);
18
+ get pageSize(): number | undefined;
19
+ withPageNumber(pageNumber: number): ShowHistoryTasksRequest;
20
+ set pageNumber(pageNumber: number | undefined);
21
+ get pageNumber(): number | undefined;
22
+ withStatus(status: ShowHistoryTasksRequestStatusEnum | string): ShowHistoryTasksRequest;
23
+ withStartDate(startDate: number): ShowHistoryTasksRequest;
24
+ set startDate(startDate: number | undefined);
25
+ get startDate(): number | undefined;
26
+ withEndDate(endDate: number): ShowHistoryTasksRequest;
27
+ set endDate(endDate: number | undefined);
28
+ get endDate(): number | undefined;
29
+ withOrderField(orderField: string): ShowHistoryTasksRequest;
30
+ set orderField(orderField: string | undefined);
31
+ get orderField(): string | undefined;
32
+ withOrderType(orderType: string): ShowHistoryTasksRequest;
33
+ set orderType(orderType: string | undefined);
34
+ get orderType(): string | undefined;
35
+ withFileType(fileType: ShowHistoryTasksRequestFileTypeEnum | string): ShowHistoryTasksRequest;
36
+ set fileType(fileType: ShowHistoryTasksRequestFileTypeEnum | string | undefined);
37
+ get fileType(): ShowHistoryTasksRequestFileTypeEnum | string | undefined;
38
+ withTaskType(taskType: ShowHistoryTasksRequestTaskTypeEnum | string): ShowHistoryTasksRequest;
39
+ set taskType(taskType: ShowHistoryTasksRequestTaskTypeEnum | string | undefined);
40
+ get taskType(): ShowHistoryTasksRequestTaskTypeEnum | string | undefined;
41
+ }
42
+ /**
43
+ * @export
44
+ * @enum {string}
45
+ */
46
+ export declare enum ShowHistoryTasksRequestStatusEnum {
47
+ TASK_INPROCESS = "task_inprocess",
48
+ TASK_DONE = "task_done"
49
+ }
50
+ /**
51
+ * @export
52
+ * @enum {string}
53
+ */
54
+ export declare enum ShowHistoryTasksRequestFileTypeEnum {
55
+ FILE = "file",
56
+ DIRECTORY = "directory"
57
+ }
58
+ /**
59
+ * @export
60
+ * @enum {string}
61
+ */
62
+ export declare enum ShowHistoryTasksRequestTaskTypeEnum {
63
+ REFRESH = "refresh",
64
+ PREHEATING = "preheating"
65
+ }
66
+ //# sourceMappingURL=ShowHistoryTasksRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowHistoryTasksRequest.d.ts","s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ypeEnum = exports.ShowHistoryTasksRequestStatusEnum = exports.ShowHistoryTasksRequest = void 0;
4
+ class ShowHistoryTasksRequest {
5
+ constructor() {
6
+ }
7
+ withEnterpriseProjectId(enterpriseProjectId) {
8
+ this['enterprise_project_id'] = enterpriseProjectId;
9
+ return this;
10
+ }
11
+ set enterpriseProjectId(enterpriseProjectId) {
12
+ this['enterprise_project_id'] = enterpriseProjectId;
13
+ }
14
+ get enterpriseProjectId() {
15
+ return this['enterprise_project_id'];
16
+ }
17
+ withPageSize(pageSize) {
18
+ this['page_size'] = pageSize;
19
+ return this;
20
+ }
21
+ set pageSize(pageSize) {
22
+ this['page_size'] = pageSize;
23
+ }
24
+ get pageSize() {
25
+ return this['page_size'];
26
+ }
27
+ withPageNumber(pageNumber) {
28
+ this['page_number'] = pageNumber;
29
+ return this;
30
+ }
31
+ set pageNumber(pageNumber) {
32
+ this['page_number'] = pageNumber;
33
+ }
34
+ get pageNumber() {
35
+ return this['page_number'];
36
+ }
37
+ withStatus(status) {
38
+ this['status'] = status;
39
+ return this;
40
+ }
41
+ withStartDate(startDate) {
42
+ this['start_date'] = startDate;
43
+ return this;
44
+ }
45
+ set startDate(startDate) {
46
+ this['start_date'] = startDate;
47
+ }
48
+ get startDate() {
49
+ return this['start_date'];
50
+ }
51
+ withEndDate(endDate) {
52
+ this['end_date'] = endDate;
53
+ return this;
54
+ }
55
+ set endDate(endDate) {
56
+ this['end_date'] = endDate;
57
+ }
58
+ get endDate() {
59
+ return this['end_date'];
60
+ }
61
+ withOrderField(orderField) {
62
+ this['order_field'] = orderField;
63
+ return this;
64
+ }
65
+ set orderField(orderField) {
66
+ this['order_field'] = orderField;
67
+ }
68
+ get orderField() {
69
+ return this['order_field'];
70
+ }
71
+ withOrderType(orderType) {
72
+ this['order_type'] = orderType;
73
+ return this;
74
+ }
75
+ set orderType(orderType) {
76
+ this['order_type'] = orderType;
77
+ }
78
+ get orderType() {
79
+ return this['order_type'];
80
+ }
81
+ withFileType(fileType) {
82
+ this['file_type'] = fileType;
83
+ return this;
84
+ }
85
+ set fileType(fileType) {
86
+ this['file_type'] = fileType;
87
+ }
88
+ get fileType() {
89
+ return this['file_type'];
90
+ }
91
+ withTaskType(taskType) {
92
+ this['task_type'] = taskType;
93
+ return this;
94
+ }
95
+ set taskType(taskType) {
96
+ this['task_type'] = taskType;
97
+ }
98
+ get taskType() {
99
+ return this['task_type'];
100
+ }
101
+ }
102
+ exports.ShowHistoryTasksRequest = ShowHistoryTasksRequest;
103
+ /**
104
+ * @export
105
+ * @enum {string}
106
+ */
107
+ var ShowHistoryTasksRequestStatusEnum;
108
+ (function (ShowHistoryTasksRequestStatusEnum) {
109
+ ShowHistoryTasksRequestStatusEnum["TASK_INPROCESS"] = "task_inprocess";
110
+ ShowHistoryTasksRequestStatusEnum["TASK_DONE"] = "task_done";
111
+ })(ShowHistoryTasksRequestStatusEnum = exports.ShowHistoryTasksRequestStatusEnum || (exports.ShowHistoryTasksRequestStatusEnum = {}));
112
+ /**
113
+ * @export
114
+ * @enum {string}
115
+ */
116
+ var ShowHistoryTasksRequestFileTypeEnum;
117
+ (function (ShowHistoryTasksRequestFileTypeEnum) {
118
+ ShowHistoryTasksRequestFileTypeEnum["FILE"] = "file";
119
+ ShowHistoryTasksRequestFileTypeEnum["DIRECTORY"] = "directory";
120
+ })(ShowHistoryTasksRequestFileTypeEnum = exports.ShowHistoryTasksRequestFileTypeEnum || (exports.ShowHistoryTasksRequestFileTypeEnum = {}));
121
+ /**
122
+ * @export
123
+ * @enum {string}
124
+ */
125
+ var ShowHistoryTasksRequestTaskTypeEnum;
126
+ (function (ShowHistoryTasksRequestTaskTypeEnum) {
127
+ ShowHistoryTasksRequestTaskTypeEnum["REFRESH"] = "refresh";
128
+ ShowHistoryTasksRequestTaskTypeEnum["PREHEATING"] = "preheating";
129
+ })(ShowHistoryTasksRequestTaskTypeEnum = exports.ShowHistoryTasksRequestTaskTypeEnum || (exports.ShowHistoryTasksRequestTaskTypeEnum = {}));
130
+ //# sourceMappingURL=ShowHistoryTasksRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowHistoryTasksRequest.js","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/ShowHistoryTasksRequest.ts"],"names":[],"mappings":";;;AAEA,MAAa,uBAAuB;IAWhC;IACA,CAAC;IACM,uBAAuB,CAAC,mBAA2B;QACtD,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,mBAAmB,CAAC,mBAAwC;QACnE,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;IACxD,CAAC;IACD,IAAW,mBAAmB;QAC1B,OAAO,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACzC,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAA+B;QACjD,IAAI,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACrC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC;IAC/B,CAAC;IACM,UAAU,CAAC,MAAkD;QAChE,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAA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,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;IACM,YAAY,CAAC,QAAsD;QACtE,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAAmE;QACnF,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;CACJ;AA3GD,0DA2GC;AAED;;;MAGM;AACN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IACzC,sEAAiC,CAAA;IACjC,4DAAuB,CAAA;AAC3B,CAAC,EAHW,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAG5C;AACD;;;MAGM;AACN,IAAY,mCAGX;AAHD,WAAY,mCAAmC;IAC3C,oDAAa,CAAA;IACb,8DAAuB,CAAA;AAC3B,CAAC,EAHW,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAG9C;AACD;;;MAGM;AACN,IAAY,mCAGX;AAHD,WAAY,mCAAmC;IAC3C,0DAAmB,CAAA;IACnB,gEAAyB,CAAA;AAC7B,CAAC,EAHW,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAG9C"}
@@ -0,0 +1,10 @@
1
+ import { TasksObject } from './TasksObject';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ShowHistoryTasksResponse extends SdkResponse {
4
+ total?: number;
5
+ tasks?: Array<TasksObject>;
6
+ constructor();
7
+ withTotal(total: number): ShowHistoryTasksResponse;
8
+ withTasks(tasks: Array<TasksObject>): ShowHistoryTasksResponse;
9
+ }
10
+ //# sourceMappingURL=ShowHistoryTasksResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowHistoryTasksResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/ShowHistoryTasksResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,wBAAyB,SAAQ,WAAW;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;;IAI3B,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,wBAAwB;IAIlD,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG,wBAAwB;CAIxE"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShowHistoryTasksResponse = void 0;
4
+ const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
5
+ class ShowHistoryTasksResponse extends SdkResponse_1.SdkResponse {
6
+ constructor() {
7
+ super();
8
+ }
9
+ withTotal(total) {
10
+ this['total'] = total;
11
+ return this;
12
+ }
13
+ withTasks(tasks) {
14
+ this['tasks'] = tasks;
15
+ return this;
16
+ }
17
+ }
18
+ exports.ShowHistoryTasksResponse = ShowHistoryTasksResponse;
19
+ //# sourceMappingURL=ShowHistoryTasksResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowHistoryTasksResponse.js","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/ShowHistoryTasksResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,wBAAyB,SAAQ,yBAAW;IAGrD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAyB;QACtC,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAdD,4DAcC"}
@@ -0,0 +1,28 @@
1
+ export declare class ShowUrlTaskInfoRequest {
2
+ private 'start_time'?;
3
+ private 'end_time'?;
4
+ offset?: number;
5
+ limit?: number;
6
+ url?: string;
7
+ private 'task_type'?;
8
+ status?: string;
9
+ private 'file_type'?;
10
+ constructor();
11
+ withStartTime(startTime: number): ShowUrlTaskInfoRequest;
12
+ set startTime(startTime: number | undefined);
13
+ get startTime(): number | undefined;
14
+ withEndTime(endTime: number): ShowUrlTaskInfoRequest;
15
+ set endTime(endTime: number | undefined);
16
+ get endTime(): number | undefined;
17
+ withOffset(offset: number): ShowUrlTaskInfoRequest;
18
+ withLimit(limit: number): ShowUrlTaskInfoRequest;
19
+ withUrl(url: string): ShowUrlTaskInfoRequest;
20
+ withTaskType(taskType: string): ShowUrlTaskInfoRequest;
21
+ set taskType(taskType: string | undefined);
22
+ get taskType(): string | undefined;
23
+ withStatus(status: string): ShowUrlTaskInfoRequest;
24
+ withFileType(fileType: string): ShowUrlTaskInfoRequest;
25
+ set fileType(fileType: string | undefined);
26
+ get fileType(): string | undefined;
27
+ }
28
+ //# sourceMappingURL=ShowUrlTaskInfoRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowUrlTaskInfoRequest.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/ShowUrlTaskInfoRequest.ts"],"names":[],"mappings":"AAEA,qBAAa,sBAAsB;IAC/B,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,UAAU,CAAC,CAAS;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,WAAW,CAAC,CAAS;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,WAAW,CAAC,CAAS;;IAGtB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,sBAAsB;IAI/D,IAAW,SAAS,CAAC,SAAS,EAAE,MAAM,GAAI,SAAS,EAElD;IACD,IAAW,SAAS,IAAI,MAAM,GAAG,SAAS,CAEzC;IACM,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,sBAAsB;IAI3D,IAAW,OAAO,CAAC,OAAO,EAAE,MAAM,GAAI,SAAS,EAE9C;IACD,IAAW,OAAO,IAAI,MAAM,GAAG,SAAS,CAEvC;IACM,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,sBAAsB;IAIlD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,sBAAsB;IAIhD,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,sBAAsB;IAI5C,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,sBAAsB;IAI7D,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;IACM,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,sBAAsB;IAIlD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,sBAAsB;IAI7D,IAAW,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAI,SAAS,EAEhD;IACD,IAAW,QAAQ,IAAI,MAAM,GAAG,SAAS,CAExC;CACJ"}
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShowUrlTaskInfoRequest = void 0;
4
+ class ShowUrlTaskInfoRequest {
5
+ constructor() {
6
+ }
7
+ withStartTime(startTime) {
8
+ this['start_time'] = startTime;
9
+ return this;
10
+ }
11
+ set startTime(startTime) {
12
+ this['start_time'] = startTime;
13
+ }
14
+ get startTime() {
15
+ return this['start_time'];
16
+ }
17
+ withEndTime(endTime) {
18
+ this['end_time'] = endTime;
19
+ return this;
20
+ }
21
+ set endTime(endTime) {
22
+ this['end_time'] = endTime;
23
+ }
24
+ get endTime() {
25
+ return this['end_time'];
26
+ }
27
+ withOffset(offset) {
28
+ this['offset'] = offset;
29
+ return this;
30
+ }
31
+ withLimit(limit) {
32
+ this['limit'] = limit;
33
+ return this;
34
+ }
35
+ withUrl(url) {
36
+ this['url'] = url;
37
+ return this;
38
+ }
39
+ withTaskType(taskType) {
40
+ this['task_type'] = taskType;
41
+ return this;
42
+ }
43
+ set taskType(taskType) {
44
+ this['task_type'] = taskType;
45
+ }
46
+ get taskType() {
47
+ return this['task_type'];
48
+ }
49
+ withStatus(status) {
50
+ this['status'] = status;
51
+ return this;
52
+ }
53
+ withFileType(fileType) {
54
+ this['file_type'] = fileType;
55
+ return this;
56
+ }
57
+ set fileType(fileType) {
58
+ this['file_type'] = fileType;
59
+ }
60
+ get fileType() {
61
+ return this['file_type'];
62
+ }
63
+ }
64
+ exports.ShowUrlTaskInfoRequest = ShowUrlTaskInfoRequest;
65
+ //# sourceMappingURL=ShowUrlTaskInfoRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowUrlTaskInfoRequest.js","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/ShowUrlTaskInfoRequest.ts"],"names":[],"mappings":";;;AAEA,MAAa,sBAAsB;IAS/B;IACA,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAA8B;QAC/C,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;IACM,WAAW,CAAC,OAAe;QAC9B,IAAI,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,OAAO,CAAC,OAA4B;QAC3C,IAAI,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;IAC/B,CAAC;IACD,IAAW,OAAO;QACd,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC;IAC5B,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,OAAO,CAAC,GAAW;QACtB,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,QAAQ,CAAC,QAA6B;QAC7C,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,IAAW,QAAQ;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC;CACJ;AAnED,wDAmEC"}
@@ -0,0 +1,16 @@
1
+ import { Urls } from './Urls';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ShowUrlTaskInfoResponse extends SdkResponse {
4
+ total?: number;
5
+ count?: number;
6
+ result?: Array<Urls>;
7
+ private 'X-request-id'?;
8
+ constructor();
9
+ withTotal(total: number): ShowUrlTaskInfoResponse;
10
+ withCount(count: number): ShowUrlTaskInfoResponse;
11
+ withResult(result: Array<Urls>): ShowUrlTaskInfoResponse;
12
+ withXRequestId(xRequestId: string): ShowUrlTaskInfoResponse;
13
+ set xRequestId(xRequestId: string | undefined);
14
+ get xRequestId(): string | undefined;
15
+ }
16
+ //# sourceMappingURL=ShowUrlTaskInfoResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowUrlTaskInfoResponse.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/ShowUrlTaskInfoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,uBAAwB,SAAQ,WAAW;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAC5B,OAAO,CAAC,cAAc,CAAC,CAAS;;IAIzB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,uBAAuB;IAIjD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,uBAAuB;IAIjD,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,uBAAuB;IAIxD,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,uBAAuB;IAIlE,IAAW,UAAU,CAAC,UAAU,EAAE,MAAM,GAAI,SAAS,EAEpD;IACD,IAAW,UAAU,IAAI,MAAM,GAAG,SAAS,CAE1C;CACJ"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShowUrlTaskInfoResponse = void 0;
4
+ const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
5
+ class ShowUrlTaskInfoResponse extends SdkResponse_1.SdkResponse {
6
+ constructor() {
7
+ super();
8
+ }
9
+ withTotal(total) {
10
+ this['total'] = total;
11
+ return this;
12
+ }
13
+ withCount(count) {
14
+ this['count'] = count;
15
+ return this;
16
+ }
17
+ withResult(result) {
18
+ this['result'] = result;
19
+ return this;
20
+ }
21
+ withXRequestId(xRequestId) {
22
+ this['X-request-id'] = xRequestId;
23
+ return this;
24
+ }
25
+ set xRequestId(xRequestId) {
26
+ this['X-request-id'] = xRequestId;
27
+ }
28
+ get xRequestId() {
29
+ return this['X-request-id'];
30
+ }
31
+ }
32
+ exports.ShowUrlTaskInfoResponse = ShowUrlTaskInfoResponse;
33
+ //# sourceMappingURL=ShowUrlTaskInfoResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShowUrlTaskInfoResponse.js","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/ShowUrlTaskInfoResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,uBAAwB,SAAQ,yBAAW;IAKpD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAmB;QACjC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,cAAc,CAAC,GAAG,UAAU,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,UAAU,CAAC,UAA+B;QACjD,IAAI,CAAC,cAAc,CAAC,GAAG,UAAU,CAAC;IACtC,CAAC;IACD,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC;IAChC,CAAC;CACJ;AA9BD,0DA8BC"}
@@ -0,0 +1,44 @@
1
+ export declare class TasksObject {
2
+ id?: string;
3
+ private 'task_type'?;
4
+ status?: string;
5
+ processing?: number;
6
+ succeed?: number;
7
+ failed?: number;
8
+ total?: number;
9
+ private 'create_time'?;
10
+ private 'file_type'?;
11
+ constructor();
12
+ withId(id: string): TasksObject;
13
+ withTaskType(taskType: TasksObjectTaskTypeEnum | string): TasksObject;
14
+ set taskType(taskType: TasksObjectTaskTypeEnum | string | undefined);
15
+ get taskType(): TasksObjectTaskTypeEnum | string | undefined;
16
+ withStatus(status: string): TasksObject;
17
+ withProcessing(processing: number): TasksObject;
18
+ withSucceed(succeed: number): TasksObject;
19
+ withFailed(failed: number): TasksObject;
20
+ withTotal(total: number): TasksObject;
21
+ withCreateTime(createTime: number): TasksObject;
22
+ set createTime(createTime: number | undefined);
23
+ get createTime(): number | undefined;
24
+ withFileType(fileType: TasksObjectFileTypeEnum | string): TasksObject;
25
+ set fileType(fileType: TasksObjectFileTypeEnum | string | undefined);
26
+ get fileType(): TasksObjectFileTypeEnum | string | undefined;
27
+ }
28
+ /**
29
+ * @export
30
+ * @enum {string}
31
+ */
32
+ export declare enum TasksObjectTaskTypeEnum {
33
+ REFRESH = "refresh",
34
+ PREHEATING = "preheating"
35
+ }
36
+ /**
37
+ * @export
38
+ * @enum {string}
39
+ */
40
+ export declare enum TasksObjectFileTypeEnum {
41
+ FILE = "file",
42
+ DIRECTORY = "directory"
43
+ }
44
+ //# sourceMappingURL=TasksObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TasksObject.d.ts","sourceRoot":"","sources":["../../../../../services/cdn/v2/model/TasksObject.ts"],"names":[],"mappings":"AAEA,qBAAa,WAAW;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,WAAW,CAAC,CAAmC;IAChD,MAAM,CA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