Class MobileAppTroubleshootingEvent

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class MobileAppTroubleshootingEvent
    extends DeviceManagementTroubleshootingEvent
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Event representing a users device application install status.”
    • Constructor Detail

      • MobileAppTroubleshootingEvent

        protected MobileAppTroubleshootingEvent()
    • Method Detail

      • builderMobileAppTroubleshootingEvent

        public static MobileAppTroubleshootingEvent.Builder builderMobileAppTroubleshootingEvent()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceManagementTroubleshootingEvent
      • getApplicationId

        public Optional<String> getApplicationId()
        “Intune application identifier.”
        Returns:
        property applicationId
      • withApplicationId

        public MobileAppTroubleshootingEvent withApplicationId​(String applicationId)
        Returns an immutable copy of this with just the applicationId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Intune application identifier.”

        Parameters:
        applicationId - new value of applicationId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the applicationId field changed
      • getHistory

        public com.github.davidmoten.odata.client.CollectionPage<MobileAppTroubleshootingHistoryItem> getHistory()
        “Intune Mobile Application Troubleshooting History Item”
        Returns:
        property history
      • withHistory

        public MobileAppTroubleshootingEvent withHistory​(List<MobileAppTroubleshootingHistoryItem> history)
        Returns an immutable copy of this with just the history field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Intune Mobile Application Troubleshooting History Item”

        Parameters:
        history - new value of history field (as defined in service metadata)
        Returns:
        immutable copy of this with just the history field changed
      • getHistory

        public com.github.davidmoten.odata.client.CollectionPage<MobileAppTroubleshootingHistoryItem> getHistory​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Intune Mobile Application Troubleshooting History Item”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property history
      • getManagedDeviceIdentifier

        public Optional<String> getManagedDeviceIdentifier()
        “Device identifier created or collected by Intune.”
        Returns:
        property managedDeviceIdentifier
      • withManagedDeviceIdentifier

        public MobileAppTroubleshootingEvent withManagedDeviceIdentifier​(String managedDeviceIdentifier)
        Returns an immutable copy of this with just the managedDeviceIdentifier field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Device identifier created or collected by Intune.”

        Parameters:
        managedDeviceIdentifier - new value of managedDeviceIdentifier field (as defined in service metadata)
        Returns:
        immutable copy of this with just the managedDeviceIdentifier field changed
      • getUserId

        public Optional<String> getUserId()
        “Identifier for the user that tried to enroll the device.”
        Returns:
        property userId
      • withUserId

        public MobileAppTroubleshootingEvent withUserId​(String userId)
        Returns an immutable copy of this with just the userId field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Identifier for the user that tried to enroll the device.”

        Parameters:
        userId - new value of userId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userId field changed
      • getAppLogCollectionRequests

        public AppLogCollectionRequestCollectionRequest getAppLogCollectionRequests()
        “The collection property of AppLogUploadRequest.”
        Returns:
        navigational property appLogCollectionRequests
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceManagementTroubleshootingEvent
      • patch

        public MobileAppTroubleshootingEvent patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceManagementTroubleshootingEvent
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public MobileAppTroubleshootingEvent put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DeviceManagementTroubleshootingEvent
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected