GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource.fromJson constructor

GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource.fromJson(
    core.Map _json)
    : this(
        account: _json.containsKey('account')
            ? GoogleAnalyticsAdminV1alphaAccount.fromJson(
                _json['account'] as core.Map<core.String, core.dynamic>)
            : null,
        androidAppDataStream: _json.containsKey('androidAppDataStream')
            ? GoogleAnalyticsAdminV1alphaAndroidAppDataStream.fromJson(
                _json['androidAppDataStream']
                    as core.Map<core.String, core.dynamic>)
            : null,
        conversionEvent: _json.containsKey('conversionEvent')
            ? GoogleAnalyticsAdminV1alphaConversionEvent.fromJson(
                _json['conversionEvent']
                    as core.Map<core.String, core.dynamic>)
            : null,
        customDimension: _json.containsKey('customDimension')
            ? GoogleAnalyticsAdminV1alphaCustomDimension.fromJson(
                _json['customDimension']
                    as core.Map<core.String, core.dynamic>)
            : null,
        customMetric: _json.containsKey('customMetric')
            ? GoogleAnalyticsAdminV1alphaCustomMetric.fromJson(
                _json['customMetric'] as core.Map<core.String, core.dynamic>)
            : null,
        dataRetentionSettings: _json.containsKey('dataRetentionSettings')
            ? GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson(
                _json['dataRetentionSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
        displayVideo360AdvertiserLink:
            _json.containsKey('displayVideo360AdvertiserLink')
                ? GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
                    .fromJson(_json['displayVideo360AdvertiserLink']
                        as core.Map<core.String, core.dynamic>)
                : null,
        displayVideo360AdvertiserLinkProposal: _json
                .containsKey('displayVideo360AdvertiserLinkProposal')
            ? GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal
                .fromJson(_json['displayVideo360AdvertiserLinkProposal']
                    as core.Map<core.String, core.dynamic>)
            : null,
        firebaseLink: _json.containsKey('firebaseLink')
            ? GoogleAnalyticsAdminV1alphaFirebaseLink.fromJson(
                _json['firebaseLink'] as core.Map<core.String, core.dynamic>)
            : null,
        googleAdsLink: _json.containsKey('googleAdsLink')
            ? GoogleAnalyticsAdminV1alphaGoogleAdsLink.fromJson(
                _json['googleAdsLink'] as core.Map<core.String, core.dynamic>)
            : null,
        googleSignalsSettings: _json.containsKey('googleSignalsSettings')
            ? GoogleAnalyticsAdminV1alphaGoogleSignalsSettings.fromJson(
                _json['googleSignalsSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
        iosAppDataStream: _json.containsKey('iosAppDataStream')
            ? GoogleAnalyticsAdminV1alphaIosAppDataStream.fromJson(
                _json['iosAppDataStream']
                    as core.Map<core.String, core.dynamic>)
            : null,
        measurementProtocolSecret: _json
                .containsKey('measurementProtocolSecret')
            ? GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.fromJson(
                _json['measurementProtocolSecret']
                    as core.Map<core.String, core.dynamic>)
            : null,
        property: _json.containsKey('property')
            ? GoogleAnalyticsAdminV1alphaProperty.fromJson(
                _json['property'] as core.Map<core.String, core.dynamic>)
            : null,
        webDataStream: _json.containsKey('webDataStream')
            ? GoogleAnalyticsAdminV1alphaWebDataStream.fromJson(
                _json['webDataStream'] as core.Map<core.String, core.dynamic>)
            : null,
      );