Class MobileAppRelationshipState

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

    public class MobileAppRelationshipState
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “Describes the installation status details of the child app in the context of UPN and device id.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • deviceId

        protected String deviceId
      • errorCode

        protected Integer errorCode
      • sourceIdsNextLink

        protected String sourceIdsNextLink
      • targetDisplayName

        protected String targetDisplayName
      • targetId

        protected String targetId
      • targetLastSyncDateTime

        protected OffsetDateTime targetLastSyncDateTime
    • Constructor Detail

      • MobileAppRelationshipState

        protected MobileAppRelationshipState()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • getDeviceId

        public Optional<String> getDeviceId()
        “The corresponding device id.”
        Returns:
        property deviceId
      • withDeviceId

        public MobileAppRelationshipState withDeviceId​(String deviceId)
        Returns an immutable copy of this with just the deviceId 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.

        “The corresponding device id.”

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

        public Optional<Integer> getErrorCode()
        “The error code for install or uninstall failures of target app.”
        Returns:
        property errorCode
      • withErrorCode

        public MobileAppRelationshipState withErrorCode​(Integer 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.

        “The error code for install or uninstall failures of target app.”

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

        public Optional<ResultantAppState> getInstallState()
        “The install state of the app of target app.”
        Returns:
        property installState
      • withInstallState

        public MobileAppRelationshipState withInstallState​(ResultantAppState installState)
        Returns an immutable copy of this with just the installState 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.

        “The install state of the app of target app.”

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

        public Optional<ResultantAppStateDetail> getInstallStateDetail()
        “The install state detail of the app.”
        Returns:
        property installStateDetail
      • withInstallStateDetail

        public MobileAppRelationshipState withInstallStateDetail​(ResultantAppStateDetail installStateDetail)
        Returns an immutable copy of this with just the installStateDetail 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.

        “The install state detail of the app.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getSourceIds()
        “The collection of source mobile app's ids.”
        Returns:
        property sourceIds
      • getSourceIds

        public com.github.davidmoten.odata.client.CollectionPage<String> getSourceIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The collection of source mobile app's ids.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property sourceIds
      • getTargetDisplayName

        public Optional<String> getTargetDisplayName()
        “The related target app's display name.”
        Returns:
        property targetDisplayName
      • withTargetDisplayName

        public MobileAppRelationshipState withTargetDisplayName​(String targetDisplayName)
        Returns an immutable copy of this with just the targetDisplayName 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.

        “The related target app's display name.”

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

        public Optional<String> getTargetId()
        “The related target app's id.”
        Returns:
        property targetId
      • withTargetId

        public MobileAppRelationshipState withTargetId​(String targetId)
        Returns an immutable copy of this with just the targetId 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.

        “The related target app's id.”

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

        public Optional<OffsetDateTime> getTargetLastSyncDateTime()
        “The last sync time of the target app.”
        Returns:
        property targetLastSyncDateTime
      • withTargetLastSyncDateTime

        public MobileAppRelationshipState withTargetLastSyncDateTime​(OffsetDateTime targetLastSyncDateTime)
        Returns an immutable copy of this with just the targetLastSyncDateTime 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.

        “The last sync time of the target app.”

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

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

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

        public static MobileAppRelationshipState.Builder builder()
        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