class GetContactNotificationBodyList {
  GetContactNotificationBodyList({
    this.contactNotificationBody,

  });

  final List<ContactNotificationBody>? contactNotificationBody;

  factory GetContactNotificationBodyList.fromJson(Map<String, dynamic> json) => GetContactNotificationBodyList(
    contactNotificationBody: json["ContactNotificationBody"] == null ? null : List<ContactNotificationBody>.from(json["ContactNotificationBody"].map((x) => ContactNotificationBody.fromJson(x))),
   );

  Map<String, dynamic> toJson() => {
    "ContactNotificationBody": contactNotificationBody == null ? null : List<dynamic>.from(contactNotificationBody!.map((x) => x.toJson())),
  };
}

class ContactNotificationBody {
  ContactNotificationBody({
    this.prevSegmentValueDsp,
    this.segmentPrompt,
    this.segmentValueDsp,
    this.updatedFlag,
  });

  final String? prevSegmentValueDsp;
  final String? segmentPrompt;
  final String? segmentValueDsp;
  final String? updatedFlag;

  factory ContactNotificationBody.fromJson(Map<String, dynamic> json) => ContactNotificationBody(
    prevSegmentValueDsp: json["PREV_SEGMENT_VALUE_DSP"] == null ? null : json["PREV_SEGMENT_VALUE_DSP"],
    segmentPrompt: json["SEGMENT_PROMPT"] == null ? null : json["SEGMENT_PROMPT"],
    segmentValueDsp: json["SEGMENT_VALUE_DSP"] == null ? null : json["SEGMENT_VALUE_DSP"],
    updatedFlag: json["UPDATED_FLAG"] == null ? null : json["UPDATED_FLAG"],
  );

  Map<String, dynamic> toJson() => {
    "PREV_SEGMENT_VALUE_DSP": prevSegmentValueDsp == null ? null : prevSegmentValueDsp,
    "SEGMENT_PROMPT": segmentPrompt == null ? null : segmentPrompt,
    "SEGMENT_VALUE_DSP": segmentValueDsp == null ? null : segmentValueDsp,
    "UPDATED_FLAG": updatedFlag == null ? null : updatedFlag,
  };
}
