Class WindowsKioskConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.WindowsKioskConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WindowsKioskConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“This entity provides descriptions of the declared methods, properties and relationships exposed by the kiosk resource.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsKioskConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanedgeKioskEnablePublicBrowsingprotected List<String>kioskBrowserBlockedUrlExceptionsprotected StringkioskBrowserBlockedUrlExceptionsNextLinkprotected List<String>kioskBrowserBlockedURLsprotected StringkioskBrowserBlockedURLsNextLinkprotected StringkioskBrowserDefaultUrlprotected BooleankioskBrowserEnableEndSessionButtonprotected BooleankioskBrowserEnableHomeButtonprotected BooleankioskBrowserEnableNavigationButtonsprotected IntegerkioskBrowserRestartOnIdleTimeInMinutesprotected List<WindowsKioskProfile>kioskProfilesprotected StringkioskProfilesNextLinkprotected WindowsKioskForceUpdateSchedulewindowsKioskForceUpdateSchedule-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsKioskConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsKioskConfiguration.BuilderbuilderWindowsKioskConfiguration()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.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getEdgeKioskEnablePublicBrowsing()“Enable public browsing kiosk mode for the Microsoft Edge browser.com.github.davidmoten.odata.client.CollectionPage<String>getKioskBrowserBlockedUrlExceptions()“Specify URLs that the kiosk browser is allowed to navigate to”com.github.davidmoten.odata.client.CollectionPage<String>getKioskBrowserBlockedUrlExceptions(com.github.davidmoten.odata.client.HttpRequestOptions options)“Specify URLs that the kiosk browser is allowed to navigate to”com.github.davidmoten.odata.client.CollectionPage<String>getKioskBrowserBlockedURLs()“Specify URLs that the kiosk browsers should not navigate to”com.github.davidmoten.odata.client.CollectionPage<String>getKioskBrowserBlockedURLs(com.github.davidmoten.odata.client.HttpRequestOptions options)“Specify URLs that the kiosk browsers should not navigate to”Optional<String>getKioskBrowserDefaultUrl()“Specify the default URL the browser should navigate to on launch.”Optional<Boolean>getKioskBrowserEnableEndSessionButton()“Enable the kiosk browser's end session button.Optional<Boolean>getKioskBrowserEnableHomeButton()“Enable the kiosk browser's home button.Optional<Boolean>getKioskBrowserEnableNavigationButtons()“Enable the kiosk browser's navigation buttons(forward/back).Optional<Integer>getKioskBrowserRestartOnIdleTimeInMinutes()“Specify the number of minutes the session is idle until the kiosk browser restarts in a fresh state.com.github.davidmoten.odata.client.CollectionPage<WindowsKioskProfile>getKioskProfiles()“This policy setting allows to define a list of Kiosk profiles for a Kiosk configuration.com.github.davidmoten.odata.client.CollectionPage<WindowsKioskProfile>getKioskProfiles(com.github.davidmoten.odata.client.HttpRequestOptions options)“This policy setting allows to define a list of Kiosk profiles for a Kiosk configuration.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<WindowsKioskForceUpdateSchedule>getWindowsKioskForceUpdateSchedule()“force update schedule for Kiosk devices.”StringodataTypeName()WindowsKioskConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsKioskConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsKioskConfigurationwithEdgeKioskEnablePublicBrowsing(Boolean edgeKioskEnablePublicBrowsing)Returns an immutable copy ofthiswith just theedgeKioskEnablePublicBrowsingfield changed.WindowsKioskConfigurationwithKioskBrowserBlockedUrlExceptions(List<String> kioskBrowserBlockedUrlExceptions)Returns an immutable copy ofthiswith just thekioskBrowserBlockedUrlExceptionsfield changed.WindowsKioskConfigurationwithKioskBrowserBlockedURLs(List<String> kioskBrowserBlockedURLs)Returns an immutable copy ofthiswith just thekioskBrowserBlockedURLsfield changed.WindowsKioskConfigurationwithKioskBrowserDefaultUrl(String kioskBrowserDefaultUrl)Returns an immutable copy ofthiswith just thekioskBrowserDefaultUrlfield changed.WindowsKioskConfigurationwithKioskBrowserEnableEndSessionButton(Boolean kioskBrowserEnableEndSessionButton)Returns an immutable copy ofthiswith just thekioskBrowserEnableEndSessionButtonfield changed.WindowsKioskConfigurationwithKioskBrowserEnableHomeButton(Boolean kioskBrowserEnableHomeButton)Returns an immutable copy ofthiswith just thekioskBrowserEnableHomeButtonfield changed.WindowsKioskConfigurationwithKioskBrowserEnableNavigationButtons(Boolean kioskBrowserEnableNavigationButtons)Returns an immutable copy ofthiswith just thekioskBrowserEnableNavigationButtonsfield changed.WindowsKioskConfigurationwithKioskBrowserRestartOnIdleTimeInMinutes(Integer kioskBrowserRestartOnIdleTimeInMinutes)Returns an immutable copy ofthiswith just thekioskBrowserRestartOnIdleTimeInMinutesfield changed.WindowsKioskConfigurationwithKioskProfiles(List<WindowsKioskProfile> kioskProfiles)Returns an immutable copy ofthiswith just thekioskProfilesfield changed.WindowsKioskConfigurationwithUnmappedField(String name, String value)WindowsKioskConfigurationwithWindowsKioskForceUpdateSchedule(WindowsKioskForceUpdateSchedule windowsKioskForceUpdateSchedule)Returns an immutable copy ofthiswith just thewindowsKioskForceUpdateSchedulefield changed.-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Field Detail
-
edgeKioskEnablePublicBrowsing
protected Boolean edgeKioskEnablePublicBrowsing
-
kioskBrowserBlockedUrlExceptionsNextLink
protected String kioskBrowserBlockedUrlExceptionsNextLink
-
kioskBrowserBlockedURLsNextLink
protected String kioskBrowserBlockedURLsNextLink
-
kioskBrowserDefaultUrl
protected String kioskBrowserDefaultUrl
-
kioskBrowserEnableEndSessionButton
protected Boolean kioskBrowserEnableEndSessionButton
-
kioskBrowserEnableHomeButton
protected Boolean kioskBrowserEnableHomeButton
-
kioskBrowserEnableNavigationButtons
protected Boolean kioskBrowserEnableNavigationButtons
-
kioskBrowserRestartOnIdleTimeInMinutes
protected Integer kioskBrowserRestartOnIdleTimeInMinutes
-
kioskProfiles
protected List<WindowsKioskProfile> kioskProfiles
-
kioskProfilesNextLink
protected String kioskProfilesNextLink
-
windowsKioskForceUpdateSchedule
protected WindowsKioskForceUpdateSchedule windowsKioskForceUpdateSchedule
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderWindowsKioskConfiguration
public static WindowsKioskConfiguration.Builder builderWindowsKioskConfiguration()
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 classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getEdgeKioskEnablePublicBrowsing
public Optional<Boolean> getEdgeKioskEnablePublicBrowsing()
“Enable public browsing kiosk mode for the Microsoft Edge browser. The Default is false.”- Returns:
- property edgeKioskEnablePublicBrowsing
-
withEdgeKioskEnablePublicBrowsing
public WindowsKioskConfiguration withEdgeKioskEnablePublicBrowsing(Boolean edgeKioskEnablePublicBrowsing)
Returns an immutable copy ofthiswith just theedgeKioskEnablePublicBrowsingfield 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.“Enable public browsing kiosk mode for the Microsoft Edge browser. The Default is false.”
- Parameters:
edgeKioskEnablePublicBrowsing- new value ofedgeKioskEnablePublicBrowsingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theedgeKioskEnablePublicBrowsingfield changed
-
getKioskBrowserBlockedUrlExceptions
public com.github.davidmoten.odata.client.CollectionPage<String> getKioskBrowserBlockedUrlExceptions()
“Specify URLs that the kiosk browser is allowed to navigate to”- Returns:
- property kioskBrowserBlockedUrlExceptions
-
withKioskBrowserBlockedUrlExceptions
public WindowsKioskConfiguration withKioskBrowserBlockedUrlExceptions(List<String> kioskBrowserBlockedUrlExceptions)
Returns an immutable copy ofthiswith just thekioskBrowserBlockedUrlExceptionsfield 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.“Specify URLs that the kiosk browser is allowed to navigate to”
- Parameters:
kioskBrowserBlockedUrlExceptions- new value ofkioskBrowserBlockedUrlExceptionsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekioskBrowserBlockedUrlExceptionsfield changed
-
getKioskBrowserBlockedUrlExceptions
public com.github.davidmoten.odata.client.CollectionPage<String> getKioskBrowserBlockedUrlExceptions(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Specify URLs that the kiosk browser is allowed to navigate to”- Parameters:
options- specify connect and read timeouts- Returns:
- property kioskBrowserBlockedUrlExceptions
-
getKioskBrowserBlockedURLs
public com.github.davidmoten.odata.client.CollectionPage<String> getKioskBrowserBlockedURLs()
“Specify URLs that the kiosk browsers should not navigate to”- Returns:
- property kioskBrowserBlockedURLs
-
withKioskBrowserBlockedURLs
public WindowsKioskConfiguration withKioskBrowserBlockedURLs(List<String> kioskBrowserBlockedURLs)
Returns an immutable copy ofthiswith just thekioskBrowserBlockedURLsfield 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.“Specify URLs that the kiosk browsers should not navigate to”
- Parameters:
kioskBrowserBlockedURLs- new value ofkioskBrowserBlockedURLsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekioskBrowserBlockedURLsfield changed
-
getKioskBrowserBlockedURLs
public com.github.davidmoten.odata.client.CollectionPage<String> getKioskBrowserBlockedURLs(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Specify URLs that the kiosk browsers should not navigate to”- Parameters:
options- specify connect and read timeouts- Returns:
- property kioskBrowserBlockedURLs
-
getKioskBrowserDefaultUrl
public Optional<String> getKioskBrowserDefaultUrl()
“Specify the default URL the browser should navigate to on launch.”- Returns:
- property kioskBrowserDefaultUrl
-
withKioskBrowserDefaultUrl
public WindowsKioskConfiguration withKioskBrowserDefaultUrl(String kioskBrowserDefaultUrl)
Returns an immutable copy ofthiswith just thekioskBrowserDefaultUrlfield 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.“Specify the default URL the browser should navigate to on launch.”
- Parameters:
kioskBrowserDefaultUrl- new value ofkioskBrowserDefaultUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekioskBrowserDefaultUrlfield changed
-
getKioskBrowserEnableEndSessionButton
public Optional<Boolean> getKioskBrowserEnableEndSessionButton()
“Enable the kiosk browser's end session button. By default, the end session button is disabled.”- Returns:
- property kioskBrowserEnableEndSessionButton
-
withKioskBrowserEnableEndSessionButton
public WindowsKioskConfiguration withKioskBrowserEnableEndSessionButton(Boolean kioskBrowserEnableEndSessionButton)
Returns an immutable copy ofthiswith just thekioskBrowserEnableEndSessionButtonfield 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.“Enable the kiosk browser's end session button. By default, the end session button is disabled.”
- Parameters:
kioskBrowserEnableEndSessionButton- new value ofkioskBrowserEnableEndSessionButtonfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekioskBrowserEnableEndSessionButtonfield changed
-
getKioskBrowserEnableHomeButton
public Optional<Boolean> getKioskBrowserEnableHomeButton()
“Enable the kiosk browser's home button. By default, the home button is disabled.”- Returns:
- property kioskBrowserEnableHomeButton
-
withKioskBrowserEnableHomeButton
public WindowsKioskConfiguration withKioskBrowserEnableHomeButton(Boolean kioskBrowserEnableHomeButton)
Returns an immutable copy ofthiswith just thekioskBrowserEnableHomeButtonfield 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.“Enable the kiosk browser's home button. By default, the home button is disabled.”
- Parameters:
kioskBrowserEnableHomeButton- new value ofkioskBrowserEnableHomeButtonfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekioskBrowserEnableHomeButtonfield changed
-
getKioskBrowserEnableNavigationButtons
public Optional<Boolean> getKioskBrowserEnableNavigationButtons()
“Enable the kiosk browser's navigation buttons(forward/back). By default, the navigation buttons are disabled.”- Returns:
- property kioskBrowserEnableNavigationButtons
-
withKioskBrowserEnableNavigationButtons
public WindowsKioskConfiguration withKioskBrowserEnableNavigationButtons(Boolean kioskBrowserEnableNavigationButtons)
Returns an immutable copy ofthiswith just thekioskBrowserEnableNavigationButtonsfield 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.“Enable the kiosk browser's navigation buttons(forward/back). By default, the navigation buttons are disabled.”
- Parameters:
kioskBrowserEnableNavigationButtons- new value ofkioskBrowserEnableNavigationButtonsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekioskBrowserEnableNavigationButtonsfield changed
-
getKioskBrowserRestartOnIdleTimeInMinutes
public Optional<Integer> getKioskBrowserRestartOnIdleTimeInMinutes()
“Specify the number of minutes the session is idle until the kiosk browser restarts in a fresh state. Valid values are 1-1440. Valid values 1 to 1440”- Returns:
- property kioskBrowserRestartOnIdleTimeInMinutes
-
withKioskBrowserRestartOnIdleTimeInMinutes
public WindowsKioskConfiguration withKioskBrowserRestartOnIdleTimeInMinutes(Integer kioskBrowserRestartOnIdleTimeInMinutes)
Returns an immutable copy ofthiswith just thekioskBrowserRestartOnIdleTimeInMinutesfield 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.“Specify the number of minutes the session is idle until the kiosk browser restarts in a fresh state. Valid values are 1-1440. Valid values 1 to 1440”
- Parameters:
kioskBrowserRestartOnIdleTimeInMinutes- new value ofkioskBrowserRestartOnIdleTimeInMinutesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekioskBrowserRestartOnIdleTimeInMinutesfield changed
-
getKioskProfiles
public com.github.davidmoten.odata.client.CollectionPage<WindowsKioskProfile> getKioskProfiles()
“This policy setting allows to define a list of Kiosk profiles for a Kiosk configuration. This collection can contain a maximum of 3 elements.”- Returns:
- property kioskProfiles
-
withKioskProfiles
public WindowsKioskConfiguration withKioskProfiles(List<WindowsKioskProfile> kioskProfiles)
Returns an immutable copy ofthiswith just thekioskProfilesfield 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 policy setting allows to define a list of Kiosk profiles for a Kiosk configuration. This collection can contain a maximum of 3 elements.”
- Parameters:
kioskProfiles- new value ofkioskProfilesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekioskProfilesfield changed
-
getKioskProfiles
public com.github.davidmoten.odata.client.CollectionPage<WindowsKioskProfile> getKioskProfiles(com.github.davidmoten.odata.client.HttpRequestOptions options)
“This policy setting allows to define a list of Kiosk profiles for a Kiosk configuration. This collection can contain a maximum of 3 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property kioskProfiles
-
getWindowsKioskForceUpdateSchedule
public Optional<WindowsKioskForceUpdateSchedule> getWindowsKioskForceUpdateSchedule()
“force update schedule for Kiosk devices.”- Returns:
- property windowsKioskForceUpdateSchedule
-
withWindowsKioskForceUpdateSchedule
public WindowsKioskConfiguration withWindowsKioskForceUpdateSchedule(WindowsKioskForceUpdateSchedule windowsKioskForceUpdateSchedule)
Returns an immutable copy ofthiswith just thewindowsKioskForceUpdateSchedulefield 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.“force update schedule for Kiosk devices.”
- Parameters:
windowsKioskForceUpdateSchedule- new value ofwindowsKioskForceUpdateSchedulefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsKioskForceUpdateSchedulefield changed
-
withUnmappedField
public WindowsKioskConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public WindowsKioskConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public WindowsKioskConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceConfiguration
-
-