@classmethod
def from_response(cls, client, response):
    """Construct a Public Key from a response dict."""
    return cls(client=client, json=response, client_obj_id=response[
        'public_key_obj']['client_obj_id'], expires_at=response[
        'public_key_obj']['expires_at'], expires_in=response[
        'public_key_obj']['expires_in'], public_key=response[
        'public_key_obj']['public_key'], scope=response['public_key_obj'][
        'scope'])
