'Initialize the CommandInstance
:returns: twilio.rest.wireless.v1.command.CommandInstance
:rtype: twilio.rest.wireless.v1.command.CommandInstance'

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

    super(CommandInstance, self).__init__(version)
    self._properties = {'sid': payload['sid'], 'account_sid': payload['account_sid'], 'sim_sid': payload['sim_sid'], 'command': payload['command'], 'command_mode': payload['command_mode'], 'status': payload['status'], 'direction': payload['direction'], 'date_created': deserialize.iso8601_datetime(payload['date_created']), 'date_updated': deserialize.iso8601_datetime(payload['date_updated']), 'url': payload['url']}
    self._context = None
    self._solution = {'sid': (sid or self._properties['sid'])}
