toJson method
Implementation
Map<String, dynamic> toJson() {
final segmentationCancelIndicator = this.segmentationCancelIndicator;
final segmentationEventId = this.segmentationEventId;
final deliveryRestrictions = this.deliveryRestrictions;
final segmentNum = this.segmentNum;
final segmentationDuration = this.segmentationDuration;
final segmentationTypeId = this.segmentationTypeId;
final segmentationUpid = this.segmentationUpid;
final segmentationUpidType = this.segmentationUpidType;
final segmentsExpected = this.segmentsExpected;
final subSegmentNum = this.subSegmentNum;
final subSegmentsExpected = this.subSegmentsExpected;
return {
'segmentationCancelIndicator': segmentationCancelIndicator.toValue(),
'segmentationEventId': segmentationEventId,
if (deliveryRestrictions != null)
'deliveryRestrictions': deliveryRestrictions,
if (segmentNum != null) 'segmentNum': segmentNum,
if (segmentationDuration != null)
'segmentationDuration': segmentationDuration,
if (segmentationTypeId != null) 'segmentationTypeId': segmentationTypeId,
if (segmentationUpid != null) 'segmentationUpid': segmentationUpid,
if (segmentationUpidType != null)
'segmentationUpidType': segmentationUpidType,
if (segmentsExpected != null) 'segmentsExpected': segmentsExpected,
if (subSegmentNum != null) 'subSegmentNum': subSegmentNum,
if (subSegmentsExpected != null)
'subSegmentsExpected': subSegmentsExpected,
};
}