Package org.alfresco.rest.model.body
Class RestNodeLockBodyModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.body.RestNodeLockBodyModel
- All Implemented Interfaces:
IModelAssertion<RestNodeLockBodyModel>,IRestModel<RestNodeLockBodyModel>,org.alfresco.utility.model.Model
public class RestNodeLockBodyModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestNodeLockBodyModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetType()onModel()voidsetLifetime(String lifetime) voidsetTimeToExpire(int timeToExpire) voidMethods 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
-
RestNodeLockBodyModel
public RestNodeLockBodyModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestNodeLockBodyModel>
-
getLifetime
-
setLifetime
-
getTimeToExpire
public int getTimeToExpire() -
setTimeToExpire
public void setTimeToExpire(int timeToExpire) -
getType
-
setType
-