/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Push settings for the App.
*/
public class PushSettingsInner {
/**
* Gets or sets a flag indicating whether the Push endpoint is enabled.
*/
@JsonProperty(value = "isPushEnabled", required = true)
private boolean isPushEnabled;
/**
* Gets or sets a JSON string containing a list of tags that are
* whitelisted for use by the push registration endpoint.
*/
@JsonProperty(value = "tagWhitelistJson")
private String tagWhitelistJson;
/**
* 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.
*/
@JsonProperty(value = "tagsRequiringAuth")
private String tagsRequiringAuth;
/**
* Gets or sets a JSON string containing a list of dynamic tags that will
* be evaluated from user claims in the push registration endpoint.
*/
@JsonProperty(value = "dynamicTagsJson")
private String dynamicTagsJson;
/**
* Get the isPushEnabled value.
*
* @return the isPushEnabled value
*/
public boolean isPushEnabled() {
return this.isPushEnabled;
}
/**
* Set the isPushEnabled value.
*
* @param isPushEnabled the isPushEnabled value to set
* @return the PushSettingsInner object itself.
*/
public PushSettingsInner withIsPushEnabled(boolean isPushEnabled) {
this.isPushEnabled = isPushEnabled;
return this;
}
/**
* Get the tagWhitelistJson value.
*
* @return the tagWhitelistJson value
*/
public String tagWhitelistJson() {
return this.tagWhitelistJson;
}
/**
* Set the tagWhitelistJson value.
*
* @param tagWhitelistJson the tagWhitelistJson value to set
* @return the PushSettingsInner object itself.
*/
public PushSettingsInner withTagWhitelistJson(String tagWhitelistJson) {
this.tagWhitelistJson = tagWhitelistJson;
return this;
}
/**
* Get the tagsRequiringAuth value.
*
* @return the tagsRequiringAuth value
*/
public String tagsRequiringAuth() {
return this.tagsRequiringAuth;
}
/**
* Set the tagsRequiringAuth value.
*
* @param tagsRequiringAuth the tagsRequiringAuth value to set
* @return the PushSettingsInner object itself.
*/
public PushSettingsInner withTagsRequiringAuth(String tagsRequiringAuth) {
this.tagsRequiringAuth = tagsRequiringAuth;
return this;
}
/**
* Get the dynamicTagsJson value.
*
* @return the dynamicTagsJson value
*/
public String dynamicTagsJson() {
return this.dynamicTagsJson;
}
/**
* Set the dynamicTagsJson value.
*
* @param dynamicTagsJson the dynamicTagsJson value to set
* @return the PushSettingsInner object itself.
*/
public PushSettingsInner withDynamicTagsJson(String dynamicTagsJson) {
this.dynamicTagsJson = dynamicTagsJson;
return this;
}
}