toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final pauseCluster = this.pauseCluster;
  final resizeCluster = this.resizeCluster;
  final resumeCluster = this.resumeCluster;
  return {
    if (pauseCluster != null) 'PauseCluster': pauseCluster,
    if (resizeCluster != null) 'ResizeCluster': resizeCluster,
    if (resumeCluster != null) 'ResumeCluster': resumeCluster,
  };
}