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 Constructor Description RestSiteEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelAssertion<RestSiteEntry>and()ModelAssertion<RestSiteEntry>assertThat()DSL for assertion on this rest modeljava.lang.StringgetGuid()java.lang.StringgetId()java.lang.StringgetRole()RestSiteEntryonModel()RestSiteModelonSite()voidsetGuid(java.lang.String guid)voidsetId(java.lang.String id)voidsetRole(java.lang.String role)
-
-
-
Method Detail
-
onSite
public RestSiteModel onSite()
-
getRole
public java.lang.String getRole()
-
setRole
public void setRole(java.lang.String role)
-
getGuid
public java.lang.String getGuid()
-
setGuid
public void setGuid(java.lang.String guid)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
assertThat
public ModelAssertion<RestSiteEntry> assertThat()
DSL for assertion on this rest model- Specified by:
assertThatin interfaceIModelAssertion<RestSiteEntry>- Returns:
-
and
public ModelAssertion<RestSiteEntry> and()
- Specified by:
andin interfaceIModelAssertion<RestSiteEntry>
-
onModel
public RestSiteEntry onModel()
- Specified by:
onModelin interfaceIRestModel<RestSiteEntry>
-
-