toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (bidStrategy != null) 'bidStrategy': bidStrategy!,
      if (budget != null) 'budget': budget!,
      if (campaignId != null) 'campaignId': campaignId!,
      if (conversionCounting != null)
        'conversionCounting': conversionCounting!,
      if (creativeIds != null) 'creativeIds': creativeIds!,
      if (displayName != null) 'displayName': displayName!,
      if (entityStatus != null) 'entityStatus': entityStatus!,
      if (excludeNewExchanges != null)
        'excludeNewExchanges': excludeNewExchanges!,
      if (flight != null) 'flight': flight!,
      if (frequencyCap != null) 'frequencyCap': frequencyCap!,
      if (insertionOrderId != null) 'insertionOrderId': insertionOrderId!,
      if (integrationDetails != null)
        'integrationDetails': integrationDetails!,
      if (lineItemId != null) 'lineItemId': lineItemId!,
      if (lineItemType != null) 'lineItemType': lineItemType!,
      if (mobileApp != null) 'mobileApp': mobileApp!,
      if (name != null) 'name': name!,
      if (pacing != null) 'pacing': pacing!,
      if (partnerCosts != null) 'partnerCosts': partnerCosts!,
      if (partnerRevenueModel != null)
        'partnerRevenueModel': partnerRevenueModel!,
      if (reservationType != null) 'reservationType': reservationType!,
      if (targetingExpansion != null)
        'targetingExpansion': targetingExpansion!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (warningMessages != null) 'warningMessages': warningMessages!,
      if (youtubeAndPartnersSettings != null)
        'youtubeAndPartnersSettings': youtubeAndPartnersSettings!,
    };