GoogleCloudApigeeV1ResourceStatus.fromJson constructor

GoogleCloudApigeeV1ResourceStatus.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1ResourceStatus.fromJson(core.Map json_)
    : this(
        resource: json_.containsKey('resource')
            ? json_['resource'] as core.String
            : null,
        revisions: json_.containsKey('revisions')
            ? (json_['revisions'] as core.List)
                .map((value) => GoogleCloudApigeeV1RevisionStatus.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        totalReplicas: json_.containsKey('totalReplicas')
            ? json_['totalReplicas'] as core.int
            : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
      );