-
@JsonClass(generateAdapter = true) public final class RequestSortDefinitionInner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumRequestSortDefinitionInner.TypeEnumHow to order - using a field, when position of the document in the index, score/relevence. Values: FIELD, DOCUMENT, SCORE
-
Constructor Summary
Constructors Constructor Description RequestSortDefinitionInner(RequestSortDefinitionInner.TypeEnum type, String field, Boolean ascending)
-
Method Summary
Modifier and Type Method Description final RequestSortDefinitionInner.TypeEnumgetType()final UnitsetType(@Json(name = type) RequestSortDefinitionInner.TypeEnum type)final StringgetField()final UnitsetField(@Json(name = field) String field)final BooleangetAscending()final UnitsetAscending(@Json(name = ascending) Boolean ascending)-
-
Constructor Detail
-
RequestSortDefinitionInner
RequestSortDefinitionInner(RequestSortDefinitionInner.TypeEnum type, String field, Boolean ascending)
-
-
Method Detail
-
getType
final RequestSortDefinitionInner.TypeEnum getType()
-
setType
final Unit setType(@Json(name = type) RequestSortDefinitionInner.TypeEnum type)
-
getAscending
final Boolean getAscending()
-
setAscending
final Unit setAscending(@Json(name = ascending) Boolean ascending)
-
-
-
-