GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest.fromJson constructor

GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest.fromJson(
  core.Map json_,
) : this(
      agentPerformanceSource:
          json_.containsKey('agentPerformanceSource')
              ? GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource.fromJson(
                json_['agentPerformanceSource']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      comparisonQueryInterval:
          json_.containsKey('comparisonQueryInterval')
              ? GoogleCloudContactcenterinsightsV1QueryInterval.fromJson(
                json_['comparisonQueryInterval']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      filter: json_['filter'] as core.String?,
      queryInterval:
          json_.containsKey('queryInterval')
              ? GoogleCloudContactcenterinsightsV1QueryInterval.fromJson(
                json_['queryInterval'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );