GoogleCloudApigeeV1RevisionStatus.fromJson constructor

GoogleCloudApigeeV1RevisionStatus.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1RevisionStatus.fromJson(core.Map json_)
    : this(
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => GoogleCloudApigeeV1UpdateError.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        jsonSpec: json_.containsKey('jsonSpec')
            ? json_['jsonSpec'] as core.String
            : null,
        replicas: json_.containsKey('replicas')
            ? json_['replicas'] as core.int
            : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
      );