Class NetworkUpdateOptions
java.lang.Object
io.github.alersrt.pod4j.openapi.model.NetworkUpdateOptions
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class NetworkUpdateOptions
extends Object
NetworkUpdateOptions describes options to update a network
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAdddnsserversItem(String adddnsserversItem) adddnsservers(List<String> adddnsservers) addRemovednsserversItem(String removednsserversItem) booleanstatic NetworkUpdateOptionsCreate an instance of NetworkUpdateOptions given an JSON stringGet adddnsserversGet removednsserversinthashCode()removednsservers(List<String> removednsservers) voidsetAdddnsservers(List<String> adddnsservers) voidsetRemovednsservers(List<String> removednsservers) toJson()Convert an instance of NetworkUpdateOptions 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_ADDDNSSERVERS
- See Also:
-
SERIALIZED_NAME_REMOVEDNSSERVERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NetworkUpdateOptions
public NetworkUpdateOptions()
-
-
Method Details
-
adddnsservers
-
addAdddnsserversItem
-
getAdddnsservers
Get adddnsservers- Returns:
- adddnsservers
-
setAdddnsservers
-
removednsservers
-
addRemovednsserversItem
-
getRemovednsservers
Get removednsservers- Returns:
- removednsservers
-
setRemovednsservers
-
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 NetworkUpdateOptions
-
fromJson
Create an instance of NetworkUpdateOptions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NetworkUpdateOptions
- Throws:
IOException- if the JSON string is invalid with respect to NetworkUpdateOptions
-
toJson
Convert an instance of NetworkUpdateOptions to an JSON string- Returns:
- JSON string
-