Package org.alfresco.rest.model
Class RestSiteGroupModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestSiteGroupModel
- All Implemented Interfaces:
IModelAssertion<RestSiteGroupModel>,IRestModel<RestSiteGroupModel>,org.alfresco.utility.model.Model
public class RestSiteGroupModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestSiteGroupModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassertSiteGroupHasRole(org.alfresco.utility.constants.UserRole role) getGroup()getId()org.alfresco.utility.constants.UserRolegetRole()onModel()voidsetGroup(RestGroupsModel group) voidvoidsetRole(org.alfresco.utility.constants.UserRole role) 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
-
RestSiteGroupModel
public RestSiteGroupModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestSiteGroupModel>
-
getRole
public org.alfresco.utility.constants.UserRole getRole() -
setRole
public void setRole(org.alfresco.utility.constants.UserRole role) -
getId
-
setId
-
getGroup
-
setGroup
-
assertSiteGroupHasRole
-