From a93b276bc75cd62f7e5bb64d0d58d9d255ef5963 Mon Sep 17 00:00:00 2001 From: Sagar Date: Mon, 28 Aug 2023 04:26:58 -0700 Subject: [PATCH] Updated assets for java Signed-off-by: Sagar --- .../sdk/model/GslbServiceDownResponse.java | 37 +++++++++++++++++-- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/java/src/com/vmware/avi/sdk/model/GslbServiceDownResponse.java b/java/src/com/vmware/avi/sdk/model/GslbServiceDownResponse.java index 2976742bf0..b5a635185f 100644 --- a/java/src/com/vmware/avi/sdk/model/GslbServiceDownResponse.java +++ b/java/src/com/vmware/avi/sdk/model/GslbServiceDownResponse.java @@ -21,6 +21,9 @@ @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_NULL) public class GslbServiceDownResponse { + @JsonProperty("fallback_cname") + private String fallbackCname = null; + @JsonProperty("fallback_ip") private IpAddr fallbackIp = null; @@ -32,6 +35,30 @@ public class GslbServiceDownResponse { + /** + * This is the getter method this will return the attribute value. + * Fallback cname to use in response to the client query when the gslb service is down. + * Field introduced in 22.1.5. + * Allowed in enterprise edition with any value, enterprise with cloud services edition. + * Default value when not specified in API or module is interpreted by Avi Controller as null. + * @return fallbackCname + */ + public String getFallbackCname() { + return fallbackCname; + } + + /** + * This is the setter method to the attribute. + * Fallback cname to use in response to the client query when the gslb service is down. + * Field introduced in 22.1.5. + * Allowed in enterprise edition with any value, enterprise with cloud services edition. + * Default value when not specified in API or module is interpreted by Avi Controller as null. + * @param fallbackCname set the fallbackCname. + */ + public void setFallbackCname(String fallbackCname) { + this.fallbackCname = fallbackCname; + } + /** * This is the getter method this will return the attribute value. * Fallback ip address to use in a response to the client query when the gslb service is down. @@ -82,7 +109,7 @@ public void setFallbackIp6(IpAddr fallbackIp6) { * This is the getter method this will return the attribute value. * Response from dns service towards the client when the gslb service is down. * Enum options - GSLB_SERVICE_DOWN_RESPONSE_NONE, GSLB_SERVICE_DOWN_RESPONSE_ALL_RECORDS, GSLB_SERVICE_DOWN_RESPONSE_FALLBACK_IP, - * GSLB_SERVICE_DOWN_RESPONSE_EMPTY. + * GSLB_SERVICE_DOWN_RESPONSE_EMPTY, GSLB_SERVICE_DOWN_RESPONSE_CNAME. * Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * Default value when not specified in API or module is interpreted by Avi Controller as "GSLB_SERVICE_DOWN_RESPONSE_NONE". * @return type @@ -95,7 +122,7 @@ public String getType() { * This is the setter method to the attribute. * Response from dns service towards the client when the gslb service is down. * Enum options - GSLB_SERVICE_DOWN_RESPONSE_NONE, GSLB_SERVICE_DOWN_RESPONSE_ALL_RECORDS, GSLB_SERVICE_DOWN_RESPONSE_FALLBACK_IP, - * GSLB_SERVICE_DOWN_RESPONSE_EMPTY. + * GSLB_SERVICE_DOWN_RESPONSE_EMPTY, GSLB_SERVICE_DOWN_RESPONSE_CNAME. * Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * Default value when not specified in API or module is interpreted by Avi Controller as "GSLB_SERVICE_DOWN_RESPONSE_NONE". * @param type set the type. @@ -116,14 +143,16 @@ public boolean equals(java.lang.Object o) { GslbServiceDownResponse objGslbServiceDownResponse = (GslbServiceDownResponse) o; return Objects.equals(this.type, objGslbServiceDownResponse.type)&& Objects.equals(this.fallbackIp, objGslbServiceDownResponse.fallbackIp)&& - Objects.equals(this.fallbackIp6, objGslbServiceDownResponse.fallbackIp6); + Objects.equals(this.fallbackIp6, objGslbServiceDownResponse.fallbackIp6)&& + Objects.equals(this.fallbackCname, objGslbServiceDownResponse.fallbackCname); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GslbServiceDownResponse {\n"); - sb.append(" fallbackIp: ").append(toIndentedString(fallbackIp)).append("\n"); + sb.append(" fallbackCname: ").append(toIndentedString(fallbackCname)).append("\n"); + sb.append(" fallbackIp: ").append(toIndentedString(fallbackIp)).append("\n"); sb.append(" fallbackIp6: ").append(toIndentedString(fallbackIp6)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append("}");