com.azure.communication.jobrouter.implementation.models.ScheduleAndSuspendModeInternal 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.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import java.time.OffsetDateTime;
/**
* Describes a matching mode used for scheduling jobs to be queued at a future time. At the specified time, matching
* worker to a job will not start automatically.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "kind")
@JsonTypeName("scheduleAndSuspend")
@Immutable
public final class ScheduleAndSuspendModeInternal extends JobMatchingModeInternal {
/*
* Requested schedule time.
*/
@Generated
@JsonProperty(value = "scheduleAt")
private OffsetDateTime scheduleAt;
/**
* Creates an instance of ScheduleAndSuspendModeInternal class.
*
* @param scheduleAt the scheduleAt value to set.
*/
@Generated
@JsonCreator
public ScheduleAndSuspendModeInternal(@JsonProperty(value = "scheduleAt") OffsetDateTime scheduleAt) {
this.scheduleAt = scheduleAt;
}
/**
* Get the scheduleAt property: Requested schedule time.
*
* @return the scheduleAt value.
*/
@Generated
public OffsetDateTime getScheduleAt() {
return this.scheduleAt;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy