GoogleAnalyticsAdminV1betaRunAccessReportRequest.fromJson constructor

GoogleAnalyticsAdminV1betaRunAccessReportRequest.fromJson(
  1. Map json_
)

Implementation

GoogleAnalyticsAdminV1betaRunAccessReportRequest.fromJson(core.Map json_)
    : this(
        dateRanges: json_.containsKey('dateRanges')
            ? (json_['dateRanges'] as core.List)
                .map((value) =>
                    GoogleAnalyticsAdminV1betaAccessDateRange.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        dimensionFilter: json_.containsKey('dimensionFilter')
            ? GoogleAnalyticsAdminV1betaAccessFilterExpression.fromJson(
                json_['dimensionFilter']
                    as core.Map<core.String, core.dynamic>)
            : null,
        dimensions: json_.containsKey('dimensions')
            ? (json_['dimensions'] as core.List)
                .map((value) =>
                    GoogleAnalyticsAdminV1betaAccessDimension.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        expandGroups: json_.containsKey('expandGroups')
            ? json_['expandGroups'] as core.bool
            : null,
        includeAllUsers: json_.containsKey('includeAllUsers')
            ? json_['includeAllUsers'] as core.bool
            : null,
        limit:
            json_.containsKey('limit') ? json_['limit'] as core.String : null,
        metricFilter: json_.containsKey('metricFilter')
            ? GoogleAnalyticsAdminV1betaAccessFilterExpression.fromJson(
                json_['metricFilter'] as core.Map<core.String, core.dynamic>)
            : null,
        metrics: json_.containsKey('metrics')
            ? (json_['metrics'] as core.List)
                .map((value) =>
                    GoogleAnalyticsAdminV1betaAccessMetric.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        offset: json_.containsKey('offset')
            ? json_['offset'] as core.String
            : null,
        orderBys: json_.containsKey('orderBys')
            ? (json_['orderBys'] as core.List)
                .map((value) =>
                    GoogleAnalyticsAdminV1betaAccessOrderBy.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        returnEntityQuota: json_.containsKey('returnEntityQuota')
            ? json_['returnEntityQuota'] as core.bool
            : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
      );