Package org.alfresco.rest.search
Class SpellCheckModel
- java.lang.Object
-
- org.alfresco.utility.model.TestModel
-
- org.alfresco.rest.search.SpellCheckModel
-
- All Implemented Interfaces:
IModelAssertion<SpellCheckModel>,IRestModel<SpellCheckModel>,org.alfresco.utility.model.Model
public class SpellCheckModel extends org.alfresco.utility.model.TestModel implements IRestModel<SpellCheckModel>
Object that represents the spell check model response.- Author:
- Michael Suzuki
-
-
Constructor Summary
Constructors Constructor Description SpellCheckModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelAssertion<SpellCheckModel>and()ModelAssertion<SpellCheckModel>assertThat()java.util.List<java.lang.String>getSuggestions()java.lang.StringgetType()SpellCheckModelonModel()voidsetSuggestions(java.util.List<java.lang.String> suggestions)voidsetType(java.lang.String type)
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getSuggestions
public java.util.List<java.lang.String> getSuggestions()
-
setSuggestions
public void setSuggestions(java.util.List<java.lang.String> suggestions)
-
and
public ModelAssertion<SpellCheckModel> and()
- Specified by:
andin interfaceIModelAssertion<SpellCheckModel>
-
assertThat
public ModelAssertion<SpellCheckModel> assertThat()
- Specified by:
assertThatin interfaceIModelAssertion<SpellCheckModel>
-
onModel
public SpellCheckModel onModel()
- Specified by:
onModelin interfaceIRestModel<SpellCheckModel>
-
-