Aracılığıyla paylaş


UpdateInstallProgress Class

  • java.lang.Object
    • com.azure.resourcemanager.databoxedge.models.UpdateInstallProgress

Implements

public final class UpdateInstallProgress
implements JsonSerializable<UpdateInstallProgress>

Progress details during installation of updates.

Constructor Summary

Constructor Description
UpdateInstallProgress()

Creates an instance of UpdateInstallProgress class.

Method Summary

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

Reads an instance of UpdateInstallProgress from the JsonReader.

Integer numberOfUpdatesInstalled()

Get the numberOfUpdatesInstalled property: Number of updates installed.

Integer numberOfUpdatesToInstall()

Get the numberOfUpdatesToInstall property: Number of updates to install.

Integer percentComplete()

Get the percentComplete property: Percentage completed.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

UpdateInstallProgress

public UpdateInstallProgress()

Creates an instance of UpdateInstallProgress class.

Method Details

fromJson

public static UpdateInstallProgress fromJson(JsonReader jsonReader)

Reads an instance of UpdateInstallProgress from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

numberOfUpdatesInstalled

public Integer numberOfUpdatesInstalled()

Get the numberOfUpdatesInstalled property: Number of updates installed.

Returns:

the numberOfUpdatesInstalled value.

numberOfUpdatesToInstall

public Integer numberOfUpdatesToInstall()

Get the numberOfUpdatesToInstall property: Number of updates to install.

Returns:

the numberOfUpdatesToInstall value.

percentComplete

public Integer percentComplete()

Get the percentComplete property: Percentage completed.

Returns:

the percentComplete value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to