GoogleCloudContactcenterinsightsV1PhraseMatcher.fromJson constructor

GoogleCloudContactcenterinsightsV1PhraseMatcher.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1PhraseMatcher.fromJson(core.Map json_)
    : this(
        activationUpdateTime: json_.containsKey('activationUpdateTime')
            ? json_['activationUpdateTime'] as core.String
            : null,
        active:
            json_.containsKey('active') ? json_['active'] as core.bool : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        phraseMatchRuleGroups: json_.containsKey('phraseMatchRuleGroups')
            ? (json_['phraseMatchRuleGroups'] as core.List)
                .map((value) =>
                    GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        revisionCreateTime: json_.containsKey('revisionCreateTime')
            ? json_['revisionCreateTime'] as core.String
            : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
        roleMatch: json_.containsKey('roleMatch')
            ? json_['roleMatch'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        versionTag: json_.containsKey('versionTag')
            ? json_['versionTag'] as core.String
            : null,
      );