GoogleCloudContactcenterinsightsV1ConversationQualityMetadata.fromJson constructor

GoogleCloudContactcenterinsightsV1ConversationQualityMetadata.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1ConversationQualityMetadata.fromJson(
    core.Map json_)
    : this(
        agentInfo: json_.containsKey('agentInfo')
            ? (json_['agentInfo'] as core.List)
                .map((value) =>
                    GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        customerSatisfactionRating:
            json_.containsKey('customerSatisfactionRating')
                ? json_['customerSatisfactionRating'] as core.int
                : null,
        menuPath: json_.containsKey('menuPath')
            ? json_['menuPath'] as core.String
            : null,
        waitDuration: json_.containsKey('waitDuration')
            ? json_['waitDuration'] as core.String
            : null,
      );