public class SearchHit extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchHit.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
_id |
protected Integer |
_score |
protected String |
_sortField |
protected Entity |
_source |
protected String |
_summary |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
SearchHit() |
| Modifier and Type | Method and Description |
|---|---|
static SearchHit.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
get_id() |
Optional<Integer> |
get_score() |
Optional<String> |
get_sortField() |
Optional<Entity> |
get_source() |
Optional<String> |
get_summary() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
SearchHit |
with_id(String _id) |
SearchHit |
with_score(Integer _score) |
SearchHit |
with_sortField(String _sortField) |
SearchHit |
with_source(Entity _source) |
SearchHit |
with_summary(String _summary) |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String _id
protected Integer _score
protected String _sortField
protected String _summary
protected Entity _source
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static SearchHit.Builder builder()
Copyright © 2018–2020. All rights reserved.