Package org.alfresco.rest.model
Class RestItemModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestItemModel
- All Implemented Interfaces:
IModelAssertion<RestItemModel>,IRestModel<RestItemModel>,org.alfresco.utility.model.Model
public class RestItemModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestItemModel>
"entry": { "createdAt": "2016-10-13T11:21:34.621+0000", "size": 19, "createdBy": "admin", "modifiedAt": "2016-10-13T11:21:38.338+0000", "name": "file-yCQFYpLniWAzkcR.txt", "modifiedBy": "User-cchKFZoNIAfZXXn", "id": "ffb7178f-fc11-41c9-8c40-df6523ad917f", "mimeType": "text/plain" }
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()intgetSize()onModel()voidsetCreatedAt(String createdAt) voidsetCreatedBy(String createdBy) voidvoidsetMimeType(String mimeType) voidsetModifiedAt(String modifiedAt) voidsetModifiedBy(String modifiedBy) voidvoidsetSize(int size) 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
-
RestItemModel
public RestItemModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestItemModel>
-
getCreatedAt
-
setCreatedAt
-
getSize
public int getSize() -
setSize
public void setSize(int size) -
getCreatedBy
-
setCreatedBy
-
getName
-
setName
-
getModifiedBy
-
setModifiedBy
-
getId
-
setId
-
getMimeType
-
setMimeType
-
getModifiedAt
-
setModifiedAt
-