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 (fingerprint != null) 'fingerprint': fingerprint!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (locationHint != null) 'locationHint': locationHint!,
      if (maintenanceInterval != null)
        'maintenanceInterval': maintenanceInterval!,
      if (maintenancePolicy != null) 'maintenancePolicy': maintenancePolicy!,
      if (maintenanceWindow != null) 'maintenanceWindow': maintenanceWindow!,
      if (name != null) 'name': name!,
      if (nodeTemplate != null) 'nodeTemplate': nodeTemplate!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (shareSettings != null) 'shareSettings': shareSettings!,
      if (size != null) 'size': size!,
      if (status != null) 'status': status!,
      if (zone != null) 'zone': zone!,
    };