toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (activeStatus != null) 'activeStatus': activeStatus!,
      if (adBlockingOptOut != null) 'adBlockingOptOut': adBlockingOptOut!,
      if (additionalSizes != null) 'additionalSizes': additionalSizes!,
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (advertiserIdDimensionValue != null)
        'advertiserIdDimensionValue': advertiserIdDimensionValue!,
      if (campaignId != null) 'campaignId': campaignId!,
      if (campaignIdDimensionValue != null)
        'campaignIdDimensionValue': campaignIdDimensionValue!,
      if (comment != null) 'comment': comment!,
      if (compatibility != null) 'compatibility': compatibility!,
      if (contentCategoryId != null) 'contentCategoryId': contentCategoryId!,
      if (conversionDomainOverride != null)
        'conversionDomainOverride': conversionDomainOverride!,
      if (createInfo != null) 'createInfo': createInfo!,
      if (directorySiteId != null) 'directorySiteId': directorySiteId!,
      if (directorySiteIdDimensionValue != null)
        'directorySiteIdDimensionValue': directorySiteIdDimensionValue!,
      if (externalId != null) 'externalId': externalId!,
      if (id != null) 'id': id!,
      if (idDimensionValue != null) 'idDimensionValue': idDimensionValue!,
      if (keyName != null) 'keyName': keyName!,
      if (kind != null) 'kind': kind!,
      if (lastModifiedInfo != null) 'lastModifiedInfo': lastModifiedInfo!,
      if (lookbackConfiguration != null)
        'lookbackConfiguration': lookbackConfiguration!,
      if (name != null) 'name': name!,
      if (partnerWrappingData != null)
        'partnerWrappingData': partnerWrappingData!,
      if (paymentApproved != null) 'paymentApproved': paymentApproved!,
      if (paymentSource != null) 'paymentSource': paymentSource!,
      if (placementGroupId != null) 'placementGroupId': placementGroupId!,
      if (placementGroupIdDimensionValue != null)
        'placementGroupIdDimensionValue': placementGroupIdDimensionValue!,
      if (placementStrategyId != null)
        'placementStrategyId': placementStrategyId!,
      if (pricingSchedule != null) 'pricingSchedule': pricingSchedule!,
      if (primary != null) 'primary': primary!,
      if (publisherUpdateInfo != null)
        'publisherUpdateInfo': publisherUpdateInfo!,
      if (siteId != null) 'siteId': siteId!,
      if (siteIdDimensionValue != null)
        'siteIdDimensionValue': siteIdDimensionValue!,
      if (size != null) 'size': size!,
      if (sslRequired != null) 'sslRequired': sslRequired!,
      if (status != null) 'status': status!,
      if (subaccountId != null) 'subaccountId': subaccountId!,
      if (tagFormats != null) 'tagFormats': tagFormats!,
      if (tagSetting != null) 'tagSetting': tagSetting!,
      if (videoActiveViewOptOut != null)
        'videoActiveViewOptOut': videoActiveViewOptOut!,
      if (videoSettings != null) 'videoSettings': videoSettings!,
      if (vpaidAdapterChoice != null)
        'vpaidAdapterChoice': vpaidAdapterChoice!,
      if (wrappingOptOut != null) 'wrappingOptOut': wrappingOptOut!,
    };