com.vmware.avi.sdk.model.SeHBEventDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avisdk Show documentation
Show all versions of avisdk Show documentation
Avi SDK is a java API which creates a session with controller and perform CRUD operations.
The newest version!
/*
* Copyright 2021 VMware, Inc.
* SPDX-License-Identifier: Apache License 2.0
*/
package com.vmware.avi.sdk.model;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* The SeHBEventDetails is a POJO class extends AviRestResource that used for creating
* SeHBEventDetails.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SeHBEventDetails {
@JsonProperty("hb_type")
private Integer hbType = 1;
@JsonProperty("remote_se_ref")
private String remoteSeRef;
@JsonProperty("reporting_se_ref")
private String reportingSeRef;
@JsonProperty("vs_uuid")
private String vsUuid;
/**
* This is the getter method this will return the attribute value.
* Hb request/response not received.
* 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 1.
* @return hbType
*/
public Integer getHbType() {
return hbType;
}
/**
* This is the setter method to the attribute.
* Hb request/response not received.
* 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 1.
* @param hbType set the hbType.
*/
public void setHbType(Integer hbType) {
this.hbType = hbType;
}
/**
* This is the getter method this will return the attribute value.
* Uuid of the se with which heartbeat failed.
* It is a reference to an object of type serviceengine.
* Field introduced in 20.1.1.
* 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 null.
* @return remoteSeRef
*/
public String getRemoteSeRef() {
return remoteSeRef;
}
/**
* This is the setter method to the attribute.
* Uuid of the se with which heartbeat failed.
* It is a reference to an object of type serviceengine.
* Field introduced in 20.1.1.
* 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 null.
* @param remoteSeRef set the remoteSeRef.
*/
public void setRemoteSeRef(String remoteSeRef) {
this.remoteSeRef = remoteSeRef;
}
/**
* This is the getter method this will return the attribute value.
* Uuid of the se reporting this event.
* It is a reference to an object of type serviceengine.
* Field introduced in 20.1.1.
* 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 null.
* @return reportingSeRef
*/
public String getReportingSeRef() {
return reportingSeRef;
}
/**
* This is the setter method to the attribute.
* Uuid of the se reporting this event.
* It is a reference to an object of type serviceengine.
* Field introduced in 20.1.1.
* 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 null.
* @param reportingSeRef set the reportingSeRef.
*/
public void setReportingSeRef(String reportingSeRef) {
this.reportingSeRef = reportingSeRef;
}
/**
* This is the getter method this will return the attribute value.
* Uuid of the virtual service which is placed on reporting-se and remote-se.
* Field introduced in 20.1.1.
* 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 null.
* @return vsUuid
*/
public String getVsUuid() {
return vsUuid;
}
/**
* This is the setter method to the attribute.
* Uuid of the virtual service which is placed on reporting-se and remote-se.
* Field introduced in 20.1.1.
* 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 null.
* @param vsUuid set the vsUuid.
*/
public void setVsUuid(String vsUuid) {
this.vsUuid = vsUuid;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SeHBEventDetails objSeHBEventDetails = (SeHBEventDetails) o;
return Objects.equals(this.hbType, objSeHBEventDetails.hbType)&&
Objects.equals(this.vsUuid, objSeHBEventDetails.vsUuid)&&
Objects.equals(this.reportingSeRef, objSeHBEventDetails.reportingSeRef)&&
Objects.equals(this.remoteSeRef, objSeHBEventDetails.remoteSeRef);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SeHBEventDetails {\n");
sb.append(" hbType: ").append(toIndentedString(hbType)).append("\n");
sb.append(" remoteSeRef: ").append(toIndentedString(remoteSeRef)).append("\n");
sb.append(" reportingSeRef: ").append(toIndentedString(reportingSeRef)).append("\n");
sb.append(" vsUuid: ").append(toIndentedString(vsUuid)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy