Package com.microsoft.graph.models
Class DeviceEnrollmentPlatformRestrictionsConfiguration
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceEnrollmentConfiguration
com.microsoft.graph.models.DeviceEnrollmentPlatformRestrictionsConfiguration
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceEnrollmentPlatformRestrictionsConfiguration
extends DeviceEnrollmentConfiguration
implements com.microsoft.kiota.serialization.Parsable
Default Device Enrollment Platform Restrictions Configuration that restricts the types of devices a user can enroll
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newDeviceEnrollmentPlatformRestrictionsConfigurationand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the androidRestriction property value.The deserialization information for the current modelGets the iosRestriction property value.Gets the macOSRestriction property value.Gets the windowsMobileRestriction property value.Gets the windowsRestriction property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidSets the androidRestriction property value.voidSets the iosRestriction property value.voidSets the macOSRestriction property value.voidSets the windowsMobileRestriction property value.voidSets the windowsRestriction property value.Methods inherited from class com.microsoft.graph.models.DeviceEnrollmentConfiguration
getAssignments, getCreatedDateTime, getDescription, getDisplayName, getLastModifiedDateTime, getPriority, getVersion, setAssignments, setCreatedDateTime, setDescription, setDisplayName, setLastModifiedDateTime, setPriority, setVersionMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DeviceEnrollmentPlatformRestrictionsConfiguration
public DeviceEnrollmentPlatformRestrictionsConfiguration()Instantiates a newDeviceEnrollmentPlatformRestrictionsConfigurationand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceEnrollmentPlatformRestrictionsConfiguration createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
DeviceEnrollmentPlatformRestrictionsConfiguration
-
getAndroidRestriction
Gets the androidRestriction property value. Android restrictions based on platform, platform operating system version, and device ownership- Returns:
- a
DeviceEnrollmentPlatformRestriction
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classDeviceEnrollmentConfiguration- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIosRestriction
Gets the iosRestriction property value. Ios restrictions based on platform, platform operating system version, and device ownership- Returns:
- a
DeviceEnrollmentPlatformRestriction
-
getMacOSRestriction
Gets the macOSRestriction property value. Mac restrictions based on platform, platform operating system version, and device ownership- Returns:
- a
DeviceEnrollmentPlatformRestriction
-
getWindowsMobileRestriction
Gets the windowsMobileRestriction property value. Windows mobile restrictions based on platform, platform operating system version, and device ownership- Returns:
- a
DeviceEnrollmentPlatformRestriction
-
getWindowsRestriction
Gets the windowsRestriction property value. Windows restrictions based on platform, platform operating system version, and device ownership- Returns:
- a
DeviceEnrollmentPlatformRestriction
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classDeviceEnrollmentConfiguration- Parameters:
writer- Serialization writer to use to serialize this model
-
setAndroidRestriction
Sets the androidRestriction property value. Android restrictions based on platform, platform operating system version, and device ownership- Parameters:
value- Value to set for the androidRestriction property.
-
setIosRestriction
Sets the iosRestriction property value. Ios restrictions based on platform, platform operating system version, and device ownership- Parameters:
value- Value to set for the iosRestriction property.
-
setMacOSRestriction
Sets the macOSRestriction property value. Mac restrictions based on platform, platform operating system version, and device ownership- Parameters:
value- Value to set for the macOSRestriction property.
-
setWindowsMobileRestriction
Sets the windowsMobileRestriction property value. Windows mobile restrictions based on platform, platform operating system version, and device ownership- Parameters:
value- Value to set for the windowsMobileRestriction property.
-
setWindowsRestriction
Sets the windowsRestriction property value. Windows restrictions based on platform, platform operating system version, and device ownership- Parameters:
value- Value to set for the windowsRestriction property.
-