Skip to content

Commit 1220a9c

Browse files
committed
Added more missing properties
1 parent 23bad2d commit 1220a9c

File tree

3 files changed

+338
-1
lines changed

3 files changed

+338
-1
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
package org.gitlab4j.api.models;
2+
3+
import java.io.Serializable;
4+
5+
import org.gitlab4j.models.utils.JacksonJson;
6+
7+
public class ContainerExpirationPolicy implements Serializable {
8+
private static final long serialVersionUID = 1L;
9+
10+
private String cadence;
11+
private Boolean enabled;
12+
private Integer keepN;
13+
private String olderThan;
14+
private String nameRegex;
15+
private String nameRegexKeep;
16+
private String nextRunAt;
17+
18+
public String getCadence() {
19+
return cadence;
20+
}
21+
22+
public void setCadence(String cadence) {
23+
this.cadence = cadence;
24+
}
25+
26+
public Boolean getEnabled() {
27+
return enabled;
28+
}
29+
30+
public void setEnabled(Boolean enabled) {
31+
this.enabled = enabled;
32+
}
33+
34+
public Integer getKeepN() {
35+
return keepN;
36+
}
37+
38+
public void setKeepN(Integer keepN) {
39+
this.keepN = keepN;
40+
}
41+
42+
public String getOlderThan() {
43+
return olderThan;
44+
}
45+
46+
public void setOlderThan(String olderThan) {
47+
this.olderThan = olderThan;
48+
}
49+
50+
public String getNameRegex() {
51+
return nameRegex;
52+
}
53+
54+
public void setNameRegex(String nameRegex) {
55+
this.nameRegex = nameRegex;
56+
}
57+
58+
public String getNameRegexKeep() {
59+
return nameRegexKeep;
60+
}
61+
62+
public void setNameRegexKeep(String nameRegexKeep) {
63+
this.nameRegexKeep = nameRegexKeep;
64+
}
65+
66+
public String getNextRunAt() {
67+
return nextRunAt;
68+
}
69+
70+
public void setNextRunAt(String nextRunAt) {
71+
this.nextRunAt = nextRunAt;
72+
}
73+
74+
@Override
75+
public String toString() {
76+
return (JacksonJson.toJsonString(this));
77+
}
78+
}

gitlab4j-models/src/main/java/org/gitlab4j/api/models/Project.java

Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,31 @@ public String toString() {
139139
private String templateName;
140140
private Boolean emailsEnabled;
141141
private Boolean mirror;
142+
private Date updatedAt;
143+
private String descriptionHtml;
144+
private String containerRegistryImagePrefix;
145+
private ContainerExpirationPolicy containerExpirationPolicy;
146+
private Boolean serviceDeskEnabled;
147+
private String importUrl;
148+
private String importType;
149+
private String importError;
150+
private Boolean ciForwardDeploymentRollbackAllowed;
151+
private Boolean ciAllowForkPipelinesToRunInParentProject;
152+
private List<String> ciIdTokenSubClaimComponents;
153+
private Boolean ciJobTokenScopeEnabled;
154+
private Boolean ciSeparatedCaches;
155+
private String ciRestrictPipelineCancellationRole;
156+
private String ciPipelineVariablesMinimumOverrideRole;
157+
private Boolean ciPushRepositoryForJobTokenAllowed;
158+
private Boolean allowPipelineTriggerApproveDeployment;
159+
private Boolean restrictUserDefinedVariables;
160+
private Boolean enforceAuthChecksOnUploads;
161+
private Boolean keepLatestArtifact;
162+
private Integer runnerTokenExpirationInterval;
163+
private Boolean requirementsEnabled;
164+
private Boolean securityAndComplianceEnabled;
165+
private Boolean secretPushProtectionEnabled;
166+
private List<String> complianceFrameworks;
142167

143168
private ProjectFeatureVisibilityAccessLevel analyticsAccessLevel;
144169
private ProjectFeatureVisibilityAccessLevel buildsAccessLevel;
@@ -1225,6 +1250,206 @@ public Project withMirror(Boolean mirror) {
12251250
return this;
12261251
}
12271252

1253+
public Date getUpdatedAt() {
1254+
return updatedAt;
1255+
}
1256+
1257+
public void setUpdatedAt(Date updatedAt) {
1258+
this.updatedAt = updatedAt;
1259+
}
1260+
1261+
public String getDescriptionHtml() {
1262+
return descriptionHtml;
1263+
}
1264+
1265+
public void setDescriptionHtml(String descriptionHtml) {
1266+
this.descriptionHtml = descriptionHtml;
1267+
}
1268+
1269+
public String getContainerRegistryImagePrefix() {
1270+
return containerRegistryImagePrefix;
1271+
}
1272+
1273+
public void setContainerRegistryImagePrefix(String containerRegistryImagePrefix) {
1274+
this.containerRegistryImagePrefix = containerRegistryImagePrefix;
1275+
}
1276+
1277+
public ContainerExpirationPolicy getContainerExpirationPolicy() {
1278+
return containerExpirationPolicy;
1279+
}
1280+
1281+
public void setContainerExpirationPolicy(ContainerExpirationPolicy containerExpirationPolicy) {
1282+
this.containerExpirationPolicy = containerExpirationPolicy;
1283+
}
1284+
1285+
public Boolean getServiceDeskEnabled() {
1286+
return serviceDeskEnabled;
1287+
}
1288+
1289+
public void setServiceDeskEnabled(Boolean serviceDeskEnabled) {
1290+
this.serviceDeskEnabled = serviceDeskEnabled;
1291+
}
1292+
1293+
public String getImportUrl() {
1294+
return importUrl;
1295+
}
1296+
1297+
public void setImportUrl(String importUrl) {
1298+
this.importUrl = importUrl;
1299+
}
1300+
1301+
public String getImportType() {
1302+
return importType;
1303+
}
1304+
1305+
public void setImportType(String importType) {
1306+
this.importType = importType;
1307+
}
1308+
1309+
public String getImportError() {
1310+
return importError;
1311+
}
1312+
1313+
public void setImportError(String importError) {
1314+
this.importError = importError;
1315+
}
1316+
1317+
public Boolean getCiForwardDeploymentRollbackAllowed() {
1318+
return ciForwardDeploymentRollbackAllowed;
1319+
}
1320+
1321+
public void setCiForwardDeploymentRollbackAllowed(Boolean ciForwardDeploymentRollbackAllowed) {
1322+
this.ciForwardDeploymentRollbackAllowed = ciForwardDeploymentRollbackAllowed;
1323+
}
1324+
1325+
public Boolean getCiAllowForkPipelinesToRunInParentProject() {
1326+
return ciAllowForkPipelinesToRunInParentProject;
1327+
}
1328+
1329+
public void setCiAllowForkPipelinesToRunInParentProject(Boolean ciAllowForkPipelinesToRunInParentProject) {
1330+
this.ciAllowForkPipelinesToRunInParentProject = ciAllowForkPipelinesToRunInParentProject;
1331+
}
1332+
1333+
public List<String> getCiIdTokenSubClaimComponents() {
1334+
return ciIdTokenSubClaimComponents;
1335+
}
1336+
1337+
public void setCiIdTokenSubClaimComponents(List<String> ciIdTokenSubClaimComponents) {
1338+
this.ciIdTokenSubClaimComponents = ciIdTokenSubClaimComponents;
1339+
}
1340+
1341+
public Boolean getCiJobTokenScopeEnabled() {
1342+
return ciJobTokenScopeEnabled;
1343+
}
1344+
1345+
public void setCiJobTokenScopeEnabled(Boolean ciJobTokenScopeEnabled) {
1346+
this.ciJobTokenScopeEnabled = ciJobTokenScopeEnabled;
1347+
}
1348+
1349+
public Boolean getCiSeparatedCaches() {
1350+
return ciSeparatedCaches;
1351+
}
1352+
1353+
public void setCiSeparatedCaches(Boolean ciSeparatedCaches) {
1354+
this.ciSeparatedCaches = ciSeparatedCaches;
1355+
}
1356+
1357+
public String getCiRestrictPipelineCancellationRole() {
1358+
return ciRestrictPipelineCancellationRole;
1359+
}
1360+
1361+
public void setCiRestrictPipelineCancellationRole(String ciRestrictPipelineCancellationRole) {
1362+
this.ciRestrictPipelineCancellationRole = ciRestrictPipelineCancellationRole;
1363+
}
1364+
1365+
public String getCiPipelineVariablesMinimumOverrideRole() {
1366+
return ciPipelineVariablesMinimumOverrideRole;
1367+
}
1368+
1369+
public void setCiPipelineVariablesMinimumOverrideRole(String ciPipelineVariablesMinimumOverrideRole) {
1370+
this.ciPipelineVariablesMinimumOverrideRole = ciPipelineVariablesMinimumOverrideRole;
1371+
}
1372+
1373+
public Boolean getCiPushRepositoryForJobTokenAllowed() {
1374+
return ciPushRepositoryForJobTokenAllowed;
1375+
}
1376+
1377+
public void setCiPushRepositoryForJobTokenAllowed(Boolean ciPushRepositoryForJobTokenAllowed) {
1378+
this.ciPushRepositoryForJobTokenAllowed = ciPushRepositoryForJobTokenAllowed;
1379+
}
1380+
1381+
public Boolean getAllowPipelineTriggerApproveDeployment() {
1382+
return allowPipelineTriggerApproveDeployment;
1383+
}
1384+
1385+
public void setAllowPipelineTriggerApproveDeployment(Boolean allowPipelineTriggerApproveDeployment) {
1386+
this.allowPipelineTriggerApproveDeployment = allowPipelineTriggerApproveDeployment;
1387+
}
1388+
1389+
public Boolean getRestrictUserDefinedVariables() {
1390+
return restrictUserDefinedVariables;
1391+
}
1392+
1393+
public void setRestrictUserDefinedVariables(Boolean restrictUserDefinedVariables) {
1394+
this.restrictUserDefinedVariables = restrictUserDefinedVariables;
1395+
}
1396+
1397+
public Boolean getEnforceAuthChecksOnUploads() {
1398+
return enforceAuthChecksOnUploads;
1399+
}
1400+
1401+
public void setEnforceAuthChecksOnUploads(Boolean enforceAuthChecksOnUploads) {
1402+
this.enforceAuthChecksOnUploads = enforceAuthChecksOnUploads;
1403+
}
1404+
1405+
public Boolean getKeepLatestArtifact() {
1406+
return keepLatestArtifact;
1407+
}
1408+
1409+
public void setKeepLatestArtifact(Boolean keepLatestArtifact) {
1410+
this.keepLatestArtifact = keepLatestArtifact;
1411+
}
1412+
1413+
public Integer getRunnerTokenExpirationInterval() {
1414+
return runnerTokenExpirationInterval;
1415+
}
1416+
1417+
public void setRunnerTokenExpirationInterval(Integer runnerTokenExpirationInterval) {
1418+
this.runnerTokenExpirationInterval = runnerTokenExpirationInterval;
1419+
}
1420+
1421+
public Boolean getRequirementsEnabled() {
1422+
return requirementsEnabled;
1423+
}
1424+
1425+
public void setRequirementsEnabled(Boolean requirementsEnabled) {
1426+
this.requirementsEnabled = requirementsEnabled;
1427+
}
1428+
1429+
public Boolean getSecurityAndComplianceEnabled() {
1430+
return securityAndComplianceEnabled;
1431+
}
1432+
1433+
public void setSecurityAndComplianceEnabled(Boolean securityAndComplianceEnabled) {
1434+
this.securityAndComplianceEnabled = securityAndComplianceEnabled;
1435+
}
1436+
1437+
public Boolean getSecretPushProtectionEnabled() {
1438+
return secretPushProtectionEnabled;
1439+
}
1440+
1441+
public void setSecretPushProtectionEnabled(Boolean secretPushProtectionEnabled) {
1442+
this.secretPushProtectionEnabled = secretPushProtectionEnabled;
1443+
}
1444+
1445+
public List<String> getComplianceFrameworks() {
1446+
return complianceFrameworks;
1447+
}
1448+
1449+
public void setComplianceFrameworks(List<String> complianceFrameworks) {
1450+
this.complianceFrameworks = complianceFrameworks;
1451+
}
1452+
12281453
public ProjectFeatureVisibilityAccessLevel getAnalyticsAccessLevel() {
12291454
return analyticsAccessLevel;
12301455
}

0 commit comments

Comments
 (0)