public class NetworkPeer extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| NetworkPeer() | 
| NetworkPeer(NetworkPeer 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 | getIPBlock()Get IP selector
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getNamespaceSelector()Get Namespace selector
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getPeerType()Get Object type:
Namespace: `NamespaceSelector`, which indicates that `NamespaceSelector` has a value. | 
| String | getPodSelector()Get Pod selector
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setIPBlock(String IPBlock)Set IP selector
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setNamespaceSelector(String NamespaceSelector)Set Namespace selector
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setPeerType(String PeerType)Set Object type:
Namespace: `NamespaceSelector`, which indicates that `NamespaceSelector` has a value. | 
| void | setPodSelector(String PodSelector)Set Pod selector
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, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic NetworkPeer()
public NetworkPeer(NetworkPeer source)
public String getPeerType()
public void setPeerType(String PeerType)
PeerType - Object type:
Namespace: `NamespaceSelector`, which indicates that `NamespaceSelector` has a value.
Pod type: `PodSelector`, which indicates that both `NamespaceSelector` and `PodSelector` have values.
IP type: `IPBlock`, which indicates that only `IPBlock` has a value.public String getNamespaceSelector()
public void setNamespaceSelector(String NamespaceSelector)
NamespaceSelector - Namespace selector
Note: This field may return null, indicating that no valid values can be obtained.public String getPodSelector()
public void setPodSelector(String PodSelector)
PodSelector - Pod selector
Note: This field may return null, indicating that no valid values can be obtained.public String getIPBlock()
public void setIPBlock(String IPBlock)
IPBlock - IP selector
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.