public class RockerSwitch extends QApiType
QApiTypeDescriptor{name=RockerSwitch, data={name=str, id=uint64, ports=uint32}, innerTypes=null}
Constructor and Description |
---|
RockerSwitch() |
RockerSwitch(String name,
long id,
long ports) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
RockerSwitch |
withId(long value) |
RockerSwitch |
withName(String value) |
RockerSwitch |
withPorts(long value) |
toString
public RockerSwitch()
public RockerSwitch(String name, long id, long ports)
@Nonnull public RockerSwitch withName(String value)
@Nonnull public RockerSwitch withId(long value)
@Nonnull public RockerSwitch withPorts(long value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException