public class ClientBwListEntryDTO extends Object implements JsonSerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ClientBwListEntryDTO.Type |
| Modifier and Type | Field and Description |
|---|---|
ClientBwListEntryDTO.Type |
type |
String |
value |
| Constructor and Description |
|---|
ClientBwListEntryDTO() |
ClientBwListEntryDTO(ClientBwListEntryDTO.Type type,
String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(JsonObject json)
Extracts the state from the given
json object and mutates the
state of this object. |
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject. |
public ClientBwListEntryDTO.Type type
public String value
public ClientBwListEntryDTO()
public ClientBwListEntryDTO(ClientBwListEntryDTO.Type type, String value)
public JsonObject toJson()
JsonSerializableJsonObject.toJson in interface JsonSerializablepublic void fromJson(JsonObject json)
JsonSerializablejson object and mutates the
state of this object.fromJson in interface JsonSerializablejson - the JSON object carrying state for this objectCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.