Class WindowsAssignedAccessProfile
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsAssignedAccessProfile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<String>appUserModelIdsprotected StringappUserModelIdsNextLinkprotected List<String>desktopAppPathsprotected StringdesktopAppPathsNextLinkprotected StringprofileNameprotected BooleanshowTaskBarprotected byte[]startMenuLayoutXmlprotected List<String>userAccountsprotected StringuserAccountsNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsAssignedAccessProfile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsAssignedAccessProfile.BuilderbuilderWindowsAssignedAccessProfile()Returns a builder which is used to create a new instance of this class (given that this class is immutable).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.”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.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()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.”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.”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.”Optional<Boolean>getShowTaskBar()“This setting allows the admin to specify whether the Task Bar is shown or not.”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.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()com.github.davidmoten.odata.client.CollectionPage<String>getUserAccounts()“The user accounts that will be locked to this kiosk configuration.”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.”StringodataTypeName()WindowsAssignedAccessProfilepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsAssignedAccessProfileput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsAssignedAccessProfilewithAppUserModelIds(List<String> appUserModelIds)Returns an immutable copy ofthiswith just theappUserModelIdsfield changed.WindowsAssignedAccessProfilewithDesktopAppPaths(List<String> desktopAppPaths)Returns an immutable copy ofthiswith just thedesktopAppPathsfield changed.WindowsAssignedAccessProfilewithProfileName(String profileName)Returns an immutable copy ofthiswith just theprofileNamefield changed.WindowsAssignedAccessProfilewithShowTaskBar(Boolean showTaskBar)Returns an immutable copy ofthiswith just theshowTaskBarfield changed.WindowsAssignedAccessProfilewithStartMenuLayoutXml(byte[] startMenuLayoutXml)Returns an immutable copy ofthiswith just thestartMenuLayoutXmlfield changed.WindowsAssignedAccessProfilewithUnmappedField(String name, String value)WindowsAssignedAccessProfilewithUserAccounts(List<String> userAccounts)Returns an immutable copy ofthiswith just theuserAccountsfield changed.
-
-
-
Field Detail
-
appUserModelIdsNextLink
protected String appUserModelIdsNextLink
-
desktopAppPathsNextLink
protected String desktopAppPathsNextLink
-
profileName
protected String profileName
-
showTaskBar
protected Boolean showTaskBar
-
startMenuLayoutXml
protected byte[] startMenuLayoutXml
-
userAccountsNextLink
protected String userAccountsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
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 ofthiswith just theappUserModelIdsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofappUserModelIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappUserModelIdsfield 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 ofthiswith just thedesktopAppPathsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofdesktopAppPathsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedesktopAppPathsfield 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 ofthiswith just theprofileNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofprofileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprofileNamefield 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 ofthiswith just theshowTaskBarfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofshowTaskBarfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theshowTaskBarfield 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 ofthiswith just thestartMenuLayoutXmlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofstartMenuLayoutXmlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thestartMenuLayoutXmlfield 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 ofthiswith just theuserAccountsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofuserAccountsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserAccountsfield 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
-
withUnmappedField
public WindowsAssignedAccessProfile withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WindowsAssignedAccessProfile patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WindowsAssignedAccessProfile put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-