Share via


BatchCreateTaskCollectionResult Class

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

Implements

public final class BatchCreateTaskCollectionResult
implements JsonSerializable<BatchCreateTaskCollectionResult>

The result of creating a collection of Tasks to a Job.

Method Summary

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

Reads an instance of BatchCreateTaskCollectionResult from the JsonReader.

List<BatchTaskCreateResult> getValues()

Get the values property: The results of the create Task collection operation.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static BatchCreateTaskCollectionResult fromJson(JsonReader jsonReader)

Reads an instance of BatchCreateTaskCollectionResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchCreateTaskCollectionResult 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 BatchCreateTaskCollectionResult.

getValues

public List<BatchTaskCreateResult> getValues()

Get the values property: The results of the create Task collection operation.

Returns:

the values value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to