'Initialize the FaxInstance
:returns: twilio.rest.fax.v1.fax.FaxInstance
:rtype: twilio.rest.fax.v1.fax.FaxInstance'

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

    super(FaxInstance, self).__init__(version)
    self._properties = {'sid': payload['sid'], 'account_sid': payload['account_sid'], 'from_': payload['from'], 'to': payload['to'], 'quality': payload['quality'], 'media_sid': payload['media_sid'], 'media_url': payload['media_url'], 'num_pages': deserialize.integer(payload['num_pages']), 'duration': deserialize.integer(payload['duration']), 'status': payload['status'], 'direction': payload['direction'], 'api_version': payload['api_version'], 'price': deserialize.decimal(payload['price']), 'price_unit': payload['price_unit'], 'date_created': deserialize.iso8601_datetime(payload['date_created']), 'date_updated': deserialize.iso8601_datetime(payload['date_updated']), 'links': payload['links'], 'url': payload['url']}
    self._context = None
    self._solution = {'sid': (sid or self._properties['sid'])}
