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()
JsonSerializable
JsonObject
.toJson
in interface JsonSerializable
public void fromJson(JsonObject json)
JsonSerializable
json
object and mutates the
state of this object.fromJson
in interface JsonSerializable
json
- the JSON object carrying state for this objectCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.