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

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

    super(CallInstance, self).__init__(version)
    self._properties = {'account_sid': payload['account_sid'], 'annotation': payload['annotation'], 'answered_by': payload['answered_by'], 'api_version': payload['api_version'], 'caller_name': payload['caller_name'], 'date_created': deserialize.rfc2822_datetime(payload['date_created']), 'date_updated': deserialize.rfc2822_datetime(payload['date_updated']), 'direction': payload['direction'], 'duration': payload['duration'], 'end_time': deserialize.rfc2822_datetime(payload['end_time']), 'forwarded_from': payload['forwarded_from'], 'from_': payload['from'], 'from_formatted': payload['from_formatted'], 'group_sid': payload['group_sid'], 'parent_call_sid': payload['parent_call_sid'], 'phone_number_sid': payload['phone_number_sid'], 'price': deserialize.decimal(payload['price']), 'price_unit': payload['price_unit'], 'sid': payload['sid'], 'start_time': deserialize.rfc2822_datetime(payload['start_time']), 'status': payload['status'], 'subresource_uris': payload['subresource_uris'], 'to': payload['to'], 'to_formatted': payload['to_formatted'], 'uri': payload['uri']}
    self._context = None
    self._solution = {'account_sid': account_sid, 'sid': (sid or self._properties['sid'])}
