Class MicrosoftGraphDeviceActionResult


  • public final class MicrosoftGraphDeviceActionResult
    extends Object
    Device action result.
    • Constructor Detail

      • MicrosoftGraphDeviceActionResult

        public MicrosoftGraphDeviceActionResult()
    • Method Detail

      • actionName

        public String actionName()
        Get the actionName property: Action name.
        Returns:
        the actionName value.
      • withActionName

        public MicrosoftGraphDeviceActionResult withActionName​(String actionName)
        Set the actionName property: Action name.
        Parameters:
        actionName - the actionName value to set.
        Returns:
        the MicrosoftGraphDeviceActionResult object itself.
      • actionState

        public MicrosoftGraphActionState actionState()
        Get the actionState property: The actionState property.
        Returns:
        the actionState value.
      • withActionState

        public MicrosoftGraphDeviceActionResult withActionState​(MicrosoftGraphActionState actionState)
        Set the actionState property: The actionState property.
        Parameters:
        actionState - the actionState value to set.
        Returns:
        the MicrosoftGraphDeviceActionResult object itself.
      • lastUpdatedDateTime

        public OffsetDateTime lastUpdatedDateTime()
        Get the lastUpdatedDateTime property: Time the action state was last updated.
        Returns:
        the lastUpdatedDateTime value.
      • withLastUpdatedDateTime

        public MicrosoftGraphDeviceActionResult withLastUpdatedDateTime​(OffsetDateTime lastUpdatedDateTime)
        Set the lastUpdatedDateTime property: Time the action state was last updated.
        Parameters:
        lastUpdatedDateTime - the lastUpdatedDateTime value to set.
        Returns:
        the MicrosoftGraphDeviceActionResult object itself.
      • startDateTime

        public OffsetDateTime startDateTime()
        Get the startDateTime property: Time the action was initiated.
        Returns:
        the startDateTime value.
      • withStartDateTime

        public MicrosoftGraphDeviceActionResult withStartDateTime​(OffsetDateTime startDateTime)
        Set the startDateTime property: Time the action was initiated.
        Parameters:
        startDateTime - the startDateTime value to set.
        Returns:
        the MicrosoftGraphDeviceActionResult object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: Device action result.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphDeviceActionResult withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: Device action result.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphDeviceActionResult object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.