@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class InboxRulesetTestResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InboxRulesetTestResult.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_MATCHES |
static String |
SERIALIZED_NAME_RULESET_MATCHES |
Constructor and Description |
---|
InboxRulesetTestResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static InboxRulesetTestResult |
fromJson(String jsonString)
Create an instance of InboxRulesetTestResult given an JSON string
|
Boolean |
getMatches()
Get matches
|
Map<String,Boolean> |
getRulesetMatches()
Map of inbox ruleset ID to boolean of if target matches
|
int |
hashCode() |
InboxRulesetTestResult |
matches(Boolean matches) |
InboxRulesetTestResult |
putRulesetMatchesItem(String key,
Boolean rulesetMatchesItem) |
InboxRulesetTestResult |
rulesetMatches(Map<String,Boolean> rulesetMatches) |
void |
setMatches(Boolean matches) |
void |
setRulesetMatches(Map<String,Boolean> rulesetMatches) |
String |
toJson()
Convert an instance of InboxRulesetTestResult to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_RULESET_MATCHES
public static final String SERIALIZED_NAME_MATCHES
public InboxRulesetTestResult rulesetMatches(Map<String,Boolean> rulesetMatches)
public InboxRulesetTestResult putRulesetMatchesItem(String key, Boolean rulesetMatchesItem)
@Nonnull public Map<String,Boolean> getRulesetMatches()
public InboxRulesetTestResult matches(Boolean matches)
public void setMatches(Boolean matches)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to InboxRulesetTestResultpublic static InboxRulesetTestResult fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to InboxRulesetTestResultpublic String toJson()
Copyright © 2023. All rights reserved.