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
  • Constructor Details

  • 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

      @Nullable public DeviceEnrollmentPlatformRestriction 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class DeviceEnrollmentConfiguration
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIosRestriction

      @Nullable public DeviceEnrollmentPlatformRestriction getIosRestriction()
      Gets the iosRestriction property value. Ios restrictions based on platform, platform operating system version, and device ownership
      Returns:
      a DeviceEnrollmentPlatformRestriction
    • getMacOSRestriction

      @Nullable public DeviceEnrollmentPlatformRestriction getMacOSRestriction()
      Gets the macOSRestriction property value. Mac restrictions based on platform, platform operating system version, and device ownership
      Returns:
      a DeviceEnrollmentPlatformRestriction
    • getWindowsMobileRestriction

      @Nullable public DeviceEnrollmentPlatformRestriction getWindowsMobileRestriction()
      Gets the windowsMobileRestriction property value. Windows mobile restrictions based on platform, platform operating system version, and device ownership
      Returns:
      a DeviceEnrollmentPlatformRestriction
    • getWindowsRestriction

      @Nullable public 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class DeviceEnrollmentConfiguration
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAndroidRestriction

      public void setAndroidRestriction(@Nullable DeviceEnrollmentPlatformRestriction value)
      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

      public void setIosRestriction(@Nullable DeviceEnrollmentPlatformRestriction value)
      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

      public void setMacOSRestriction(@Nullable DeviceEnrollmentPlatformRestriction value)
      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

      public void setWindowsMobileRestriction(@Nullable DeviceEnrollmentPlatformRestriction value)
      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

      public void setWindowsRestriction(@Nullable DeviceEnrollmentPlatformRestriction value)
      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.