@huaweicloud/huaweicloud-sdk-codeartsbuild 3.1.46
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-codeartsbuild.ts +4 -0
- package/package.json +19 -0
- package/v3/CodeArtsBuildClient.ts +732 -0
- package/v3/CodeArtsBuildRegion.ts +44 -0
- package/v3/model/BuildStep.ts +27 -0
- package/v3/model/DownloadKeystoreRequest.ts +30 -0
- package/v3/model/DownloadKeystoreResponse.ts +8 -0
- package/v3/model/HistoryRecord.ts +66 -0
- package/v3/model/HistoryRecord1.ts +109 -0
- package/v3/model/Job.ts +175 -0
- package/v3/model/ParameterItem.ts +18 -0
- package/v3/model/RunJobRequest.ts +12 -0
- package/v3/model/RunJobRequestBody.ts +30 -0
- package/v3/model/RunJobResponse.ts +41 -0
- package/v3/model/Scm.ts +28 -0
- package/v3/model/ShowHistoryDetailsRequest.ts +30 -0
- package/v3/model/ShowHistoryDetailsResponse.ts +69 -0
- package/v3/model/ShowJobListByProjectIdRequest.ts +42 -0
- package/v3/model/ShowJobListByProjectIdResponse.ts +19 -0
- package/v3/model/ShowJobStatusRequest.ts +18 -0
- package/v3/model/ShowJobStatusResponse.ts +13 -0
- package/v3/model/ShowJobSuccessRatioRequest.ts +42 -0
- package/v3/model/ShowJobSuccessRatioResponse.ts +41 -0
- package/v3/model/ShowLastHistoryRequest.ts +30 -0
- package/v3/model/ShowLastHistoryResponse.ts +90 -0
- package/v3/model/ShowListHistoryRequest.ts +36 -0
- package/v3/model/ShowListHistoryResponse.ts +25 -0
- package/v3/model/ShowListPeriodHistoryRequest.ts +54 -0
- package/v3/model/ShowListPeriodHistoryResponse.ts +25 -0
- package/v3/public-api.ts +28 -0
@@ -0,0 +1,69 @@
|
|
1
|
+
import { BuildStep } from './BuildStep';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class ShowHistoryDetailsResponse extends SdkResponse {
|
6
|
+
private 'job_name'?: string | undefined;
|
7
|
+
private 'build_number'?: number | undefined;
|
8
|
+
private 'project_id'?: string | undefined;
|
9
|
+
private 'project_name'?: string | undefined;
|
10
|
+
public parameters?: { [key: string]: string; };
|
11
|
+
private 'build_steps'?: Array<BuildStep> | undefined;
|
12
|
+
public constructor() {
|
13
|
+
super();
|
14
|
+
}
|
15
|
+
public withJobName(jobName: string): ShowHistoryDetailsResponse {
|
16
|
+
this['job_name'] = jobName;
|
17
|
+
return this;
|
18
|
+
}
|
19
|
+
public set jobName(jobName: string | undefined) {
|
20
|
+
this['job_name'] = jobName;
|
21
|
+
}
|
22
|
+
public get jobName() {
|
23
|
+
return this['job_name'];
|
24
|
+
}
|
25
|
+
public withBuildNumber(buildNumber: number): ShowHistoryDetailsResponse {
|
26
|
+
this['build_number'] = buildNumber;
|
27
|
+
return this;
|
28
|
+
}
|
29
|
+
public set buildNumber(buildNumber: number | undefined) {
|
30
|
+
this['build_number'] = buildNumber;
|
31
|
+
}
|
32
|
+
public get buildNumber() {
|
33
|
+
return this['build_number'];
|
34
|
+
}
|
35
|
+
public withProjectId(projectId: string): ShowHistoryDetailsResponse {
|
36
|
+
this['project_id'] = projectId;
|
37
|
+
return this;
|
38
|
+
}
|
39
|
+
public set projectId(projectId: string | undefined) {
|
40
|
+
this['project_id'] = projectId;
|
41
|
+
}
|
42
|
+
public get projectId() {
|
43
|
+
return this['project_id'];
|
44
|
+
}
|
45
|
+
public withProjectName(projectName: string): ShowHistoryDetailsResponse {
|
46
|
+
this['project_name'] = projectName;
|
47
|
+
return this;
|
48
|
+
}
|
49
|
+
public set projectName(projectName: string | undefined) {
|
50
|
+
this['project_name'] = projectName;
|
51
|
+
}
|
52
|
+
public get projectName() {
|
53
|
+
return this['project_name'];
|
54
|
+
}
|
55
|
+
public withParameters(parameters: { [key: string]: string; }): ShowHistoryDetailsResponse {
|
56
|
+
this['parameters'] = parameters;
|
57
|
+
return this;
|
58
|
+
}
|
59
|
+
public withBuildSteps(buildSteps: Array<BuildStep>): ShowHistoryDetailsResponse {
|
60
|
+
this['build_steps'] = buildSteps;
|
61
|
+
return this;
|
62
|
+
}
|
63
|
+
public set buildSteps(buildSteps: Array<BuildStep> | undefined) {
|
64
|
+
this['build_steps'] = buildSteps;
|
65
|
+
}
|
66
|
+
public get buildSteps() {
|
67
|
+
return this['build_steps'];
|
68
|
+
}
|
69
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ShowJobListByProjectIdRequest {
|
4
|
+
private 'project_id': string | undefined;
|
5
|
+
private 'page_index': number | undefined;
|
6
|
+
private 'page_size': number | undefined;
|
7
|
+
public constructor(projectId?: any, pageIndex?: any, pageSize?: any) {
|
8
|
+
this['project_id'] = projectId;
|
9
|
+
this['page_index'] = pageIndex;
|
10
|
+
this['page_size'] = pageSize;
|
11
|
+
}
|
12
|
+
public withProjectId(projectId: string): ShowJobListByProjectIdRequest {
|
13
|
+
this['project_id'] = projectId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set projectId(projectId: string | undefined) {
|
17
|
+
this['project_id'] = projectId;
|
18
|
+
}
|
19
|
+
public get projectId() {
|
20
|
+
return this['project_id'];
|
21
|
+
}
|
22
|
+
public withPageIndex(pageIndex: number): ShowJobListByProjectIdRequest {
|
23
|
+
this['page_index'] = pageIndex;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set pageIndex(pageIndex: number | undefined) {
|
27
|
+
this['page_index'] = pageIndex;
|
28
|
+
}
|
29
|
+
public get pageIndex() {
|
30
|
+
return this['page_index'];
|
31
|
+
}
|
32
|
+
public withPageSize(pageSize: number): ShowJobListByProjectIdRequest {
|
33
|
+
this['page_size'] = pageSize;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set pageSize(pageSize: number | undefined) {
|
37
|
+
this['page_size'] = pageSize;
|
38
|
+
}
|
39
|
+
public get pageSize() {
|
40
|
+
return this['page_size'];
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { Job } from './Job';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class ShowJobListByProjectIdResponse extends SdkResponse {
|
6
|
+
public jobs?: Array<Job>;
|
7
|
+
public total?: number;
|
8
|
+
public constructor() {
|
9
|
+
super();
|
10
|
+
}
|
11
|
+
public withJobs(jobs: Array<Job>): ShowJobListByProjectIdResponse {
|
12
|
+
this['jobs'] = jobs;
|
13
|
+
return this;
|
14
|
+
}
|
15
|
+
public withTotal(total: number): ShowJobListByProjectIdResponse {
|
16
|
+
this['total'] = total;
|
17
|
+
return this;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ShowJobStatusRequest {
|
4
|
+
private 'job_id': string | undefined;
|
5
|
+
public constructor(jobId?: any) {
|
6
|
+
this['job_id'] = jobId;
|
7
|
+
}
|
8
|
+
public withJobId(jobId: string): ShowJobStatusRequest {
|
9
|
+
this['job_id'] = jobId;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
public set jobId(jobId: string | undefined) {
|
13
|
+
this['job_id'] = jobId;
|
14
|
+
}
|
15
|
+
public get jobId() {
|
16
|
+
return this['job_id'];
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
|
4
|
+
export class ShowJobStatusResponse extends SdkResponse {
|
5
|
+
public result?: boolean;
|
6
|
+
public constructor() {
|
7
|
+
super();
|
8
|
+
}
|
9
|
+
public withResult(result: boolean): ShowJobStatusResponse {
|
10
|
+
this['result'] = result;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ShowJobSuccessRatioRequest {
|
4
|
+
private 'job_id': string | undefined;
|
5
|
+
private 'start_time': string | undefined;
|
6
|
+
private 'end_time': string | undefined;
|
7
|
+
public constructor(jobId?: any, startTime?: any, endTime?: any) {
|
8
|
+
this['job_id'] = jobId;
|
9
|
+
this['start_time'] = startTime;
|
10
|
+
this['end_time'] = endTime;
|
11
|
+
}
|
12
|
+
public withJobId(jobId: string): ShowJobSuccessRatioRequest {
|
13
|
+
this['job_id'] = jobId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set jobId(jobId: string | undefined) {
|
17
|
+
this['job_id'] = jobId;
|
18
|
+
}
|
19
|
+
public get jobId() {
|
20
|
+
return this['job_id'];
|
21
|
+
}
|
22
|
+
public withStartTime(startTime: string): ShowJobSuccessRatioRequest {
|
23
|
+
this['start_time'] = startTime;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set startTime(startTime: string | undefined) {
|
27
|
+
this['start_time'] = startTime;
|
28
|
+
}
|
29
|
+
public get startTime() {
|
30
|
+
return this['start_time'];
|
31
|
+
}
|
32
|
+
public withEndTime(endTime: string): ShowJobSuccessRatioRequest {
|
33
|
+
this['end_time'] = endTime;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set endTime(endTime: string | undefined) {
|
37
|
+
this['end_time'] = endTime;
|
38
|
+
}
|
39
|
+
public get endTime() {
|
40
|
+
return this['end_time'];
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
|
4
|
+
export class ShowJobSuccessRatioResponse extends SdkResponse {
|
5
|
+
private 'success_count'?: number | undefined;
|
6
|
+
private 'total_count'?: number | undefined;
|
7
|
+
private 'success_ratio'?: number | undefined;
|
8
|
+
public constructor() {
|
9
|
+
super();
|
10
|
+
}
|
11
|
+
public withSuccessCount(successCount: number): ShowJobSuccessRatioResponse {
|
12
|
+
this['success_count'] = successCount;
|
13
|
+
return this;
|
14
|
+
}
|
15
|
+
public set successCount(successCount: number | undefined) {
|
16
|
+
this['success_count'] = successCount;
|
17
|
+
}
|
18
|
+
public get successCount() {
|
19
|
+
return this['success_count'];
|
20
|
+
}
|
21
|
+
public withTotalCount(totalCount: number): ShowJobSuccessRatioResponse {
|
22
|
+
this['total_count'] = totalCount;
|
23
|
+
return this;
|
24
|
+
}
|
25
|
+
public set totalCount(totalCount: number | undefined) {
|
26
|
+
this['total_count'] = totalCount;
|
27
|
+
}
|
28
|
+
public get totalCount() {
|
29
|
+
return this['total_count'];
|
30
|
+
}
|
31
|
+
public withSuccessRatio(successRatio: number): ShowJobSuccessRatioResponse {
|
32
|
+
this['success_ratio'] = successRatio;
|
33
|
+
return this;
|
34
|
+
}
|
35
|
+
public set successRatio(successRatio: number | undefined) {
|
36
|
+
this['success_ratio'] = successRatio;
|
37
|
+
}
|
38
|
+
public get successRatio() {
|
39
|
+
return this['success_ratio'];
|
40
|
+
}
|
41
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ShowLastHistoryRequest {
|
4
|
+
private 'project_id': string | undefined;
|
5
|
+
private 'repository_name': string | undefined;
|
6
|
+
public constructor(projectId?: any, repositoryName?: any) {
|
7
|
+
this['project_id'] = projectId;
|
8
|
+
this['repository_name'] = repositoryName;
|
9
|
+
}
|
10
|
+
public withProjectId(projectId: string): ShowLastHistoryRequest {
|
11
|
+
this['project_id'] = projectId;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
public set projectId(projectId: string | undefined) {
|
15
|
+
this['project_id'] = projectId;
|
16
|
+
}
|
17
|
+
public get projectId() {
|
18
|
+
return this['project_id'];
|
19
|
+
}
|
20
|
+
public withRepositoryName(repositoryName: string): ShowLastHistoryRequest {
|
21
|
+
this['repository_name'] = repositoryName;
|
22
|
+
return this;
|
23
|
+
}
|
24
|
+
public set repositoryName(repositoryName: string | undefined) {
|
25
|
+
this['repository_name'] = repositoryName;
|
26
|
+
}
|
27
|
+
public get repositoryName() {
|
28
|
+
return this['repository_name'];
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
|
4
|
+
export class ShowLastHistoryResponse extends SdkResponse {
|
5
|
+
private 'record_id'?: string | undefined;
|
6
|
+
private 'job_id'?: string | undefined;
|
7
|
+
private 'job_name'?: string | undefined;
|
8
|
+
private 'build_number'?: number | undefined;
|
9
|
+
private 'start_time'?: string | undefined;
|
10
|
+
private 'end_time'?: string | undefined;
|
11
|
+
public result?: string;
|
12
|
+
private 'commit_id'?: string | undefined;
|
13
|
+
public constructor() {
|
14
|
+
super();
|
15
|
+
}
|
16
|
+
public withRecordId(recordId: string): ShowLastHistoryResponse {
|
17
|
+
this['record_id'] = recordId;
|
18
|
+
return this;
|
19
|
+
}
|
20
|
+
public set recordId(recordId: string | undefined) {
|
21
|
+
this['record_id'] = recordId;
|
22
|
+
}
|
23
|
+
public get recordId() {
|
24
|
+
return this['record_id'];
|
25
|
+
}
|
26
|
+
public withJobId(jobId: string): ShowLastHistoryResponse {
|
27
|
+
this['job_id'] = jobId;
|
28
|
+
return this;
|
29
|
+
}
|
30
|
+
public set jobId(jobId: string | undefined) {
|
31
|
+
this['job_id'] = jobId;
|
32
|
+
}
|
33
|
+
public get jobId() {
|
34
|
+
return this['job_id'];
|
35
|
+
}
|
36
|
+
public withJobName(jobName: string): ShowLastHistoryResponse {
|
37
|
+
this['job_name'] = jobName;
|
38
|
+
return this;
|
39
|
+
}
|
40
|
+
public set jobName(jobName: string | undefined) {
|
41
|
+
this['job_name'] = jobName;
|
42
|
+
}
|
43
|
+
public get jobName() {
|
44
|
+
return this['job_name'];
|
45
|
+
}
|
46
|
+
public withBuildNumber(buildNumber: number): ShowLastHistoryResponse {
|
47
|
+
this['build_number'] = buildNumber;
|
48
|
+
return this;
|
49
|
+
}
|
50
|
+
public set buildNumber(buildNumber: number | undefined) {
|
51
|
+
this['build_number'] = buildNumber;
|
52
|
+
}
|
53
|
+
public get buildNumber() {
|
54
|
+
return this['build_number'];
|
55
|
+
}
|
56
|
+
public withStartTime(startTime: string): ShowLastHistoryResponse {
|
57
|
+
this['start_time'] = startTime;
|
58
|
+
return this;
|
59
|
+
}
|
60
|
+
public set startTime(startTime: string | undefined) {
|
61
|
+
this['start_time'] = startTime;
|
62
|
+
}
|
63
|
+
public get startTime() {
|
64
|
+
return this['start_time'];
|
65
|
+
}
|
66
|
+
public withEndTime(endTime: string): ShowLastHistoryResponse {
|
67
|
+
this['end_time'] = endTime;
|
68
|
+
return this;
|
69
|
+
}
|
70
|
+
public set endTime(endTime: string | undefined) {
|
71
|
+
this['end_time'] = endTime;
|
72
|
+
}
|
73
|
+
public get endTime() {
|
74
|
+
return this['end_time'];
|
75
|
+
}
|
76
|
+
public withResult(result: string): ShowLastHistoryResponse {
|
77
|
+
this['result'] = result;
|
78
|
+
return this;
|
79
|
+
}
|
80
|
+
public withCommitId(commitId: string): ShowLastHistoryResponse {
|
81
|
+
this['commit_id'] = commitId;
|
82
|
+
return this;
|
83
|
+
}
|
84
|
+
public set commitId(commitId: string | undefined) {
|
85
|
+
this['commit_id'] = commitId;
|
86
|
+
}
|
87
|
+
public get commitId() {
|
88
|
+
return this['commit_id'];
|
89
|
+
}
|
90
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ShowListHistoryRequest {
|
4
|
+
private 'job_id': string | undefined;
|
5
|
+
public offset: number;
|
6
|
+
public limit: number;
|
7
|
+
public interval: number;
|
8
|
+
public constructor(jobId?: any, offset?: any, limit?: any, interval?: any) {
|
9
|
+
this['job_id'] = jobId;
|
10
|
+
this['offset'] = offset;
|
11
|
+
this['limit'] = limit;
|
12
|
+
this['interval'] = interval;
|
13
|
+
}
|
14
|
+
public withJobId(jobId: string): ShowListHistoryRequest {
|
15
|
+
this['job_id'] = jobId;
|
16
|
+
return this;
|
17
|
+
}
|
18
|
+
public set jobId(jobId: string | undefined) {
|
19
|
+
this['job_id'] = jobId;
|
20
|
+
}
|
21
|
+
public get jobId() {
|
22
|
+
return this['job_id'];
|
23
|
+
}
|
24
|
+
public withOffset(offset: number): ShowListHistoryRequest {
|
25
|
+
this['offset'] = offset;
|
26
|
+
return this;
|
27
|
+
}
|
28
|
+
public withLimit(limit: number): ShowListHistoryRequest {
|
29
|
+
this['limit'] = limit;
|
30
|
+
return this;
|
31
|
+
}
|
32
|
+
public withInterval(interval: number): ShowListHistoryRequest {
|
33
|
+
this['interval'] = interval;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { HistoryRecord } from './HistoryRecord';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class ShowListHistoryResponse extends SdkResponse {
|
6
|
+
private 'history_records'?: Array<HistoryRecord> | undefined;
|
7
|
+
public total?: number;
|
8
|
+
public constructor() {
|
9
|
+
super();
|
10
|
+
}
|
11
|
+
public withHistoryRecords(historyRecords: Array<HistoryRecord>): ShowListHistoryResponse {
|
12
|
+
this['history_records'] = historyRecords;
|
13
|
+
return this;
|
14
|
+
}
|
15
|
+
public set historyRecords(historyRecords: Array<HistoryRecord> | undefined) {
|
16
|
+
this['history_records'] = historyRecords;
|
17
|
+
}
|
18
|
+
public get historyRecords() {
|
19
|
+
return this['history_records'];
|
20
|
+
}
|
21
|
+
public withTotal(total: number): ShowListHistoryResponse {
|
22
|
+
this['total'] = total;
|
23
|
+
return this;
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ShowListPeriodHistoryRequest {
|
4
|
+
private 'job_id': string | undefined;
|
5
|
+
public offset: number;
|
6
|
+
public limit: number;
|
7
|
+
private 'start_time': string | undefined;
|
8
|
+
private 'end_time': string | undefined;
|
9
|
+
public constructor(jobId?: any, offset?: any, limit?: any, startTime?: any, endTime?: any) {
|
10
|
+
this['job_id'] = jobId;
|
11
|
+
this['offset'] = offset;
|
12
|
+
this['limit'] = limit;
|
13
|
+
this['start_time'] = startTime;
|
14
|
+
this['end_time'] = endTime;
|
15
|
+
}
|
16
|
+
public withJobId(jobId: string): ShowListPeriodHistoryRequest {
|
17
|
+
this['job_id'] = jobId;
|
18
|
+
return this;
|
19
|
+
}
|
20
|
+
public set jobId(jobId: string | undefined) {
|
21
|
+
this['job_id'] = jobId;
|
22
|
+
}
|
23
|
+
public get jobId() {
|
24
|
+
return this['job_id'];
|
25
|
+
}
|
26
|
+
public withOffset(offset: number): ShowListPeriodHistoryRequest {
|
27
|
+
this['offset'] = offset;
|
28
|
+
return this;
|
29
|
+
}
|
30
|
+
public withLimit(limit: number): ShowListPeriodHistoryRequest {
|
31
|
+
this['limit'] = limit;
|
32
|
+
return this;
|
33
|
+
}
|
34
|
+
public withStartTime(startTime: string): ShowListPeriodHistoryRequest {
|
35
|
+
this['start_time'] = startTime;
|
36
|
+
return this;
|
37
|
+
}
|
38
|
+
public set startTime(startTime: string | undefined) {
|
39
|
+
this['start_time'] = startTime;
|
40
|
+
}
|
41
|
+
public get startTime() {
|
42
|
+
return this['start_time'];
|
43
|
+
}
|
44
|
+
public withEndTime(endTime: string): ShowListPeriodHistoryRequest {
|
45
|
+
this['end_time'] = endTime;
|
46
|
+
return this;
|
47
|
+
}
|
48
|
+
public set endTime(endTime: string | undefined) {
|
49
|
+
this['end_time'] = endTime;
|
50
|
+
}
|
51
|
+
public get endTime() {
|
52
|
+
return this['end_time'];
|
53
|
+
}
|
54
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { HistoryRecord1 } from './HistoryRecord1';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class ShowListPeriodHistoryResponse extends SdkResponse {
|
6
|
+
public total?: number;
|
7
|
+
private 'history_records'?: Array<HistoryRecord1> | undefined;
|
8
|
+
public constructor() {
|
9
|
+
super();
|
10
|
+
}
|
11
|
+
public withTotal(total: number): ShowListPeriodHistoryResponse {
|
12
|
+
this['total'] = total;
|
13
|
+
return this;
|
14
|
+
}
|
15
|
+
public withHistoryRecords(historyRecords: Array<HistoryRecord1>): ShowListPeriodHistoryResponse {
|
16
|
+
this['history_records'] = historyRecords;
|
17
|
+
return this;
|
18
|
+
}
|
19
|
+
public set historyRecords(historyRecords: Array<HistoryRecord1> | undefined) {
|
20
|
+
this['history_records'] = historyRecords;
|
21
|
+
}
|
22
|
+
public get historyRecords() {
|
23
|
+
return this['history_records'];
|
24
|
+
}
|
25
|
+
}
|
package/v3/public-api.ts
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
export * from './CodeArtsBuildClient';
|
2
|
+
|
3
|
+
export * from './model/BuildStep';
|
4
|
+
export * from './model/DownloadKeystoreRequest';
|
5
|
+
export * from './model/DownloadKeystoreResponse';
|
6
|
+
export * from './model/HistoryRecord';
|
7
|
+
export * from './model/HistoryRecord1';
|
8
|
+
export * from './model/Job';
|
9
|
+
export * from './model/ParameterItem';
|
10
|
+
export * from './model/RunJobRequest';
|
11
|
+
export * from './model/RunJobRequestBody';
|
12
|
+
export * from './model/RunJobResponse';
|
13
|
+
export * from './model/Scm';
|
14
|
+
export * from './model/ShowHistoryDetailsRequest';
|
15
|
+
export * from './model/ShowHistoryDetailsResponse';
|
16
|
+
export * from './model/ShowJobListByProjectIdRequest';
|
17
|
+
export * from './model/ShowJobListByProjectIdResponse';
|
18
|
+
export * from './model/ShowJobStatusRequest';
|
19
|
+
export * from './model/ShowJobStatusResponse';
|
20
|
+
export * from './model/ShowJobSuccessRatioRequest';
|
21
|
+
export * from './model/ShowJobSuccessRatioResponse';
|
22
|
+
export * from './model/ShowLastHistoryRequest';
|
23
|
+
export * from './model/ShowLastHistoryResponse';
|
24
|
+
export * from './model/ShowListHistoryRequest';
|
25
|
+
export * from './model/ShowListHistoryResponse';
|
26
|
+
export * from './model/ShowListPeriodHistoryRequest';
|
27
|
+
export * from './model/ShowListPeriodHistoryResponse';
|
28
|
+
export * from './CodeArtsBuildRegion';
|