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 (billableOutcome != null) 'billableOutcome': billableOutcome!,
      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 (name != null) 'name': name!,
      if (pacing != null) 'pacing': pacing!,
      if (partnerCosts != null) 'partnerCosts': partnerCosts!,
      if (performanceGoal != null) 'performanceGoal': performanceGoal!,
      if (reservationType != null) 'reservationType': reservationType!,
      if (updateTime != null) 'updateTime': updateTime!,
    };