Class LinuxInterfacePriority
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxInterfacePriority
@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 LinuxInterfacePriority
extends Object
LinuxInterfacePriority for network interfaces
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LinuxInterfacePriorityCreate an instance of LinuxInterfacePriority given an JSON stringgetName()Name is the name of the network interfacePriority for the interfaceinthashCode()voidvoidsetPriority(Integer priority) toJson()Convert an instance of LinuxInterfacePriority 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_NAME
- See Also:
-
SERIALIZED_NAME_PRIORITY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LinuxInterfacePriority
public LinuxInterfacePriority()
-
-
Method Details
-
name
-
getName
Name is the name of the network interface- Returns:
- name
-
setName
-
priority
-
getPriority
Priority for the interface- Returns:
- priority
-
setPriority
-
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 LinuxInterfacePriority
-
fromJson
Create an instance of LinuxInterfacePriority given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LinuxInterfacePriority
- Throws:
IOException- if the JSON string is invalid with respect to LinuxInterfacePriority
-
toJson
Convert an instance of LinuxInterfacePriority to an JSON string- Returns:
- JSON string
-