
com.azure.communication.jobrouter.models.UnassignJobOptions Maven / Gradle / Ivy
// 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.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Request payload for unassigning a job.
*/
@Fluent
public final class UnassignJobOptions {
/*
* If SuspendMatching is true, then a job is not queued for re-matching with a worker.
*/
@Generated
@JsonProperty(value = "suspendMatching")
private Boolean suspendMatching;
/**
* Creates an instance of UnassignJobOptions class.
*/
@Generated
public UnassignJobOptions() {
}
/**
* Get the suspendMatching property: If SuspendMatching is true, then a job is not queued for re-matching with a
* worker.
*
* @return the suspendMatching value.
*/
@Generated
public Boolean isSuspendMatching() {
return this.suspendMatching;
}
/**
* Set the suspendMatching property: If SuspendMatching is true, then a job is not queued for re-matching with a
* worker.
*
* @param suspendMatching the suspendMatching value to set.
* @return the UnassignJobOptions object itself.
*/
@Generated
public UnassignJobOptions setSuspendMatching(Boolean suspendMatching) {
this.suspendMatching = suspendMatching;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy