Skip to content

Commit d54bf91

Browse files
Merge pull request #3182 from vmware/jenkins_sync_31.2.1_java
Auto updated assets for java 31.2.1
2 parents 50cc1bd + e318824 commit d54bf91

9 files changed

+519
-67
lines changed

java/src/com/vmware/avi/sdk/model/ControllerProperties.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public class ControllerProperties extends AviRestResource {
182182
private Integer logRecordsAllocatedSize;
183183

184184
@JsonProperty("log_records_allocation_percentage_for_events")
185-
private Integer logRecordsAllocationPercentageForEvents = 20;
185+
private Integer logRecordsAllocationPercentageForEvents = 50;
186186

187187
@JsonProperty("log_records_cleanup_target_percentage")
188188
private Integer logRecordsCleanupTargetPercentage = 90;
@@ -1769,10 +1769,10 @@ public void setLogRecordsAllocatedSize(Integer logRecordsAllocatedSize) {
17691769
/**
17701770
* This is the getter method this will return the attribute value.
17711771
* Percentage of allocation (log_records_allocated_size) for events on controller node.
1772-
* Allowed values are 10-50.
1772+
* Allowed values are 10-70.
17731773
* Field introduced in 31.2.1.
17741774
* Allowed with any value in enterprise, enterprise with cloud services edition.
1775-
* Default value when not specified in API or module is interpreted by Avi Controller as 20.
1775+
* Default value when not specified in API or module is interpreted by Avi Controller as 50.
17761776
* @return logRecordsAllocationPercentageForEvents
17771777
*/
17781778
public Integer getLogRecordsAllocationPercentageForEvents() {
@@ -1782,10 +1782,10 @@ public Integer getLogRecordsAllocationPercentageForEvents() {
17821782
/**
17831783
* This is the setter method to the attribute.
17841784
* Percentage of allocation (log_records_allocated_size) for events on controller node.
1785-
* Allowed values are 10-50.
1785+
* Allowed values are 10-70.
17861786
* Field introduced in 31.2.1.
17871787
* Allowed with any value in enterprise, enterprise with cloud services edition.
1788-
* Default value when not specified in API or module is interpreted by Avi Controller as 20.
1788+
* Default value when not specified in API or module is interpreted by Avi Controller as 50.
17891789
* @param logRecordsAllocationPercentageForEvents set the logRecordsAllocationPercentageForEvents.
17901790
*/
17911791
public void setLogRecordsAllocationPercentageForEvents(Integer logRecordsAllocationPercentageForEvents) {

java/src/com/vmware/avi/sdk/model/HSMSafenetLuna.java

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ public class HSMSafenetLuna {
3939
@JsonProperty("use_dedicated_network")
4040
private Boolean useDedicatedNetwork = false;
4141

42-
@JsonProperty("use_legacy_engine")
43-
private Boolean useLegacyEngine = false;
44-
4542

4643

4744
/**
@@ -204,30 +201,6 @@ public void setUseDedicatedNetwork(Boolean useDedicatedNetwork) {
204201
this.useDedicatedNetwork = useDedicatedNetwork;
205202
}
206203

207-
/**
208-
* This is the getter method this will return the attribute value.
209-
* If enabled, thales luna client will use legacy gem engine library, instead of a luna provider.
210-
* Field introduced in 31.2.1.
211-
* Allowed with any value in enterprise, enterprise with cloud services edition.
212-
* Default value when not specified in API or module is interpreted by Avi Controller as false.
213-
* @return useLegacyEngine
214-
*/
215-
public Boolean getUseLegacyEngine() {
216-
return useLegacyEngine;
217-
}
218-
219-
/**
220-
* This is the setter method to the attribute.
221-
* If enabled, thales luna client will use legacy gem engine library, instead of a luna provider.
222-
* Field introduced in 31.2.1.
223-
* Allowed with any value in enterprise, enterprise with cloud services edition.
224-
* Default value when not specified in API or module is interpreted by Avi Controller as false.
225-
* @param useLegacyEngine set the useLegacyEngine.
226-
*/
227-
public void setUseLegacyEngine(Boolean useLegacyEngine) {
228-
this.useLegacyEngine = useLegacyEngine;
229-
}
230-
231204

232205
@Override
233206
public boolean equals(java.lang.Object o) {
@@ -243,8 +216,7 @@ public boolean equals(java.lang.Object o) {
243216
Objects.equals(this.haGroupNum, objHSMSafenetLuna.haGroupNum)&&
244217
Objects.equals(this.nodeInfo, objHSMSafenetLuna.nodeInfo)&&
245218
Objects.equals(this.serverPem, objHSMSafenetLuna.serverPem)&&
246-
Objects.equals(this.useDedicatedNetwork, objHSMSafenetLuna.useDedicatedNetwork)&&
247-
Objects.equals(this.useLegacyEngine, objHSMSafenetLuna.useLegacyEngine);
219+
Objects.equals(this.useDedicatedNetwork, objHSMSafenetLuna.useDedicatedNetwork);
248220
}
249221

250222
@Override
@@ -257,7 +229,6 @@ public String toString() {
257229
sb.append(" server: ").append(toIndentedString(server)).append("\n");
258230
sb.append(" serverPem: ").append(toIndentedString(serverPem)).append("\n");
259231
sb.append(" useDedicatedNetwork: ").append(toIndentedString(useDedicatedNetwork)).append("\n");
260-
sb.append(" useLegacyEngine: ").append(toIndentedString(useLegacyEngine)).append("\n");
261232
sb.append("}");
262233
return sb.toString();
263234
}
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
/*
2+
* Copyright 2021 VMware, Inc.
3+
* SPDX-License-Identifier: Apache License 2.0
4+
*/
5+
6+
package com.vmware.avi.sdk.model;
7+
8+
import java.util.*;
9+
import com.fasterxml.jackson.annotation.JsonProperty;
10+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
11+
import com.fasterxml.jackson.annotation.JsonInclude;
12+
13+
/**
14+
* The LicenseQuotaUsageDetails is a POJO class extends AviRestResource that used for creating
15+
* LicenseQuotaUsageDetails.
16+
*
17+
* @version 1.0
18+
* @since
19+
*
20+
*/
21+
@JsonIgnoreProperties(ignoreUnknown = true)
22+
@JsonInclude(JsonInclude.Include.NON_NULL)
23+
public class LicenseQuotaUsageDetails {
24+
@JsonProperty("tenant_quota_usage_infos")
25+
private List<TenantQuotaUsageInfo> tenantQuotaUsageInfos;
26+
27+
28+
/**
29+
* This is the getter method this will return the attribute value.
30+
* License quota usage details for tenants.
31+
* Field introduced in 31.2.1.
32+
* Allowed with any value in enterprise, enterprise with cloud services edition.
33+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
34+
* @return tenantQuotaUsageInfos
35+
*/
36+
public List<TenantQuotaUsageInfo> getTenantQuotaUsageInfos() {
37+
return tenantQuotaUsageInfos;
38+
}
39+
40+
/**
41+
* This is the setter method. this will set the tenantQuotaUsageInfos
42+
* License quota usage details for tenants.
43+
* Field introduced in 31.2.1.
44+
* Allowed with any value in enterprise, enterprise with cloud services edition.
45+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
46+
* @return tenantQuotaUsageInfos
47+
*/
48+
public void setTenantQuotaUsageInfos(List<TenantQuotaUsageInfo> tenantQuotaUsageInfos) {
49+
this.tenantQuotaUsageInfos = tenantQuotaUsageInfos;
50+
}
51+
52+
/**
53+
* This is the setter method this will set the tenantQuotaUsageInfos
54+
* License quota usage details for tenants.
55+
* Field introduced in 31.2.1.
56+
* Allowed with any value in enterprise, enterprise with cloud services edition.
57+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
58+
* @return tenantQuotaUsageInfos
59+
*/
60+
public LicenseQuotaUsageDetails addTenantQuotaUsageInfosItem(TenantQuotaUsageInfo tenantQuotaUsageInfosItem) {
61+
if (this.tenantQuotaUsageInfos == null) {
62+
this.tenantQuotaUsageInfos = new ArrayList<TenantQuotaUsageInfo>();
63+
}
64+
this.tenantQuotaUsageInfos.add(tenantQuotaUsageInfosItem);
65+
return this;
66+
}
67+
68+
69+
@Override
70+
public boolean equals(java.lang.Object o) {
71+
if (this == o) {
72+
return true;
73+
}
74+
if (o == null || getClass() != o.getClass()) {
75+
return false;
76+
}
77+
LicenseQuotaUsageDetails objLicenseQuotaUsageDetails = (LicenseQuotaUsageDetails) o;
78+
return Objects.equals(this.tenantQuotaUsageInfos, objLicenseQuotaUsageDetails.tenantQuotaUsageInfos);
79+
}
80+
81+
@Override
82+
public String toString() {
83+
StringBuilder sb = new StringBuilder();
84+
sb.append("class LicenseQuotaUsageDetails {\n");
85+
sb.append(" tenantQuotaUsageInfos: ").append(toIndentedString(tenantQuotaUsageInfos)).append("\n");
86+
sb.append("}");
87+
return sb.toString();
88+
}
89+
90+
/**
91+
* Convert the given object to string with each line indented by 4 spaces
92+
* (except the first line).
93+
*/
94+
private String toIndentedString(java.lang.Object o) {
95+
if (o == null) {
96+
return "null";
97+
}
98+
return o.toString().replace("\n", "\n ");
99+
}
100+
}
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
/*
2+
* Copyright 2021 VMware, Inc.
3+
* SPDX-License-Identifier: Apache License 2.0
4+
*/
5+
6+
package com.vmware.avi.sdk.model;
7+
8+
import java.util.Objects;
9+
import com.fasterxml.jackson.annotation.JsonProperty;
10+
import io.swagger.v3.oas.annotations.media.Schema;
11+
import java.util.ArrayList;
12+
import java.util.List;
13+
14+
/**
15+
* LicenseQuotaUsageDetailsApiResponse
16+
*/
17+
public class LicenseQuotaUsageDetailsApiResponse {
18+
@JsonProperty("count")
19+
private Integer count = null;
20+
21+
@JsonProperty("results")
22+
private List<LicenseQuotaUsageDetails> results = new ArrayList<LicenseQuotaUsageDetails>();
23+
24+
public LicenseQuotaUsageDetailsApiResponse count(Integer count) {
25+
this.count = count;
26+
return this;
27+
}
28+
29+
/**
30+
* Get count
31+
* @return count
32+
**/
33+
@Schema(required = true, description = "")
34+
public Integer getCount() {
35+
return count;
36+
}
37+
38+
public void setCount(Integer count) {
39+
this.count = count;
40+
}
41+
42+
public LicenseQuotaUsageDetailsApiResponse results(List<LicenseQuotaUsageDetails> results) {
43+
this.results = results;
44+
return this;
45+
}
46+
47+
public LicenseQuotaUsageDetailsApiResponse addResultsItem(LicenseQuotaUsageDetails resultsItem) {
48+
this.results.add(resultsItem);
49+
return this;
50+
}
51+
52+
/**
53+
* Get results
54+
* @return results
55+
**/
56+
@Schema(required = true, description = "")
57+
public List<LicenseQuotaUsageDetails> getResults() {
58+
return results;
59+
}
60+
61+
public void setResults(List<LicenseQuotaUsageDetails> results) {
62+
this.results = results;
63+
}
64+
65+
@Override
66+
public boolean equals(java.lang.Object o) {
67+
if (this == o) {
68+
return true;
69+
}
70+
if (o == null || getClass() != o.getClass()) {
71+
return false;
72+
}
73+
LicenseQuotaUsageDetailsApiResponse licenseQuotaUsageDetailsApiResponse = (LicenseQuotaUsageDetailsApiResponse) o;
74+
return Objects.equals(this.count, licenseQuotaUsageDetailsApiResponse.count) &&
75+
Objects.equals(this.results, licenseQuotaUsageDetailsApiResponse.results);
76+
}
77+
78+
@Override
79+
public int hashCode() {
80+
return Objects.hash(count, results);
81+
}
82+
83+
84+
@Override
85+
public String toString() {
86+
StringBuilder sb = new StringBuilder();
87+
sb.append("class LicenseQuotaUsageDetailsApiResponse {\n");
88+
89+
sb.append(" count: ").append(toIndentedString(count)).append("\n");
90+
sb.append(" results: ").append(toIndentedString(results)).append("\n");
91+
sb.append("}");
92+
return sb.toString();
93+
}
94+
95+
/**
96+
* Convert the given object to string with each line indented by 4 spaces
97+
* (except the first line).
98+
*/
99+
private String toIndentedString(java.lang.Object o) {
100+
if (o == null) {
101+
return "null";
102+
}
103+
return o.toString().replace("\n", "\n ");
104+
}
105+
}
106+
107+

0 commit comments

Comments
 (0)