toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessConfig != null) 'accessConfig': accessConfig!,
      if (createTime != null) 'createTime': createTime!,
      if (healthState != null) 'healthState': healthState!,
      if (labels != null) 'labels': labels!,
      if (metrics != null) 'metrics': metrics!,
      if (migrated != null) 'migrated': migrated!,
      if (name != null) 'name': name!,
      if (runtimeMigrationEligibility != null)
        'runtimeMigrationEligibility': runtimeMigrationEligibility!,
      if (softwareConfig != null) 'softwareConfig': softwareConfig!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (virtualMachine != null) 'virtualMachine': virtualMachine!,
    };