Class NetworkInfo
java.lang.Object
io.github.alersrt.pod4j.openapi.model.NetworkInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class NetworkInfo
extends Object
NetworkInfo
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondns(DNSNetworkInfo dns) booleanstatic NetworkInfoCreate an instance of NetworkInfo given an JSON stringGet backend@Valid DNSNetworkInfogetDns()Get dnsGet _packagegetPath()Get pathGet versioninthashCode()voidsetBackend(String backend) voidsetDns(DNSNetworkInfo dns) voidsetPackage(String _package) voidvoidsetVersion(String version) toJson()Convert an instance of NetworkInfo 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_BACKEND
- See Also:
-
SERIALIZED_NAME_DNS
- See Also:
-
SERIALIZED_NAME_PACKAGE
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NetworkInfo
public NetworkInfo()
-
-
Method Details
-
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 NetworkInfo
-
fromJson
Create an instance of NetworkInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NetworkInfo
- Throws:
IOException- if the JSON string is invalid with respect to NetworkInfo
-
backend
-
getBackend
Get backend- Returns:
- backend
-
setBackend
-
dns
-
getDns
Get dns- Returns:
- dns
-
setDns
-
_package
-
getPackage
Get _package- Returns:
- _package
-
setPackage
-
path
-
getPath
Get path- Returns:
- path
-
setPath
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of NetworkInfo to an JSON string- Returns:
- JSON string
-