Class MobileAppTroubleshootingAppPolicyCreationHistory

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

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

      • errorCode

        protected String errorCode
    • Constructor Detail

      • MobileAppTroubleshootingAppPolicyCreationHistory

        protected MobileAppTroubleshootingAppPolicyCreationHistory()
    • Method Detail

      • getErrorCode

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

        public MobileAppTroubleshootingAppPolicyCreationHistory 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 MobileAppTroubleshootingAppPolicyCreationHistory 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
      • builderMobileAppTroubleshootingAppPolicyCreationHistory

        public static MobileAppTroubleshootingAppPolicyCreationHistory.Builder builderMobileAppTroubleshootingAppPolicyCreationHistory()
        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