public class NetworkPorts extends AbstractModel
header, skipSign
Constructor and Description |
---|
NetworkPorts() |
NetworkPorts(NetworkPorts source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getPort()
Get Port of the network policy
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getProtocol()
Get Protocol of the network policy
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPort(String Port)
Set Port of the network policy
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setProtocol(String Protocol)
Set Protocol of the network policy
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public NetworkPorts()
public NetworkPorts(NetworkPorts source)
public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Protocol of the network policy
Note: This field may return null, indicating that no valid values can be obtained.public String getPort()
public void setPort(String Port)
Port
- Port of the network policy
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.