Class LinuxNetwork
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxNetwork
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LinuxNetwork
extends Object
implements Serializable
LinuxNetwork identification and priority configuration
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPrioritiesItem(LinuxInterfacePriority prioritiesItem) booleanstatic LinuxNetworkCreate an instance of LinuxNetwork given an JSON stringSet class identifier for container's network packets@Valid List<LinuxInterfacePriority>Set priority of network traffic for containerinthashCode()priorities(List<LinuxInterfacePriority> priorities) voidsetClassID(Integer classID) voidsetPriorities(List<LinuxInterfacePriority> priorities) toJson()Convert an instance of LinuxNetwork to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CLASS_I_D
- See Also:
-
SERIALIZED_NAME_PRIORITIES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LinuxNetwork
public LinuxNetwork()
-
-
Method Details
-
classID
-
getClassID
Set class identifier for container's network packets- Returns:
- classID
-
setClassID
-
priorities
-
addPrioritiesItem
-
getPriorities
Set priority of network traffic for container- Returns:
- priorities
-
setPriorities
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to LinuxNetwork
-
fromJson
Create an instance of LinuxNetwork given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LinuxNetwork
- Throws:
IOException- if the JSON string is invalid with respect to LinuxNetwork
-
toJson
Convert an instance of LinuxNetwork to an JSON string- Returns:
- JSON string
-