class RelatedMediaReference extends ExternalReference {

    @Override
    public boolean equals(Object objectToCompare)
    {
        if (this == objectToCompare)
        {
            return true;
        }
        if (!(objectToCompare instanceof RelatedMediaReference))
        {
            return false;
        }
        if (!super.equals(objectToCompare))
        {
            return false;
        }
        RelatedMediaReference that = (RelatedMediaReference) objectToCompare;
        return getMediaType() == that.getMediaType() &&
                Objects.equals(getMediaUsageList(), that.getMediaUsageList());
    }

    public  RelatedMediaReference();
    public  RelatedMediaReference(RelatedMediaReference templateRelatedMediaReference);

}