toJson method
Implementation
Map<String, dynamic> toJson() {
final accessLog = this.accessLog;
final additionalAttributes = this.additionalAttributes;
final connectionDraining = this.connectionDraining;
final connectionSettings = this.connectionSettings;
final crossZoneLoadBalancing = this.crossZoneLoadBalancing;
return {
if (accessLog != null) 'AccessLog': accessLog,
if (additionalAttributes != null)
'AdditionalAttributes': additionalAttributes,
if (connectionDraining != null) 'ConnectionDraining': connectionDraining,
if (connectionSettings != null) 'ConnectionSettings': connectionSettings,
if (crossZoneLoadBalancing != null)
'CrossZoneLoadBalancing': crossZoneLoadBalancing,
};
}