public String getType() {
        return type;
    }
Gets the "type" of the media type.

@return Returns the type (e.g., "application").
smithy-utils/src/main/java/software/amazon/smithy/utils/MediaType.java