GoogleCloudApigeeV1AsyncQuery.fromJson constructor

GoogleCloudApigeeV1AsyncQuery.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1AsyncQuery.fromJson(core.Map json_)
    : this(
        created: json_.containsKey('created')
            ? json_['created'] as core.String
            : null,
        envgroupHostname: json_.containsKey('envgroupHostname')
            ? json_['envgroupHostname'] as core.String
            : null,
        error:
            json_.containsKey('error') ? json_['error'] as core.String : null,
        executionTime: json_.containsKey('executionTime')
            ? json_['executionTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        queryParams: json_.containsKey('queryParams')
            ? GoogleCloudApigeeV1QueryMetadata.fromJson(
                json_['queryParams'] as core.Map<core.String, core.dynamic>)
            : null,
        reportDefinitionId: json_.containsKey('reportDefinitionId')
            ? json_['reportDefinitionId'] as core.String
            : null,
        result: json_.containsKey('result')
            ? GoogleCloudApigeeV1AsyncQueryResult.fromJson(
                json_['result'] as core.Map<core.String, core.dynamic>)
            : null,
        resultFileSize: json_.containsKey('resultFileSize')
            ? json_['resultFileSize'] as core.String
            : null,
        resultRows: json_.containsKey('resultRows')
            ? json_['resultRows'] as core.String
            : null,
        self: json_.containsKey('self') ? json_['self'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        updated: json_.containsKey('updated')
            ? json_['updated'] as core.String
            : null,
      );