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 (displayName != null) 'displayName': displayName!,
      if (entityStatus != null) 'entityStatus': entityStatus!,
      if (frequencyCap != null) 'frequencyCap': frequencyCap!,
      if (insertionOrderId != null) 'insertionOrderId': insertionOrderId!,
      if (insertionOrderType != null)
        'insertionOrderType': insertionOrderType!,
      if (integrationDetails != null)
        'integrationDetails': integrationDetails!,
      if (kpi != null) 'kpi': kpi!,
      if (name != null) 'name': name!,
      if (pacing != null) 'pacing': pacing!,
      if (partnerCosts != null) 'partnerCosts': partnerCosts!,
      if (reservationType != null) 'reservationType': reservationType!,
      if (updateTime != null) 'updateTime': updateTime!,
    };