@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class EmailAnalysis extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EmailAnalysis.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DKIM_VERDICT |
static String |
SERIALIZED_NAME_DMARC_VERDICT |
static String |
SERIALIZED_NAME_SPAM_VERDICT |
static String |
SERIALIZED_NAME_SPF_VERDICT |
static String |
SERIALIZED_NAME_VIRUS_VERDICT |
Constructor and Description |
---|
EmailAnalysis() |
Modifier and Type | Method and Description |
---|---|
EmailAnalysis |
dkimVerdict(String dkimVerdict) |
EmailAnalysis |
dmarcVerdict(String dmarcVerdict) |
boolean |
equals(Object o) |
static EmailAnalysis |
fromJson(String jsonString)
Create an instance of EmailAnalysis given an JSON string
|
String |
getDkimVerdict()
Verdict of DomainKeys Identified Mail analysis
|
String |
getDmarcVerdict()
Verdict of Domain-based Message Authentication Reporting and Conformance analysis
|
String |
getSpamVerdict()
Verdict of spam ranking analysis
|
String |
getSpfVerdict()
Verdict of Send Policy Framework record spoofing analysis
|
String |
getVirusVerdict()
Verdict of virus scan analysis
|
int |
hashCode() |
void |
setDkimVerdict(String dkimVerdict) |
void |
setDmarcVerdict(String dmarcVerdict) |
void |
setSpamVerdict(String spamVerdict) |
void |
setSpfVerdict(String spfVerdict) |
void |
setVirusVerdict(String virusVerdict) |
EmailAnalysis |
spamVerdict(String spamVerdict) |
EmailAnalysis |
spfVerdict(String spfVerdict) |
String |
toJson()
Convert an instance of EmailAnalysis 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
|
EmailAnalysis |
virusVerdict(String virusVerdict) |
public static final String SERIALIZED_NAME_SPAM_VERDICT
public static final String SERIALIZED_NAME_VIRUS_VERDICT
public static final String SERIALIZED_NAME_SPF_VERDICT
public static final String SERIALIZED_NAME_DKIM_VERDICT
public static final String SERIALIZED_NAME_DMARC_VERDICT
public EmailAnalysis spamVerdict(String spamVerdict)
@Nullable public String getSpamVerdict()
public void setSpamVerdict(String spamVerdict)
public EmailAnalysis virusVerdict(String virusVerdict)
@Nullable public String getVirusVerdict()
public void setVirusVerdict(String virusVerdict)
public EmailAnalysis spfVerdict(String spfVerdict)
@Nullable public String getSpfVerdict()
public void setSpfVerdict(String spfVerdict)
public EmailAnalysis dkimVerdict(String dkimVerdict)
@Nullable public String getDkimVerdict()
public void setDkimVerdict(String dkimVerdict)
public EmailAnalysis dmarcVerdict(String dmarcVerdict)
@Nullable public String getDmarcVerdict()
public void setDmarcVerdict(String dmarcVerdict)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to EmailAnalysispublic static EmailAnalysis fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to EmailAnalysispublic String toJson()
Copyright © 2023. All rights reserved.