in sdk/greengrass/greengrass-client/src/event-stream-rpc-java/model/software/amazon/awssdk/aws/greengrass/model/PublishToIoTCoreRequest.java [410:427]
public boolean equals(Object rhs) {
if (rhs == null) return false;
if (!(rhs instanceof PublishToIoTCoreRequest)) return false;
if (this == rhs) return true;
final PublishToIoTCoreRequest other = (PublishToIoTCoreRequest)rhs;
boolean isEquals = true;
isEquals = isEquals && this.topicName.equals(other.topicName);
isEquals = isEquals && this.qos.equals(other.qos);
isEquals = isEquals && EventStreamRPCServiceModel.blobTypeEquals(this.payload, other.payload);
isEquals = isEquals && this.retain.equals(other.retain);
isEquals = isEquals && this.userProperties.equals(other.userProperties);
isEquals = isEquals && this.messageExpiryIntervalSeconds.equals(other.messageExpiryIntervalSeconds);
isEquals = isEquals && EventStreamRPCServiceModel.blobTypeEquals(this.correlationData, other.correlationData);
isEquals = isEquals && this.responseTopic.equals(other.responseTopic);
isEquals = isEquals && this.payloadFormat.equals(other.payloadFormat);
isEquals = isEquals && this.contentType.equals(other.contentType);
return isEquals;
}