UpdateSummaryInner Class

public final class UpdateSummaryInner
extends ArmBaseModel

Details about ongoing updates and availability of updates on the device.

Constructor Summary

Constructor Description
UpdateSummaryInner()

Creates an instance of UpdateSummaryInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime deviceLastScannedDateTime()

Get the deviceLastScannedDateTime property: The last time when a scan was done on the device.

String deviceVersionNumber()

Get the deviceVersionNumber property: The current version of the device in format: 1.2.17312.13.",.

String friendlyDeviceVersionName()

Get the friendlyDeviceVersionName property: The current version of the device in text format.

String inProgressDownloadJobId()

Get the inProgressDownloadJobId property: The job ID of the download job in progress.

OffsetDateTime inProgressDownloadJobStartedDateTime()

Get the inProgressDownloadJobStartedDateTime property: The time when the currently running download (if any) started.

String inProgressInstallJobId()

Get the inProgressInstallJobId property: The job ID of the install job in progress.

OffsetDateTime inProgressInstallJobStartedDateTime()

Get the inProgressInstallJobStartedDateTime property: The time when the currently running install (if any) started.

OffsetDateTime lastCompletedDownloadJobDateTime()

Get the lastCompletedDownloadJobDateTime property: The time when the last Download job was completed (success/cancelled/failed) on the appliance.

OffsetDateTime lastCompletedInstallJobDateTime()

Get the lastCompletedInstallJobDateTime property: The time when the last Install job was completed (success/cancelled/failed) on the appliance.

OffsetDateTime lastCompletedScanJobDateTime()

Get the lastCompletedScanJobDateTime property: The time when the last scan job was completed (success/cancelled/failed) on the appliance.

UpdateOperation ongoingUpdateOperation()

Get the ongoingUpdateOperation property: The current update operation.

InstallRebootBehavior rebootBehavior()

Get the rebootBehavior property: Indicates if updates are available and at least one of the updates needs a reboot.

Integer totalNumberOfUpdatesAvailable()

Get the totalNumberOfUpdatesAvailable property: The number of updates available for the current device version as per the last device scan.

Integer totalNumberOfUpdatesPendingDownload()

Get the totalNumberOfUpdatesPendingDownload property: The total number of items pending download.

Integer totalNumberOfUpdatesPendingInstall()

Get the totalNumberOfUpdatesPendingInstall property: The total number of items pending install.

Double totalUpdateSizeInBytes()

Get the totalUpdateSizeInBytes property: The total size of updates available for download in bytes.

List<String> updateTitles()

Get the updateTitles property: The list of updates available for install.

void validate()

Validates the instance.

UpdateSummaryInner withDeviceLastScannedDateTime(OffsetDateTime deviceLastScannedDateTime)

Set the deviceLastScannedDateTime property: The last time when a scan was done on the device.

UpdateSummaryInner withDeviceVersionNumber(String deviceVersionNumber)

Set the deviceVersionNumber property: The current version of the device in format: 1.2.17312.13.",.

UpdateSummaryInner withFriendlyDeviceVersionName(String friendlyDeviceVersionName)

Set the friendlyDeviceVersionName property: The current version of the device in text format.

UpdateSummaryInner withLastCompletedScanJobDateTime(OffsetDateTime lastCompletedScanJobDateTime)

Set the lastCompletedScanJobDateTime property: The time when the last scan job was completed (success/cancelled/failed) on the appliance.

Methods inherited from ProxyResource

Methods inherited from ArmBaseModel

Methods inherited from java.lang.Object

Constructor Details

UpdateSummaryInner

public UpdateSummaryInner()

Creates an instance of UpdateSummaryInner class.

Method Details

deviceLastScannedDateTime

public OffsetDateTime deviceLastScannedDateTime()

Get the deviceLastScannedDateTime property: The last time when a scan was done on the device.

Returns:

the deviceLastScannedDateTime value.

deviceVersionNumber

public String deviceVersionNumber()

Get the deviceVersionNumber property: The current version of the device in format: 1.2.17312.13.",.

Returns:

the deviceVersionNumber value.

friendlyDeviceVersionName

public String friendlyDeviceVersionName()

Get the friendlyDeviceVersionName property: The current version of the device in text format.

Returns:

the friendlyDeviceVersionName value.

inProgressDownloadJobId

public String inProgressDownloadJobId()

Get the inProgressDownloadJobId property: The job ID of the download job in progress.

Returns:

the inProgressDownloadJobId value.

inProgressDownloadJobStartedDateTime

public OffsetDateTime inProgressDownloadJobStartedDateTime()

