registration.core.PopupAlertMessage
*/
class PopupAlertMessage
{
/**
* Generated from protobuf enum NoPopupAlert = 0;
*/
const NoPopupAlert = 0;
/**
* Generated from protobuf enum SeatActivated = 1;
*/
const SeatActivated = 1;
/**
* Generated from protobuf enum NoSeatActivated = 2;
*/
const NoSeatActivated = 2;
/**
* Generated from protobuf enum NoLicenseActivated = 3;
*/
const NoLicenseActivated = 3;
/**
* Generated from protobuf enum LegacyLicenseProContentActivated = 4;
*/
const LegacyLicenseProContentActivated = 4;
/**
* Generated from protobuf enum FirstLaunchLegacyLicense = 5;
*/
const FirstLaunchLegacyLicense = 5;
/**
* Generated from protobuf enum FullySignedOut = 6;
*/
const FullySignedOut = 6;
/**
* Generated from protobuf enum FirstLaunchSignedInNoSubscriptionNoLicense = 7;
*/
const FirstLaunchSignedInNoSubscriptionNoLicense = 7;
/**
* Generated from protobuf enum FirstLaunchSignedInNoSubscriptionLegacyLicense = 8;
*/
const FirstLaunchSignedInNoSubscriptionLegacyLicense = 8;
private static $valueToName = [
self::NoPopupAlert => 'NoPopupAlert',
self::SeatActivated => 'SeatActivated',
self::NoSeatActivated => 'NoSeatActivated',
self::NoLicenseActivated => 'NoLicenseActivated',
self::LegacyLicenseProContentActivated => 'LegacyLicenseProContentActivated',
self::FirstLaunchLegacyLicense => 'FirstLaunchLegacyLicense',
self::FullySignedOut => 'FullySignedOut',
self::FirstLaunchSignedInNoSubscriptionNoLicense => 'FirstLaunchSignedInNoSubscriptionNoLicense',
self::FirstLaunchSignedInNoSubscriptionLegacyLicense => 'FirstLaunchSignedInNoSubscriptionLegacyLicense',
];
public static function name($value)
{
if (!isset(self::$valueToName[$value])) {
throw new UnexpectedValueException(sprintf(
'Enum %s has no name defined for value %s', __CLASS__, $value));
}
return self::$valueToName[$value];
}
public static function value($name)
{
$const = __CLASS__ . '::' . strtoupper($name);
if (!defined($const)) {
throw new UnexpectedValueException(sprintf(
'Enum %s has no value defined for name %s', __CLASS__, $name));
}
return constant($const);
}
}