'Initialize the RecordingInstance
:returns: twilio.rest.api.v2010.account.call.recording.RecordingInstance
:rtype: twilio.rest.api.v2010.account.call.recording.RecordingInstance'

def __init__(self, version, payload, account_sid, call_sid, sid=None):

    super(RecordingInstance, self).__init__(version)
    self._properties = {'account_sid': payload['account_sid'], 'api_version': payload['api_version'], 'call_sid': payload['call_sid'], 'date_created': deserialize.rfc2822_datetime(payload['date_created']), 'date_updated': deserialize.rfc2822_datetime(payload['date_updated']), 'duration': payload['duration'], 'sid': payload['sid'], 'price': deserialize.decimal(payload['price']), 'uri': payload['uri'], 'encryption_details': payload['encryption_details']}
    self._context = None
    self._solution = {'account_sid': account_sid, 'call_sid': call_sid, 'sid': (sid or self._properties['sid'])}
