toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final createdTime = this.createdTime;
  final healthCheckGracePeriod = this.healthCheckGracePeriod;
  final healthCheckType = this.healthCheckType;
  final launchConfigurationName = this.launchConfigurationName;
  final loadBalancerNames = this.loadBalancerNames;
  return {
    if (createdTime != null) 'CreatedTime': createdTime,
    if (healthCheckGracePeriod != null)
      'HealthCheckGracePeriod': healthCheckGracePeriod,
    if (healthCheckType != null) 'HealthCheckType': healthCheckType,
    if (launchConfigurationName != null)
      'LaunchConfigurationName': launchConfigurationName,
    if (loadBalancerNames != null) 'LoadBalancerNames': loadBalancerNames,
  };
}