toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoscalingPolicy != null) 'autoscalingPolicy': autoscalingPolicy!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (recommendedSize != null) 'recommendedSize': recommendedSize!,
      if (region != null) 'region': region!,
      if (scalingScheduleStatus != null)
        'scalingScheduleStatus': scalingScheduleStatus!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (status != null) 'status': status!,
      if (statusDetails != null) 'statusDetails': statusDetails!,
      if (target != null) 'target': target!,
      if (zone != null) 'zone': zone!,
    };