GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal.fromJson constructor

GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal.fromJson(
  1. Map _json
)

Implementation

GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal.fromJson(
    core.Map _json)
    : this(
        adsPersonalizationEnabled:
            _json.containsKey('adsPersonalizationEnabled')
                ? _json['adsPersonalizationEnabled'] as core.bool
                : null,
        advertiserDisplayName: _json.containsKey('advertiserDisplayName')
            ? _json['advertiserDisplayName'] as core.String
            : null,
        advertiserId: _json.containsKey('advertiserId')
            ? _json['advertiserId'] as core.String
            : null,
        campaignDataSharingEnabled:
            _json.containsKey('campaignDataSharingEnabled')
                ? _json['campaignDataSharingEnabled'] as core.bool
                : null,
        costDataSharingEnabled: _json.containsKey('costDataSharingEnabled')
            ? _json['costDataSharingEnabled'] as core.bool
            : null,
        linkProposalStatusDetails: _json
                .containsKey('linkProposalStatusDetails')
            ? GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails.fromJson(
                _json['linkProposalStatusDetails']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        validationEmail: _json.containsKey('validationEmail')
            ? _json['validationEmail'] as core.String
            : null,
      );