toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.autoScale != null) {
    json[r'autoScale'] = this.autoScale;
  } else {
    json[r'autoScale'] = null;
  }
  if (this.count != null) {
    json[r'count'] = this.count;
  } else {
    json[r'count'] = null;
  }
  if (this.maxNodes != null) {
    json[r'maxNodes'] = this.maxNodes;
  } else {
    json[r'maxNodes'] = null;
  }
  if (this.minNodes != null) {
    json[r'minNodes'] = this.minNodes;
  } else {
    json[r'minNodes'] = null;
  }
  if (this.name != null) {
    json[r'name'] = this.name;
  } else {
    json[r'name'] = null;
  }
  if (this.poolId != null) {
    json[r'poolId'] = this.poolId;
  } else {
    json[r'poolId'] = null;
  }
  if (this.size != null) {
    json[r'size'] = this.size;
  } else {
    json[r'size'] = null;
  }
  return json;
}