def METHOD_NAME(self, obj, object_path, extension=None, content_disposition=None):
    """Generate an url to fetch a timed text track file depending on argument passed.
    Parameters:
    obj : Type[models.TimedTextTrack]
        The timed text track that we want to serialize
    object_patch: string
        The path in the path the timed text track is stored
    extension: string or None
        If the timed text track need an extension in the url, add it to the end
    content_disposition: string or None
        Add a response-content-disposition query string to url if present
    """
    base = f"{settings.AWS_S3_URL_PROTOCOL}://{settings.CLOUDFRONT_DOMAIN}/{obj.video_id}"
    stamp = time_utils.to_timestamp(obj.uploaded_on)
    mode = f"_{obj.mode}" if obj.mode else ""
    url = f"{base}/{object_path}/{stamp}_{obj.language:s}{mode:s}"
    if extension:
        url = f"{url}.{extension}"
    if content_disposition:
        url = f"{url}?response-content-disposition={content_disposition}"
    return url