GoogleCloudContactcenterinsightsV1ConversationQualityMetadata.fromJson constructor

GoogleCloudContactcenterinsightsV1ConversationQualityMetadata.fromJson(
  1. Map json_
)

Implementation

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