Class Schema
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.schemas.Schema
-
- All Implemented Interfaces:
ErrorableResponse
public class Schema extends Object implements ErrorableResponse
-
-
Constructor Summary
Constructors Constructor Description Schema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<String>getErrors()FieldTypegetField(String fieldName)Set<String>getFieldNames()inthashCode()booleanisError()Gets whether this response contains any errors from the requested operationvoidsetErrors(List<String> errors)SchemasetField(String fieldName, FieldType fieldType)StringtoString()
-
-
-
Method Detail
-
isError
public boolean isError()
Description copied from interface:ErrorableResponseGets whether this response contains any errors from the requested operation- Specified by:
isErrorin interfaceErrorableResponse- Returns:
- true if 1 or more errors occurred, otherwise false
-
-