PushSettingsInner Class

public final class PushSettingsInner
extends ProxyOnlyResource

Push settings for the App.

Constructor Summary

Constructor Description
PushSettingsInner()

Creates an instance of PushSettingsInner class.

Method Summary

Modifier and Type Method and Description
String dynamicTagsJson()

Get the dynamicTagsJson property: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.

Boolean isPushEnabled()

Get the isPushEnabled property: Gets or sets a flag indicating whether the Push endpoint is enabled.

String tagWhitelistJson()

Get the tagWhitelistJson property: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.

String tagsRequiringAuth()

Get the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.

void validate()

Validates the instance.

PushSettingsInner withDynamicTagsJson(String dynamicTagsJson)

Set the dynamicTagsJson property: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.

PushSettingsInner withIsPushEnabled(Boolean isPushEnabled)

Set the isPushEnabled property: Gets or sets a flag indicating whether the Push endpoint is enabled.

PushSettingsInner withKind(String kind)

Set the kind property: Kind of resource.

PushSettingsInner withTagWhitelistJson(String tagWhitelistJson)

Set the tagWhitelistJson property: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.

PushSettingsInner withTagsRequiringAuth(String tagsRequiringAuth)

Set the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.

Methods inherited from ProxyResource

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

PushSettingsInner

public PushSettingsInner()

Creates an instance of PushSettingsInner class.

Method Details

dynamicTagsJson

public String dynamicTagsJson()

Get the dynamicTagsJson property: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.

Returns:

the dynamicTagsJson value.

isPushEnabled

public Boolean isPushEnabled()

Get the isPushEnabled property: Gets or sets a flag indicating whether the Push endpoint is enabled.

Returns:

the isPushEnabled value.

tagWhitelistJson

public String tagWhitelistJson()

Get the tagWhitelistJson property: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.

Returns:

the tagWhitelistJson value.

tagsRequiringAuth

public String tagsRequiringAuth()

Get the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.

Returns:

the tagsRequiringAuth value.

validate

public void validate()

Validates the instance.

Overrides:

PushSettingsInner.validate()

withDynamicTagsJson

public PushSettingsInner withDynamicTagsJson(String dynamicTagsJson)

Set the dynamicTagsJson property: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.

Parameters:

dynamicTagsJson - the dynamicTagsJson value to set.

Returns:

the PushSettingsInner object itself.

withIsPushEnabled

public PushSettingsInner withIsPushEnabled(Boolean isPushEnabled)

Set the isPushEnabled property: Gets or sets a flag indicating whether the Push endpoint is enabled.

Parameters:

isPushEnabled - the isPushEnabled value to set.

Returns:

the PushSettingsInner object itself.

withKind

public PushSettingsInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

PushSettingsInner.withKind(String kind)

Parameters:

kind

withTagWhitelistJson

public PushSettingsInner withTagWhitelistJson(String tagWhitelistJson)

Set the tagWhitelistJson property: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.

Parameters:

tagWhitelistJson - the tagWhitelistJson value to set.

Returns:

the PushSettingsInner object itself.

withTagsRequiringAuth

public PushSettingsInner withTagsRequiringAuth(String tagsRequiringAuth)

Set the tagsRequiringAuth property: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.

Parameters:

tagsRequiringAuth - the tagsRequiringAuth value to set.

Returns:

the PushSettingsInner object itself.

Applies to