toJson method
Implementation
Map<String, dynamic> toJson() {
final desiredvCpus = this.desiredvCpus;
final maxvCpus = this.maxvCpus;
final minvCpus = this.minvCpus;
final securityGroupIds = this.securityGroupIds;
final subnets = this.subnets;
return {
if (desiredvCpus != null) 'desiredvCpus': desiredvCpus,
if (maxvCpus != null) 'maxvCpus': maxvCpus,
if (minvCpus != null) 'minvCpus': minvCpus,
if (securityGroupIds != null) 'securityGroupIds': securityGroupIds,
if (subnets != null) 'subnets': subnets,
};
}