Class MacOSExtensionsConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.MacOSExtensionsConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MacOSExtensionsConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“MacOS extensions configuration profile.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSExtensionsConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<String>kernelExtensionAllowedTeamIdentifiersprotected StringkernelExtensionAllowedTeamIdentifiersNextLinkprotected BooleankernelExtensionOverridesAllowedprotected List<MacOSKernelExtension>kernelExtensionsAllowedprotected StringkernelExtensionsAllowedNextLinkprotected List<MacOSSystemExtension>systemExtensionsAllowedprotected StringsystemExtensionsAllowedNextLinkprotected List<String>systemExtensionsAllowedTeamIdentifiersprotected StringsystemExtensionsAllowedTeamIdentifiersNextLinkprotected List<MacOSSystemExtensionTypeMapping>systemExtensionsAllowedTypesprotected StringsystemExtensionsAllowedTypesNextLinkprotected BooleansystemExtensionsBlockOverride-
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 protectedMacOSExtensionsConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSExtensionsConfiguration.BuilderbuilderMacOSExtensionsConfiguration()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()com.github.davidmoten.odata.client.CollectionPage<String>getKernelExtensionAllowedTeamIdentifiers()“All kernel extensions validly signed by the team identifiers in this list will be allowed to load.”com.github.davidmoten.odata.client.CollectionPage<String>getKernelExtensionAllowedTeamIdentifiers(com.github.davidmoten.odata.client.HttpRequestOptions options)“All kernel extensions validly signed by the team identifiers in this list will be allowed to load.”Optional<Boolean>getKernelExtensionOverridesAllowed()“If set to true, users can approve additional kernel extensions not explicitly allowed by configurations profiles.”com.github.davidmoten.odata.client.CollectionPage<MacOSKernelExtension>getKernelExtensionsAllowed()“A list of kernel extensions that will be allowed to load.com.github.davidmoten.odata.client.CollectionPage<MacOSKernelExtension>getKernelExtensionsAllowed(com.github.davidmoten.odata.client.HttpRequestOptions options)“A list of kernel extensions that will be allowed to load.com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtension>getSystemExtensionsAllowed()“Gets or sets a list of allowed macOS system extensions.com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtension>getSystemExtensionsAllowed(com.github.davidmoten.odata.client.HttpRequestOptions options)“Gets or sets a list of allowed macOS system extensions.com.github.davidmoten.odata.client.CollectionPage<String>getSystemExtensionsAllowedTeamIdentifiers()“Gets or sets a list of allowed team identifiers.com.github.davidmoten.odata.client.CollectionPage<String>getSystemExtensionsAllowedTeamIdentifiers(com.github.davidmoten.odata.client.HttpRequestOptions options)“Gets or sets a list of allowed team identifiers.com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtensionTypeMapping>getSystemExtensionsAllowedTypes()“Gets or sets a list of allowed macOS system extension types.com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtensionTypeMapping>getSystemExtensionsAllowedTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)“Gets or sets a list of allowed macOS system extension types.Optional<Boolean>getSystemExtensionsBlockOverride()“Gets or sets whether to allow the user to approve additional system extensions not explicitly allowed by configuration profiles.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()MacOSExtensionsConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MacOSExtensionsConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MacOSExtensionsConfigurationwithKernelExtensionAllowedTeamIdentifiers(List<String> kernelExtensionAllowedTeamIdentifiers)Returns an immutable copy ofthiswith just thekernelExtensionAllowedTeamIdentifiersfield changed.MacOSExtensionsConfigurationwithKernelExtensionOverridesAllowed(Boolean kernelExtensionOverridesAllowed)Returns an immutable copy ofthiswith just thekernelExtensionOverridesAllowedfield changed.MacOSExtensionsConfigurationwithKernelExtensionsAllowed(List<MacOSKernelExtension> kernelExtensionsAllowed)Returns an immutable copy ofthiswith just thekernelExtensionsAllowedfield changed.MacOSExtensionsConfigurationwithSystemExtensionsAllowed(List<MacOSSystemExtension> systemExtensionsAllowed)Returns an immutable copy ofthiswith just thesystemExtensionsAllowedfield changed.MacOSExtensionsConfigurationwithSystemExtensionsAllowedTeamIdentifiers(List<String> systemExtensionsAllowedTeamIdentifiers)Returns an immutable copy ofthiswith just thesystemExtensionsAllowedTeamIdentifiersfield changed.MacOSExtensionsConfigurationwithSystemExtensionsAllowedTypes(List<MacOSSystemExtensionTypeMapping> systemExtensionsAllowedTypes)Returns an immutable copy ofthiswith just thesystemExtensionsAllowedTypesfield changed.MacOSExtensionsConfigurationwithSystemExtensionsBlockOverride(Boolean systemExtensionsBlockOverride)Returns an immutable copy ofthiswith just thesystemExtensionsBlockOverridefield changed.MacOSExtensionsConfigurationwithUnmappedField(String name, String value)-
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
-
kernelExtensionAllowedTeamIdentifiersNextLink
protected String kernelExtensionAllowedTeamIdentifiersNextLink
-
kernelExtensionOverridesAllowed
protected Boolean kernelExtensionOverridesAllowed
-
kernelExtensionsAllowed
protected List<MacOSKernelExtension> kernelExtensionsAllowed
-
kernelExtensionsAllowedNextLink
protected String kernelExtensionsAllowedNextLink
-
systemExtensionsAllowed
protected List<MacOSSystemExtension> systemExtensionsAllowed
-
systemExtensionsAllowedNextLink
protected String systemExtensionsAllowedNextLink
-
systemExtensionsAllowedTeamIdentifiers
protected List<String> systemExtensionsAllowedTeamIdentifiers
-
systemExtensionsAllowedTeamIdentifiersNextLink
protected String systemExtensionsAllowedTeamIdentifiersNextLink
-
systemExtensionsAllowedTypes
protected List<MacOSSystemExtensionTypeMapping> systemExtensionsAllowedTypes
-
systemExtensionsAllowedTypesNextLink
protected String systemExtensionsAllowedTypesNextLink
-
systemExtensionsBlockOverride
protected Boolean systemExtensionsBlockOverride
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderMacOSExtensionsConfiguration
public static MacOSExtensionsConfiguration.Builder builderMacOSExtensionsConfiguration()
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
-
getKernelExtensionAllowedTeamIdentifiers
public com.github.davidmoten.odata.client.CollectionPage<String> getKernelExtensionAllowedTeamIdentifiers()
“All kernel extensions validly signed by the team identifiers in this list will be allowed to load.”- Returns:
- property kernelExtensionAllowedTeamIdentifiers
-
withKernelExtensionAllowedTeamIdentifiers
public MacOSExtensionsConfiguration withKernelExtensionAllowedTeamIdentifiers(List<String> kernelExtensionAllowedTeamIdentifiers)
Returns an immutable copy ofthiswith just thekernelExtensionAllowedTeamIdentifiersfield 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.“All kernel extensions validly signed by the team identifiers in this list will be allowed to load.”
- Parameters:
kernelExtensionAllowedTeamIdentifiers- new value ofkernelExtensionAllowedTeamIdentifiersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekernelExtensionAllowedTeamIdentifiersfield changed
-
getKernelExtensionAllowedTeamIdentifiers
public com.github.davidmoten.odata.client.CollectionPage<String> getKernelExtensionAllowedTeamIdentifiers(com.github.davidmoten.odata.client.HttpRequestOptions options)
“All kernel extensions validly signed by the team identifiers in this list will be allowed to load.”- Parameters:
options- specify connect and read timeouts- Returns:
- property kernelExtensionAllowedTeamIdentifiers
-
getKernelExtensionOverridesAllowed
public Optional<Boolean> getKernelExtensionOverridesAllowed()
“If set to true, users can approve additional kernel extensions not explicitly allowed by configurations profiles.”- Returns:
- property kernelExtensionOverridesAllowed
-
withKernelExtensionOverridesAllowed
public MacOSExtensionsConfiguration withKernelExtensionOverridesAllowed(Boolean kernelExtensionOverridesAllowed)
Returns an immutable copy ofthiswith just thekernelExtensionOverridesAllowedfield 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.“If set to true, users can approve additional kernel extensions not explicitly allowed by configurations profiles.”
- Parameters:
kernelExtensionOverridesAllowed- new value ofkernelExtensionOverridesAllowedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekernelExtensionOverridesAllowedfield changed
-
getKernelExtensionsAllowed
public com.github.davidmoten.odata.client.CollectionPage<MacOSKernelExtension> getKernelExtensionsAllowed()
“A list of kernel extensions that will be allowed to load. . This collection can contain a maximum of 500 elements.”- Returns:
- property kernelExtensionsAllowed
-
withKernelExtensionsAllowed
public MacOSExtensionsConfiguration withKernelExtensionsAllowed(List<MacOSKernelExtension> kernelExtensionsAllowed)
Returns an immutable copy ofthiswith just thekernelExtensionsAllowedfield 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.“A list of kernel extensions that will be allowed to load. . This collection can contain a maximum of 500 elements.”
- Parameters:
kernelExtensionsAllowed- new value ofkernelExtensionsAllowedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekernelExtensionsAllowedfield changed
-
getKernelExtensionsAllowed
public com.github.davidmoten.odata.client.CollectionPage<MacOSKernelExtension> getKernelExtensionsAllowed(com.github.davidmoten.odata.client.HttpRequestOptions options)
“A list of kernel extensions that will be allowed to load. . This collection can contain a maximum of 500 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property kernelExtensionsAllowed
-
getSystemExtensionsAllowed
public com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtension> getSystemExtensionsAllowed()
“Gets or sets a list of allowed macOS system extensions. This collection can contain a maximum of 500 elements.”- Returns:
- property systemExtensionsAllowed
-
withSystemExtensionsAllowed
public MacOSExtensionsConfiguration withSystemExtensionsAllowed(List<MacOSSystemExtension> systemExtensionsAllowed)
Returns an immutable copy ofthiswith just thesystemExtensionsAllowedfield 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.“Gets or sets a list of allowed macOS system extensions. This collection can contain a maximum of 500 elements.”
- Parameters:
systemExtensionsAllowed- new value ofsystemExtensionsAllowedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesystemExtensionsAllowedfield changed
-
getSystemExtensionsAllowed
public com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtension> getSystemExtensionsAllowed(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Gets or sets a list of allowed macOS system extensions. This collection can contain a maximum of 500 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property systemExtensionsAllowed
-
getSystemExtensionsAllowedTeamIdentifiers
public com.github.davidmoten.odata.client.CollectionPage<String> getSystemExtensionsAllowedTeamIdentifiers()
“Gets or sets a list of allowed team identifiers. Any system extension signed with any of the specified team identifiers will be approved.”- Returns:
- property systemExtensionsAllowedTeamIdentifiers
-
withSystemExtensionsAllowedTeamIdentifiers
public MacOSExtensionsConfiguration withSystemExtensionsAllowedTeamIdentifiers(List<String> systemExtensionsAllowedTeamIdentifiers)
Returns an immutable copy ofthiswith just thesystemExtensionsAllowedTeamIdentifiersfield 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.“Gets or sets a list of allowed team identifiers. Any system extension signed with any of the specified team identifiers will be approved.”
- Parameters:
systemExtensionsAllowedTeamIdentifiers- new value ofsystemExtensionsAllowedTeamIdentifiersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesystemExtensionsAllowedTeamIdentifiersfield changed
-
getSystemExtensionsAllowedTeamIdentifiers
public com.github.davidmoten.odata.client.CollectionPage<String> getSystemExtensionsAllowedTeamIdentifiers(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Gets or sets a list of allowed team identifiers. Any system extension signed with any of the specified team identifiers will be approved.”- Parameters:
options- specify connect and read timeouts- Returns:
- property systemExtensionsAllowedTeamIdentifiers
-
getSystemExtensionsAllowedTypes
public com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtensionTypeMapping> getSystemExtensionsAllowedTypes()
“Gets or sets a list of allowed macOS system extension types. This collection can contain a maximum of 500 elements.”- Returns:
- property systemExtensionsAllowedTypes
-
withSystemExtensionsAllowedTypes
public MacOSExtensionsConfiguration withSystemExtensionsAllowedTypes(List<MacOSSystemExtensionTypeMapping> systemExtensionsAllowedTypes)
Returns an immutable copy ofthiswith just thesystemExtensionsAllowedTypesfield 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.“Gets or sets a list of allowed macOS system extension types. This collection can contain a maximum of 500 elements.”
- Parameters:
systemExtensionsAllowedTypes- new value ofsystemExtensionsAllowedTypesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesystemExtensionsAllowedTypesfield changed
-
getSystemExtensionsAllowedTypes
public com.github.davidmoten.odata.client.CollectionPage<MacOSSystemExtensionTypeMapping> getSystemExtensionsAllowedTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Gets or sets a list of allowed macOS system extension types. This collection can contain a maximum of 500 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property systemExtensionsAllowedTypes
-
getSystemExtensionsBlockOverride
public Optional<Boolean> getSystemExtensionsBlockOverride()
“Gets or sets whether to allow the user to approve additional system extensions not explicitly allowed by configuration profiles.”- Returns:
- property systemExtensionsBlockOverride
-
withSystemExtensionsBlockOverride
public MacOSExtensionsConfiguration withSystemExtensionsBlockOverride(Boolean systemExtensionsBlockOverride)
Returns an immutable copy ofthiswith just thesystemExtensionsBlockOverridefield 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.“Gets or sets whether to allow the user to approve additional system extensions not explicitly allowed by configuration profiles.”
- Parameters:
systemExtensionsBlockOverride- new value ofsystemExtensionsBlockOverridefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesystemExtensionsBlockOverridefield changed
-
withUnmappedField
public MacOSExtensionsConfiguration 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 MacOSExtensionsConfiguration 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 MacOSExtensionsConfiguration 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
-
-