@Test public void testEquals() { ImmutableSet<String> ifaces = ImmutableSet.of("A"); new EqualsTester() .addEqualityGroup( new FirewallSessionInterfaceInfo(false, ifaces, "IN_ACL", "OUT_ACL"), new FirewallSessionInterfaceInfo(false, ifaces, "IN_ACL", "OUT_ACL")) .addEqualityGroup(new FirewallSessionInterfaceInfo(false, ifaces, "IN_ACL", null)) .addEqualityGroup(new FirewallSessionInterfaceInfo(false, ifaces, null, "OUT_ACL")) .addEqualityGroup( new FirewallSessionInterfaceInfo(false, ImmutableSet.of("B"), "IN_ACL", "OUT_ACL")) .testEquals(); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof FirewallSessionInterfaceInfo)) { return false; } FirewallSessionInterfaceInfo that = (FirewallSessionInterfaceInfo) o; return _fibLookup == that._fibLookup && Objects.equals(_sessionInterfaces, that._sessionInterfaces) && Objects.equals(_incomingAclName, that._incomingAclName) && Objects.equals(_outgoingAclName, that._outgoingAclName); }
FirewallSessionInterfaceInfo implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof FirewallSessionInterfaceInfo)) { return false; } FirewallSessionInterfaceInfo that = (FirewallSessionInterfaceInfo) o; return _fibLookup == that._fibLookup && Objects.equals(_sessionInterfaces, that._sessionInterfaces) && Objects.equals(_incomingAclName, that._incomingAclName) && Objects.equals(_outgoingAclName, that._outgoingAclName); } }
FirewallSessionInterfaceInfo implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof FirewallSessionInterfaceInfo)) { return false; } FirewallSessionInterfaceInfo that = (FirewallSessionInterfaceInfo) o; return _fibLookup == that._fibLookup && Objects.equals(_sessionInterfaces, that._sessionInterfaces) && Objects.equals(_incomingAclName, that._incomingAclName) && Objects.equals(_outgoingAclName, that._outgoingAclName); } FirewallSessionInterfaceInfo(
      boolean fibLookup,
      Iterable<String> sessionInterfaces,
      @Nullable String incomingAclName,
      @Nullable String outgoingAclName); }
FirewallSessionInterfaceInfo implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof FirewallSessionInterfaceInfo)) { return false; } FirewallSessionInterfaceInfo that = (FirewallSessionInterfaceInfo) o; return _fibLookup == that._fibLookup && Objects.equals(_sessionInterfaces, that._sessionInterfaces) && Objects.equals(_incomingAclName, that._incomingAclName) && Objects.equals(_outgoingAclName, that._outgoingAclName); } FirewallSessionInterfaceInfo(
      boolean fibLookup,
      Iterable<String> sessionInterfaces,
      @Nullable String incomingAclName,
      @Nullable String outgoingAclName); @Override boolean equals(Object o); @Override int hashCode(); @JsonProperty(PROP_FIB_LOOKUP) boolean getFibLookup(); @JsonProperty(PROP_SESSION_INTERFACES) Set<String> getSessionInterfaces(); @JsonProperty(PROP_INCOMING_ACL_NAME) @Nullable String getIncomingAclName(); @JsonProperty(PROP_OUTGOING_ACL_NAME) @Nullable String getOutgoingAclName(); }
FirewallSessionInterfaceInfo implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof FirewallSessionInterfaceInfo)) { return false; } FirewallSessionInterfaceInfo that = (FirewallSessionInterfaceInfo) o; return _fibLookup == that._fibLookup && Objects.equals(_sessionInterfaces, that._sessionInterfaces) && Objects.equals(_incomingAclName, that._incomingAclName) && Objects.equals(_outgoingAclName, that._outgoingAclName); } FirewallSessionInterfaceInfo(
      boolean fibLookup,
      Iterable<String> sessionInterfaces,
      @Nullable String incomingAclName,
      @Nullable String outgoingAclName); @Override boolean equals(Object o); @Override int hashCode(); @JsonProperty(PROP_FIB_LOOKUP) boolean getFibLookup(); @JsonProperty(PROP_SESSION_INTERFACES) Set<String> getSessionInterfaces(); @JsonProperty(PROP_INCOMING_ACL_NAME) @Nullable String getIncomingAclName(); @JsonProperty(PROP_OUTGOING_ACL_NAME) @Nullable String getOutgoingAclName();  }