GoogleCloudContactcenterinsightsV1IssueModel.fromJson constructor

GoogleCloudContactcenterinsightsV1IssueModel.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1IssueModel.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        inputDataConfig: json_.containsKey('inputDataConfig')
            ? GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig
                .fromJson(json_['inputDataConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        issueCount: json_.containsKey('issueCount')
            ? json_['issueCount'] as core.String
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        modelType: json_.containsKey('modelType')
            ? json_['modelType'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        trainingStats: json_.containsKey('trainingStats')
            ? GoogleCloudContactcenterinsightsV1IssueModelLabelStats.fromJson(
                json_['trainingStats'] as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );