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

com.azure.communication.jobrouter.implementation.models.WorkerSelectorAttachmentInternal 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;

/**
 * An attachment which attaches worker selectors to a job.
 */
@JsonTypeInfo(
    use = JsonTypeInfo.Id.NAME,
    include = JsonTypeInfo.As.PROPERTY,
    property = "kind",
    defaultImpl = WorkerSelectorAttachmentInternal.class)
@JsonTypeName("WorkerSelectorAttachmentInternal")
@JsonSubTypes({
    @JsonSubTypes.Type(name = "conditional", value = ConditionalWorkerSelectorAttachmentInternal.class),
    @JsonSubTypes.Type(name = "passThrough", value = PassThroughWorkerSelectorAttachmentInternal.class),
    @JsonSubTypes.Type(name = "ruleEngine", value = RuleEngineWorkerSelectorAttachmentInternal.class),
    @JsonSubTypes.Type(name = "static", value = StaticWorkerSelectorAttachmentInternal.class),
    @JsonSubTypes.Type(name = "weightedAllocation", value = WeightedAllocationWorkerSelectorAttachmentInternal.class) })
@Immutable
public class WorkerSelectorAttachmentInternal {

    /**
     * Creates an instance of WorkerSelectorAttachmentInternal class.
     */
    @Generated
    public WorkerSelectorAttachmentInternal() {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy