Class WindowsAppXAppAssignmentSettings

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

    public class WindowsAppXAppAssignmentSettings
    extends MobileAppAssignmentSettings
    implements com.github.davidmoten.odata.client.ODataType
    “Contains properties used when assigning a Windows AppX mobile app to a group.”
    • Field Detail

      • useDeviceContext

        protected Boolean useDeviceContext
    • Constructor Detail

      • WindowsAppXAppAssignmentSettings

        protected WindowsAppXAppAssignmentSettings()
    • Method Detail

      • getUseDeviceContext

        public Optional<Boolean> getUseDeviceContext()
        “When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed.”
        Returns:
        property useDeviceContext
      • withUseDeviceContext

        public WindowsAppXAppAssignmentSettings withUseDeviceContext​(Boolean useDeviceContext)
        Returns an immutable copy of this with just the useDeviceContext 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.

        “When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed.”

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

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

        public static WindowsAppXAppAssignmentSettings.Builder builderWindowsAppXAppAssignmentSettings()
        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