Package org.alfresco.rest.model
Class RestPreferenceModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestPreferenceModel
- All Implemented Interfaces:
IModelAssertion<RestPreferenceModel>,IRestModel<RestPreferenceModel>,org.alfresco.utility.model.Model
public class RestPreferenceModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestPreferenceModel>
Handles Pagination JSON
Example:
{
"entry": {
"id": "org.alfresco.share.sites.favourites.site-lwdxYDQFIi",
"value": true
}
- Author:
- Cristina Axinte
-
Constructor Summary
Constructors -
Method Summary
Methods 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
-
RestPreferenceModel
public RestPreferenceModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestPreferenceModel>
-
getValue
-
setValue
-
getId
-
setId
-