protected function populate(stdClass $response)
    {
        $keys = clone $this;

        $resp = $response->keys;
        $keys->data->basicAuth = $this->getIfSet('basicAuth', $resp);
        $keys->data->encryption = $this->getIfSet('encryption', $resp);

        return $keys;
    }