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 Constructor Description RestSiteGroupModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelAssertion<RestSiteGroupModel>and()RestSiteGroupModelassertSiteGroupHasRole(org.alfresco.utility.constants.UserRole role)ModelAssertion<RestSiteGroupModel>assertThat()DSL for assertion on this rest modelRestGroupsModelgetGroup()java.lang.StringgetId()org.alfresco.utility.constants.UserRolegetRole()RestSiteGroupModelonModel()voidsetGroup(RestGroupsModel group)voidsetId(java.lang.String id)voidsetRole(org.alfresco.utility.constants.UserRole role)
-
-
-
Method Detail
-
onModel
public RestSiteGroupModel 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
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getGroup
public RestGroupsModel getGroup()
-
setGroup
public void setGroup(RestGroupsModel group)
-
assertSiteGroupHasRole
public RestSiteGroupModel assertSiteGroupHasRole(org.alfresco.utility.constants.UserRole role)
-
assertThat
public ModelAssertion<RestSiteGroupModel> assertThat()
DSL for assertion on this rest model- Specified by:
assertThatin interfaceIModelAssertion<RestSiteGroupModel>- Returns:
-
and
public ModelAssertion<RestSiteGroupModel> and()
- Specified by:
andin interfaceIModelAssertion<RestSiteGroupModel>
-
-