Skip to content

Commit ab0401a

Browse files
Merge pull request #3295 from vmware/jenkins_sync_eng_java
Auto updated assets for java eng
2 parents f12fadc + e27c734 commit ab0401a

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

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

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ public class GslbGeoDbProfile extends AviRestResource {
2424
@JsonProperty("description")
2525
private String description;
2626

27+
@JsonProperty("distance_computation_algorithm")
28+
private String distanceComputationAlgorithm = "GSLB_DISTANCE_AVI_OPTIMISED";
29+
2730
@JsonProperty("entries")
2831
private List<GslbGeoDbEntry> entries;
2932

@@ -68,6 +71,32 @@ public String getDescription() {
6871
public void setDescription(String description) {
6972
this.description = description;
7073
}
74+
75+
/**
76+
* This is the getter method this will return the attribute value.
77+
* Algorithm to be used for computing distance between geo locations.only applicable when load balancing algorithm is gslb_algorithm_geo.
78+
* Enum options - GSLB_DISTANCE_AVI_OPTIMISED, GSLB_DISTANCE_HAVERSINE.
79+
* Field introduced in 32.1.1.
80+
* Allowed with any value in enterprise, enterprise with cloud services edition.
81+
* Default value when not specified in API or module is interpreted by Avi Controller as "GSLB_DISTANCE_AVI_OPTIMISED".
82+
* @return distanceComputationAlgorithm
83+
*/
84+
public String getDistanceComputationAlgorithm() {
85+
return distanceComputationAlgorithm;
86+
}
87+
88+
/**
89+
* This is the setter method to the attribute.
90+
* Algorithm to be used for computing distance between geo locations.only applicable when load balancing algorithm is gslb_algorithm_geo.
91+
* Enum options - GSLB_DISTANCE_AVI_OPTIMISED, GSLB_DISTANCE_HAVERSINE.
92+
* Field introduced in 32.1.1.
93+
* Allowed with any value in enterprise, enterprise with cloud services edition.
94+
* Default value when not specified in API or module is interpreted by Avi Controller as "GSLB_DISTANCE_AVI_OPTIMISED".
95+
* @param distanceComputationAlgorithm set the distanceComputationAlgorithm.
96+
*/
97+
public void setDistanceComputationAlgorithm(String distanceComputationAlgorithm) {
98+
this.distanceComputationAlgorithm = distanceComputationAlgorithm;
99+
}
71100
/**
72101
* This is the getter method this will return the attribute value.
73102
* List of geodb entries.
@@ -282,14 +311,16 @@ public boolean equals(java.lang.Object o) {
282311
Objects.equals(this.markers, objGslbGeoDbProfile.markers)&&
283312
Objects.equals(this.isFederated, objGslbGeoDbProfile.isFederated)&&
284313
Objects.equals(this.description, objGslbGeoDbProfile.description)&&
285-
Objects.equals(this.tenantRef, objGslbGeoDbProfile.tenantRef);
314+
Objects.equals(this.tenantRef, objGslbGeoDbProfile.tenantRef)&&
315+
Objects.equals(this.distanceComputationAlgorithm, objGslbGeoDbProfile.distanceComputationAlgorithm);
286316
}
287317

288318
@Override
289319
public String toString() {
290320
StringBuilder sb = new StringBuilder();
291321
sb.append("class GslbGeoDbProfile {\n");
292322
sb.append(" description: ").append(toIndentedString(description)).append("\n");
323+
sb.append(" distanceComputationAlgorithm: ").append(toIndentedString(distanceComputationAlgorithm)).append("\n");
293324
sb.append(" entries: ").append(toIndentedString(entries)).append("\n");
294325
sb.append(" isFederated: ").append(toIndentedString(isFederated)).append("\n");
295326
sb.append(" markers: ").append(toIndentedString(markers)).append("\n");

0 commit comments

Comments
 (0)