@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        } else if (!(o instanceof MediaType)) {
            return false;
        }
        MediaType mediaType = (MediaType) o;
        return mediaType.type.equals(type)
                && mediaType.subtype.equals(subtype)
                && mediaType.parameters.equals(parameters);
    }
Gets the optional structured syntax suffix.

<p>For example given, "application/foo+json", this method returns
"json". Given "application/foo+baz+json", this method returns
"json". Given "application/json", this method returns an empty
{@code Optional}.

@return Returns the optional structured syntax suffix value with no "+".
smithy-utils/src/main/java/software/amazon/smithy/utils/MediaType.java