Class MobileAppTroubleshootingAppTargetHistory

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

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

      • errorCode

        protected String errorCode
      • securityGroupId

        protected String securityGroupId
    • Constructor Detail

      • MobileAppTroubleshootingAppTargetHistory

        protected MobileAppTroubleshootingAppTargetHistory()
    • Method Detail

      • getErrorCode

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

        public MobileAppTroubleshootingAppTargetHistory 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 MobileAppTroubleshootingAppTargetHistory 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
      • getSecurityGroupId

        public Optional<String> getSecurityGroupId()
        “AAD security group id to which it was targeted.”
        Returns:
        property securityGroupId
      • withSecurityGroupId

        public MobileAppTroubleshootingAppTargetHistory withSecurityGroupId​(String securityGroupId)
        Returns an immutable copy of this with just the securityGroupId 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.

        “AAD security group id to which it was targeted.”

        Parameters:
        securityGroupId - new value of securityGroupId field (as defined in service metadata)
        Returns:
        immutable copy of this with just the securityGroupId 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
      • builderMobileAppTroubleshootingAppTargetHistory

        public static MobileAppTroubleshootingAppTargetHistory.Builder builderMobileAppTroubleshootingAppTargetHistory()
        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