discriminatorValue property

String? get discriminatorValue

Implementation

String? get discriminatorValue {
    if (this is EscalatedNotificationRuleRecipientsConfig) {
        return r'ALARM';
    }
    if (this is AlarmAssignmentRecipientsConfig) {
        return r'ALARM_ASSIGNMENT';
    }
    if (this is AlarmCommentRecipientsConfig) {
        return r'ALARM_COMMENT';
    }
    if (this is ApiUsageLimitRecipientsConfig) {
        return r'API_USAGE_LIMIT';
    }
    if (this is DeviceActivityRecipientsConfig) {
        return r'DEVICE_ACTIVITY';
    }
    if (this is EdgeCommunicationFailureRecipientsConfig) {
        return r'EDGE_COMMUNICATION_FAILURE';
    }
    if (this is EdgeConnectionRecipientsConfig) {
        return r'EDGE_CONNECTION';
    }
    if (this is EntitiesLimitRecipientsConfig) {
        return r'ENTITIES_LIMIT';
    }
    if (this is EntityActionRecipientsConfig) {
        return r'ENTITY_ACTION';
    }
    if (this is IntegrationLifecycleEventRecipientsConfig) {
        return r'INTEGRATION_LIFECYCLE_EVENT';
    }
    if (this is NewPlatformVersionRecipientsConfig) {
        return r'NEW_PLATFORM_VERSION';
    }
    if (this is RateLimitsRecipientsConfig) {
        return r'RATE_LIMITS';
    }
    if (this is ResourceShortageRecipientsConfig) {
        return r'RESOURCES_SHORTAGE';
    }
    if (this is RuleEngineComponentLifecycleEventRecipientsConfig) {
        return r'RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT';
    }
    if (this is TaskProcessingFailureRecipientsConfig) {
        return r'TASK_PROCESSING_FAILURE';
    }
    return null;
}