AcsRouterJobReceivedEventData Class

public final class AcsRouterJobReceivedEventData
extends AcsRouterJobEventData

Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobReceived event.

Method Summary

Modifier and Type Method and Description
static AcsRouterJobReceivedEventData fromJson(JsonReader jsonReader)

Reads an instance of AcsRouterJobReceivedEventData from the JsonReader.

String getChannelId()

Get the channelId property: Router Event Channel ID.

String getChannelReference()

Get the channelReference property: Router Event Channel Reference.

String getClassificationPolicyId()

Get the classificationPolicyId property: Router Job Classification Policy Id.

AcsRouterJobStatus getJobStatus()

Get the jobStatus property: Router Job Received Job Status.

Integer getPriority()

Get the priority property: Router Job Priority.

String getQueueId()

Get the queueId property: Router Job events Queue Id.

List<AcsRouterWorkerSelector> getRequestedWorkerSelectors()

Get the requestedWorkerSelectors property: Router Job Received Requested Worker Selectors.

OffsetDateTime getScheduledOn()

Get the scheduledOn property: Router Job Received Scheduled Time in UTC.

boolean isUnavailableForMatching()

Get the unavailableForMatching property: Unavailable For Matching for Router Job Received.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from AcsRouterEventData

Methods inherited from AcsRouterJobEventData

Methods inherited from java.lang.Object

Method Details

fromJson

public static AcsRouterJobReceivedEventData fromJson(JsonReader jsonReader)

Reads an instance of AcsRouterJobReceivedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AcsRouterJobReceivedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getChannelId

public String getChannelId()

Get the channelId property: Router Event Channel ID.

Overrides:

AcsRouterJobReceivedEventData.getChannelId()

Returns:

the channelId value.

getChannelReference

public String getChannelReference()

Get the channelReference property: Router Event Channel Reference.

Overrides:

AcsRouterJobReceivedEventData.getChannelReference()

Returns:

the channelReference value.

getClassificationPolicyId

public String getClassificationPolicyId()

Get the classificationPolicyId property: Router Job Classification Policy Id.

Returns:

the classificationPolicyId value.

getJobStatus

public AcsRouterJobStatus getJobStatus()

Get the jobStatus property: Router Job Received Job Status.

Returns:

the jobStatus value.

getPriority

public Integer getPriority()

Get the priority property: Router Job Priority.

Returns:

the priority value.

getQueueId

public String getQueueId()

Get the queueId property: Router Job events Queue Id.

Overrides:

AcsRouterJobReceivedEventData.getQueueId()

Returns:

the queueId value.

getRequestedWorkerSelectors

public List<AcsRouterWorkerSelector> getRequestedWorkerSelectors()

Get the requestedWorkerSelectors property: Router Job Received Requested Worker Selectors.

Returns:

the requestedWorkerSelectors value.

getScheduledOn

public OffsetDateTime getScheduledOn()

Get the scheduledOn property: Router Job Received Scheduled Time in UTC.

Returns:

the scheduledOn value.

isUnavailableForMatching

public boolean isUnavailableForMatching()

Get the unavailableForMatching property: Unavailable For Matching for Router Job Received.

Returns:

the unavailableForMatching value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AcsRouterJobReceivedEventData.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to