Package org.alfresco.rest.model
Class RestSiteEntry
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestSiteEntry
- All Implemented Interfaces:
IModelAssertion<RestSiteEntry>,IRestModel<RestSiteEntry>,org.alfresco.utility.model.Model
public class RestSiteEntry
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestSiteEntry>
Handles Site Entry in Site Membership Information response
"entry": /{
"site": {
"id": "string",
"guid": "string",
"title": "string",
"description": "string",
"visibility": "PRIVATE",
"role": "SiteConsumer"
},
"id": "string",
"guid": "string",
"role": "SiteConsumer"
}
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toString
-
Constructor Details
-
RestSiteEntry
public RestSiteEntry()
-
-
Method Details
-
onSite
-
getRole
-
setRole
-
getGuid
-
setGuid
-
getId
-
setId
-
assertThat
DSL for assertion on this rest model- Specified by:
assertThatin interfaceIModelAssertion<RestSiteEntry>- Returns:
-
and
- Specified by:
andin interfaceIModelAssertion<RestSiteEntry>
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestSiteEntry>
-