'Initialize the RecordingInstance
:returns: twilio.rest.video.v1.recording.RecordingInstance
:rtype: twilio.rest.video.v1.recording.RecordingInstance'

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

    super(RecordingInstance, self).__init__(version)
    self._properties = {'account_sid': payload['account_sid'], 'status': payload['status'], 'date_created': deserialize.iso8601_datetime(payload['date_created']), 'sid': payload['sid'], 'source_sid': payload['source_sid'], 'size': deserialize.integer(payload['size']), 'url': payload['url'], 'type': payload['type'], 'duration': deserialize.integer(payload['duration']), 'container_format': payload['container_format'], 'codec': payload['codec'], 'grouping_sids': payload['grouping_sids'], 'links': payload['links']}
    self._context = None
    self._solution = {'sid': (sid or self._properties['sid'])}
