toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final description = this.description;
  final dnsConfig = this.dnsConfig;
  final healthCheckConfig = this.healthCheckConfig;
  return {
    if (description != null) 'Description': description,
    if (dnsConfig != null) 'DnsConfig': dnsConfig,
    if (healthCheckConfig != null) 'HealthCheckConfig': healthCheckConfig,
  };
}