'Initialize the MediaContext
:param Version version: Version that contains the resource
:param account_sid: The account_sid
:param message_sid: The message_sid
:param sid: Fetch by unique media Sid
:returns: twilio.rest.api.v2010.account.message.media.MediaContext
:rtype: twilio.rest.api.v2010.account.message.media.MediaContext'

def __init__(self, version, account_sid, message_sid, sid):

    super(MediaContext, self).__init__(version)
    self._solution = {'account_sid': account_sid, 'message_sid': message_sid, 'sid': sid}
    self._uri = '/Accounts/{account_sid}/Messages/{message_sid}/Media/{sid}.json'.format(**self._solution)
