RunQueryRequest.fromJson constructor

RunQueryRequest.fromJson(Map _json)

Implementation

RunQueryRequest.fromJson(core.Map _json) {
  if (_json.containsKey("gqlQuery")) {
    gqlQuery = new GqlQuery.fromJson(_json["gqlQuery"]);
  }
  if (_json.containsKey("partitionId")) {
    partitionId = new PartitionId.fromJson(_json["partitionId"]);
  }
  if (_json.containsKey("query")) {
    query = new Query.fromJson(_json["query"]);
  }
  if (_json.containsKey("readOptions")) {
    readOptions = new ReadOptions.fromJson(_json["readOptions"]);
  }
}