Get the inProgressDownloadJobStartedDateTime property: The time when the currently running download (if any) started.

Returns:

the inProgressDownloadJobStartedDateTime value.

inProgressInstallJobId

public String inProgressInstallJobId()

Get the inProgressInstallJobId property: The job ID of the install job in progress.

Returns:

the inProgressInstallJobId value.

inProgressInstallJobStartedDateTime

public OffsetDateTime inProgressInstallJobStartedDateTime()

Get the inProgressInstallJobStartedDateTime property: The time when the currently running install (if any) started.

Returns:

the inProgressInstallJobStartedDateTime value.

lastCompletedDownloadJobDateTime

public OffsetDateTime lastCompletedDownloadJobDateTime()

Get the lastCompletedDownloadJobDateTime property: The time when the last Download job was completed (success/cancelled/failed) on the appliance.

Returns:

the lastCompletedDownloadJobDateTime value.

lastCompletedInstallJobDateTime

public OffsetDateTime lastCompletedInstallJobDateTime()

Get the lastCompletedInstallJobDateTime property: The time when the last Install job was completed (success/cancelled/failed) on the appliance.

Returns:

the lastCompletedInstallJobDateTime value.

lastCompletedScanJobDateTime

public OffsetDateTime lastCompletedScanJobDateTime()

Get the lastCompletedScanJobDateTime property: The time when the last scan job was completed (success/cancelled/failed) on the appliance.

Returns:

the lastCompletedScanJobDateTime value.

ongoingUpdateOperation

public UpdateOperation ongoingUpdateOperation()

Get the ongoingUpdateOperation property: The current update operation.

Returns:

the ongoingUpdateOperation value.

rebootBehavior

public InstallRebootBehavior rebootBehavior()

Get the rebootBehavior property: Indicates if updates are available and at least one of the updates needs a reboot.

Returns:

the rebootBehavior value.

totalNumberOfUpdatesAvailable

public Integer totalNumberOfUpdatesAvailable()

Get the totalNumberOfUpdatesAvailable property: The number of updates available for the current device version as per the last device scan.

Returns:

the totalNumberOfUpdatesAvailable value.

totalNumberOfUpdatesPendingDownload

public Integer totalNumberOfUpdatesPendingDownload()

Get the totalNumberOfUpdatesPendingDownload property: The total number of items pending download.

Returns:

the totalNumberOfUpdatesPendingDownload value.

totalNumberOfUpdatesPendingInstall

public Integer totalNumberOfUpdatesPendingInstall()

Get the totalNumberOfUpdatesPendingInstall property: The total number of items pending install.

Returns:

the totalNumberOfUpdatesPendingInstall value.

totalUpdateSizeInBytes

public Double totalUpdateSizeInBytes()

Get the totalUpdateSizeInBytes property: The total size of updates available for download in bytes.

Returns:

the totalUpdateSizeInBytes value.

updateTitles

public List updateTitles()

Get the updateTitles property: The list of updates available for install.

Returns:

the updateTitles value.

validate

public void validate()

Validates the instance.

Overrides:

UpdateSummaryInner.validate()

withDeviceLastScannedDateTime

public UpdateSummaryInner withDeviceLastScannedDateTime(OffsetDateTime deviceLastScannedDateTime)

Set the deviceLastScannedDateTime property: The last time when a scan was done on the device.

Parameters:

deviceLastScannedDateTime - the deviceLastScannedDateTime value to set.

Returns:

the UpdateSummaryInner object itself.

withDeviceVersionNumber

public UpdateSummaryInner withDeviceVersionNumber(String deviceVersionNumber)

Set the deviceVersionNumber property: The current version of the device in format: 1.2.17312.13.",.

Parameters:

deviceVersionNumber - the deviceVersionNumber value to set.

Returns:

the UpdateSummaryInner object itself.

withFriendlyDeviceVersionName

public UpdateSummaryInner withFriendlyDeviceVersionName(String friendlyDeviceVersionName)

Set the friendlyDeviceVersionName property: The current version of the device in text format.

Parameters:

friendlyDeviceVersionName - the friendlyDeviceVersionName value to set.

Returns:

the UpdateSummaryInner object itself.

withLastCompletedScanJobDateTime

public UpdateSummaryInner withLastCompletedScanJobDateTime(OffsetDateTime lastCompletedScanJobDateTime)

Set the lastCompletedScanJobDateTime property: The time when the last scan job was completed (success/cancelled/failed) on the appliance.

Parameters:

lastCompletedScanJobDateTime - the lastCompletedScanJobDateTime value to set.

Returns:

the UpdateSummaryInner object itself.

Applies to