Class MacOSGeneralDeviceConfiguration

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class MacOSGeneralDeviceConfiguration extends DeviceConfiguration implements com.microsoft.kiota.serialization.Parsable
This topic provides descriptions of the declared methods, properties and relationships exposed by the macOSGeneralDeviceConfiguration resource.
  • Constructor Details

    • MacOSGeneralDeviceConfiguration

      public MacOSGeneralDeviceConfiguration()
      Instantiates a new MacOSGeneralDeviceConfiguration and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static MacOSGeneralDeviceConfiguration 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 MacOSGeneralDeviceConfiguration
    • getCompliantAppListType

      @Nullable public AppListType getCompliantAppListType()
      Gets the compliantAppListType property value. Possible values of the compliance app list.
      Returns:
      a AppListType
    • getCompliantAppsList

      @Nullable public List<AppListItem> getCompliantAppsList()
      Gets the compliantAppsList property value. List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.
      Returns:
      a List<AppListItem>
    • getEmailInDomainSuffixes

      @Nullable public List<String> getEmailInDomainSuffixes()
      Gets the emailInDomainSuffixes property value. An email address lacking a suffix that matches any of these strings will be considered out-of-domain.
      Returns:
      a List<String>
    • 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 DeviceConfiguration
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getPasswordBlockSimple

      @Nullable public Boolean getPasswordBlockSimple()
      Gets the passwordBlockSimple property value. Block simple passwords.
      Returns:
      a Boolean
    • getPasswordExpirationDays

      @Nullable public Integer getPasswordExpirationDays()
      Gets the passwordExpirationDays property value. Number of days before the password expires.
      Returns:
      a Integer
    • getPasswordMinimumCharacterSetCount

      @Nullable public Integer getPasswordMinimumCharacterSetCount()
      Gets the passwordMinimumCharacterSetCount property value. Number of character sets a password must contain. Valid values 0 to 4
      Returns:
      a Integer
    • getPasswordMinimumLength

      @Nullable public Integer getPasswordMinimumLength()
      Gets the passwordMinimumLength property value. Minimum length of passwords.
      Returns:
      a Integer
    • getPasswordMinutesOfInactivityBeforeLock

      @Nullable public Integer getPasswordMinutesOfInactivityBeforeLock()
      Gets the passwordMinutesOfInactivityBeforeLock property value. Minutes of inactivity required before a password is required.
      Returns:
      a Integer
    • getPasswordMinutesOfInactivityBeforeScreenTimeout

      @Nullable public Integer getPasswordMinutesOfInactivityBeforeScreenTimeout()
      Gets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity required before the screen times out.
      Returns:
      a Integer
    • getPasswordPreviousPasswordBlockCount

      @Nullable public Integer getPasswordPreviousPasswordBlockCount()
      Gets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block.
      Returns:
      a Integer
    • getPasswordRequired

      @Nullable public Boolean getPasswordRequired()
      Gets the passwordRequired property value. Whether or not to require a password.
      Returns:
      a Boolean
    • getPasswordRequiredType

      @Nullable public RequiredPasswordType getPasswordRequiredType()
      Gets the passwordRequiredType property value. Possible values of required passwords.
      Returns:
      a RequiredPasswordType
    • 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 DeviceConfiguration
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCompliantAppListType

      public void setCompliantAppListType(@Nullable AppListType value)
      Sets the compliantAppListType property value. Possible values of the compliance app list.
      Parameters:
      value - Value to set for the compliantAppListType property.
    • setCompliantAppsList

      public void setCompliantAppsList(@Nullable List<AppListItem> value)
      Sets the compliantAppsList property value. List of apps in the compliance (either allow list or block list, controlled by CompliantAppListType). This collection can contain a maximum of 10000 elements.
      Parameters:
      value - Value to set for the compliantAppsList property.
    • setEmailInDomainSuffixes

      public void setEmailInDomainSuffixes(@Nullable List<String> value)
      Sets the emailInDomainSuffixes property value. An email address lacking a suffix that matches any of these strings will be considered out-of-domain.
      Parameters:
      value - Value to set for the emailInDomainSuffixes property.
    • setPasswordBlockSimple

      public void setPasswordBlockSimple(@Nullable Boolean value)
      Sets the passwordBlockSimple property value. Block simple passwords.
      Parameters:
      value - Value to set for the passwordBlockSimple property.
    • setPasswordExpirationDays

      public void setPasswordExpirationDays(@Nullable Integer value)
      Sets the passwordExpirationDays property value. Number of days before the password expires.
      Parameters:
      value - Value to set for the passwordExpirationDays property.
    • setPasswordMinimumCharacterSetCount

      public void setPasswordMinimumCharacterSetCount(@Nullable Integer value)
      Sets the passwordMinimumCharacterSetCount property value. Number of character sets a password must contain. Valid values 0 to 4
      Parameters:
      value - Value to set for the passwordMinimumCharacterSetCount property.
    • setPasswordMinimumLength

      public void setPasswordMinimumLength(@Nullable Integer value)
      Sets the passwordMinimumLength property value. Minimum length of passwords.
      Parameters:
      value - Value to set for the passwordMinimumLength property.
    • setPasswordMinutesOfInactivityBeforeLock

      public void setPasswordMinutesOfInactivityBeforeLock(@Nullable Integer value)
      Sets the passwordMinutesOfInactivityBeforeLock property value. Minutes of inactivity required before a password is required.
      Parameters:
      value - Value to set for the passwordMinutesOfInactivityBeforeLock property.
    • setPasswordMinutesOfInactivityBeforeScreenTimeout

      public void setPasswordMinutesOfInactivityBeforeScreenTimeout(@Nullable Integer value)
      Sets the passwordMinutesOfInactivityBeforeScreenTimeout property value. Minutes of inactivity required before the screen times out.
      Parameters:
      value - Value to set for the passwordMinutesOfInactivityBeforeScreenTimeout property.
    • setPasswordPreviousPasswordBlockCount

      public void setPasswordPreviousPasswordBlockCount(@Nullable Integer value)
      Sets the passwordPreviousPasswordBlockCount property value. Number of previous passwords to block.
      Parameters:
      value - Value to set for the passwordPreviousPasswordBlockCount property.
    • setPasswordRequired

      public void setPasswordRequired(@Nullable Boolean value)
      Sets the passwordRequired property value. Whether or not to require a password.
      Parameters:
      value - Value to set for the passwordRequired property.
    • setPasswordRequiredType

      public void setPasswordRequiredType(@Nullable RequiredPasswordType value)
      Sets the passwordRequiredType property value. Possible values of required passwords.
      Parameters:
      value - Value to set for the passwordRequiredType property.