toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accountId != null) 'accountId': accountId!,
if (adChoicesDestinationUrl != null)
'adChoicesDestinationUrl': adChoicesDestinationUrl!,
if (adTechnologyProviders != null)
'adTechnologyProviders': adTechnologyProviders!.toJson(),
if (advertiserName != null) 'advertiserName': advertiserName!,
if (agencyId != null) 'agencyId': agencyId!,
if (apiUpdateTime != null) 'apiUpdateTime': apiUpdateTime!,
if (attributes != null) 'attributes': attributes!,
if (clickThroughUrls != null) 'clickThroughUrls': clickThroughUrls!,
if (corrections != null)
'corrections': corrections!.map((value) => value.toJson()).toList(),
if (creativeId != null) 'creativeId': creativeId!,
if (dealsStatus != null) 'dealsStatus': dealsStatus!,
if (declaredClickThroughUrls != null)
'declaredClickThroughUrls': declaredClickThroughUrls!,
if (detectedAdvertiserIds != null)
'detectedAdvertiserIds': detectedAdvertiserIds!,
if (detectedDomains != null) 'detectedDomains': detectedDomains!,
if (detectedLanguages != null) 'detectedLanguages': detectedLanguages!,
if (detectedProductCategories != null)
'detectedProductCategories': detectedProductCategories!,
if (detectedSensitiveCategories != null)
'detectedSensitiveCategories': detectedSensitiveCategories!,
if (html != null) 'html': html!.toJson(),
if (impressionTrackingUrls != null)
'impressionTrackingUrls': impressionTrackingUrls!,
if (native != null) 'native': native!.toJson(),
if (openAuctionStatus != null) 'openAuctionStatus': openAuctionStatus!,
if (restrictedCategories != null)
'restrictedCategories': restrictedCategories!,
if (servingRestrictions != null)
'servingRestrictions':
servingRestrictions!.map((value) => value.toJson()).toList(),
if (vendorIds != null) 'vendorIds': vendorIds!,
if (version != null) 'version': version!,
if (video != null) 'video': video!.toJson(),
};