ServerEndpointBackgroundDataDownloadActivity Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.ServerEndpointBackgroundDataDownloadActivity

Implements

public final class ServerEndpointBackgroundDataDownloadActivity
implements JsonSerializable<ServerEndpointBackgroundDataDownloadActivity>

Background data download activity object.

Method Summary

Modifier and Type Method and Description
Long downloadedBytes()

Get the downloadedBytes property: Running count of bytes downloaded.

static ServerEndpointBackgroundDataDownloadActivity fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointBackgroundDataDownloadActivity from the JsonReader.

Integer percentProgress()

Get the percentProgress property: Progress percentage.

OffsetDateTime startedTimestamp()

Get the startedTimestamp property: Timestamp when the operation started.

OffsetDateTime timestamp()

Get the timestamp property: Timestamp when properties were updated.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

downloadedBytes

public Long downloadedBytes()

Get the downloadedBytes property: Running count of bytes downloaded.

Returns:

the downloadedBytes value.

fromJson

public static ServerEndpointBackgroundDataDownloadActivity fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointBackgroundDataDownloadActivity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

percentProgress

public Integer percentProgress()

Get the percentProgress property: Progress percentage.

Returns:

the percentProgress value.

startedTimestamp

public OffsetDateTime startedTimestamp()

Get the startedTimestamp property: Timestamp when the operation started.

Returns:

the startedTimestamp value.

timestamp

public OffsetDateTime timestamp()

Get the timestamp property: Timestamp when properties were updated.

Returns:

the timestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to