'Initialize the RoomInstance
:returns: twilio.rest.video.v1.room.RoomInstance
:rtype: twilio.rest.video.v1.room.RoomInstance'

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

    super(RoomInstance, self).__init__(version)
    self._properties = {'sid': payload['sid'], 'status': payload['status'], 'date_created': deserialize.iso8601_datetime(payload['date_created']), 'date_updated': deserialize.iso8601_datetime(payload['date_updated']), 'account_sid': payload['account_sid'], 'enable_turn': payload['enable_turn'], 'unique_name': payload['unique_name'], 'status_callback': payload['status_callback'], 'status_callback_method': payload['status_callback_method'], 'end_time': deserialize.iso8601_datetime(payload['end_time']), 'duration': deserialize.integer(payload['duration']), 'type': payload['type'], 'max_participants': deserialize.integer(payload['max_participants']), 'record_participants_on_connect': payload['record_participants_on_connect'], 'url': payload['url'], 'links': payload['links']}
    self._context = None
    self._solution = {'sid': (sid or self._properties['sid'])}
