'Initialize the MemberInstance
:returns: twilio.rest.chat.v2.service.channel.member.MemberInstance
:rtype: twilio.rest.chat.v2.service.channel.member.MemberInstance'

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

    super(MemberInstance, self).__init__(version)
    self._properties = {'sid': payload['sid'], 'account_sid': payload['account_sid'], 'channel_sid': payload['channel_sid'], 'service_sid': payload['service_sid'], 'identity': payload['identity'], 'date_created': deserialize.iso8601_datetime(payload['date_created']), 'date_updated': deserialize.iso8601_datetime(payload['date_updated']), 'role_sid': payload['role_sid'], 'last_consumed_message_index': deserialize.integer(payload['last_consumed_message_index']), 'last_consumption_timestamp': deserialize.iso8601_datetime(payload['last_consumption_timestamp']), 'url': payload['url']}
    self._context = None
    self._solution = {'service_sid': service_sid, 'channel_sid': channel_sid, 'sid': (sid or self._properties['sid'])}
