GoogleCloudApigeeV1ListApiDocsResponse.fromJson constructor

GoogleCloudApigeeV1ListApiDocsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1ListApiDocsResponse.fromJson(core.Map json_)
    : this(
        data: json_.containsKey('data')
            ? (json_['data'] as core.List)
                .map((value) => GoogleCloudApigeeV1ApiDoc.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        errorCode: json_.containsKey('errorCode')
            ? json_['errorCode'] as core.String
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );