All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.communication.jobrouter.implementation.models.ExceptionTriggerInternal Maven / Gradle / Ivy

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