com.azure.communication.jobrouter.implementation.models.ExceptionTriggerInternal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-communication-jobrouter Show documentation
Show all versions of azure-communication-jobrouter Show documentation
This package contains a Java SDK for JobRouter Azure Communication Service.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.communication.jobrouter.implementation.models;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* Abstract base class for defining a trigger for exception rules.
*/
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
include = JsonTypeInfo.As.PROPERTY,
property = "kind",
defaultImpl = ExceptionTriggerInternal.class)
@JsonTypeName("ExceptionTriggerInternal")
@JsonSubTypes({
@JsonSubTypes.Type(name = "queueLength", value = QueueLengthExceptionTriggerInternal.class),
@JsonSubTypes.Type(name = "waitTime", value = WaitTimeExceptionTriggerInternal.class) })
@Immutable
public class ExceptionTriggerInternal {
/**
* Creates an instance of ExceptionTriggerInternal class.
*/
@Generated
public ExceptionTriggerInternal() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy