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, 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
-
RestSiteModel
public RestSiteModel()
-
-
Method Details
-
getPreset
-
setPreset
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestSiteModel>
-
getRole
-
setRole
-