Skip to content

Commit

Permalink
Updated assets for java
Browse files Browse the repository at this point in the history
Signed-off-by: Sagar <ssalvi@vmware.com>
  • Loading branch information
sagarpsalvi committed Aug 28, 2023
1 parent 7e6a018 commit a93b276
Showing 1 changed file with 33 additions and 4 deletions.
37 changes: 33 additions & 4 deletions java/src/com/vmware/avi/sdk/model/GslbServiceDownResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand All @@ -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("}");
Expand Down

0 comments on commit a93b276

Please sign in to comment.