Fertiger Code für GooglePlaceRecords.egl nach Lerneinheit 10

Der folgende Code ist der Text der Datei GooglePlaceRecords.egl am Ende von Lerneinheit 10.

package services;

Record PlaceSearchResponse
	status string;
	result Result[];
	html_attribution string;
	next_page_token string;
end

Record Result
	name string;
	vicinity string;
	type1 string[] {@XMLElement{name = "type"}};
	geometry Geometry;
	rating string?;
	icon string;
	reference string;
	id string;
	opening_hours Opening_hours?;
	photo Photo?;
	price_level string?;
end

Record Geometry
	location Location;
end

Record Location
	lat string;
	lng string;
end

Record Opening_hours
	open_now string;
end

Record Photo
	photo_reference string;
	width string;
	height string;
	html_attribution string?;
end

Feedback