GoogleCloudContactcenterinsightsV1DateRangeConfig.fromJson constructor

GoogleCloudContactcenterinsightsV1DateRangeConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1DateRangeConfig.fromJson(core.Map json_)
  : this(
      absoluteDateRange: json_.containsKey('absoluteDateRange')
          ? GoogleCloudContactcenterinsightsV1QueryInterval.fromJson(
              json_['absoluteDateRange']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      relativeDateRange: json_.containsKey('relativeDateRange')
          ? GoogleCloudContactcenterinsightsV1DateRangeConfigRelativeDateRange.fromJson(
              json_['relativeDateRange']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );