Package org.alfresco.rest.model
Class RestSiteModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.utility.model.SiteModel
org.alfresco.rest.model.RestSiteModel
- All Implemented Interfaces:
IModelAssertion<RestSiteModel>,IRestModel<RestSiteModel>,org.alfresco.utility.model.Model
public class RestSiteModel
extends org.alfresco.utility.model.SiteModel
implements IRestModel<RestSiteModel>
Handles single Site JSON responses
Example:
"visibility": "PUBLIC",
"guid": "79e140e1-5039-4efa-acaf-c22b5ba7c947",
"description": "Description1470255221170",
"id": "0-C2291-1470255221170",
"title": "0-C2291-1470255221170"
-
Field Summary
Fields inherited from class org.alfresco.utility.model.SiteModel
description, guid, id, title, visibility -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.alfresco.utility.model.SiteModel
getDescription, getGuid, getGuidWithoutVersion, getId, getRandomSiteModel, getTitle, getVisibility, setDescription, setGuid, setId, setTitle, setVisibilityMethods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toString
-
Constructor Details
-
RestSiteModel
public RestSiteModel()
-
-
Method Details
-
getPreset
-
setPreset
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestSiteModel>
-
getRole
-
setRole
-
assertThat
DSL for assertion on this rest model- Specified by:
assertThatin interfaceIModelAssertion<RestSiteModel>- Returns:
-
and
- Specified by:
andin interfaceIModelAssertion<RestSiteModel>
-