Class MobileAppTroubleshootingAppStateHistory

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

    public class MobileAppTroubleshootingAppStateHistory
    extends MobileAppTroubleshootingHistoryItem
    implements com.github.davidmoten.odata.client.ODataType
    “History Item contained in the Mobile App Troubleshooting Event.”
    • Constructor Detail

      • MobileAppTroubleshootingAppStateHistory

        protected MobileAppTroubleshootingAppStateHistory()
    • Method Detail

      • getActionType

        public Optional<MobileAppActionType> getActionType()
        “Action type for Intune Application.”
        Returns:
        property actionType
      • withActionType

        public MobileAppTroubleshootingAppStateHistory withActionType​(MobileAppActionType actionType)
        Returns an immutable copy of this with just the actionType 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.

        “Action type for Intune Application.”

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

        public Optional<String> getErrorCode()
        “Error code for the failure, empty if no failure.”
        Returns:
        property errorCode
      • withErrorCode

        public MobileAppTroubleshootingAppStateHistory withErrorCode​(String errorCode)
        Returns an immutable copy of this with just the errorCode 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.

        “Error code for the failure, empty if no failure.”

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

        public Optional<RunState> getRunState()
        “Status of the item.”
        Returns:
        property runState
      • withRunState

        public MobileAppTroubleshootingAppStateHistory withRunState​(RunState runState)
        Returns an immutable copy of this with just the runState 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.

        “Status of the item.”

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

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

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class MobileAppTroubleshootingHistoryItem
      • builderMobileAppTroubleshootingAppStateHistory

        public static MobileAppTroubleshootingAppStateHistory.Builder builderMobileAppTroubleshootingAppStateHistory()
        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