'Initialize the NewKeyInstance
:returns: twilio.rest.api.v2010.account.new_key.NewKeyInstance
:rtype: twilio.rest.api.v2010.account.new_key.NewKeyInstance'

def __init__(self, version, payload, account_sid):

    super(NewKeyInstance, self).__init__(version)
    self._properties = {'sid': payload['sid'], 'friendly_name': payload['friendly_name'], 'date_created': deserialize.rfc2822_datetime(payload['date_created']), 'date_updated': deserialize.rfc2822_datetime(payload['date_updated']), 'secret': payload['secret']}
    self._context = None
    self._solution = {'account_sid': account_sid}
