com.microsoft.azure.documentdb.ExcludedPath Maven / Gradle / Ivy
package com.microsoft.azure.documentdb;
import org.json.JSONObject;
import com.microsoft.azure.documentdb.internal.Constants;
/**
* Represents an excluded path of the IndexingPolicy in the Azure Cosmos DB database service.
*/
public class ExcludedPath extends JsonSerializable {
/**
* Constructor.
*/
public ExcludedPath() {
super();
}
/**
* Constructor.
*
* @param jsonString the json string that represents the excluded path.
*/
public ExcludedPath(String jsonString) {
super(jsonString);
}
/**
* Constructor.
*
* @param jsonObject the json object that represents the excluded path.
*/
public ExcludedPath(JSONObject jsonObject) {
super(jsonObject);
}
/**
* Gets path.
*
* @return the path.
*/
public String getPath() {
return super.getString(Constants.Properties.PATH);
}
/**
* Sets path.
*
* @param path the path.
*/
public void setPath(String path) {
super.set(Constants.Properties.PATH, path);
}
}