ServiceConfigVersionResponse { @Override public final boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ServiceConfigVersionResponse)) return false; ServiceConfigVersionResponse that = (ServiceConfigVersionResponse) o; return new EqualsBuilder() .append(clusterName, that.clusterName) .append(serviceName, that.serviceName) .append(version, that.version) .append(createTime, that.createTime) .append(groupId, that.groupId) .append(groupName, that.groupName) .append(userName, that.userName) .append(note, that.note) .append(stackId, that.stackId) .append(isCurrent, that.isCurrent) .append(isCompatibleWithCurrentStack, that.isCompatibleWithCurrentStack) .append(configurations, that.configurations) .append(hosts, that.hosts) .isEquals(); } ServiceConfigVersionResponse(ServiceConfigEntity serviceConfigEntity,
      String configGroupName); String getServiceName(); Long getVersion(); Long getCreateTime(); String getUserName(); String getClusterName(); List<ConfigurationResponse> getConfigurations(); void setConfigurations(List<ConfigurationResponse> configurations); String getNote(); List<String> getHosts(); String getGroupName(); Long getGroupId(); String getStackId(); Boolean getIsCurrent(); void setIsCurrent(Boolean isCurrent); Boolean isCompatibleWithCurrentStack(); @Override final boolean equals(Object o); @Override final int hashCode(); static final String DEFAULT_CONFIG_GROUP_NAME; static final String DELETED_CONFIG_GROUP_NAME; }
@Test public void testEquals() throws Exception { EqualsVerifier .forClass(ServiceConfigVersionResponse.class) .suppress(Warning.NONFINAL_FIELDS) .verify(); }