Code example for Objects.ToStringHelper

0
 
   public VersionStatus getStatus() { 
      return this.status; 
   } 
 
   @Nullable 
   public String getWadl() { 
      return this.wadl; 
   } 
 
   @Override 
   public int hashCode() { 
      return Objects.hashCode(docURL, id, status, wadl); 
   } 
 
   @Override 
   public boolean equals(Object obj) { 
      if (this == obj) return true; 
      if (obj == null || getClass() != obj.getClass()) return false; 
      Version that = Version.class.cast(obj);