Class EndpointResource
java.lang.Object
io.github.alersrt.pod4j.openapi.model.EndpointResource
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class EndpointResource
extends Object
implements Serializable
EndpointResource contains network resources allocated and used for a container in a network.
- See Also:
-
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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
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 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
-