public class VncBasicInfo extends QApiType
QApiTypeDescriptor{name=VncBasicInfo, data={host=str, service=str, family=NetworkAddressFamily, websocket=bool}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
NetworkAddressFamily |
family |
String |
host |
String |
service |
boolean |
websocket |
Constructor and Description |
---|
VncBasicInfo() |
VncBasicInfo(String host,
String service,
NetworkAddressFamily family,
boolean websocket) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
VncBasicInfo |
withFamily(NetworkAddressFamily value) |
VncBasicInfo |
withHost(String value) |
VncBasicInfo |
withService(String value) |
VncBasicInfo |
withWebsocket(boolean value) |
toString
@Nonnull public NetworkAddressFamily family
public VncBasicInfo()
public VncBasicInfo(String host, String service, NetworkAddressFamily family, boolean websocket)
@Nonnull public VncBasicInfo withHost(String value)
@Nonnull public VncBasicInfo withService(String value)
@Nonnull public VncBasicInfo withFamily(NetworkAddressFamily value)
@Nonnull public VncBasicInfo withWebsocket(boolean value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException