你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphParentalControlSettings Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphParentalControlSettings
- com.
Implements
public final class MicrosoftGraphParentalControlSettings
implements JsonSerializable<MicrosoftGraphParentalControlSettings>
parentalControlSettings.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphParentalControlSettings() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
List<String> |
countriesBlockedForMinors()
Get the countries |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
legalAgeGroupRule()
Get the legal |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withCountriesBlockedForMinors(List<String> countriesBlockedForMinors)
Set the countries |
Microsoft |
withLegalAgeGroupRule(String legalAgeGroupRule)
Set the legal |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphParentalControlSettings
public MicrosoftGraphParentalControlSettings()
Creates an instance of MicrosoftGraphParentalControlSettings class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: parentalControlSettings.
Returns:
countriesBlockedForMinors
public List
Get the countriesBlockedForMinors property: Specifies the two-letter ISO country codes. Access to the application will be blocked for minors from the countries specified in this list.
Returns:
fromJson
public static MicrosoftGraphParentalControlSettings fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphParentalControlSettings from the JsonReader.
Parameters:
Returns:
Throws:
legalAgeGroupRule
public String legalAgeGroupRule()
Get the legalAgeGroupRule property: 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.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphParentalControlSettings withAdditionalProperties(Map
Set the additionalProperties property: parentalControlSettings.
Parameters:
Returns:
withCountriesBlockedForMinors
public MicrosoftGraphParentalControlSettings withCountriesBlockedForMinors(List
Set the countriesBlockedForMinors property: Specifies the two-letter ISO country codes. Access to the application will be blocked for minors from the countries specified in this list.
Parameters:
Returns:
withLegalAgeGroupRule
public MicrosoftGraphParentalControlSettings withLegalAgeGroupRule(String legalAgeGroupRule)
Set the legalAgeGroupRule property: 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.
Parameters:
Returns: