toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final configurationType = this.configurationType;
  final checkpointInterval = this.checkpointInterval;
  final checkpointingEnabled = this.checkpointingEnabled;
  final minPauseBetweenCheckpoints = this.minPauseBetweenCheckpoints;
  return {
    'ConfigurationType': configurationType.toValue(),
    if (checkpointInterval != null) 'CheckpointInterval': checkpointInterval,
    if (checkpointingEnabled != null)
      'CheckpointingEnabled': checkpointingEnabled,
    if (minPauseBetweenCheckpoints != null)
      'MinPauseBetweenCheckpoints': minPauseBetweenCheckpoints,
  };
}