Class ParentalControlSettings

java.lang.Object
com.microsoft.graph.models.ParentalControlSettings
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class ParentalControlSettings extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Parental Control Settings.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • countriesBlockedForMinors

      @SerializedName(value="countriesBlockedForMinors", alternate="CountriesBlockedForMinors") @Expose @Nullable public List<String> countriesBlockedForMinors
      The Countries Blocked For Minors. Specifies the two-letter ISO country codes. Access to the application will be blocked for minors from the countries specified in this list.
    • legalAgeGroupRule

      @SerializedName(value="legalAgeGroupRule", alternate="LegalAgeGroupRule") @Expose @Nullable public String legalAgeGroupRule
      The Legal Age Group Rule. Specifies the legal age group rule that applies to users of the app. Can be set to one of the following values: ValueDescriptionAllowDefault. Enforces the legal minimum. This means parental consent is required for minors in the European Union and Korea.RequireConsentForPrivacyServicesEnforces the user to specify date of birth to comply with COPPA rules. RequireConsentForMinorsRequires parental consent for ages below 18, regardless of country minor rules.RequireConsentForKidsRequires parental consent for ages below 14, regardless of country minor rules.BlockMinorsBlocks minors from using the app.
  • Constructor Details

    • ParentalControlSettings

      public ParentalControlSettings()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to