public function setProfiles($profiles)
    {
        $profileIds = [];

        foreach ($profiles as $profile) {
            $profileIds[] = $this->extractProfileId($profile);
        }

        $this->content['profileIds'] = $profileIds;

        return $this;
    }