/var/www/doncode.com.ua/www/lib/sendgrid/lib/mail
Edit: /var/www/doncode.com.ua/www/lib/sendgrid/lib/mail/GroupId.php (1477B)
setGroupId($group_id);
}
}
/**
* Add the group id to a GroupId object
*
* @param int $group_id The unsubscribe group to associate with this email
*
* @throws \SendGrid\Mail\TypeException
*/
public function setGroupId($group_id)
{
Assert::integer($group_id, 'group_id');
$this->group_id = $group_id;
}
/**
* Retrieve the group id from a GroupId object
*
* @return int
*/
public function getGroupId()
{
return $this->group_id;
}
/**
* Return an array representing a GroupId object for the Twilio SendGrid API
*
* @return int
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return $this->getGroupId();
}
}