@huaweicloud/huaweicloud-sdk-codeartsbuild 3.1.46 → 3.1.47
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-codeartsbuild.d.ts +3 -0
- package/huaweicloud-sdk-codeartsbuild.d.ts.map +1 -0
- package/huaweicloud-sdk-codeartsbuild.js +32 -0
- package/huaweicloud-sdk-codeartsbuild.js.map +1 -0
- package/package.json +8 -4
- package/v3/CodeArtsBuildClient.d.ts +271 -0
- package/v3/CodeArtsBuildClient.d.ts.map +1 -0
- package/v3/{CodeArtsBuildClient.ts → CodeArtsBuildClient.js} +152 -260
- package/v3/CodeArtsBuildClient.js.map +1 -0
- package/v3/CodeArtsBuildRegion.d.ts +16 -0
- package/v3/CodeArtsBuildRegion.d.ts.map +1 -0
- package/v3/CodeArtsBuildRegion.js +40 -0
- package/v3/CodeArtsBuildRegion.js.map +1 -0
- package/v3/model/BuildStep.d.ts +12 -0
- package/v3/model/BuildStep.d.ts.map +1 -0
- package/v3/model/BuildStep.js +27 -0
- package/v3/model/BuildStep.js.map +1 -0
- package/v3/model/DownloadKeystoreRequest.d.ts +12 -0
- package/v3/model/DownloadKeystoreRequest.d.ts.map +1 -0
- package/v3/model/DownloadKeystoreRequest.js +31 -0
- package/v3/model/DownloadKeystoreRequest.js.map +1 -0
- package/v3/model/DownloadKeystoreResponse.d.ts +5 -0
- package/v3/model/DownloadKeystoreResponse.d.ts.map +1 -0
- package/v3/model/DownloadKeystoreResponse.js +11 -0
- package/v3/model/DownloadKeystoreResponse.js.map +1 -0
- package/v3/model/HistoryRecord.d.ts +26 -0
- package/v3/model/HistoryRecord.d.ts.map +1 -0
- package/v3/model/HistoryRecord.js +63 -0
- package/v3/model/HistoryRecord.js.map +1 -0
- package/v3/model/HistoryRecord1.d.ts +42 -0
- package/v3/model/HistoryRecord1.d.ts.map +1 -0
- package/v3/model/HistoryRecord1.js +101 -0
- package/v3/model/HistoryRecord1.js.map +1 -0
- package/v3/model/Job.d.ts +66 -0
- package/v3/model/Job.d.ts.map +1 -0
- package/v3/model/Job.js +161 -0
- package/v3/model/Job.js.map +1 -0
- package/v3/model/ParameterItem.d.ts +8 -0
- package/v3/model/ParameterItem.d.ts.map +1 -0
- package/v3/model/ParameterItem.js +19 -0
- package/v3/model/ParameterItem.js.map +1 -0
- package/v3/model/RunJobRequest.d.ts +7 -0
- package/v3/model/RunJobRequest.d.ts.map +1 -0
- package/v3/model/RunJobRequest.js +13 -0
- package/v3/model/RunJobRequest.js.map +1 -0
- package/v3/model/RunJobRequestBody.d.ts +14 -0
- package/v3/model/RunJobRequestBody.d.ts.map +1 -0
- package/v3/model/RunJobRequestBody.js +28 -0
- package/v3/model/RunJobRequestBody.js.map +1 -0
- package/v3/model/RunJobResponse.d.ts +17 -0
- package/v3/model/RunJobResponse.d.ts.map +1 -0
- package/v3/model/RunJobResponse.js +41 -0
- package/v3/model/RunJobResponse.js.map +1 -0
- package/v3/model/Scm.d.ts +12 -0
- package/v3/model/Scm.d.ts.map +1 -0
- package/v3/model/Scm.js +29 -0
- package/v3/model/Scm.js.map +1 -0
- package/v3/model/ShowHistoryDetailsRequest.d.ts +12 -0
- package/v3/model/ShowHistoryDetailsRequest.d.ts.map +1 -0
- package/v3/model/ShowHistoryDetailsRequest.js +31 -0
- package/v3/model/ShowHistoryDetailsRequest.js.map +1 -0
- package/v3/model/ShowHistoryDetailsResponse.d.ts +32 -0
- package/v3/model/ShowHistoryDetailsResponse.d.ts.map +1 -0
- package/v3/model/ShowHistoryDetailsResponse.js +65 -0
- package/v3/model/ShowHistoryDetailsResponse.js.map +1 -0
- package/v3/model/ShowJobListByProjectIdRequest.d.ts +16 -0
- package/v3/model/ShowJobListByProjectIdRequest.d.ts.map +1 -0
- package/v3/model/ShowJobListByProjectIdRequest.js +42 -0
- package/v3/model/ShowJobListByProjectIdRequest.js.map +1 -0
- package/v3/model/ShowJobListByProjectIdResponse.d.ts +10 -0
- package/v3/model/ShowJobListByProjectIdResponse.d.ts.map +1 -0
- package/v3/model/ShowJobListByProjectIdResponse.js +19 -0
- package/v3/model/ShowJobListByProjectIdResponse.js.map +1 -0
- package/v3/model/ShowJobStatusRequest.d.ts +8 -0
- package/v3/model/ShowJobStatusRequest.d.ts.map +1 -0
- package/v3/model/ShowJobStatusRequest.js +20 -0
- package/v3/model/ShowJobStatusRequest.js.map +1 -0
- package/v3/model/ShowJobStatusResponse.d.ts +7 -0
- package/v3/model/ShowJobStatusResponse.d.ts.map +1 -0
- package/v3/model/ShowJobStatusResponse.js +15 -0
- package/v3/model/ShowJobStatusResponse.js.map +1 -0
- package/v3/model/ShowJobSuccessRatioRequest.d.ts +16 -0
- package/v3/model/ShowJobSuccessRatioRequest.d.ts.map +1 -0
- package/v3/model/ShowJobSuccessRatioRequest.js +42 -0
- package/v3/model/ShowJobSuccessRatioRequest.js.map +1 -0
- package/v3/model/ShowJobSuccessRatioResponse.d.ts +17 -0
- package/v3/model/ShowJobSuccessRatioResponse.d.ts.map +1 -0
- package/v3/model/ShowJobSuccessRatioResponse.js +41 -0
- package/v3/model/ShowJobSuccessRatioResponse.js.map +1 -0
- package/v3/model/ShowLastHistoryRequest.d.ts +12 -0
- package/v3/model/ShowLastHistoryRequest.d.ts.map +1 -0
- package/v3/model/ShowLastHistoryRequest.js +31 -0
- package/v3/model/ShowLastHistoryRequest.js.map +1 -0
- package/v3/model/ShowLastHistoryResponse.d.ts +35 -0
- package/v3/model/ShowLastHistoryResponse.d.ts.map +1 -0
- package/v3/model/ShowLastHistoryResponse.js +85 -0
- package/v3/model/ShowLastHistoryResponse.js.map +1 -0
- package/v3/model/ShowListHistoryRequest.d.ts +14 -0
- package/v3/model/ShowListHistoryRequest.d.ts.map +1 -0
- package/v3/model/ShowListHistoryRequest.js +35 -0
- package/v3/model/ShowListHistoryRequest.js.map +1 -0
- package/v3/model/ShowListHistoryResponse.d.ts +12 -0
- package/v3/model/ShowListHistoryResponse.d.ts.map +1 -0
- package/v3/model/ShowListHistoryResponse.js +25 -0
- package/v3/model/ShowListHistoryResponse.js.map +1 -0
- package/v3/model/ShowListPeriodHistoryRequest.d.ts +20 -0
- package/v3/model/ShowListPeriodHistoryRequest.d.ts.map +1 -0
- package/v3/model/ShowListPeriodHistoryRequest.js +52 -0
- package/v3/model/ShowListPeriodHistoryRequest.js.map +1 -0
- package/v3/model/ShowListPeriodHistoryResponse.d.ts +12 -0
- package/v3/model/ShowListPeriodHistoryResponse.d.ts.map +1 -0
- package/v3/model/ShowListPeriodHistoryResponse.js +25 -0
- package/v3/model/ShowListPeriodHistoryResponse.js.map +1 -0
- package/v3/{public-api.ts → public-api.d.ts} +1 -1
- package/v3/public-api.d.ts.map +1 -0
- package/v3/public-api.js +44 -0
- package/v3/public-api.js.map +1 -0
- package/huaweicloud-sdk-codeartsbuild.ts +0 -4
- package/v3/CodeArtsBuildRegion.ts +0 -44
- package/v3/model/BuildStep.ts +0 -27
- package/v3/model/DownloadKeystoreRequest.ts +0 -30
- package/v3/model/DownloadKeystoreResponse.ts +0 -8
- package/v3/model/HistoryRecord.ts +0 -66
- package/v3/model/HistoryRecord1.ts +0 -109
- package/v3/model/Job.ts +0 -175
- package/v3/model/ParameterItem.ts +0 -18
- package/v3/model/RunJobRequest.ts +0 -12
- package/v3/model/RunJobRequestBody.ts +0 -30
- package/v3/model/RunJobResponse.ts +0 -41
- package/v3/model/Scm.ts +0 -28
- package/v3/model/ShowHistoryDetailsRequest.ts +0 -30
- package/v3/model/ShowHistoryDetailsResponse.ts +0 -69
- package/v3/model/ShowJobListByProjectIdRequest.ts +0 -42
- package/v3/model/ShowJobListByProjectIdResponse.ts +0 -19
- package/v3/model/ShowJobStatusRequest.ts +0 -18
- package/v3/model/ShowJobStatusResponse.ts +0 -13
- package/v3/model/ShowJobSuccessRatioRequest.ts +0 -42
- package/v3/model/ShowJobSuccessRatioResponse.ts +0 -41
- package/v3/model/ShowLastHistoryRequest.ts +0 -30
- package/v3/model/ShowLastHistoryResponse.ts +0 -90
- package/v3/model/ShowListHistoryRequest.ts +0 -36
- package/v3/model/ShowListHistoryResponse.ts +0 -25
- package/v3/model/ShowListPeriodHistoryRequest.ts +0 -54
- package/v3/model/ShowListPeriodHistoryResponse.ts +0 -25
@@ -1,41 +0,0 @@
|
|
1
|
-
|
2
|
-
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
-
|
4
|
-
export class RunJobResponse extends SdkResponse {
|
5
|
-
private 'octopus_job_name'?: string | undefined;
|
6
|
-
private 'actual_build_number'?: string | undefined;
|
7
|
-
private 'daily_build_number'?: string | undefined;
|
8
|
-
public constructor() {
|
9
|
-
super();
|
10
|
-
}
|
11
|
-
public withOctopusJobName(octopusJobName: string): RunJobResponse {
|
12
|
-
this['octopus_job_name'] = octopusJobName;
|
13
|
-
return this;
|
14
|
-
}
|
15
|
-
public set octopusJobName(octopusJobName: string | undefined) {
|
16
|
-
this['octopus_job_name'] = octopusJobName;
|
17
|
-
}
|
18
|
-
public get octopusJobName() {
|
19
|
-
return this['octopus_job_name'];
|
20
|
-
}
|
21
|
-
public withActualBuildNumber(actualBuildNumber: string): RunJobResponse {
|
22
|
-
this['actual_build_number'] = actualBuildNumber;
|
23
|
-
return this;
|
24
|
-
}
|
25
|
-
public set actualBuildNumber(actualBuildNumber: string | undefined) {
|
26
|
-
this['actual_build_number'] = actualBuildNumber;
|
27
|
-
}
|
28
|
-
public get actualBuildNumber() {
|
29
|
-
return this['actual_build_number'];
|
30
|
-
}
|
31
|
-
public withDailyBuildNumber(dailyBuildNumber: string): RunJobResponse {
|
32
|
-
this['daily_build_number'] = dailyBuildNumber;
|
33
|
-
return this;
|
34
|
-
}
|
35
|
-
public set dailyBuildNumber(dailyBuildNumber: string | undefined) {
|
36
|
-
this['daily_build_number'] = dailyBuildNumber;
|
37
|
-
}
|
38
|
-
public get dailyBuildNumber() {
|
39
|
-
return this['daily_build_number'];
|
40
|
-
}
|
41
|
-
}
|
package/v3/model/Scm.ts
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export class Scm {
|
4
|
-
private 'build_tag'?: string | undefined;
|
5
|
-
private 'build_commit_id'?: string | undefined;
|
6
|
-
public constructor() {
|
7
|
-
}
|
8
|
-
public withBuildTag(buildTag: string): Scm {
|
9
|
-
this['build_tag'] = buildTag;
|
10
|
-
return this;
|
11
|
-
}
|
12
|
-
public set buildTag(buildTag: string | undefined) {
|
13
|
-
this['build_tag'] = buildTag;
|
14
|
-
}
|
15
|
-
public get buildTag() {
|
16
|
-
return this['build_tag'];
|
17
|
-
}
|
18
|
-
public withBuildCommitId(buildCommitId: string): Scm {
|
19
|
-
this['build_commit_id'] = buildCommitId;
|
20
|
-
return this;
|
21
|
-
}
|
22
|
-
public set buildCommitId(buildCommitId: string | undefined) {
|
23
|
-
this['build_commit_id'] = buildCommitId;
|
24
|
-
}
|
25
|
-
public get buildCommitId() {
|
26
|
-
return this['build_commit_id'];
|
27
|
-
}
|
28
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export class ShowHistoryDetailsRequest {
|
4
|
-
private 'job_id': string | undefined;
|
5
|
-
private 'build_number': number | undefined;
|
6
|
-
public constructor(jobId?: any, buildNumber?: any) {
|
7
|
-
this['job_id'] = jobId;
|
8
|
-
this['build_number'] = buildNumber;
|
9
|
-
}
|
10
|
-
public withJobId(jobId: string): ShowHistoryDetailsRequest {
|
11
|
-
this['job_id'] = jobId;
|
12
|
-
return this;
|
13
|
-
}
|
14
|
-
public set jobId(jobId: string | undefined) {
|
15
|
-
this['job_id'] = jobId;
|
16
|
-
}
|
17
|
-
public get jobId() {
|
18
|
-
return this['job_id'];
|
19
|
-
}
|
20
|
-
public withBuildNumber(buildNumber: number): ShowHistoryDetailsRequest {
|
21
|
-
this['build_number'] = buildNumber;
|
22
|
-
return this;
|
23
|
-
}
|
24
|
-
public set buildNumber(buildNumber: number | undefined) {
|
25
|
-
this['build_number'] = buildNumber;
|
26
|
-
}
|
27
|
-
public get buildNumber() {
|
28
|
-
return this['build_number'];
|
29
|
-
}
|
30
|
-
}
|
@@ -1,69 +0,0 @@
|
|
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
|
-
}
|
@@ -1,42 +0,0 @@
|
|
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
|
-
}
|
@@ -1,19 +0,0 @@
|
|
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
|
-
}
|
@@ -1,18 +0,0 @@
|
|
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
|
-
}
|
@@ -1,13 +0,0 @@
|
|
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
|
-
}
|
@@ -1,42 +0,0 @@
|
|
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
|
-
}
|
@@ -1,41 +0,0 @@
|
|
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
|
-
}
|
@@ -1,30 +0,0 @@
|
|
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
|
-
}
|
@@ -1,90 +0,0 @@
|
|
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
|
-
}
|
@@ -1,36 +0,0 @@
|
|
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
|
-
}
|
@@ -1,25 +0,0 @@
|
|
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
|
-
}
|
@@ -1,54 +0,0 @@
|
|
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
|
-
}
|
@@ -1,25 +0,0 @@
|
|
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
|
-
}
|