Class WindowsAssignedAccessProfile

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

    public class WindowsAssignedAccessProfile
    extends Entity
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Assigned Access profile for Windows.”
    • Field Detail

      • appUserModelIds

        protected List<String> appUserModelIds
      • appUserModelIdsNextLink

        protected String appUserModelIdsNextLink
      • desktopAppPaths

        protected List<String> desktopAppPaths
      • desktopAppPathsNextLink

        protected String desktopAppPathsNextLink
      • profileName

        protected String profileName
      • showTaskBar

        protected Boolean showTaskBar
      • startMenuLayoutXml

        protected byte[] startMenuLayoutXml
      • userAccounts

        protected List<String> userAccounts
      • userAccountsNextLink

        protected String userAccountsNextLink
    • Constructor Detail

      • WindowsAssignedAccessProfile

        protected WindowsAssignedAccessProfile()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Entity
      • builderWindowsAssignedAccessProfile

        public static WindowsAssignedAccessProfile.Builder builderWindowsAssignedAccessProfile()
        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
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class Entity
      • postInject

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAppUserModelIds()
        “These are the only Windows Store Apps that will be available to launch from the Start menu.”
        Returns:
        property appUserModelIds
      • withAppUserModelIds

        public WindowsAssignedAccessProfile withAppUserModelIds​(List<String> appUserModelIds)
        Returns an immutable copy of this with just the appUserModelIds 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.

        “These are the only Windows Store Apps that will be available to launch from the Start menu.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getAppUserModelIds​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “These are the only Windows Store Apps that will be available to launch from the Start menu.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property appUserModelIds
      • getDesktopAppPaths

        public com.github.davidmoten.odata.client.CollectionPage<String> getDesktopAppPaths()
        “These are the paths of the Desktop Apps that will be available on the Start menu and the only apps the user will be able to launch.”
        Returns:
        property desktopAppPaths
      • withDesktopAppPaths

        public WindowsAssignedAccessProfile withDesktopAppPaths​(List<String> desktopAppPaths)
        Returns an immutable copy of this with just the desktopAppPaths 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.

        “These are the paths of the Desktop Apps that will be available on the Start menu and the only apps the user will be able to launch.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getDesktopAppPaths​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “These are the paths of the Desktop Apps that will be available on the Start menu and the only apps the user will be able to launch.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property desktopAppPaths
      • getProfileName

        public Optional<String> getProfileName()
        “This is a friendly name used to identify a group of applications, the layout of these apps on the start menu and the users to whom this kiosk configuration is assigned.”
        Returns:
        property profileName
      • withProfileName

        public WindowsAssignedAccessProfile withProfileName​(String profileName)
        Returns an immutable copy of this with just the profileName 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.

        “This is a friendly name used to identify a group of applications, the layout of these apps on the start menu and the users to whom this kiosk configuration is assigned.”

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

        public Optional<Boolean> getShowTaskBar()
        “This setting allows the admin to specify whether the Task Bar is shown or not.”
        Returns:
        property showTaskBar
      • withShowTaskBar

        public WindowsAssignedAccessProfile withShowTaskBar​(Boolean showTaskBar)
        Returns an immutable copy of this with just the showTaskBar 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.

        “This setting allows the admin to specify whether the Task Bar is shown or not.”

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

        public Optional<byte[]> getStartMenuLayoutXml()
        “Allows admins to override the default Start layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in Binary format.”
        Returns:
        property startMenuLayoutXml
      • withStartMenuLayoutXml

        public WindowsAssignedAccessProfile withStartMenuLayoutXml​(byte[] startMenuLayoutXml)
        Returns an immutable copy of this with just the startMenuLayoutXml 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.

        “Allows admins to override the default Start layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in Binary format.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getUserAccounts()
        “The user accounts that will be locked to this kiosk configuration.”
        Returns:
        property userAccounts
      • withUserAccounts

        public WindowsAssignedAccessProfile withUserAccounts​(List<String> userAccounts)
        Returns an immutable copy of this with just the userAccounts 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 user accounts that will be locked to this kiosk configuration.”

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

        public com.github.davidmoten.odata.client.CollectionPage<String> getUserAccounts​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “The user accounts that will be locked to this kiosk configuration.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property userAccounts
      • getUnmappedFields

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

        public WindowsAssignedAccessProfile patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public WindowsAssignedAccessProfile put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class Entity
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected