/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.urls.content.documentlists;
import com.mozu.api.MozuUrl;
import com.mozu.api.utils.UrlFormatter;
import org.joda.time.DateTime;
public class FacetUrl
{
/**
* Get Resource Url for GetFacets
* @param documentListName Name of content documentListName to delete
* @param propertyName The property name associated with the facets to retrieve.
* @return String Resource Url
*/
public static MozuUrl getFacetsUrl(String documentListName, String propertyName)
{
UrlFormatter formatter = new UrlFormatter("/api/content/documentlists/{documentListName}/facets/{propertyName}");
formatter.formatUrl("documentListName", documentListName);
formatter.formatUrl("propertyName", propertyName);
return new MozuUrl(formatter.getResourceUrl(), MozuUrl.UrlLocation.TENANT_POD) ;
}
}