Package org.alfresco.rest.search
Class FacetFieldBucket
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.search.FacetFieldBucket
- All Implemented Interfaces:
IModelAssertion<FacetFieldBucket>,IRestModel<FacetFieldBucket>,org.alfresco.utility.model.Model
public class FacetFieldBucket
extends org.alfresco.utility.model.TestModel
implements IRestModel<FacetFieldBucket>
Pojo to represent facet field bucket response.
{"count":1,"label":"small"},
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCount()getLabel()onModel()voidsetCount(int count) voidsetDisplay(String display) voidsetFilterQuery(String filterQuery) voidMethods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.rest.core.assertion.IModelAssertion
and, assertThat
-
Constructor Details
-
FacetFieldBucket
public FacetFieldBucket()
-
-
Method Details
-
getLabel
-
setLabel
-
getDisplay
-
setDisplay
-
getCount
public int getCount() -
setCount
public void setCount(int count) -
getFilterQuery
-
setFilterQuery
-
onModel
- Specified by:
onModelin interfaceIRestModel<FacetFieldBucket>
-