Package odata.msgraph.client.beta.entity
Class Windows10DeviceFirmwareConfigurationInterface
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.Windows10DeviceFirmwareConfigurationInterface
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows10DeviceFirmwareConfigurationInterface extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Graph properties for Device Firmware Configuration Interface”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows10DeviceFirmwareConfigurationInterface.Builder
-
Field Summary
Fields Modifier and Type Field Description protected EnablementbootFromBuiltInNetworkAdaptersprotected EnablementbootFromExternalMediaprotected Enablementcamerasprotected ChangeUefiSettingsPermissionchangeUefiSettingsPermissionprotected EnablementmicrophonesAndSpeakersprotected Enablementradiosprotected EnablementsimultaneousMultiThreadingprotected EnablementvirtualizationOfCpuAndIOprotected EnablementwindowsPlatformBinaryTable-
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 protectedWindows10DeviceFirmwareConfigurationInterface()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10DeviceFirmwareConfigurationInterface.BuilderbuilderWindows10DeviceFirmwareConfigurationInterface()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Enablement>getBootFromBuiltInNetworkAdapters()“Defines whether a user is allowed to boot from built-in network adapters.”Optional<Enablement>getBootFromExternalMedia()“Defines whether a user is allowed to boot from external media.”Optional<Enablement>getCameras()“Defines whether built-in cameras are enabled.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<ChangeUefiSettingsPermission>getChangeUefiSettingsPermission()“Defines the permission level granted to users to change UEFI settings.”Optional<Enablement>getMicrophonesAndSpeakers()“Defines whether built-in microphones or speakers are enabled.”Optional<Enablement>getRadios()“Defines whether built-in radios e.g.Optional<Enablement>getSimultaneousMultiThreading()“Defines whether a user is allowed to enable Simultaneous MultiThreading.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Enablement>getVirtualizationOfCpuAndIO()“Defines whether CPU and IO virtualization is enabled.”Optional<Enablement>getWindowsPlatformBinaryTable()“Defines whether a user is allowed to enable Windows Platform Binary Table.”StringodataTypeName()Windows10DeviceFirmwareConfigurationInterfacepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows10DeviceFirmwareConfigurationInterfaceput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows10DeviceFirmwareConfigurationInterfacewithBootFromBuiltInNetworkAdapters(Enablement bootFromBuiltInNetworkAdapters)Returns an immutable copy ofthiswith just thebootFromBuiltInNetworkAdaptersfield changed.Windows10DeviceFirmwareConfigurationInterfacewithBootFromExternalMedia(Enablement bootFromExternalMedia)Returns an immutable copy ofthiswith just thebootFromExternalMediafield changed.Windows10DeviceFirmwareConfigurationInterfacewithCameras(Enablement cameras)Returns an immutable copy ofthiswith just thecamerasfield changed.Windows10DeviceFirmwareConfigurationInterfacewithChangeUefiSettingsPermission(ChangeUefiSettingsPermission changeUefiSettingsPermission)Returns an immutable copy ofthiswith just thechangeUefiSettingsPermissionfield changed.Windows10DeviceFirmwareConfigurationInterfacewithMicrophonesAndSpeakers(Enablement microphonesAndSpeakers)Returns an immutable copy ofthiswith just themicrophonesAndSpeakersfield changed.Windows10DeviceFirmwareConfigurationInterfacewithRadios(Enablement radios)Returns an immutable copy ofthiswith just theradiosfield changed.Windows10DeviceFirmwareConfigurationInterfacewithSimultaneousMultiThreading(Enablement simultaneousMultiThreading)Returns an immutable copy ofthiswith just thesimultaneousMultiThreadingfield changed.Windows10DeviceFirmwareConfigurationInterfacewithUnmappedField(String name, String value)Windows10DeviceFirmwareConfigurationInterfacewithVirtualizationOfCpuAndIO(Enablement virtualizationOfCpuAndIO)Returns an immutable copy ofthiswith just thevirtualizationOfCpuAndIOfield changed.Windows10DeviceFirmwareConfigurationInterfacewithWindowsPlatformBinaryTable(Enablement windowsPlatformBinaryTable)Returns an immutable copy ofthiswith just thewindowsPlatformBinaryTablefield 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
-
bootFromBuiltInNetworkAdapters
protected Enablement bootFromBuiltInNetworkAdapters
-
bootFromExternalMedia
protected Enablement bootFromExternalMedia
-
cameras
protected Enablement cameras
-
changeUefiSettingsPermission
protected ChangeUefiSettingsPermission changeUefiSettingsPermission
-
microphonesAndSpeakers
protected Enablement microphonesAndSpeakers
-
radios
protected Enablement radios
-
simultaneousMultiThreading
protected Enablement simultaneousMultiThreading
-
virtualizationOfCpuAndIO
protected Enablement virtualizationOfCpuAndIO
-
windowsPlatformBinaryTable
protected Enablement windowsPlatformBinaryTable
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderWindows10DeviceFirmwareConfigurationInterface
public static Windows10DeviceFirmwareConfigurationInterface.Builder builderWindows10DeviceFirmwareConfigurationInterface()
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
-
getBootFromBuiltInNetworkAdapters
public Optional<Enablement> getBootFromBuiltInNetworkAdapters()
“Defines whether a user is allowed to boot from built-in network adapters.”- Returns:
- property bootFromBuiltInNetworkAdapters
-
withBootFromBuiltInNetworkAdapters
public Windows10DeviceFirmwareConfigurationInterface withBootFromBuiltInNetworkAdapters(Enablement bootFromBuiltInNetworkAdapters)
Returns an immutable copy ofthiswith just thebootFromBuiltInNetworkAdaptersfield 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.“Defines whether a user is allowed to boot from built-in network adapters.”
- Parameters:
bootFromBuiltInNetworkAdapters- new value ofbootFromBuiltInNetworkAdaptersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebootFromBuiltInNetworkAdaptersfield changed
-
getBootFromExternalMedia
public Optional<Enablement> getBootFromExternalMedia()
“Defines whether a user is allowed to boot from external media.”- Returns:
- property bootFromExternalMedia
-
withBootFromExternalMedia
public Windows10DeviceFirmwareConfigurationInterface withBootFromExternalMedia(Enablement bootFromExternalMedia)
Returns an immutable copy ofthiswith just thebootFromExternalMediafield 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.“Defines whether a user is allowed to boot from external media.”
- Parameters:
bootFromExternalMedia- new value ofbootFromExternalMediafield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebootFromExternalMediafield changed
-
getCameras
public Optional<Enablement> getCameras()
“Defines whether built-in cameras are enabled.”- Returns:
- property cameras
-
withCameras
public Windows10DeviceFirmwareConfigurationInterface withCameras(Enablement cameras)
Returns an immutable copy ofthiswith just thecamerasfield 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.“Defines whether built-in cameras are enabled.”
- Parameters:
cameras- new value ofcamerasfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecamerasfield changed
-
getChangeUefiSettingsPermission
public Optional<ChangeUefiSettingsPermission> getChangeUefiSettingsPermission()
“Defines the permission level granted to users to change UEFI settings.”- Returns:
- property changeUefiSettingsPermission
-
withChangeUefiSettingsPermission
public Windows10DeviceFirmwareConfigurationInterface withChangeUefiSettingsPermission(ChangeUefiSettingsPermission changeUefiSettingsPermission)
Returns an immutable copy ofthiswith just thechangeUefiSettingsPermissionfield 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.“Defines the permission level granted to users to change UEFI settings.”
- Parameters:
changeUefiSettingsPermission- new value ofchangeUefiSettingsPermissionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thechangeUefiSettingsPermissionfield changed
-
getMicrophonesAndSpeakers
public Optional<Enablement> getMicrophonesAndSpeakers()
“Defines whether built-in microphones or speakers are enabled.”- Returns:
- property microphonesAndSpeakers
-
withMicrophonesAndSpeakers
public Windows10DeviceFirmwareConfigurationInterface withMicrophonesAndSpeakers(Enablement microphonesAndSpeakers)
Returns an immutable copy ofthiswith just themicrophonesAndSpeakersfield 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.“Defines whether built-in microphones or speakers are enabled.”
- Parameters:
microphonesAndSpeakers- new value ofmicrophonesAndSpeakersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themicrophonesAndSpeakersfield changed
-
getRadios
public Optional<Enablement> getRadios()
“Defines whether built-in radios e.g. WIFI, NFC, Bluetooth, are enabled.”- Returns:
- property radios
-
withRadios
public Windows10DeviceFirmwareConfigurationInterface withRadios(Enablement radios)
Returns an immutable copy ofthiswith just theradiosfield 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.“Defines whether built-in radios e.g. WIFI, NFC, Bluetooth, are enabled.”
- Parameters:
radios- new value ofradiosfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theradiosfield changed
-
getSimultaneousMultiThreading
public Optional<Enablement> getSimultaneousMultiThreading()
“Defines whether a user is allowed to enable Simultaneous MultiThreading.”- Returns:
- property simultaneousMultiThreading
-
withSimultaneousMultiThreading
public Windows10DeviceFirmwareConfigurationInterface withSimultaneousMultiThreading(Enablement simultaneousMultiThreading)
Returns an immutable copy ofthiswith just thesimultaneousMultiThreadingfield 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.“Defines whether a user is allowed to enable Simultaneous MultiThreading.”
- Parameters:
simultaneousMultiThreading- new value ofsimultaneousMultiThreadingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesimultaneousMultiThreadingfield changed
-
getVirtualizationOfCpuAndIO
public Optional<Enablement> getVirtualizationOfCpuAndIO()
“Defines whether CPU and IO virtualization is enabled.”- Returns:
- property virtualizationOfCpuAndIO
-
withVirtualizationOfCpuAndIO
public Windows10DeviceFirmwareConfigurationInterface withVirtualizationOfCpuAndIO(Enablement virtualizationOfCpuAndIO)
Returns an immutable copy ofthiswith just thevirtualizationOfCpuAndIOfield 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.“Defines whether CPU and IO virtualization is enabled.”
- Parameters:
virtualizationOfCpuAndIO- new value ofvirtualizationOfCpuAndIOfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevirtualizationOfCpuAndIOfield changed
-
getWindowsPlatformBinaryTable
public Optional<Enablement> getWindowsPlatformBinaryTable()
“Defines whether a user is allowed to enable Windows Platform Binary Table.”- Returns:
- property windowsPlatformBinaryTable
-
withWindowsPlatformBinaryTable
public Windows10DeviceFirmwareConfigurationInterface withWindowsPlatformBinaryTable(Enablement windowsPlatformBinaryTable)
Returns an immutable copy ofthiswith just thewindowsPlatformBinaryTablefield 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.“Defines whether a user is allowed to enable Windows Platform Binary Table.”
- Parameters:
windowsPlatformBinaryTable- new value ofwindowsPlatformBinaryTablefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsPlatformBinaryTablefield changed
-
withUnmappedField
public Windows10DeviceFirmwareConfigurationInterface 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 Windows10DeviceFirmwareConfigurationInterface 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 Windows10DeviceFirmwareConfigurationInterface 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
-
-