GoogleCloudDatacatalogV1beta1Taxonomy.fromJson constructor

GoogleCloudDatacatalogV1beta1Taxonomy.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatacatalogV1beta1Taxonomy.fromJson(core.Map _json)
    : this(
        activatedPolicyTypes: _json.containsKey('activatedPolicyTypes')
            ? (_json['activatedPolicyTypes'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        description: _json.containsKey('description')
            ? _json['description'] as core.String
            : null,
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        policyTagCount: _json.containsKey('policyTagCount')
            ? _json['policyTagCount'] as core.int
            : null,
        taxonomyTimestamps: _json.containsKey('taxonomyTimestamps')
            ? GoogleCloudDatacatalogV1beta1SystemTimestamps.fromJson(
                _json['taxonomyTimestamps']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );