Package org.alfresco.rest.model
Class RestVariableModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestVariableModel
- All Implemented Interfaces:
IModelAssertion<RestVariableModel>,IRestModel<RestVariableModel>,org.alfresco.utility.model.Model
public class RestVariableModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestVariableModel>
Handles a single Variable JSON response
Example:
{
"scope": "string",
"name": "string",
"value": 0,
"type": "string"
}
- Author:
- Cristina Axinte
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()static RestVariableModelgetRandomTaskVariableModel(String scope, String type) getScope()getType()getValue()onModel()voidvoidvoidvoidMethods 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
-
RestVariableModel
public RestVariableModel() -
RestVariableModel
-
-
Method Details
-
getScope
-
setScope
-
getName
-
setName
-
getValue
-
setValue
-
getType
-
setType
-
getRandomTaskVariableModel
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestVariableModel>
-