Skip to content

Commit f9e55b4

Browse files
Merge pull request #3292 from vmware/jenkins_sync_eng_java
Auto updated assets for java eng
2 parents da9d941 + 8927a27 commit f9e55b4

File tree

1 file changed

+341
-2
lines changed

1 file changed

+341
-2
lines changed

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

Lines changed: 341 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,93 @@
2121
@JsonIgnoreProperties(ignoreUnknown = true)
2222
@JsonInclude(JsonInclude.Include.NON_NULL)
2323
public class MetricsApiSrvDebugFilter {
24+
@JsonProperty("db_stats_num_snapshots")
25+
private Integer dbStatsNumSnapshots;
26+
27+
@JsonProperty("db_stats_snapshot_period_hours")
28+
private Integer dbStatsSnapshotPeriodHours;
29+
2430
@JsonProperty("entity_ref")
2531
private String entityRef;
2632

33+
@JsonProperty("mapi_perf_stats_enabled")
34+
private Boolean mapiPerfStatsEnabled;
35+
36+
@JsonProperty("mapi_req_history_entity_type_filters")
37+
private List<String> mapiReqHistoryEntityTypeFilters;
38+
39+
@JsonProperty("mapi_req_history_entity_uuid_filters")
40+
private List<String> mapiReqHistoryEntityUuidFilters;
41+
42+
@JsonProperty("mapi_req_history_metric_id_filters")
43+
private List<String> mapiReqHistoryMetricIdFilters;
44+
45+
@JsonProperty("mapi_req_history_num_records")
46+
private Integer mapiReqHistoryNumRecords;
47+
48+
@JsonProperty("mapi_req_history_se_uuid_filters")
49+
private List<String> mapiReqHistorySeUuidFilters;
50+
51+
@JsonProperty("mapi_stats_log_period_hours")
52+
private Integer mapiStatsLogPeriodHours;
53+
54+
55+
56+
/**
57+
* This is the getter method this will return the attribute value.
58+
* Number of last-n metrics db query stats snapshots to save.
59+
* Allowed values are 4-24.
60+
* Special values are 0- stop taking metrics db query stats snapshots.
61+
* Field introduced in 32.1.1.
62+
* Allowed with any value in enterprise, enterprise with cloud services edition.
63+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
64+
* @return dbStatsNumSnapshots
65+
*/
66+
public Integer getDbStatsNumSnapshots() {
67+
return dbStatsNumSnapshots;
68+
}
69+
70+
/**
71+
* This is the setter method to the attribute.
72+
* Number of last-n metrics db query stats snapshots to save.
73+
* Allowed values are 4-24.
74+
* Special values are 0- stop taking metrics db query stats snapshots.
75+
* Field introduced in 32.1.1.
76+
* Allowed with any value in enterprise, enterprise with cloud services edition.
77+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
78+
* @param dbStatsNumSnapshots set the dbStatsNumSnapshots.
79+
*/
80+
public void setDbStatsNumSnapshots(Integer dbStatsNumSnapshots) {
81+
this.dbStatsNumSnapshots = dbStatsNumSnapshots;
82+
}
2783

84+
/**
85+
* This is the getter method this will return the attribute value.
86+
* Periodicity in hours of taking snapshots of metrics db query stats.
87+
* Allowed values are 1-48.
88+
* Field introduced in 32.1.1.
89+
* Unit is hours.
90+
* Allowed with any value in enterprise, enterprise with cloud services edition.
91+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
92+
* @return dbStatsSnapshotPeriodHours
93+
*/
94+
public Integer getDbStatsSnapshotPeriodHours() {
95+
return dbStatsSnapshotPeriodHours;
96+
}
97+
98+
/**
99+
* This is the setter method to the attribute.
100+
* Periodicity in hours of taking snapshots of metrics db query stats.
101+
* Allowed values are 1-48.
102+
* Field introduced in 32.1.1.
103+
* Unit is hours.
104+
* Allowed with any value in enterprise, enterprise with cloud services edition.
105+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
106+
* @param dbStatsSnapshotPeriodHours set the dbStatsSnapshotPeriodHours.
107+
*/
108+
public void setDbStatsSnapshotPeriodHours(Integer dbStatsSnapshotPeriodHours) {
109+
this.dbStatsSnapshotPeriodHours = dbStatsSnapshotPeriodHours;
110+
}
28111

29112
/**
30113
* This is the getter method this will return the attribute value.
@@ -52,6 +135,244 @@ public void setEntityRef(String entityRef) {
52135
this.entityRef = entityRef;
53136
}
54137

138+
/**
139+
* This is the getter method this will return the attribute value.
140+
* Single knob to enable collection of metrics api server stats.
141+
* Field introduced in 32.1.1.
142+
* Allowed with any value in enterprise, enterprise with cloud services edition.
143+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
144+
* @return mapiPerfStatsEnabled
145+
*/
146+
public Boolean getMapiPerfStatsEnabled() {
147+
return mapiPerfStatsEnabled;
148+
}
149+
150+
/**
151+
* This is the setter method to the attribute.
152+
* Single knob to enable collection of metrics api server stats.
153+
* Field introduced in 32.1.1.
154+
* Allowed with any value in enterprise, enterprise with cloud services edition.
155+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
156+
* @param mapiPerfStatsEnabled set the mapiPerfStatsEnabled.
157+
*/
158+
public void setMapiPerfStatsEnabled(Boolean mapiPerfStatsEnabled) {
159+
this.mapiPerfStatsEnabled = mapiPerfStatsEnabled;
160+
}
161+
/**
162+
* This is the getter method this will return the attribute value.
163+
* Maintain query history only for the specified entity type - pool_metrics_entity etc.
164+
* Field introduced in 32.1.1.
165+
* Allowed with any value in enterprise, enterprise with cloud services edition.
166+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
167+
* @return mapiReqHistoryEntityTypeFilters
168+
*/
169+
public List<String> getMapiReqHistoryEntityTypeFilters() {
170+
return mapiReqHistoryEntityTypeFilters;
171+
}
172+
173+
/**
174+
* This is the setter method. this will set the mapiReqHistoryEntityTypeFilters
175+
* Maintain query history only for the specified entity type - pool_metrics_entity etc.
176+
* Field introduced in 32.1.1.
177+
* Allowed with any value in enterprise, enterprise with cloud services edition.
178+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
179+
* @return mapiReqHistoryEntityTypeFilters
180+
*/
181+
public void setMapiReqHistoryEntityTypeFilters(List<String> mapiReqHistoryEntityTypeFilters) {
182+
this.mapiReqHistoryEntityTypeFilters = mapiReqHistoryEntityTypeFilters;
183+
}
184+
185+
/**
186+
* This is the setter method this will set the mapiReqHistoryEntityTypeFilters
187+
* Maintain query history only for the specified entity type - pool_metrics_entity etc.
188+
* Field introduced in 32.1.1.
189+
* Allowed with any value in enterprise, enterprise with cloud services edition.
190+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
191+
* @return mapiReqHistoryEntityTypeFilters
192+
*/
193+
public MetricsApiSrvDebugFilter addMapiReqHistoryEntityTypeFiltersItem(String mapiReqHistoryEntityTypeFiltersItem) {
194+
if (this.mapiReqHistoryEntityTypeFilters == null) {
195+
this.mapiReqHistoryEntityTypeFilters = new ArrayList<String>();
196+
}
197+
this.mapiReqHistoryEntityTypeFilters.add(mapiReqHistoryEntityTypeFiltersItem);
198+
return this;
199+
}
200+
/**
201+
* This is the getter method this will return the attribute value.
202+
* Maintain query history only for the specified entity uuid.
203+
* Field introduced in 32.1.1.
204+
* Allowed with any value in enterprise, enterprise with cloud services edition.
205+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
206+
* @return mapiReqHistoryEntityUuidFilters
207+
*/
208+
public List<String> getMapiReqHistoryEntityUuidFilters() {
209+
return mapiReqHistoryEntityUuidFilters;
210+
}
211+
212+
/**
213+
* This is the setter method. this will set the mapiReqHistoryEntityUuidFilters
214+
* Maintain query history only for the specified entity uuid.
215+
* Field introduced in 32.1.1.
216+
* Allowed with any value in enterprise, enterprise with cloud services edition.
217+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
218+
* @return mapiReqHistoryEntityUuidFilters
219+
*/
220+
public void setMapiReqHistoryEntityUuidFilters(List<String> mapiReqHistoryEntityUuidFilters) {
221+
this.mapiReqHistoryEntityUuidFilters = mapiReqHistoryEntityUuidFilters;
222+
}
223+
224+
/**
225+
* This is the setter method this will set the mapiReqHistoryEntityUuidFilters
226+
* Maintain query history only for the specified entity uuid.
227+
* Field introduced in 32.1.1.
228+
* Allowed with any value in enterprise, enterprise with cloud services edition.
229+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
230+
* @return mapiReqHistoryEntityUuidFilters
231+
*/
232+
public MetricsApiSrvDebugFilter addMapiReqHistoryEntityUuidFiltersItem(String mapiReqHistoryEntityUuidFiltersItem) {
233+
if (this.mapiReqHistoryEntityUuidFilters == null) {
234+
this.mapiReqHistoryEntityUuidFilters = new ArrayList<String>();
235+
}
236+
this.mapiReqHistoryEntityUuidFilters.add(mapiReqHistoryEntityUuidFiltersItem);
237+
return this;
238+
}
239+
/**
240+
* This is the getter method this will return the attribute value.
241+
* Maintain query history only for the specified metric id.
242+
* Field introduced in 32.1.1.
243+
* Allowed with any value in enterprise, enterprise with cloud services edition.
244+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
245+
* @return mapiReqHistoryMetricIdFilters
246+
*/
247+
public List<String> getMapiReqHistoryMetricIdFilters() {
248+
return mapiReqHistoryMetricIdFilters;
249+
}
250+
251+
/**
252+
* This is the setter method. this will set the mapiReqHistoryMetricIdFilters
253+
* Maintain query history only for the specified metric id.
254+
* Field introduced in 32.1.1.
255+
* Allowed with any value in enterprise, enterprise with cloud services edition.
256+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
257+
* @return mapiReqHistoryMetricIdFilters
258+
*/
259+
public void setMapiReqHistoryMetricIdFilters(List<String> mapiReqHistoryMetricIdFilters) {
260+
this.mapiReqHistoryMetricIdFilters = mapiReqHistoryMetricIdFilters;
261+
}
262+
263+
/**
264+
* This is the setter method this will set the mapiReqHistoryMetricIdFilters
265+
* Maintain query history only for the specified metric id.
266+
* Field introduced in 32.1.1.
267+
* Allowed with any value in enterprise, enterprise with cloud services edition.
268+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
269+
* @return mapiReqHistoryMetricIdFilters
270+
*/
271+
public MetricsApiSrvDebugFilter addMapiReqHistoryMetricIdFiltersItem(String mapiReqHistoryMetricIdFiltersItem) {
272+
if (this.mapiReqHistoryMetricIdFilters == null) {
273+
this.mapiReqHistoryMetricIdFilters = new ArrayList<String>();
274+
}
275+
this.mapiReqHistoryMetricIdFilters.add(mapiReqHistoryMetricIdFiltersItem);
276+
return this;
277+
}
278+
279+
/**
280+
* This is the getter method this will return the attribute value.
281+
* Number of last-n metrics api server queries to save.
282+
* Allowed values are 1-32.
283+
* Special values are 0- stop saving of last-n metrics api server queries.
284+
* Field introduced in 32.1.1.
285+
* Allowed with any value in enterprise, enterprise with cloud services edition.
286+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
287+
* @return mapiReqHistoryNumRecords
288+
*/
289+
public Integer getMapiReqHistoryNumRecords() {
290+
return mapiReqHistoryNumRecords;
291+
}
292+
293+
/**
294+
* This is the setter method to the attribute.
295+
* Number of last-n metrics api server queries to save.
296+
* Allowed values are 1-32.
297+
* Special values are 0- stop saving of last-n metrics api server queries.
298+
* Field introduced in 32.1.1.
299+
* Allowed with any value in enterprise, enterprise with cloud services edition.
300+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
301+
* @param mapiReqHistoryNumRecords set the mapiReqHistoryNumRecords.
302+
*/
303+
public void setMapiReqHistoryNumRecords(Integer mapiReqHistoryNumRecords) {
304+
this.mapiReqHistoryNumRecords = mapiReqHistoryNumRecords;
305+
}
306+
/**
307+
* This is the getter method this will return the attribute value.
308+
* Maintain query history only for the specified serviceengine uuid.
309+
* Field introduced in 32.1.1.
310+
* Allowed with any value in enterprise, enterprise with cloud services edition.
311+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
312+
* @return mapiReqHistorySeUuidFilters
313+
*/
314+
public List<String> getMapiReqHistorySeUuidFilters() {
315+
return mapiReqHistorySeUuidFilters;
316+
}
317+
318+
/**
319+
* This is the setter method. this will set the mapiReqHistorySeUuidFilters
320+
* Maintain query history only for the specified serviceengine uuid.
321+
* Field introduced in 32.1.1.
322+
* Allowed with any value in enterprise, enterprise with cloud services edition.
323+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
324+
* @return mapiReqHistorySeUuidFilters
325+
*/
326+
public void setMapiReqHistorySeUuidFilters(List<String> mapiReqHistorySeUuidFilters) {
327+
this.mapiReqHistorySeUuidFilters = mapiReqHistorySeUuidFilters;
328+
}
329+
330+
/**
331+
* This is the setter method this will set the mapiReqHistorySeUuidFilters
332+
* Maintain query history only for the specified serviceengine uuid.
333+
* Field introduced in 32.1.1.
334+
* Allowed with any value in enterprise, enterprise with cloud services edition.
335+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
336+
* @return mapiReqHistorySeUuidFilters
337+
*/
338+
public MetricsApiSrvDebugFilter addMapiReqHistorySeUuidFiltersItem(String mapiReqHistorySeUuidFiltersItem) {
339+
if (this.mapiReqHistorySeUuidFilters == null) {
340+
this.mapiReqHistorySeUuidFilters = new ArrayList<String>();
341+
}
342+
this.mapiReqHistorySeUuidFilters.add(mapiReqHistorySeUuidFiltersItem);
343+
return this;
344+
}
345+
346+
/**
347+
* This is the getter method this will return the attribute value.
348+
* Periodicity in hours of saving operational stats of metrics api server to a log file.
349+
* Allowed values are 1-12.
350+
* Special values are 0- stop periodic saving of last-n metrics api server queries.
351+
* Field introduced in 32.1.1.
352+
* Unit is hours.
353+
* Allowed with any value in enterprise, enterprise with cloud services edition.
354+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
355+
* @return mapiStatsLogPeriodHours
356+
*/
357+
public Integer getMapiStatsLogPeriodHours() {
358+
return mapiStatsLogPeriodHours;
359+
}
360+
361+
/**
362+
* This is the setter method to the attribute.
363+
* Periodicity in hours of saving operational stats of metrics api server to a log file.
364+
* Allowed values are 1-12.
365+
* Special values are 0- stop periodic saving of last-n metrics api server queries.
366+
* Field introduced in 32.1.1.
367+
* Unit is hours.
368+
* Allowed with any value in enterprise, enterprise with cloud services edition.
369+
* Default value when not specified in API or module is interpreted by Avi Controller as null.
370+
* @param mapiStatsLogPeriodHours set the mapiStatsLogPeriodHours.
371+
*/
372+
public void setMapiStatsLogPeriodHours(Integer mapiStatsLogPeriodHours) {
373+
this.mapiStatsLogPeriodHours = mapiStatsLogPeriodHours;
374+
}
375+
55376

56377
@Override
57378
public boolean equals(java.lang.Object o) {
@@ -62,14 +383,32 @@ public boolean equals(java.lang.Object o) {
62383
return false;
63384
}
64385
MetricsApiSrvDebugFilter objMetricsApiSrvDebugFilter = (MetricsApiSrvDebugFilter) o;
65-
return Objects.equals(this.entityRef, objMetricsApiSrvDebugFilter.entityRef);
386+
return Objects.equals(this.entityRef, objMetricsApiSrvDebugFilter.entityRef)&&
387+
Objects.equals(this.mapiPerfStatsEnabled, objMetricsApiSrvDebugFilter.mapiPerfStatsEnabled)&&
388+
Objects.equals(this.dbStatsSnapshotPeriodHours, objMetricsApiSrvDebugFilter.dbStatsSnapshotPeriodHours)&&
389+
Objects.equals(this.dbStatsNumSnapshots, objMetricsApiSrvDebugFilter.dbStatsNumSnapshots)&&
390+
Objects.equals(this.mapiReqHistoryNumRecords, objMetricsApiSrvDebugFilter.mapiReqHistoryNumRecords)&&
391+
Objects.equals(this.mapiStatsLogPeriodHours, objMetricsApiSrvDebugFilter.mapiStatsLogPeriodHours)&&
392+
Objects.equals(this.mapiReqHistoryEntityTypeFilters, objMetricsApiSrvDebugFilter.mapiReqHistoryEntityTypeFilters)&&
393+
Objects.equals(this.mapiReqHistoryEntityUuidFilters, objMetricsApiSrvDebugFilter.mapiReqHistoryEntityUuidFilters)&&
394+
Objects.equals(this.mapiReqHistorySeUuidFilters, objMetricsApiSrvDebugFilter.mapiReqHistorySeUuidFilters)&&
395+
Objects.equals(this.mapiReqHistoryMetricIdFilters, objMetricsApiSrvDebugFilter.mapiReqHistoryMetricIdFilters);
66396
}
67397

68398
@Override
69399
public String toString() {
70400
StringBuilder sb = new StringBuilder();
71401
sb.append("class MetricsApiSrvDebugFilter {\n");
72-
sb.append(" entityRef: ").append(toIndentedString(entityRef)).append("\n");
402+
sb.append(" dbStatsNumSnapshots: ").append(toIndentedString(dbStatsNumSnapshots)).append("\n");
403+
sb.append(" dbStatsSnapshotPeriodHours: ").append(toIndentedString(dbStatsSnapshotPeriodHours)).append("\n");
404+
sb.append(" entityRef: ").append(toIndentedString(entityRef)).append("\n");
405+
sb.append(" mapiPerfStatsEnabled: ").append(toIndentedString(mapiPerfStatsEnabled)).append("\n");
406+
sb.append(" mapiReqHistoryEntityTypeFilters: ").append(toIndentedString(mapiReqHistoryEntityTypeFilters)).append("\n");
407+
sb.append(" mapiReqHistoryEntityUuidFilters: ").append(toIndentedString(mapiReqHistoryEntityUuidFilters)).append("\n");
408+
sb.append(" mapiReqHistoryMetricIdFilters: ").append(toIndentedString(mapiReqHistoryMetricIdFilters)).append("\n");
409+
sb.append(" mapiReqHistoryNumRecords: ").append(toIndentedString(mapiReqHistoryNumRecords)).append("\n");
410+
sb.append(" mapiReqHistorySeUuidFilters: ").append(toIndentedString(mapiReqHistorySeUuidFilters)).append("\n");
411+
sb.append(" mapiStatsLogPeriodHours: ").append(toIndentedString(mapiStatsLogPeriodHours)).append("\n");
73412
sb.append("}");
74413
return sb.toString();
75414
}

0 commit comments

Comments
 (0)