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 TypeMethodDescriptionand()assertSiteGroupHasRole(org.alfresco.utility.constants.UserRole role) DSL for assertion on this rest modelgetGroup()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, toString
-
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
-
assertThat
DSL for assertion on this rest model- Specified by:
assertThatin interfaceIModelAssertion<RestSiteGroupModel>- Returns:
-
and
- Specified by:
andin interfaceIModelAssertion<RestSiteGroupModel>
-