toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoCapacityDrain != null) 'autoCapacityDrain': autoCapacityDrain!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (failoverConfig != null) 'failoverConfig': failoverConfig!,
      if (labels != null) 'labels': labels!,
      if (loadBalancingAlgorithm != null)
        'loadBalancingAlgorithm': loadBalancingAlgorithm!,
      if (name != null) 'name': name!,
      if (updateTime != null) 'updateTime': updateTime!,
    };