@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class ScoreDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ScoreDetails.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_EVIDENCE |
static String |
SERIALIZED_NAME_SCORE |
static String |
SERIALIZED_NAME_SCORER |
static String |
SERIALIZED_NAME_WEIGHT |
| Constructor and Description |
|---|
ScoreDetails() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ScoreDetails |
evidence(Map<String,Object> evidence) |
static ScoreDetails |
fromJson(String jsonString)
Create an instance of ScoreDetails given an JSON string
|
Map<String,Object> |
getEvidence()
Get evidence
|
Double |
getScore()
Get score
|
String |
getScorer()
Get scorer
|
Double |
getWeight()
Get weight
|
int |
hashCode() |
ScoreDetails |
putEvidenceItem(String key,
Object evidenceItem) |
ScoreDetails |
score(Double score) |
ScoreDetails |
scorer(String scorer) |
void |
setEvidence(Map<String,Object> evidence) |
void |
setScore(Double score) |
void |
setScorer(String scorer) |
void |
setWeight(Double weight) |
String |
toJson()
Convert an instance of ScoreDetails to an JSON string
|
String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
ScoreDetails |
weight(Double weight) |
public static final String SERIALIZED_NAME_SCORER
public static final String SERIALIZED_NAME_SCORE
public static final String SERIALIZED_NAME_EVIDENCE
public static final String SERIALIZED_NAME_WEIGHT
public ScoreDetails scorer(String scorer)
public void setScorer(String scorer)
public ScoreDetails score(Double score)
public void setScore(Double score)
public ScoreDetails evidence(Map<String,Object> evidence)
public ScoreDetails putEvidenceItem(String key, Object evidenceItem)
public ScoreDetails weight(Double weight)
public void setWeight(Double weight)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
jsonElement - JSON ElementIOException - if the JSON Element is invalid with respect to ScoreDetailspublic static ScoreDetails fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ScoreDetailspublic String toJson()
Copyright © 2024. All rights reserved.