in extension-base/src/main/java/com/azure/autorest/extension/base/model/codemodel/Protocols.java [114:126]
public boolean equals(Object other) {
if (other == this) {
return true;
}
if (!(other instanceof Protocols)) {
return false;
}
Protocols rhs = ((Protocols) other);
return Objects.equals(http, rhs.http) && Objects.equals(jsonrpc, rhs.jsonrpc) && Objects.equals(amqp, rhs.amqp)
&& Objects.equals(mqtt, rhs.mqtt);
}