Class LinuxNetwork
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxNetwork
@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 LinuxNetwork
extends Object
LinuxNetwork identification and priority configuration
-
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<@Valid LinuxInterfacePriority>Set priority of network traffic for containerinthashCode()priorities(List<@Valid LinuxInterfacePriority> priorities) voidsetClassID(Integer classID) voidsetPriorities(List<@Valid LinuxInterfacePriority> priorities) toJson()Convert an instance of LinuxNetwork 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_CLASS_I_D
- See Also:
-
SERIALIZED_NAME_PRIORITIES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LinuxNetwork
public LinuxNetwork()
-
-
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 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
-
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
-
toJson
Convert an instance of LinuxNetwork to an JSON string- Returns:
- JSON string
-