Package ai.reveng.model
Class NetworkActivity
java.lang.Object
ai.reveng.model.NetworkActivity
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class NetworkActivity
extends Object
NetworkActivity
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConnectionsItem(Connection connectionsItem) addDnsQueriesItem(DnsQuery dnsQueriesItem) addExtractedUrlsItem(ExtractedURL extractedUrlsItem) addHttpRequestsItem(HttpRequest httpRequestsItem) connections(List<Connection> connections) dnsQueries(List<DnsQuery> dnsQueries) booleanextractedUrls(List<ExtractedURL> extractedUrls) static NetworkActivityCreate an instance of NetworkActivity given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get connectionsGet dnsQueriesGet extractedUrlsGet httpRequestsinthashCode()httpRequests(List<HttpRequest> httpRequests) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConnections(List<Connection> connections) voidsetDnsQueries(List<DnsQuery> dnsQueries) voidsetExtractedUrls(List<ExtractedURL> extractedUrls) voidsetHttpRequests(List<HttpRequest> httpRequests) toJson()Convert an instance of NetworkActivity 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_CONNECTIONS
- See Also:
-
SERIALIZED_NAME_DNS_QUERIES
- See Also:
-
SERIALIZED_NAME_EXTRACTED_URLS
- See Also:
-
SERIALIZED_NAME_HTTP_REQUESTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NetworkActivity
public NetworkActivity()
-
-
Method Details
-
connections
-
addConnectionsItem
-
getConnections
Get connections- Returns:
- connections
-
setConnections
-
dnsQueries
-
addDnsQueriesItem
-
getDnsQueries
Get dnsQueries- Returns:
- dnsQueries
-
setDnsQueries
-
extractedUrls
-
addExtractedUrlsItem
-
getExtractedUrls
Get extractedUrls- Returns:
- extractedUrls
-
setExtractedUrls
-
httpRequests
-
addHttpRequestsItem
-
getHttpRequests
Get httpRequests- Returns:
- httpRequests
-
setHttpRequests
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the NetworkActivity instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 NetworkActivity
-
fromJson
Create an instance of NetworkActivity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NetworkActivity
- Throws:
IOException- if the JSON string is invalid with respect to NetworkActivity
-
toJson
Convert an instance of NetworkActivity to an JSON string- Returns:
- JSON string
-