-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpredictionClass.as
More file actions
59 lines (47 loc) · 1.45 KB
/
predictionClass.as
File metadata and controls
59 lines (47 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* Created by mes on 1/6/2017.
*/
package googleAPI.type {
import contents.LinkData;
public class predictionClass {
/**"Victoria, Australie"*/
public var description:String ;
/**0328fb981d48f228012b5d4b7ab0d0f404f439fd*/
public var id:String = "";
/**Lenght and offset*/
public var matched_substrings:Vector.<matched_substringsClass> = new Vector.<matched_substringsClass>();
/**ChIJT5UYfksx1GoRNJWCvuL8Tlo*/
public var place_id:String ;
/**CjQrAAAAo_uBPVsf1cXUJ8elPYxWjHGcA5aDJ_X8FVCnR4KtmT7UodEpG63s3y4ErHnmdf-6EhDv63zil2W-CTDLTwBgXinCGhTyYDuHKVMZAaIZTGeXxJA7LH8-5g*/
public var reference:String ;
/**"main_text" : "Victoria",
"main_text_matched_substrings" : [
{
"length" : 4,
"offset" : 0
}
],
"secondary_text" : "Australie"*/
public var structured_formatting:structured_formattingClass = new structured_formattingClass();
/**"terms" : {
"offset" : 0,
"value" : "Victoria"
},
{
"offset" : 10,
"value" : "Australie"
}*/
public var terms:Vector.<termsClass> = new Vector.<termsClass>();
/**"administrative_area_level_1", "political", "geocode"*/
public var types:Array = [];
public function predictionClass() {
}
public function linkData():LinkData
{
var linkDat:LinkData = new LinkData();
linkDat.name = description ;
linkDat.dynamicData = this ;
return linkDat ;
}
}
}