public class SetScoresRequest extends Message<AutopilotOuterClass.SetScoresRequest>
Message
,
AutopilotOuterClass.SetScoresRequest
Modifier and Type | Class and Description |
---|---|
static class |
SetScoresRequest.ScoresEntries
Wrapping class used for conversion between Map and XML notation.
|
static class |
SetScoresRequest.ScoresEntry
Inner class ScoresEntry for class SetScoresRequest.
|
Modifier and Type | Field and Description |
---|---|
protected SetScoresRequest.ScoresEntries |
scoresEntries |
builder, wrapperFactory
Constructor and Description |
---|
SetScoresRequest()
Empty Constructor
|
SetScoresRequest(AutopilotOuterClass.SetScoresRequest apiObject)
Constructor using underlying Lightning API Object
|
SetScoresRequest(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeuristic()
Getter for heuristic.
|
java.util.Map<java.lang.String,java.lang.Double> |
getScoresAsDetachedMap()
Returns scores as a detached map.
|
SetScoresRequest.ScoresEntries |
getScoresEntries()
Gets the map entries as a wrapped list, used for XML conversion.
|
protected void |
populateRepeatedFields()
Method to be overrided by inherited messages that contains repeatable or mapped fields.
|
void |
setHeuristic(java.lang.String value)
Setter for heuristic.
|
void |
setScores(java.util.Map<java.lang.String,java.lang.Double> valueMap)
Populates scores with all the values in the map.
|
void |
setScoresEntries(SetScoresRequest.ScoresEntries entries)
Sets a wrapped list of entries, used for XML conversion.
|
equals, getApiObject, getMessageName, hashCode, toJson, toJsonAsString, toString, validate
protected SetScoresRequest.ScoresEntries scoresEntries
public SetScoresRequest()
public SetScoresRequest(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public SetScoresRequest(AutopilotOuterClass.SetScoresRequest apiObject)
public java.lang.String getHeuristic()
public void setHeuristic(java.lang.String value)
public java.util.Map<java.lang.String,java.lang.Double> getScoresAsDetachedMap()
public void setScores(java.util.Map<java.lang.String,java.lang.Double> valueMap)
public SetScoresRequest.ScoresEntries getScoresEntries()
public void setScoresEntries(SetScoresRequest.ScoresEntries entries)
protected void populateRepeatedFields()
Message
populateRepeatedFields
in class Message<AutopilotOuterClass.SetScoresRequest>