Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Countries Blocked For Minors.The Legal Age Group Rule.the OData type of the object as returned by the service -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
countriesBlockedForMinors
@SerializedName(value="countriesBlockedForMinors", alternate="CountriesBlockedForMinors") @Expose @Nullable public List<String> countriesBlockedForMinorsThe 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 legalAgeGroupRuleThe 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 interfacecom.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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-