JobSubTask Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.JobSubTask

Implements

public final class JobSubTask
implements JsonSerializable<JobSubTask>

Details of Job's Sub Task.

Method Summary

Modifier and Type Method and Description
Map<String,String> additionalDetails()

Get the additionalDetails property: Additional details of Sub Tasks.

static JobSubTask fromJson(JsonReader jsonReader)

Reads an instance of JobSubTask from the JsonReader.

int taskId()

Get the taskId property: Task Id of the Sub Task.

String taskName()

Get the taskName property: Name of the Sub Task.

String taskProgress()

Get the taskProgress property: Progress of the Sub Task.

String taskStatus()

Get the taskStatus property: Status of the Sub Task.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

additionalDetails

public Map<String,String> additionalDetails()

Get the additionalDetails property: Additional details of Sub Tasks.

Returns:

the additionalDetails value.

fromJson

public static JobSubTask fromJson(JsonReader jsonReader)

Reads an instance of JobSubTask from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

taskId

public int taskId()

Get the taskId property: Task Id of the Sub Task.

Returns:

the taskId value.

taskName

public String taskName()

Get the taskName property: Name of the Sub Task.

Returns:

the taskName value.

taskProgress

public String taskProgress()

Get the taskProgress property: Progress of the Sub Task.

Returns:

the taskProgress value.

taskStatus

public String taskStatus()

Get the taskStatus property: Status of the Sub Task.

Returns:

the taskStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to