Package org.alfresco.rest.model
Class RestTagModel
- java.lang.Object
-
- org.alfresco.utility.model.TestModel
-
- org.alfresco.utility.model.TagModel
-
- org.alfresco.rest.model.RestTagModel
-
- All Implemented Interfaces:
IModelAssertion<RestTagModel>,IRestModel<RestTagModel>,org.alfresco.utility.model.Model
public class RestTagModel extends org.alfresco.utility.model.TagModel implements IRestModel<RestTagModel>
Handles single Tag Entry JSON response "entry": { "tag":"addedtag-c7444-1474370805346" "id":"f45c4d06-f4df-42d7-a118-29121557d284" }- Author:
- Corina Nechifor
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Integercount
-
Constructor Summary
Constructors Constructor Description RestTagModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelAssertion<RestTagModel>and()DSL for assertion on this rest modelRestTagModelassertResponseIsNotEmpty()ModelAssertion<RestTagModel>assertThat()DSL for assertion on this rest modeljava.lang.IntegergetCount()RestTagModelonModel()voidsetCount(java.lang.Integer count)
-
-
-
Method Detail
-
onModel
public RestTagModel onModel()
- Specified by:
onModelin interfaceIRestModel<RestTagModel>
-
assertResponseIsNotEmpty
public RestTagModel assertResponseIsNotEmpty()
-
and
public ModelAssertion<RestTagModel> and()
DSL for assertion on this rest model- Specified by:
andin interfaceIModelAssertion<RestTagModel>- Returns:
-
assertThat
public ModelAssertion<RestTagModel> assertThat()
DSL for assertion on this rest model- Specified by:
assertThatin interfaceIModelAssertion<RestTagModel>- Returns:
-
getCount
public java.lang.Integer getCount()
-
setCount
public void setCount(java.lang.Integer count)
-
-