Class EndpointResource
java.lang.Object
io.github.alersrt.pod4j.openapi.model.EndpointResource
@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 EndpointResource
extends Object
EndpointResource contains network resources allocated and used for a container in a network.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendpointID(String endpointID) booleanstatic EndpointResourceCreate an instance of EndpointResource given an JSON stringGet endpointIDGet ipv4AddressGet ipv6AddressGet macAddressgetName()Get nameinthashCode()ipv4Address(String ipv4Address) ipv6Address(String ipv6Address) macAddress(String macAddress) voidsetEndpointID(String endpointID) voidsetIpv4Address(String ipv4Address) voidsetIpv6Address(String ipv6Address) voidsetMacAddress(String macAddress) voidtoJson()Convert an instance of EndpointResource 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_ENDPOINT_I_D
- See Also:
-
SERIALIZED_NAME_IPV4_ADDRESS
- See Also:
-
SERIALIZED_NAME_IPV6_ADDRESS
- See Also:
-
SERIALIZED_NAME_MAC_ADDRESS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
EndpointResource
public EndpointResource()
-
-
Method Details
-
endpointID
-
getEndpointID
Get endpointID- Returns:
- endpointID
-
setEndpointID
-
ipv4Address
-
getIpv4Address
Get ipv4Address- Returns:
- ipv4Address
-
setIpv4Address
-
ipv6Address
-
getIpv6Address
Get ipv6Address- Returns:
- ipv6Address
-
setIpv6Address
-
macAddress
-
getMacAddress
Get macAddress- Returns:
- macAddress
-
setMacAddress
-
name
-
getName
Get name- Returns:
- name
-
setName
-
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 EndpointResource
-
fromJson
Create an instance of EndpointResource given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EndpointResource
- Throws:
IOException- if the JSON string is invalid with respect to EndpointResource
-
toJson
Convert an instance of EndpointResource to an JSON string- Returns:
- JSON string
-