Share via


RecentBatchJob Class

  • java.lang.Object
    • com.azure.compute.batch.models.RecentBatchJob

Implements

public final class RecentBatchJob
implements JsonSerializable<RecentBatchJob>

Information about the most recent Job to run under the Job Schedule.

Method Summary

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

Reads an instance of RecentBatchJob from the JsonReader.

String getId()

Get the id property: The ID of the Job.

String getUrl()

Get the url property: The URL of the Job.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static RecentBatchJob fromJson(JsonReader jsonReader)

Reads an instance of RecentBatchJob from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the RecentBatchJob.

getId

public String getId()

Get the id property: The ID of the Job.

Returns:

the id value.

getUrl

public String getUrl()

Get the url property: The URL of the Job.

Returns:

the url value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to