RunAggregationQueryRequest.fromJson constructor

RunAggregationQueryRequest.fromJson(
  1. Map json_
)

Implementation

RunAggregationQueryRequest.fromJson(core.Map json_)
    : this(
        aggregationQuery: json_.containsKey('aggregationQuery')
            ? AggregationQuery.fromJson(json_['aggregationQuery']
                as core.Map<core.String, core.dynamic>)
            : null,
        databaseId: json_.containsKey('databaseId')
            ? json_['databaseId'] as core.String
            : null,
        explainOptions: json_.containsKey('explainOptions')
            ? ExplainOptions.fromJson(json_['explainOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        gqlQuery: json_.containsKey('gqlQuery')
            ? GqlQuery.fromJson(
                json_['gqlQuery'] as core.Map<core.String, core.dynamic>)
            : null,
        partitionId: json_.containsKey('partitionId')
            ? PartitionId.fromJson(
                json_['partitionId'] as core.Map<core.String, core.dynamic>)
            : null,
        readOptions: json_.containsKey('readOptions')
            ? ReadOptions.fromJson(
                json_['readOptions'] as core.Map<core.String, core.dynamic>)
            : null,
      );