@Generated(value="org.jsonschema2pojo") public class EndpointPort extends Object
Constructor and Description |
---|
EndpointPort()
No args constructor for use in serialization
|
EndpointPort(String name,
Integer port,
String protocol) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getName()
name of this port
|
Integer |
getPort()
port number of the endpoint
|
String |
getProtocol()
protocol for this port; must be UDP or TCP; TCP if unspecified
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setName(String name)
name of this port
|
void |
setPort(Integer port)
port number of the endpoint
|
void |
setProtocol(String protocol)
protocol for this port; must be UDP or TCP; TCP if unspecified
|
public String getName()
public void setName(String name)
name
- The namepublic Integer getPort()
public void setPort(Integer port)
port
- The portpublic String getProtocol()
public void setProtocol(String protocol)
protocol
- The protocolCopyright © 2011–2015 Red Hat. All rights reserved.