Package ai.reveng.model
Class DnsQuery
java.lang.Object
ai.reveng.model.DnsQuery
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class DnsQuery
extends Object
DnsQuery
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCnameChainItem(String cnameChainItem) addEventsItem(ReportEvent eventsItem) addResolvedIpsItem(String resolvedIpsItem) cnameChain(List<String> cnameChain) booleanevents(List<ReportEvent> events) static DnsQueryCreate an instance of DnsQuery given an JSON stringGet cnameChainGet domainGet eventsGet minTtlGet resolvedIpsinthashCode()resolvedIps(List<String> resolvedIps) voidsetCnameChain(List<String> cnameChain) voidvoidsetEvents(List<ReportEvent> events) voidvoidsetResolvedIps(List<String> resolvedIps) toJson()Convert an instance of DnsQuery to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CNAME_CHAIN
- See Also:
-
SERIALIZED_NAME_DOMAIN
- See Also:
-
SERIALIZED_NAME_EVENTS
- See Also:
-
SERIALIZED_NAME_MIN_TTL
- See Also:
-
SERIALIZED_NAME_RESOLVED_IPS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DnsQuery
public DnsQuery()
-
-
Method Details
-
cnameChain
-
addCnameChainItem
-
getCnameChain
Get cnameChain- Returns:
- cnameChain
-
setCnameChain
-
domain
-
getDomain
Get domain- Returns:
- domain
-
setDomain
-
events
-
addEventsItem
-
getEvents
Get events- Returns:
- events
-
setEvents
-
minTtl
-
getMinTtl
Get minTtl- Returns:
- minTtl
-
setMinTtl
-
resolvedIps
-
addResolvedIpsItem
-
getResolvedIps
Get resolvedIps- Returns:
- resolvedIps
-
setResolvedIps
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to DnsQuery
-
fromJson
Create an instance of DnsQuery given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DnsQuery
- Throws:
IOException- if the JSON string is invalid with respect to DnsQuery
-
toJson
Convert an instance of DnsQuery to an JSON string- Returns:
- JSON string
-