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 (advertiserId != null) 'advertiserId': advertiserId!,
      if (advertiserIdDimensionValue != null)
        'advertiserIdDimensionValue': advertiserIdDimensionValue!,
      if (campaignId != null) 'campaignId': campaignId!,
      if (campaignIdDimensionValue != null)
        'campaignIdDimensionValue': campaignIdDimensionValue!,
      if (childPlacementIds != null) 'childPlacementIds': childPlacementIds!,
      if (comment != null) 'comment': comment!,
      if (contentCategoryId != null) 'contentCategoryId': contentCategoryId!,
      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 (kind != null) 'kind': kind!,
      if (lastModifiedInfo != null) 'lastModifiedInfo': lastModifiedInfo!,
      if (name != null) 'name': name!,
      if (placementGroupType != null)
        'placementGroupType': placementGroupType!,
      if (placementStrategyId != null)
        'placementStrategyId': placementStrategyId!,
      if (pricingSchedule != null) 'pricingSchedule': pricingSchedule!,
      if (primaryPlacementId != null)
        'primaryPlacementId': primaryPlacementId!,
      if (primaryPlacementIdDimensionValue != null)
        'primaryPlacementIdDimensionValue': primaryPlacementIdDimensionValue!,
      if (siteId != null) 'siteId': siteId!,
      if (siteIdDimensionValue != null)
        'siteIdDimensionValue': siteIdDimensionValue!,
      if (subaccountId != null) 'subaccountId': subaccountId!,
    };