1//
2package vocab
3
4import (
5	"net/url"
6	"time"
7)
8
9// PlaceType is an interface for accepting types that extend from 'Place'.
10type PlaceType interface {
11	Serializer
12	Deserializer
13	IsAccuracy() (ok bool)
14	GetAccuracy() (v float64)
15	SetAccuracy(v float64)
16	IsAccuracyIRI() (ok bool)
17	GetAccuracyIRI() (v *url.URL)
18	SetAccuracyIRI(v *url.URL)
19	IsAltitude() (ok bool)
20	GetAltitude() (v float64)
21	SetAltitude(v float64)
22	IsAltitudeIRI() (ok bool)
23	GetAltitudeIRI() (v *url.URL)
24	SetAltitudeIRI(v *url.URL)
25	IsLatitude() (ok bool)
26	GetLatitude() (v float64)
27	SetLatitude(v float64)
28	IsLatitudeIRI() (ok bool)
29	GetLatitudeIRI() (v *url.URL)
30	SetLatitudeIRI(v *url.URL)
31	IsLongitude() (ok bool)
32	GetLongitude() (v float64)
33	SetLongitude(v float64)
34	IsLongitudeIRI() (ok bool)
35	GetLongitudeIRI() (v *url.URL)
36	SetLongitudeIRI(v *url.URL)
37	IsRadius() (ok bool)
38	GetRadius() (v float64)
39	SetRadius(v float64)
40	IsRadiusIRI() (ok bool)
41	GetRadiusIRI() (v *url.URL)
42	SetRadiusIRI(v *url.URL)
43	IsUnitsUnitsValue() (ok bool)
44	GetUnitsUnitsValue() (v string)
45	SetUnitsUnitsValue(v string)
46	IsUnitsAnyURI() (ok bool)
47	GetUnitsAnyURI() (v *url.URL)
48	SetUnitsAnyURI(v *url.URL)
49	AttachmentLen() (l int)
50	IsAttachmentObject(index int) (ok bool)
51	GetAttachmentObject(index int) (v ObjectType)
52	AppendAttachmentObject(v ObjectType)
53	PrependAttachmentObject(v ObjectType)
54	RemoveAttachmentObject(index int)
55	IsAttachmentLink(index int) (ok bool)
56	GetAttachmentLink(index int) (v LinkType)
57	AppendAttachmentLink(v LinkType)
58	PrependAttachmentLink(v LinkType)
59	RemoveAttachmentLink(index int)
60	IsAttachmentIRI(index int) (ok bool)
61	GetAttachmentIRI(index int) (v *url.URL)
62	AppendAttachmentIRI(v *url.URL)
63	PrependAttachmentIRI(v *url.URL)
64	RemoveAttachmentIRI(index int)
65	AttributedToLen() (l int)
66	IsAttributedToObject(index int) (ok bool)
67	GetAttributedToObject(index int) (v ObjectType)
68	AppendAttributedToObject(v ObjectType)
69	PrependAttributedToObject(v ObjectType)
70	RemoveAttributedToObject(index int)
71	IsAttributedToLink(index int) (ok bool)
72	GetAttributedToLink(index int) (v LinkType)
73	AppendAttributedToLink(v LinkType)
74	PrependAttributedToLink(v LinkType)
75	RemoveAttributedToLink(index int)
76	IsAttributedToIRI(index int) (ok bool)
77	GetAttributedToIRI(index int) (v *url.URL)
78	AppendAttributedToIRI(v *url.URL)
79	PrependAttributedToIRI(v *url.URL)
80	RemoveAttributedToIRI(index int)
81	AudienceLen() (l int)
82	IsAudienceObject(index int) (ok bool)
83	GetAudienceObject(index int) (v ObjectType)
84	AppendAudienceObject(v ObjectType)
85	PrependAudienceObject(v ObjectType)
86	RemoveAudienceObject(index int)
87	IsAudienceLink(index int) (ok bool)
88	GetAudienceLink(index int) (v LinkType)
89	AppendAudienceLink(v LinkType)
90	PrependAudienceLink(v LinkType)
91	RemoveAudienceLink(index int)
92	IsAudienceIRI(index int) (ok bool)
93	GetAudienceIRI(index int) (v *url.URL)
94	AppendAudienceIRI(v *url.URL)
95	PrependAudienceIRI(v *url.URL)
96	RemoveAudienceIRI(index int)
97	ContentLen() (l int)
98	IsContentString(index int) (ok bool)
99	GetContentString(index int) (v string)
100	AppendContentString(v string)
101	PrependContentString(v string)
102	RemoveContentString(index int)
103	IsContentLangString(index int) (ok bool)
104	GetContentLangString(index int) (v string)
105	AppendContentLangString(v string)
106	PrependContentLangString(v string)
107	RemoveContentLangString(index int)
108	IsContentIRI(index int) (ok bool)
109	GetContentIRI(index int) (v *url.URL)
110	AppendContentIRI(v *url.URL)
111	PrependContentIRI(v *url.URL)
112	RemoveContentIRI(index int)
113	ContentMapLanguages() (l []string)
114	GetContentMap(l string) (v string)
115	SetContentMap(l string, v string)
116	ContextLen() (l int)
117	IsContextObject(index int) (ok bool)
118	GetContextObject(index int) (v ObjectType)
119	AppendContextObject(v ObjectType)
120	PrependContextObject(v ObjectType)
121	RemoveContextObject(index int)
122	IsContextLink(index int) (ok bool)
123	GetContextLink(index int) (v LinkType)
124	AppendContextLink(v LinkType)
125	PrependContextLink(v LinkType)
126	RemoveContextLink(index int)
127	IsContextIRI(index int) (ok bool)
128	GetContextIRI(index int) (v *url.URL)
129	AppendContextIRI(v *url.URL)
130	PrependContextIRI(v *url.URL)
131	RemoveContextIRI(index int)
132	NameLen() (l int)
133	IsNameString(index int) (ok bool)
134	GetNameString(index int) (v string)
135	AppendNameString(v string)
136	PrependNameString(v string)
137	RemoveNameString(index int)
138	IsNameLangString(index int) (ok bool)
139	GetNameLangString(index int) (v string)
140	AppendNameLangString(v string)
141	PrependNameLangString(v string)
142	RemoveNameLangString(index int)
143	IsNameIRI(index int) (ok bool)
144	GetNameIRI(index int) (v *url.URL)
145	AppendNameIRI(v *url.URL)
146	PrependNameIRI(v *url.URL)
147	RemoveNameIRI(index int)
148	NameMapLanguages() (l []string)
149	GetNameMap(l string) (v string)
150	SetNameMap(l string, v string)
151	IsEndTime() (ok bool)
152	GetEndTime() (v time.Time)
153	SetEndTime(v time.Time)
154	IsEndTimeIRI() (ok bool)
155	GetEndTimeIRI() (v *url.URL)
156	SetEndTimeIRI(v *url.URL)
157	GeneratorLen() (l int)
158	IsGeneratorObject(index int) (ok bool)
159	GetGeneratorObject(index int) (v ObjectType)
160	AppendGeneratorObject(v ObjectType)
161	PrependGeneratorObject(v ObjectType)
162	RemoveGeneratorObject(index int)
163	IsGeneratorLink(index int) (ok bool)
164	GetGeneratorLink(index int) (v LinkType)
165	AppendGeneratorLink(v LinkType)
166	PrependGeneratorLink(v LinkType)
167	RemoveGeneratorLink(index int)
168	IsGeneratorIRI(index int) (ok bool)
169	GetGeneratorIRI(index int) (v *url.URL)
170	AppendGeneratorIRI(v *url.URL)
171	PrependGeneratorIRI(v *url.URL)
172	RemoveGeneratorIRI(index int)
173	IconLen() (l int)
174	IsIconImage(index int) (ok bool)
175	GetIconImage(index int) (v ImageType)
176	AppendIconImage(v ImageType)
177	PrependIconImage(v ImageType)
178	RemoveIconImage(index int)
179	IsIconLink(index int) (ok bool)
180	GetIconLink(index int) (v LinkType)
181	AppendIconLink(v LinkType)
182	PrependIconLink(v LinkType)
183	RemoveIconLink(index int)
184	IsIconIRI(index int) (ok bool)
185	GetIconIRI(index int) (v *url.URL)
186	AppendIconIRI(v *url.URL)
187	PrependIconIRI(v *url.URL)
188	RemoveIconIRI(index int)
189	HasId() (ok bool)
190	GetId() (v *url.URL)
191	SetId(v *url.URL)
192	HasUnknownId() (ok bool)
193	GetUnknownId() (v interface{})
194	SetUnknownId(i interface{})
195	ImageLen() (l int)
196	IsImageImage(index int) (ok bool)
197	GetImageImage(index int) (v ImageType)
198	AppendImageImage(v ImageType)
199	PrependImageImage(v ImageType)
200	RemoveImageImage(index int)
201	IsImageLink(index int) (ok bool)
202	GetImageLink(index int) (v LinkType)
203	AppendImageLink(v LinkType)
204	PrependImageLink(v LinkType)
205	RemoveImageLink(index int)
206	IsImageIRI(index int) (ok bool)
207	GetImageIRI(index int) (v *url.URL)
208	AppendImageIRI(v *url.URL)
209	PrependImageIRI(v *url.URL)
210	RemoveImageIRI(index int)
211	InReplyToLen() (l int)
212	IsInReplyToObject(index int) (ok bool)
213	GetInReplyToObject(index int) (v ObjectType)
214	AppendInReplyToObject(v ObjectType)
215	PrependInReplyToObject(v ObjectType)
216	RemoveInReplyToObject(index int)
217	IsInReplyToLink(index int) (ok bool)
218	GetInReplyToLink(index int) (v LinkType)
219	AppendInReplyToLink(v LinkType)
220	PrependInReplyToLink(v LinkType)
221	RemoveInReplyToLink(index int)
222	IsInReplyToIRI(index int) (ok bool)
223	GetInReplyToIRI(index int) (v *url.URL)
224	AppendInReplyToIRI(v *url.URL)
225	PrependInReplyToIRI(v *url.URL)
226	RemoveInReplyToIRI(index int)
227	LocationLen() (l int)
228	IsLocationObject(index int) (ok bool)
229	GetLocationObject(index int) (v ObjectType)
230	AppendLocationObject(v ObjectType)
231	PrependLocationObject(v ObjectType)
232	RemoveLocationObject(index int)
233	IsLocationLink(index int) (ok bool)
234	GetLocationLink(index int) (v LinkType)
235	AppendLocationLink(v LinkType)
236	PrependLocationLink(v LinkType)
237	RemoveLocationLink(index int)
238	IsLocationIRI(index int) (ok bool)
239	GetLocationIRI(index int) (v *url.URL)
240	AppendLocationIRI(v *url.URL)
241	PrependLocationIRI(v *url.URL)
242	RemoveLocationIRI(index int)
243	PreviewLen() (l int)
244	IsPreviewObject(index int) (ok bool)
245	GetPreviewObject(index int) (v ObjectType)
246	AppendPreviewObject(v ObjectType)
247	PrependPreviewObject(v ObjectType)
248	RemovePreviewObject(index int)
249	IsPreviewLink(index int) (ok bool)
250	GetPreviewLink(index int) (v LinkType)
251	AppendPreviewLink(v LinkType)
252	PrependPreviewLink(v LinkType)
253	RemovePreviewLink(index int)
254	IsPreviewIRI(index int) (ok bool)
255	GetPreviewIRI(index int) (v *url.URL)
256	AppendPreviewIRI(v *url.URL)
257	PrependPreviewIRI(v *url.URL)
258	RemovePreviewIRI(index int)
259	IsPublished() (ok bool)
260	GetPublished() (v time.Time)
261	SetPublished(v time.Time)
262	IsPublishedIRI() (ok bool)
263	GetPublishedIRI() (v *url.URL)
264	SetPublishedIRI(v *url.URL)
265	IsReplies() (ok bool)
266	GetReplies() (v CollectionType)
267	SetReplies(v CollectionType)
268	IsRepliesIRI() (ok bool)
269	GetRepliesIRI() (v *url.URL)
270	SetRepliesIRI(v *url.URL)
271	IsStartTime() (ok bool)
272	GetStartTime() (v time.Time)
273	SetStartTime(v time.Time)
274	IsStartTimeIRI() (ok bool)
275	GetStartTimeIRI() (v *url.URL)
276	SetStartTimeIRI(v *url.URL)
277	SummaryLen() (l int)
278	IsSummaryString(index int) (ok bool)
279	GetSummaryString(index int) (v string)
280	AppendSummaryString(v string)
281	PrependSummaryString(v string)
282	RemoveSummaryString(index int)
283	IsSummaryLangString(index int) (ok bool)
284	GetSummaryLangString(index int) (v string)
285	AppendSummaryLangString(v string)
286	PrependSummaryLangString(v string)
287	RemoveSummaryLangString(index int)
288	IsSummaryIRI(index int) (ok bool)
289	GetSummaryIRI(index int) (v *url.URL)
290	AppendSummaryIRI(v *url.URL)
291	PrependSummaryIRI(v *url.URL)
292	RemoveSummaryIRI(index int)
293	SummaryMapLanguages() (l []string)
294	GetSummaryMap(l string) (v string)
295	SetSummaryMap(l string, v string)
296	TagLen() (l int)
297	IsTagObject(index int) (ok bool)
298	GetTagObject(index int) (v ObjectType)
299	AppendTagObject(v ObjectType)
300	PrependTagObject(v ObjectType)
301	RemoveTagObject(index int)
302	IsTagLink(index int) (ok bool)
303	GetTagLink(index int) (v LinkType)
304	AppendTagLink(v LinkType)
305	PrependTagLink(v LinkType)
306	RemoveTagLink(index int)
307	IsTagIRI(index int) (ok bool)
308	GetTagIRI(index int) (v *url.URL)
309	AppendTagIRI(v *url.URL)
310	PrependTagIRI(v *url.URL)
311	RemoveTagIRI(index int)
312	TypeLen() (l int)
313	GetType(index int) (v interface{})
314	AppendType(v interface{})
315	PrependType(v interface{})
316	RemoveType(index int)
317	IsUpdated() (ok bool)
318	GetUpdated() (v time.Time)
319	SetUpdated(v time.Time)
320	IsUpdatedIRI() (ok bool)
321	GetUpdatedIRI() (v *url.URL)
322	SetUpdatedIRI(v *url.URL)
323	UrlLen() (l int)
324	IsUrlAnyURI(index int) (ok bool)
325	GetUrlAnyURI(index int) (v *url.URL)
326	AppendUrlAnyURI(v *url.URL)
327	PrependUrlAnyURI(v *url.URL)
328	RemoveUrlAnyURI(index int)
329	IsUrlLink(index int) (ok bool)
330	GetUrlLink(index int) (v LinkType)
331	AppendUrlLink(v LinkType)
332	PrependUrlLink(v LinkType)
333	RemoveUrlLink(index int)
334	ToLen() (l int)
335	IsToObject(index int) (ok bool)
336	GetToObject(index int) (v ObjectType)
337	AppendToObject(v ObjectType)
338	PrependToObject(v ObjectType)
339	RemoveToObject(index int)
340	IsToLink(index int) (ok bool)
341	GetToLink(index int) (v LinkType)
342	AppendToLink(v LinkType)
343	PrependToLink(v LinkType)
344	RemoveToLink(index int)
345	IsToIRI(index int) (ok bool)
346	GetToIRI(index int) (v *url.URL)
347	AppendToIRI(v *url.URL)
348	PrependToIRI(v *url.URL)
349	RemoveToIRI(index int)
350	BtoLen() (l int)
351	IsBtoObject(index int) (ok bool)
352	GetBtoObject(index int) (v ObjectType)
353	AppendBtoObject(v ObjectType)
354	PrependBtoObject(v ObjectType)
355	RemoveBtoObject(index int)
356	IsBtoLink(index int) (ok bool)
357	GetBtoLink(index int) (v LinkType)
358	AppendBtoLink(v LinkType)
359	PrependBtoLink(v LinkType)
360	RemoveBtoLink(index int)
361	IsBtoIRI(index int) (ok bool)
362	GetBtoIRI(index int) (v *url.URL)
363	AppendBtoIRI(v *url.URL)
364	PrependBtoIRI(v *url.URL)
365	RemoveBtoIRI(index int)
366	CcLen() (l int)
367	IsCcObject(index int) (ok bool)
368	GetCcObject(index int) (v ObjectType)
369	AppendCcObject(v ObjectType)
370	PrependCcObject(v ObjectType)
371	RemoveCcObject(index int)
372	IsCcLink(index int) (ok bool)
373	GetCcLink(index int) (v LinkType)
374	AppendCcLink(v LinkType)
375	PrependCcLink(v LinkType)
376	RemoveCcLink(index int)
377	IsCcIRI(index int) (ok bool)
378	GetCcIRI(index int) (v *url.URL)
379	AppendCcIRI(v *url.URL)
380	PrependCcIRI(v *url.URL)
381	RemoveCcIRI(index int)
382	BccLen() (l int)
383	IsBccObject(index int) (ok bool)
384	GetBccObject(index int) (v ObjectType)
385	AppendBccObject(v ObjectType)
386	PrependBccObject(v ObjectType)
387	RemoveBccObject(index int)
388	IsBccLink(index int) (ok bool)
389	GetBccLink(index int) (v LinkType)
390	AppendBccLink(v LinkType)
391	PrependBccLink(v LinkType)
392	RemoveBccLink(index int)
393	IsBccIRI(index int) (ok bool)
394	GetBccIRI(index int) (v *url.URL)
395	AppendBccIRI(v *url.URL)
396	PrependBccIRI(v *url.URL)
397	RemoveBccIRI(index int)
398	IsMediaType() (ok bool)
399	GetMediaType() (v string)
400	SetMediaType(v string)
401	IsMediaTypeIRI() (ok bool)
402	GetMediaTypeIRI() (v *url.URL)
403	SetMediaTypeIRI(v *url.URL)
404	IsDuration() (ok bool)
405	GetDuration() (v time.Duration)
406	SetDuration(v time.Duration)
407	IsDurationIRI() (ok bool)
408	GetDurationIRI() (v *url.URL)
409	SetDurationIRI(v *url.URL)
410	IsSource() (ok bool)
411	GetSource() (v ObjectType)
412	SetSource(v ObjectType)
413	IsSourceIRI() (ok bool)
414	GetSourceIRI() (v *url.URL)
415	SetSourceIRI(v *url.URL)
416	IsInboxOrderedCollection() (ok bool)
417	GetInboxOrderedCollection() (v OrderedCollectionType)
418	SetInboxOrderedCollection(v OrderedCollectionType)
419	IsInboxAnyURI() (ok bool)
420	GetInboxAnyURI() (v *url.URL)
421	SetInboxAnyURI(v *url.URL)
422	IsOutboxOrderedCollection() (ok bool)
423	GetOutboxOrderedCollection() (v OrderedCollectionType)
424	SetOutboxOrderedCollection(v OrderedCollectionType)
425	IsOutboxAnyURI() (ok bool)
426	GetOutboxAnyURI() (v *url.URL)
427	SetOutboxAnyURI(v *url.URL)
428	IsFollowingCollection() (ok bool)
429	GetFollowingCollection() (v CollectionType)
430	SetFollowingCollection(v CollectionType)
431	IsFollowingOrderedCollection() (ok bool)
432	GetFollowingOrderedCollection() (v OrderedCollectionType)
433	SetFollowingOrderedCollection(v OrderedCollectionType)
434	IsFollowingAnyURI() (ok bool)
435	GetFollowingAnyURI() (v *url.URL)
436	SetFollowingAnyURI(v *url.URL)
437	IsFollowersCollection() (ok bool)
438	GetFollowersCollection() (v CollectionType)
439	SetFollowersCollection(v CollectionType)
440	IsFollowersOrderedCollection() (ok bool)
441	GetFollowersOrderedCollection() (v OrderedCollectionType)
442	SetFollowersOrderedCollection(v OrderedCollectionType)
443	IsFollowersAnyURI() (ok bool)
444	GetFollowersAnyURI() (v *url.URL)
445	SetFollowersAnyURI(v *url.URL)
446	IsLikedCollection() (ok bool)
447	GetLikedCollection() (v CollectionType)
448	SetLikedCollection(v CollectionType)
449	IsLikedOrderedCollection() (ok bool)
450	GetLikedOrderedCollection() (v OrderedCollectionType)
451	SetLikedOrderedCollection(v OrderedCollectionType)
452	IsLikedAnyURI() (ok bool)
453	GetLikedAnyURI() (v *url.URL)
454	SetLikedAnyURI(v *url.URL)
455	IsLikesCollection() (ok bool)
456	GetLikesCollection() (v CollectionType)
457	SetLikesCollection(v CollectionType)
458	IsLikesOrderedCollection() (ok bool)
459	GetLikesOrderedCollection() (v OrderedCollectionType)
460	SetLikesOrderedCollection(v OrderedCollectionType)
461	IsLikesAnyURI() (ok bool)
462	GetLikesAnyURI() (v *url.URL)
463	SetLikesAnyURI(v *url.URL)
464	StreamsLen() (l int)
465	GetStreams(index int) (v *url.URL)
466	AppendStreams(v *url.URL)
467	PrependStreams(v *url.URL)
468	RemoveStreams(index int)
469	HasUnknownStreams() (ok bool)
470	GetUnknownStreams() (v interface{})
471	SetUnknownStreams(i interface{})
472	IsPreferredUsername() (ok bool)
473	GetPreferredUsername() (v string)
474	SetPreferredUsername(v string)
475	IsPreferredUsernameIRI() (ok bool)
476	GetPreferredUsernameIRI() (v *url.URL)
477	SetPreferredUsernameIRI(v *url.URL)
478	PreferredUsernameMapLanguages() (l []string)
479	GetPreferredUsernameMap(l string) (v string)
480	SetPreferredUsernameMap(l string, v string)
481	IsEndpoints() (ok bool)
482	GetEndpoints() (v ObjectType)
483	SetEndpoints(v ObjectType)
484	IsEndpointsIRI() (ok bool)
485	GetEndpointsIRI() (v *url.URL)
486	SetEndpointsIRI(v *url.URL)
487	HasProxyUrl() (ok bool)
488	GetProxyUrl() (v *url.URL)
489	SetProxyUrl(v *url.URL)
490	HasUnknownProxyUrl() (ok bool)
491	GetUnknownProxyUrl() (v interface{})
492	SetUnknownProxyUrl(i interface{})
493	HasOauthAuthorizationEndpoint() (ok bool)
494	GetOauthAuthorizationEndpoint() (v *url.URL)
495	SetOauthAuthorizationEndpoint(v *url.URL)
496	HasUnknownOauthAuthorizationEndpoint() (ok bool)
497	GetUnknownOauthAuthorizationEndpoint() (v interface{})
498	SetUnknownOauthAuthorizationEndpoint(i interface{})
499	HasOauthTokenEndpoint() (ok bool)
500	GetOauthTokenEndpoint() (v *url.URL)
501	SetOauthTokenEndpoint(v *url.URL)
502	HasUnknownOauthTokenEndpoint() (ok bool)
503	GetUnknownOauthTokenEndpoint() (v interface{})
504	SetUnknownOauthTokenEndpoint(i interface{})
505	HasProvideClientKey() (ok bool)
506	GetProvideClientKey() (v *url.URL)
507	SetProvideClientKey(v *url.URL)
508	HasUnknownProvideClientKey() (ok bool)
509	GetUnknownProvideClientKey() (v interface{})
510	SetUnknownProvideClientKey(i interface{})
511	HasSignClientKey() (ok bool)
512	GetSignClientKey() (v *url.URL)
513	SetSignClientKey(v *url.URL)
514	HasUnknownSignClientKey() (ok bool)
515	GetUnknownSignClientKey() (v interface{})
516	SetUnknownSignClientKey(i interface{})
517	HasSharedInbox() (ok bool)
518	GetSharedInbox() (v *url.URL)
519	SetSharedInbox(v *url.URL)
520	HasUnknownSharedInbox() (ok bool)
521	GetUnknownSharedInbox() (v interface{})
522	SetUnknownSharedInbox(i interface{})
523}
524
525// Represents a logical or physical location. See 5.3 Representing Places for additional information.
526type Place struct {
527	// An unknown value.
528	unknown_ map[string]interface{}
529	// The functional 'accuracy' value could have multiple types, but only a single value
530	accuracy *accuracyIntermediateType
531	// The functional 'altitude' value could have multiple types, but only a single value
532	altitude *altitudeIntermediateType
533	// The functional 'latitude' value could have multiple types, but only a single value
534	latitude *latitudeIntermediateType
535	// The functional 'longitude' value could have multiple types, but only a single value
536	longitude *longitudeIntermediateType
537	// The functional 'radius' value could have multiple types, but only a single value
538	radius *radiusIntermediateType
539	// The functional 'units' value could have multiple types, but only a single value
540	units *unitsIntermediateType
541	// The 'attachment' value could have multiple types and values
542	attachment []*attachmentIntermediateType
543	// The 'attributedTo' value could have multiple types and values
544	attributedTo []*attributedToIntermediateType
545	// The 'audience' value could have multiple types and values
546	audience []*audienceIntermediateType
547	// The 'content' value could have multiple types and values
548	content []*contentIntermediateType
549	// The 'contentMap' value holds language-specific values for property 'content'
550	contentMap map[string]string
551	// The 'context' value could have multiple types and values
552	context []*contextIntermediateType
553	// The 'name' value could have multiple types and values
554	name []*nameIntermediateType
555	// The 'nameMap' value holds language-specific values for property 'name'
556	nameMap map[string]string
557	// The functional 'endTime' value could have multiple types, but only a single value
558	endTime *endTimeIntermediateType
559	// The 'generator' value could have multiple types and values
560	generator []*generatorIntermediateType
561	// The 'icon' value could have multiple types and values
562	icon []*iconIntermediateType
563	// The functional 'id' value holds a single type and a single value
564	id *url.URL
565	// The 'image' value could have multiple types and values
566	image []*imageIntermediateType
567	// The 'inReplyTo' value could have multiple types and values
568	inReplyTo []*inReplyToIntermediateType
569	// The 'location' value could have multiple types and values
570	location []*locationIntermediateType
571	// The 'preview' value could have multiple types and values
572	preview []*previewIntermediateType
573	// The functional 'published' value could have multiple types, but only a single value
574	published *publishedIntermediateType
575	// The functional 'replies' value could have multiple types, but only a single value
576	replies *repliesIntermediateType
577	// The functional 'startTime' value could have multiple types, but only a single value
578	startTime *startTimeIntermediateType
579	// The 'summary' value could have multiple types and values
580	summary []*summaryIntermediateType
581	// The 'summaryMap' value holds language-specific values for property 'summary'
582	summaryMap map[string]string
583	// The 'tag' value could have multiple types and values
584	tag []*tagIntermediateType
585	// The 'type' value can hold any type and any number of values
586	typeName []interface{}
587	// The functional 'updated' value could have multiple types, but only a single value
588	updated *updatedIntermediateType
589	// The 'url' value could have multiple types and values
590	url []*urlIntermediateType
591	// The 'to' value could have multiple types and values
592	to []*toIntermediateType
593	// The 'bto' value could have multiple types and values
594	bto []*btoIntermediateType
595	// The 'cc' value could have multiple types and values
596	cc []*ccIntermediateType
597	// The 'bcc' value could have multiple types and values
598	bcc []*bccIntermediateType
599	// The functional 'mediaType' value could have multiple types, but only a single value
600	mediaType *mediaTypeIntermediateType
601	// The functional 'duration' value could have multiple types, but only a single value
602	duration *durationIntermediateType
603	// The functional 'source' value could have multiple types, but only a single value
604	source *sourceIntermediateType
605	// The functional 'inbox' value could have multiple types, but only a single value
606	inbox *inboxIntermediateType
607	// The functional 'outbox' value could have multiple types, but only a single value
608	outbox *outboxIntermediateType
609	// The functional 'following' value could have multiple types, but only a single value
610	following *followingIntermediateType
611	// The functional 'followers' value could have multiple types, but only a single value
612	followers *followersIntermediateType
613	// The functional 'liked' value could have multiple types, but only a single value
614	liked *likedIntermediateType
615	// The functional 'likes' value could have multiple types, but only a single value
616	likes *likesIntermediateType
617	// The 'streams' value holds a single type and any number of values
618	streams []*url.URL
619	// The functional 'preferredUsername' value could have multiple types, but only a single value
620	preferredUsername *preferredUsernameIntermediateType
621	// The 'preferredUsernameMap' value holds language-specific values for property 'preferredUsername'
622	preferredUsernameMap map[string]string
623	// The functional 'endpoints' value could have multiple types, but only a single value
624	endpoints *endpointsIntermediateType
625	// The functional 'proxyUrl' value holds a single type and a single value
626	proxyUrl *url.URL
627	// The functional 'oauthAuthorizationEndpoint' value holds a single type and a single value
628	oauthAuthorizationEndpoint *url.URL
629	// The functional 'oauthTokenEndpoint' value holds a single type and a single value
630	oauthTokenEndpoint *url.URL
631	// The functional 'provideClientKey' value holds a single type and a single value
632	provideClientKey *url.URL
633	// The functional 'signClientKey' value holds a single type and a single value
634	signClientKey *url.URL
635	// The functional 'sharedInbox' value holds a single type and a single value
636	sharedInbox *url.URL
637}
638
639// IsAccuracy determines whether the call to GetAccuracy is safe
640func (t *Place) IsAccuracy() (ok bool) {
641	return t.accuracy != nil && t.accuracy.float != nil
642
643}
644
645// GetAccuracy returns the value safely if IsAccuracy returned true
646func (t *Place) GetAccuracy() (v float64) {
647	return *t.accuracy.float
648
649}
650
651// SetAccuracy sets the value of accuracy to be of float64 type
652func (t *Place) SetAccuracy(v float64) {
653	t.accuracy = &accuracyIntermediateType{float: &v}
654
655}
656
657// IsAccuracyIRI determines whether the call to GetAccuracyIRI is safe
658func (t *Place) IsAccuracyIRI() (ok bool) {
659	return t.accuracy != nil && t.accuracy.IRI != nil
660
661}
662
663// GetAccuracyIRI returns the value safely if IsAccuracyIRI returned true
664func (t *Place) GetAccuracyIRI() (v *url.URL) {
665	return t.accuracy.IRI
666
667}
668
669// SetAccuracyIRI sets the value of accuracy to be of *url.URL type
670func (t *Place) SetAccuracyIRI(v *url.URL) {
671	t.accuracy = &accuracyIntermediateType{IRI: v}
672
673}
674
675// HasUnknownAccuracy determines whether the call to GetUnknownAccuracy is safe
676func (t *Place) HasUnknownAccuracy() (ok bool) {
677	return t.accuracy != nil && t.accuracy.unknown_ != nil
678
679}
680
681// GetUnknownAccuracy returns the unknown value for accuracy
682func (t *Place) GetUnknownAccuracy() (v interface{}) {
683	return t.accuracy.unknown_
684
685}
686
687// SetUnknownAccuracy sets the unknown value of accuracy
688func (t *Place) SetUnknownAccuracy(i interface{}) {
689	if t.unknown_ == nil {
690		t.unknown_ = make(map[string]interface{})
691	}
692	tmp := &accuracyIntermediateType{}
693	tmp.unknown_ = i
694	t.accuracy = tmp
695
696}
697
698// IsAltitude determines whether the call to GetAltitude is safe
699func (t *Place) IsAltitude() (ok bool) {
700	return t.altitude != nil && t.altitude.float != nil
701
702}
703
704// GetAltitude returns the value safely if IsAltitude returned true
705func (t *Place) GetAltitude() (v float64) {
706	return *t.altitude.float
707
708}
709
710// SetAltitude sets the value of altitude to be of float64 type
711func (t *Place) SetAltitude(v float64) {
712	t.altitude = &altitudeIntermediateType{float: &v}
713
714}
715
716// IsAltitudeIRI determines whether the call to GetAltitudeIRI is safe
717func (t *Place) IsAltitudeIRI() (ok bool) {
718	return t.altitude != nil && t.altitude.IRI != nil
719
720}
721
722// GetAltitudeIRI returns the value safely if IsAltitudeIRI returned true
723func (t *Place) GetAltitudeIRI() (v *url.URL) {
724	return t.altitude.IRI
725
726}
727
728// SetAltitudeIRI sets the value of altitude to be of *url.URL type
729func (t *Place) SetAltitudeIRI(v *url.URL) {
730	t.altitude = &altitudeIntermediateType{IRI: v}
731
732}
733
734// HasUnknownAltitude determines whether the call to GetUnknownAltitude is safe
735func (t *Place) HasUnknownAltitude() (ok bool) {
736	return t.altitude != nil && t.altitude.unknown_ != nil
737
738}
739
740// GetUnknownAltitude returns the unknown value for altitude
741func (t *Place) GetUnknownAltitude() (v interface{}) {
742	return t.altitude.unknown_
743
744}
745
746// SetUnknownAltitude sets the unknown value of altitude
747func (t *Place) SetUnknownAltitude(i interface{}) {
748	if t.unknown_ == nil {
749		t.unknown_ = make(map[string]interface{})
750	}
751	tmp := &altitudeIntermediateType{}
752	tmp.unknown_ = i
753	t.altitude = tmp
754
755}
756
757// IsLatitude determines whether the call to GetLatitude is safe
758func (t *Place) IsLatitude() (ok bool) {
759	return t.latitude != nil && t.latitude.float != nil
760
761}
762
763// GetLatitude returns the value safely if IsLatitude returned true
764func (t *Place) GetLatitude() (v float64) {
765	return *t.latitude.float
766
767}
768
769// SetLatitude sets the value of latitude to be of float64 type
770func (t *Place) SetLatitude(v float64) {
771	t.latitude = &latitudeIntermediateType{float: &v}
772
773}
774
775// IsLatitudeIRI determines whether the call to GetLatitudeIRI is safe
776func (t *Place) IsLatitudeIRI() (ok bool) {
777	return t.latitude != nil && t.latitude.IRI != nil
778
779}
780
781// GetLatitudeIRI returns the value safely if IsLatitudeIRI returned true
782func (t *Place) GetLatitudeIRI() (v *url.URL) {
783	return t.latitude.IRI
784
785}
786
787// SetLatitudeIRI sets the value of latitude to be of *url.URL type
788func (t *Place) SetLatitudeIRI(v *url.URL) {
789	t.latitude = &latitudeIntermediateType{IRI: v}
790
791}
792
793// HasUnknownLatitude determines whether the call to GetUnknownLatitude is safe
794func (t *Place) HasUnknownLatitude() (ok bool) {
795	return t.latitude != nil && t.latitude.unknown_ != nil
796
797}
798
799// GetUnknownLatitude returns the unknown value for latitude
800func (t *Place) GetUnknownLatitude() (v interface{}) {
801	return t.latitude.unknown_
802
803}
804
805// SetUnknownLatitude sets the unknown value of latitude
806func (t *Place) SetUnknownLatitude(i interface{}) {
807	if t.unknown_ == nil {
808		t.unknown_ = make(map[string]interface{})
809	}
810	tmp := &latitudeIntermediateType{}
811	tmp.unknown_ = i
812	t.latitude = tmp
813
814}
815
816// IsLongitude determines whether the call to GetLongitude is safe
817func (t *Place) IsLongitude() (ok bool) {
818	return t.longitude != nil && t.longitude.float != nil
819
820}
821
822// GetLongitude returns the value safely if IsLongitude returned true
823func (t *Place) GetLongitude() (v float64) {
824	return *t.longitude.float
825
826}
827
828// SetLongitude sets the value of longitude to be of float64 type
829func (t *Place) SetLongitude(v float64) {
830	t.longitude = &longitudeIntermediateType{float: &v}
831
832}
833
834// IsLongitudeIRI determines whether the call to GetLongitudeIRI is safe
835func (t *Place) IsLongitudeIRI() (ok bool) {
836	return t.longitude != nil && t.longitude.IRI != nil
837
838}
839
840// GetLongitudeIRI returns the value safely if IsLongitudeIRI returned true
841func (t *Place) GetLongitudeIRI() (v *url.URL) {
842	return t.longitude.IRI
843
844}
845
846// SetLongitudeIRI sets the value of longitude to be of *url.URL type
847func (t *Place) SetLongitudeIRI(v *url.URL) {
848	t.longitude = &longitudeIntermediateType{IRI: v}
849
850}
851
852// HasUnknownLongitude determines whether the call to GetUnknownLongitude is safe
853func (t *Place) HasUnknownLongitude() (ok bool) {
854	return t.longitude != nil && t.longitude.unknown_ != nil
855
856}
857
858// GetUnknownLongitude returns the unknown value for longitude
859func (t *Place) GetUnknownLongitude() (v interface{}) {
860	return t.longitude.unknown_
861
862}
863
864// SetUnknownLongitude sets the unknown value of longitude
865func (t *Place) SetUnknownLongitude(i interface{}) {
866	if t.unknown_ == nil {
867		t.unknown_ = make(map[string]interface{})
868	}
869	tmp := &longitudeIntermediateType{}
870	tmp.unknown_ = i
871	t.longitude = tmp
872
873}
874
875// IsRadius determines whether the call to GetRadius is safe
876func (t *Place) IsRadius() (ok bool) {
877	return t.radius != nil && t.radius.float != nil
878
879}
880
881// GetRadius returns the value safely if IsRadius returned true
882func (t *Place) GetRadius() (v float64) {
883	return *t.radius.float
884
885}
886
887// SetRadius sets the value of radius to be of float64 type
888func (t *Place) SetRadius(v float64) {
889	t.radius = &radiusIntermediateType{float: &v}
890
891}
892
893// IsRadiusIRI determines whether the call to GetRadiusIRI is safe
894func (t *Place) IsRadiusIRI() (ok bool) {
895	return t.radius != nil && t.radius.IRI != nil
896
897}
898
899// GetRadiusIRI returns the value safely if IsRadiusIRI returned true
900func (t *Place) GetRadiusIRI() (v *url.URL) {
901	return t.radius.IRI
902
903}
904
905// SetRadiusIRI sets the value of radius to be of *url.URL type
906func (t *Place) SetRadiusIRI(v *url.URL) {
907	t.radius = &radiusIntermediateType{IRI: v}
908
909}
910
911// HasUnknownRadius determines whether the call to GetUnknownRadius is safe
912func (t *Place) HasUnknownRadius() (ok bool) {
913	return t.radius != nil && t.radius.unknown_ != nil
914
915}
916
917// GetUnknownRadius returns the unknown value for radius
918func (t *Place) GetUnknownRadius() (v interface{}) {
919	return t.radius.unknown_
920
921}
922
923// SetUnknownRadius sets the unknown value of radius
924func (t *Place) SetUnknownRadius(i interface{}) {
925	if t.unknown_ == nil {
926		t.unknown_ = make(map[string]interface{})
927	}
928	tmp := &radiusIntermediateType{}
929	tmp.unknown_ = i
930	t.radius = tmp
931
932}
933
934// IsUnitsUnitsValue determines whether the call to GetUnitsUnitsValue is safe
935func (t *Place) IsUnitsUnitsValue() (ok bool) {
936	return t.units != nil && t.units.unitsValue != nil
937
938}
939
940// GetUnitsUnitsValue returns the value safely if IsUnitsUnitsValue returned true
941func (t *Place) GetUnitsUnitsValue() (v string) {
942	return *t.units.unitsValue
943
944}
945
946// SetUnitsUnitsValue sets the value of units to be of string type
947func (t *Place) SetUnitsUnitsValue(v string) {
948	t.units = &unitsIntermediateType{unitsValue: &v}
949
950}
951
952// IsUnitsAnyURI determines whether the call to GetUnitsAnyURI is safe
953func (t *Place) IsUnitsAnyURI() (ok bool) {
954	return t.units != nil && t.units.anyURI != nil
955
956}
957
958// GetUnitsAnyURI returns the value safely if IsUnitsAnyURI returned true
959func (t *Place) GetUnitsAnyURI() (v *url.URL) {
960	return t.units.anyURI
961
962}
963
964// SetUnitsAnyURI sets the value of units to be of *url.URL type
965func (t *Place) SetUnitsAnyURI(v *url.URL) {
966	t.units = &unitsIntermediateType{anyURI: v}
967
968}
969
970// HasUnknownUnits determines whether the call to GetUnknownUnits is safe
971func (t *Place) HasUnknownUnits() (ok bool) {
972	return t.units != nil && t.units.unknown_ != nil
973
974}
975
976// GetUnknownUnits returns the unknown value for units
977func (t *Place) GetUnknownUnits() (v interface{}) {
978	return t.units.unknown_
979
980}
981
982// SetUnknownUnits sets the unknown value of units
983func (t *Place) SetUnknownUnits(i interface{}) {
984	if t.unknown_ == nil {
985		t.unknown_ = make(map[string]interface{})
986	}
987	tmp := &unitsIntermediateType{}
988	tmp.unknown_ = i
989	t.units = tmp
990
991}
992
993// AttachmentLen determines the number of elements able to be used for the IsAttachmentObject, GetAttachmentObject, and RemoveAttachmentObject functions
994func (t *Place) AttachmentLen() (l int) {
995	return len(t.attachment)
996
997}
998
999// IsAttachmentObject determines whether the call to GetAttachmentObject is safe for the specified index
1000func (t *Place) IsAttachmentObject(index int) (ok bool) {
1001	return t.attachment[index].Object != nil
1002
1003}
1004
1005// GetAttachmentObject returns the value safely if IsAttachmentObject returned true for the specified index
1006func (t *Place) GetAttachmentObject(index int) (v ObjectType) {
1007	return t.attachment[index].Object
1008
1009}
1010
1011// AppendAttachmentObject adds to the back of attachment a ObjectType type
1012func (t *Place) AppendAttachmentObject(v ObjectType) {
1013	t.attachment = append(t.attachment, &attachmentIntermediateType{Object: v})
1014
1015}
1016
1017// PrependAttachmentObject adds to the front of attachment a ObjectType type
1018func (t *Place) PrependAttachmentObject(v ObjectType) {
1019	t.attachment = append([]*attachmentIntermediateType{&attachmentIntermediateType{Object: v}}, t.attachment...)
1020
1021}
1022
1023// RemoveAttachmentObject deletes the value from the specified index
1024func (t *Place) RemoveAttachmentObject(index int) {
1025	copy(t.attachment[index:], t.attachment[index+1:])
1026	t.attachment[len(t.attachment)-1] = nil
1027	t.attachment = t.attachment[:len(t.attachment)-1]
1028
1029}
1030
1031// IsAttachmentLink determines whether the call to GetAttachmentLink is safe for the specified index
1032func (t *Place) IsAttachmentLink(index int) (ok bool) {
1033	return t.attachment[index].Link != nil
1034
1035}
1036
1037// GetAttachmentLink returns the value safely if IsAttachmentLink returned true for the specified index
1038func (t *Place) GetAttachmentLink(index int) (v LinkType) {
1039	return t.attachment[index].Link
1040
1041}
1042
1043// AppendAttachmentLink adds to the back of attachment a LinkType type
1044func (t *Place) AppendAttachmentLink(v LinkType) {
1045	t.attachment = append(t.attachment, &attachmentIntermediateType{Link: v})
1046
1047}
1048
1049// PrependAttachmentLink adds to the front of attachment a LinkType type
1050func (t *Place) PrependAttachmentLink(v LinkType) {
1051	t.attachment = append([]*attachmentIntermediateType{&attachmentIntermediateType{Link: v}}, t.attachment...)
1052
1053}
1054
1055// RemoveAttachmentLink deletes the value from the specified index
1056func (t *Place) RemoveAttachmentLink(index int) {
1057	copy(t.attachment[index:], t.attachment[index+1:])
1058	t.attachment[len(t.attachment)-1] = nil
1059	t.attachment = t.attachment[:len(t.attachment)-1]
1060
1061}
1062
1063// IsAttachmentIRI determines whether the call to GetAttachmentIRI is safe for the specified index
1064func (t *Place) IsAttachmentIRI(index int) (ok bool) {
1065	return t.attachment[index].IRI != nil
1066
1067}
1068
1069// GetAttachmentIRI returns the value safely if IsAttachmentIRI returned true for the specified index
1070func (t *Place) GetAttachmentIRI(index int) (v *url.URL) {
1071	return t.attachment[index].IRI
1072
1073}
1074
1075// AppendAttachmentIRI adds to the back of attachment a *url.URL type
1076func (t *Place) AppendAttachmentIRI(v *url.URL) {
1077	t.attachment = append(t.attachment, &attachmentIntermediateType{IRI: v})
1078
1079}
1080
1081// PrependAttachmentIRI adds to the front of attachment a *url.URL type
1082func (t *Place) PrependAttachmentIRI(v *url.URL) {
1083	t.attachment = append([]*attachmentIntermediateType{&attachmentIntermediateType{IRI: v}}, t.attachment...)
1084
1085}
1086
1087// RemoveAttachmentIRI deletes the value from the specified index
1088func (t *Place) RemoveAttachmentIRI(index int) {
1089	copy(t.attachment[index:], t.attachment[index+1:])
1090	t.attachment[len(t.attachment)-1] = nil
1091	t.attachment = t.attachment[:len(t.attachment)-1]
1092
1093}
1094
1095// HasUnknownAttachment determines whether the call to GetUnknownAttachment is safe
1096func (t *Place) HasUnknownAttachment() (ok bool) {
1097	return t.attachment != nil && t.attachment[0].unknown_ != nil
1098
1099}
1100
1101// GetUnknownAttachment returns the unknown value for attachment
1102func (t *Place) GetUnknownAttachment() (v interface{}) {
1103	return t.attachment[0].unknown_
1104
1105}
1106
1107// SetUnknownAttachment sets the unknown value of attachment
1108func (t *Place) SetUnknownAttachment(i interface{}) {
1109	if t.unknown_ == nil {
1110		t.unknown_ = make(map[string]interface{})
1111	}
1112	tmp := &attachmentIntermediateType{}
1113	tmp.unknown_ = i
1114	t.attachment = append(t.attachment, tmp)
1115
1116}
1117
1118// AttributedToLen determines the number of elements able to be used for the IsAttributedToObject, GetAttributedToObject, and RemoveAttributedToObject functions
1119func (t *Place) AttributedToLen() (l int) {
1120	return len(t.attributedTo)
1121
1122}
1123
1124// IsAttributedToObject determines whether the call to GetAttributedToObject is safe for the specified index
1125func (t *Place) IsAttributedToObject(index int) (ok bool) {
1126	return t.attributedTo[index].Object != nil
1127
1128}
1129
1130// GetAttributedToObject returns the value safely if IsAttributedToObject returned true for the specified index
1131func (t *Place) GetAttributedToObject(index int) (v ObjectType) {
1132	return t.attributedTo[index].Object
1133
1134}
1135
1136// AppendAttributedToObject adds to the back of attributedTo a ObjectType type
1137func (t *Place) AppendAttributedToObject(v ObjectType) {
1138	t.attributedTo = append(t.attributedTo, &attributedToIntermediateType{Object: v})
1139
1140}
1141
1142// PrependAttributedToObject adds to the front of attributedTo a ObjectType type
1143func (t *Place) PrependAttributedToObject(v ObjectType) {
1144	t.attributedTo = append([]*attributedToIntermediateType{&attributedToIntermediateType{Object: v}}, t.attributedTo...)
1145
1146}
1147
1148// RemoveAttributedToObject deletes the value from the specified index
1149func (t *Place) RemoveAttributedToObject(index int) {
1150	copy(t.attributedTo[index:], t.attributedTo[index+1:])
1151	t.attributedTo[len(t.attributedTo)-1] = nil
1152	t.attributedTo = t.attributedTo[:len(t.attributedTo)-1]
1153
1154}
1155
1156// IsAttributedToLink determines whether the call to GetAttributedToLink is safe for the specified index
1157func (t *Place) IsAttributedToLink(index int) (ok bool) {
1158	return t.attributedTo[index].Link != nil
1159
1160}
1161
1162// GetAttributedToLink returns the value safely if IsAttributedToLink returned true for the specified index
1163func (t *Place) GetAttributedToLink(index int) (v LinkType) {
1164	return t.attributedTo[index].Link
1165
1166}
1167
1168// AppendAttributedToLink adds to the back of attributedTo a LinkType type
1169func (t *Place) AppendAttributedToLink(v LinkType) {
1170	t.attributedTo = append(t.attributedTo, &attributedToIntermediateType{Link: v})
1171
1172}
1173
1174// PrependAttributedToLink adds to the front of attributedTo a LinkType type
1175func (t *Place) PrependAttributedToLink(v LinkType) {
1176	t.attributedTo = append([]*attributedToIntermediateType{&attributedToIntermediateType{Link: v}}, t.attributedTo...)
1177
1178}
1179
1180// RemoveAttributedToLink deletes the value from the specified index
1181func (t *Place) RemoveAttributedToLink(index int) {
1182	copy(t.attributedTo[index:], t.attributedTo[index+1:])
1183	t.attributedTo[len(t.attributedTo)-1] = nil
1184	t.attributedTo = t.attributedTo[:len(t.attributedTo)-1]
1185
1186}
1187
1188// IsAttributedToIRI determines whether the call to GetAttributedToIRI is safe for the specified index
1189func (t *Place) IsAttributedToIRI(index int) (ok bool) {
1190	return t.attributedTo[index].IRI != nil
1191
1192}
1193
1194// GetAttributedToIRI returns the value safely if IsAttributedToIRI returned true for the specified index
1195func (t *Place) GetAttributedToIRI(index int) (v *url.URL) {
1196	return t.attributedTo[index].IRI
1197
1198}
1199
1200// AppendAttributedToIRI adds to the back of attributedTo a *url.URL type
1201func (t *Place) AppendAttributedToIRI(v *url.URL) {
1202	t.attributedTo = append(t.attributedTo, &attributedToIntermediateType{IRI: v})
1203
1204}
1205
1206// PrependAttributedToIRI adds to the front of attributedTo a *url.URL type
1207func (t *Place) PrependAttributedToIRI(v *url.URL) {
1208	t.attributedTo = append([]*attributedToIntermediateType{&attributedToIntermediateType{IRI: v}}, t.attributedTo...)
1209
1210}
1211
1212// RemoveAttributedToIRI deletes the value from the specified index
1213func (t *Place) RemoveAttributedToIRI(index int) {
1214	copy(t.attributedTo[index:], t.attributedTo[index+1:])
1215	t.attributedTo[len(t.attributedTo)-1] = nil
1216	t.attributedTo = t.attributedTo[:len(t.attributedTo)-1]
1217
1218}
1219
1220// HasUnknownAttributedTo determines whether the call to GetUnknownAttributedTo is safe
1221func (t *Place) HasUnknownAttributedTo() (ok bool) {
1222	return t.attributedTo != nil && t.attributedTo[0].unknown_ != nil
1223
1224}
1225
1226// GetUnknownAttributedTo returns the unknown value for attributedTo
1227func (t *Place) GetUnknownAttributedTo() (v interface{}) {
1228	return t.attributedTo[0].unknown_
1229
1230}
1231
1232// SetUnknownAttributedTo sets the unknown value of attributedTo
1233func (t *Place) SetUnknownAttributedTo(i interface{}) {
1234	if t.unknown_ == nil {
1235		t.unknown_ = make(map[string]interface{})
1236	}
1237	tmp := &attributedToIntermediateType{}
1238	tmp.unknown_ = i
1239	t.attributedTo = append(t.attributedTo, tmp)
1240
1241}
1242
1243// AudienceLen determines the number of elements able to be used for the IsAudienceObject, GetAudienceObject, and RemoveAudienceObject functions
1244func (t *Place) AudienceLen() (l int) {
1245	return len(t.audience)
1246
1247}
1248
1249// IsAudienceObject determines whether the call to GetAudienceObject is safe for the specified index
1250func (t *Place) IsAudienceObject(index int) (ok bool) {
1251	return t.audience[index].Object != nil
1252
1253}
1254
1255// GetAudienceObject returns the value safely if IsAudienceObject returned true for the specified index
1256func (t *Place) GetAudienceObject(index int) (v ObjectType) {
1257	return t.audience[index].Object
1258
1259}
1260
1261// AppendAudienceObject adds to the back of audience a ObjectType type
1262func (t *Place) AppendAudienceObject(v ObjectType) {
1263	t.audience = append(t.audience, &audienceIntermediateType{Object: v})
1264
1265}
1266
1267// PrependAudienceObject adds to the front of audience a ObjectType type
1268func (t *Place) PrependAudienceObject(v ObjectType) {
1269	t.audience = append([]*audienceIntermediateType{&audienceIntermediateType{Object: v}}, t.audience...)
1270
1271}
1272
1273// RemoveAudienceObject deletes the value from the specified index
1274func (t *Place) RemoveAudienceObject(index int) {
1275	copy(t.audience[index:], t.audience[index+1:])
1276	t.audience[len(t.audience)-1] = nil
1277	t.audience = t.audience[:len(t.audience)-1]
1278
1279}
1280
1281// IsAudienceLink determines whether the call to GetAudienceLink is safe for the specified index
1282func (t *Place) IsAudienceLink(index int) (ok bool) {
1283	return t.audience[index].Link != nil
1284
1285}
1286
1287// GetAudienceLink returns the value safely if IsAudienceLink returned true for the specified index
1288func (t *Place) GetAudienceLink(index int) (v LinkType) {
1289	return t.audience[index].Link
1290
1291}
1292
1293// AppendAudienceLink adds to the back of audience a LinkType type
1294func (t *Place) AppendAudienceLink(v LinkType) {
1295	t.audience = append(t.audience, &audienceIntermediateType{Link: v})
1296
1297}
1298
1299// PrependAudienceLink adds to the front of audience a LinkType type
1300func (t *Place) PrependAudienceLink(v LinkType) {
1301	t.audience = append([]*audienceIntermediateType{&audienceIntermediateType{Link: v}}, t.audience...)
1302
1303}
1304
1305// RemoveAudienceLink deletes the value from the specified index
1306func (t *Place) RemoveAudienceLink(index int) {
1307	copy(t.audience[index:], t.audience[index+1:])
1308	t.audience[len(t.audience)-1] = nil
1309	t.audience = t.audience[:len(t.audience)-1]
1310
1311}
1312
1313// IsAudienceIRI determines whether the call to GetAudienceIRI is safe for the specified index
1314func (t *Place) IsAudienceIRI(index int) (ok bool) {
1315	return t.audience[index].IRI != nil
1316
1317}
1318
1319// GetAudienceIRI returns the value safely if IsAudienceIRI returned true for the specified index
1320func (t *Place) GetAudienceIRI(index int) (v *url.URL) {
1321	return t.audience[index].IRI
1322
1323}
1324
1325// AppendAudienceIRI adds to the back of audience a *url.URL type
1326func (t *Place) AppendAudienceIRI(v *url.URL) {
1327	t.audience = append(t.audience, &audienceIntermediateType{IRI: v})
1328
1329}
1330
1331// PrependAudienceIRI adds to the front of audience a *url.URL type
1332func (t *Place) PrependAudienceIRI(v *url.URL) {
1333	t.audience = append([]*audienceIntermediateType{&audienceIntermediateType{IRI: v}}, t.audience...)
1334
1335}
1336
1337// RemoveAudienceIRI deletes the value from the specified index
1338func (t *Place) RemoveAudienceIRI(index int) {
1339	copy(t.audience[index:], t.audience[index+1:])
1340	t.audience[len(t.audience)-1] = nil
1341	t.audience = t.audience[:len(t.audience)-1]
1342
1343}
1344
1345// HasUnknownAudience determines whether the call to GetUnknownAudience is safe
1346func (t *Place) HasUnknownAudience() (ok bool) {
1347	return t.audience != nil && t.audience[0].unknown_ != nil
1348
1349}
1350
1351// GetUnknownAudience returns the unknown value for audience
1352func (t *Place) GetUnknownAudience() (v interface{}) {
1353	return t.audience[0].unknown_
1354
1355}
1356
1357// SetUnknownAudience sets the unknown value of audience
1358func (t *Place) SetUnknownAudience(i interface{}) {
1359	if t.unknown_ == nil {
1360		t.unknown_ = make(map[string]interface{})
1361	}
1362	tmp := &audienceIntermediateType{}
1363	tmp.unknown_ = i
1364	t.audience = append(t.audience, tmp)
1365
1366}
1367
1368// ContentLen determines the number of elements able to be used for the IsContentString, GetContentString, and RemoveContentString functions
1369func (t *Place) ContentLen() (l int) {
1370	return len(t.content)
1371
1372}
1373
1374// IsContentString determines whether the call to GetContentString is safe for the specified index
1375func (t *Place) IsContentString(index int) (ok bool) {
1376	return t.content[index].stringName != nil
1377
1378}
1379
1380// GetContentString returns the value safely if IsContentString returned true for the specified index
1381func (t *Place) GetContentString(index int) (v string) {
1382	return *t.content[index].stringName
1383
1384}
1385
1386// AppendContentString adds to the back of content a string type
1387func (t *Place) AppendContentString(v string) {
1388	t.content = append(t.content, &contentIntermediateType{stringName: &v})
1389
1390}
1391
1392// PrependContentString adds to the front of content a string type
1393func (t *Place) PrependContentString(v string) {
1394	t.content = append([]*contentIntermediateType{&contentIntermediateType{stringName: &v}}, t.content...)
1395
1396}
1397
1398// RemoveContentString deletes the value from the specified index
1399func (t *Place) RemoveContentString(index int) {
1400	copy(t.content[index:], t.content[index+1:])
1401	t.content[len(t.content)-1] = nil
1402	t.content = t.content[:len(t.content)-1]
1403
1404}
1405
1406// IsContentLangString determines whether the call to GetContentLangString is safe for the specified index
1407func (t *Place) IsContentLangString(index int) (ok bool) {
1408	return t.content[index].langString != nil
1409
1410}
1411
1412// GetContentLangString returns the value safely if IsContentLangString returned true for the specified index
1413func (t *Place) GetContentLangString(index int) (v string) {
1414	return *t.content[index].langString
1415
1416}
1417
1418// AppendContentLangString adds to the back of content a string type
1419func (t *Place) AppendContentLangString(v string) {
1420	t.content = append(t.content, &contentIntermediateType{langString: &v})
1421
1422}
1423
1424// PrependContentLangString adds to the front of content a string type
1425func (t *Place) PrependContentLangString(v string) {
1426	t.content = append([]*contentIntermediateType{&contentIntermediateType{langString: &v}}, t.content...)
1427
1428}
1429
1430// RemoveContentLangString deletes the value from the specified index
1431func (t *Place) RemoveContentLangString(index int) {
1432	copy(t.content[index:], t.content[index+1:])
1433	t.content[len(t.content)-1] = nil
1434	t.content = t.content[:len(t.content)-1]
1435
1436}
1437
1438// IsContentIRI determines whether the call to GetContentIRI is safe for the specified index
1439func (t *Place) IsContentIRI(index int) (ok bool) {
1440	return t.content[index].IRI != nil
1441
1442}
1443
1444// GetContentIRI returns the value safely if IsContentIRI returned true for the specified index
1445func (t *Place) GetContentIRI(index int) (v *url.URL) {
1446	return t.content[index].IRI
1447
1448}
1449
1450// AppendContentIRI adds to the back of content a *url.URL type
1451func (t *Place) AppendContentIRI(v *url.URL) {
1452	t.content = append(t.content, &contentIntermediateType{IRI: v})
1453
1454}
1455
1456// PrependContentIRI adds to the front of content a *url.URL type
1457func (t *Place) PrependContentIRI(v *url.URL) {
1458	t.content = append([]*contentIntermediateType{&contentIntermediateType{IRI: v}}, t.content...)
1459
1460}
1461
1462// RemoveContentIRI deletes the value from the specified index
1463func (t *Place) RemoveContentIRI(index int) {
1464	copy(t.content[index:], t.content[index+1:])
1465	t.content[len(t.content)-1] = nil
1466	t.content = t.content[:len(t.content)-1]
1467
1468}
1469
1470// HasUnknownContent determines whether the call to GetUnknownContent is safe
1471func (t *Place) HasUnknownContent() (ok bool) {
1472	return t.content != nil && t.content[0].unknown_ != nil
1473
1474}
1475
1476// GetUnknownContent returns the unknown value for content
1477func (t *Place) GetUnknownContent() (v interface{}) {
1478	return t.content[0].unknown_
1479
1480}
1481
1482// SetUnknownContent sets the unknown value of content
1483func (t *Place) SetUnknownContent(i interface{}) {
1484	if t.unknown_ == nil {
1485		t.unknown_ = make(map[string]interface{})
1486	}
1487	tmp := &contentIntermediateType{}
1488	tmp.unknown_ = i
1489	t.content = append(t.content, tmp)
1490
1491}
1492
1493// ContentMapLanguages returns all languages for this property's language mapping, or nil if there are none.
1494func (t *Place) ContentMapLanguages() (l []string) {
1495	if t.contentMap == nil || len(t.contentMap) == 0 {
1496		return nil
1497	}
1498	for k := range t.contentMap {
1499		l = append(l, k)
1500	}
1501	return
1502
1503}
1504
1505// GetContentMap retrieves the value of the property for the specified language, or an empty string if it does not exist
1506func (t *Place) GetContentMap(l string) (v string) {
1507	if t.contentMap == nil {
1508		return ""
1509	}
1510	ok := false
1511	v, ok = t.contentMap[l]
1512	if !ok {
1513		return ""
1514	}
1515	return v
1516
1517}
1518
1519// SetContentMap sets the value of the property for the specified language
1520func (t *Place) SetContentMap(l string, v string) {
1521	if t.contentMap == nil {
1522		t.contentMap = make(map[string]string)
1523	}
1524	t.contentMap[l] = v
1525
1526}
1527
1528// ContextLen determines the number of elements able to be used for the IsContextObject, GetContextObject, and RemoveContextObject functions
1529func (t *Place) ContextLen() (l int) {
1530	return len(t.context)
1531
1532}
1533
1534// IsContextObject determines whether the call to GetContextObject is safe for the specified index
1535func (t *Place) IsContextObject(index int) (ok bool) {
1536	return t.context[index].Object != nil
1537
1538}
1539
1540// GetContextObject returns the value safely if IsContextObject returned true for the specified index
1541func (t *Place) GetContextObject(index int) (v ObjectType) {
1542	return t.context[index].Object
1543
1544}
1545
1546// AppendContextObject adds to the back of context a ObjectType type
1547func (t *Place) AppendContextObject(v ObjectType) {
1548	t.context = append(t.context, &contextIntermediateType{Object: v})
1549
1550}
1551
1552// PrependContextObject adds to the front of context a ObjectType type
1553func (t *Place) PrependContextObject(v ObjectType) {
1554	t.context = append([]*contextIntermediateType{&contextIntermediateType{Object: v}}, t.context...)
1555
1556}
1557
1558// RemoveContextObject deletes the value from the specified index
1559func (t *Place) RemoveContextObject(index int) {
1560	copy(t.context[index:], t.context[index+1:])
1561	t.context[len(t.context)-1] = nil
1562	t.context = t.context[:len(t.context)-1]
1563
1564}
1565
1566// IsContextLink determines whether the call to GetContextLink is safe for the specified index
1567func (t *Place) IsContextLink(index int) (ok bool) {
1568	return t.context[index].Link != nil
1569
1570}
1571
1572// GetContextLink returns the value safely if IsContextLink returned true for the specified index
1573func (t *Place) GetContextLink(index int) (v LinkType) {
1574	return t.context[index].Link
1575
1576}
1577
1578// AppendContextLink adds to the back of context a LinkType type
1579func (t *Place) AppendContextLink(v LinkType) {
1580	t.context = append(t.context, &contextIntermediateType{Link: v})
1581
1582}
1583
1584// PrependContextLink adds to the front of context a LinkType type
1585func (t *Place) PrependContextLink(v LinkType) {
1586	t.context = append([]*contextIntermediateType{&contextIntermediateType{Link: v}}, t.context...)
1587
1588}
1589
1590// RemoveContextLink deletes the value from the specified index
1591func (t *Place) RemoveContextLink(index int) {
1592	copy(t.context[index:], t.context[index+1:])
1593	t.context[len(t.context)-1] = nil
1594	t.context = t.context[:len(t.context)-1]
1595
1596}
1597
1598// IsContextIRI determines whether the call to GetContextIRI is safe for the specified index
1599func (t *Place) IsContextIRI(index int) (ok bool) {
1600	return t.context[index].IRI != nil
1601
1602}
1603
1604// GetContextIRI returns the value safely if IsContextIRI returned true for the specified index
1605func (t *Place) GetContextIRI(index int) (v *url.URL) {
1606	return t.context[index].IRI
1607
1608}
1609
1610// AppendContextIRI adds to the back of context a *url.URL type
1611func (t *Place) AppendContextIRI(v *url.URL) {
1612	t.context = append(t.context, &contextIntermediateType{IRI: v})
1613
1614}
1615
1616// PrependContextIRI adds to the front of context a *url.URL type
1617func (t *Place) PrependContextIRI(v *url.URL) {
1618	t.context = append([]*contextIntermediateType{&contextIntermediateType{IRI: v}}, t.context...)
1619
1620}
1621
1622// RemoveContextIRI deletes the value from the specified index
1623func (t *Place) RemoveContextIRI(index int) {
1624	copy(t.context[index:], t.context[index+1:])
1625	t.context[len(t.context)-1] = nil
1626	t.context = t.context[:len(t.context)-1]
1627
1628}
1629
1630// HasUnknownContext determines whether the call to GetUnknownContext is safe
1631func (t *Place) HasUnknownContext() (ok bool) {
1632	return t.context != nil && t.context[0].unknown_ != nil
1633
1634}
1635
1636// GetUnknownContext returns the unknown value for context
1637func (t *Place) GetUnknownContext() (v interface{}) {
1638	return t.context[0].unknown_
1639
1640}
1641
1642// SetUnknownContext sets the unknown value of context
1643func (t *Place) SetUnknownContext(i interface{}) {
1644	if t.unknown_ == nil {
1645		t.unknown_ = make(map[string]interface{})
1646	}
1647	tmp := &contextIntermediateType{}
1648	tmp.unknown_ = i
1649	t.context = append(t.context, tmp)
1650
1651}
1652
1653// NameLen determines the number of elements able to be used for the IsNameString, GetNameString, and RemoveNameString functions
1654func (t *Place) NameLen() (l int) {
1655	return len(t.name)
1656
1657}
1658
1659// IsNameString determines whether the call to GetNameString is safe for the specified index
1660func (t *Place) IsNameString(index int) (ok bool) {
1661	return t.name[index].stringName != nil
1662
1663}
1664
1665// GetNameString returns the value safely if IsNameString returned true for the specified index
1666func (t *Place) GetNameString(index int) (v string) {
1667	return *t.name[index].stringName
1668
1669}
1670
1671// AppendNameString adds to the back of name a string type
1672func (t *Place) AppendNameString(v string) {
1673	t.name = append(t.name, &nameIntermediateType{stringName: &v})
1674
1675}
1676
1677// PrependNameString adds to the front of name a string type
1678func (t *Place) PrependNameString(v string) {
1679	t.name = append([]*nameIntermediateType{&nameIntermediateType{stringName: &v}}, t.name...)
1680
1681}
1682
1683// RemoveNameString deletes the value from the specified index
1684func (t *Place) RemoveNameString(index int) {
1685	copy(t.name[index:], t.name[index+1:])
1686	t.name[len(t.name)-1] = nil
1687	t.name = t.name[:len(t.name)-1]
1688
1689}
1690
1691// IsNameLangString determines whether the call to GetNameLangString is safe for the specified index
1692func (t *Place) IsNameLangString(index int) (ok bool) {
1693	return t.name[index].langString != nil
1694
1695}
1696
1697// GetNameLangString returns the value safely if IsNameLangString returned true for the specified index
1698func (t *Place) GetNameLangString(index int) (v string) {
1699	return *t.name[index].langString
1700
1701}
1702
1703// AppendNameLangString adds to the back of name a string type
1704func (t *Place) AppendNameLangString(v string) {
1705	t.name = append(t.name, &nameIntermediateType{langString: &v})
1706
1707}
1708
1709// PrependNameLangString adds to the front of name a string type
1710func (t *Place) PrependNameLangString(v string) {
1711	t.name = append([]*nameIntermediateType{&nameIntermediateType{langString: &v}}, t.name...)
1712
1713}
1714
1715// RemoveNameLangString deletes the value from the specified index
1716func (t *Place) RemoveNameLangString(index int) {
1717	copy(t.name[index:], t.name[index+1:])
1718	t.name[len(t.name)-1] = nil
1719	t.name = t.name[:len(t.name)-1]
1720
1721}
1722
1723// IsNameIRI determines whether the call to GetNameIRI is safe for the specified index
1724func (t *Place) IsNameIRI(index int) (ok bool) {
1725	return t.name[index].IRI != nil
1726
1727}
1728
1729// GetNameIRI returns the value safely if IsNameIRI returned true for the specified index
1730func (t *Place) GetNameIRI(index int) (v *url.URL) {
1731	return t.name[index].IRI
1732
1733}
1734
1735// AppendNameIRI adds to the back of name a *url.URL type
1736func (t *Place) AppendNameIRI(v *url.URL) {
1737	t.name = append(t.name, &nameIntermediateType{IRI: v})
1738
1739}
1740
1741// PrependNameIRI adds to the front of name a *url.URL type
1742func (t *Place) PrependNameIRI(v *url.URL) {
1743	t.name = append([]*nameIntermediateType{&nameIntermediateType{IRI: v}}, t.name...)
1744
1745}
1746
1747// RemoveNameIRI deletes the value from the specified index
1748func (t *Place) RemoveNameIRI(index int) {
1749	copy(t.name[index:], t.name[index+1:])
1750	t.name[len(t.name)-1] = nil
1751	t.name = t.name[:len(t.name)-1]
1752
1753}
1754
1755// HasUnknownName determines whether the call to GetUnknownName is safe
1756func (t *Place) HasUnknownName() (ok bool) {
1757	return t.name != nil && t.name[0].unknown_ != nil
1758
1759}
1760
1761// GetUnknownName returns the unknown value for name
1762func (t *Place) GetUnknownName() (v interface{}) {
1763	return t.name[0].unknown_
1764
1765}
1766
1767// SetUnknownName sets the unknown value of name
1768func (t *Place) SetUnknownName(i interface{}) {
1769	if t.unknown_ == nil {
1770		t.unknown_ = make(map[string]interface{})
1771	}
1772	tmp := &nameIntermediateType{}
1773	tmp.unknown_ = i
1774	t.name = append(t.name, tmp)
1775
1776}
1777
1778// NameMapLanguages returns all languages for this property's language mapping, or nil if there are none.
1779func (t *Place) NameMapLanguages() (l []string) {
1780	if t.nameMap == nil || len(t.nameMap) == 0 {
1781		return nil
1782	}
1783	for k := range t.nameMap {
1784		l = append(l, k)
1785	}
1786	return
1787
1788}
1789
1790// GetNameMap retrieves the value of the property for the specified language, or an empty string if it does not exist
1791func (t *Place) GetNameMap(l string) (v string) {
1792	if t.nameMap == nil {
1793		return ""
1794	}
1795	ok := false
1796	v, ok = t.nameMap[l]
1797	if !ok {
1798		return ""
1799	}
1800	return v
1801
1802}
1803
1804// SetNameMap sets the value of the property for the specified language
1805func (t *Place) SetNameMap(l string, v string) {
1806	if t.nameMap == nil {
1807		t.nameMap = make(map[string]string)
1808	}
1809	t.nameMap[l] = v
1810
1811}
1812
1813// IsEndTime determines whether the call to GetEndTime is safe
1814func (t *Place) IsEndTime() (ok bool) {
1815	return t.endTime != nil && t.endTime.dateTime != nil
1816
1817}
1818
1819// GetEndTime returns the value safely if IsEndTime returned true
1820func (t *Place) GetEndTime() (v time.Time) {
1821	return *t.endTime.dateTime
1822
1823}
1824
1825// SetEndTime sets the value of endTime to be of time.Time type
1826func (t *Place) SetEndTime(v time.Time) {
1827	t.endTime = &endTimeIntermediateType{dateTime: &v}
1828
1829}
1830
1831// IsEndTimeIRI determines whether the call to GetEndTimeIRI is safe
1832func (t *Place) IsEndTimeIRI() (ok bool) {
1833	return t.endTime != nil && t.endTime.IRI != nil
1834
1835}
1836
1837// GetEndTimeIRI returns the value safely if IsEndTimeIRI returned true
1838func (t *Place) GetEndTimeIRI() (v *url.URL) {
1839	return t.endTime.IRI
1840
1841}
1842
1843// SetEndTimeIRI sets the value of endTime to be of *url.URL type
1844func (t *Place) SetEndTimeIRI(v *url.URL) {
1845	t.endTime = &endTimeIntermediateType{IRI: v}
1846
1847}
1848
1849// HasUnknownEndTime determines whether the call to GetUnknownEndTime is safe
1850func (t *Place) HasUnknownEndTime() (ok bool) {
1851	return t.endTime != nil && t.endTime.unknown_ != nil
1852
1853}
1854
1855// GetUnknownEndTime returns the unknown value for endTime
1856func (t *Place) GetUnknownEndTime() (v interface{}) {
1857	return t.endTime.unknown_
1858
1859}
1860
1861// SetUnknownEndTime sets the unknown value of endTime
1862func (t *Place) SetUnknownEndTime(i interface{}) {
1863	if t.unknown_ == nil {
1864		t.unknown_ = make(map[string]interface{})
1865	}
1866	tmp := &endTimeIntermediateType{}
1867	tmp.unknown_ = i
1868	t.endTime = tmp
1869
1870}
1871
1872// GeneratorLen determines the number of elements able to be used for the IsGeneratorObject, GetGeneratorObject, and RemoveGeneratorObject functions
1873func (t *Place) GeneratorLen() (l int) {
1874	return len(t.generator)
1875
1876}
1877
1878// IsGeneratorObject determines whether the call to GetGeneratorObject is safe for the specified index
1879func (t *Place) IsGeneratorObject(index int) (ok bool) {
1880	return t.generator[index].Object != nil
1881
1882}
1883
1884// GetGeneratorObject returns the value safely if IsGeneratorObject returned true for the specified index
1885func (t *Place) GetGeneratorObject(index int) (v ObjectType) {
1886	return t.generator[index].Object
1887
1888}
1889
1890// AppendGeneratorObject adds to the back of generator a ObjectType type
1891func (t *Place) AppendGeneratorObject(v ObjectType) {
1892	t.generator = append(t.generator, &generatorIntermediateType{Object: v})
1893
1894}
1895
1896// PrependGeneratorObject adds to the front of generator a ObjectType type
1897func (t *Place) PrependGeneratorObject(v ObjectType) {
1898	t.generator = append([]*generatorIntermediateType{&generatorIntermediateType{Object: v}}, t.generator...)
1899
1900}
1901
1902// RemoveGeneratorObject deletes the value from the specified index
1903func (t *Place) RemoveGeneratorObject(index int) {
1904	copy(t.generator[index:], t.generator[index+1:])
1905	t.generator[len(t.generator)-1] = nil
1906	t.generator = t.generator[:len(t.generator)-1]
1907
1908}
1909
1910// IsGeneratorLink determines whether the call to GetGeneratorLink is safe for the specified index
1911func (t *Place) IsGeneratorLink(index int) (ok bool) {
1912	return t.generator[index].Link != nil
1913
1914}
1915
1916// GetGeneratorLink returns the value safely if IsGeneratorLink returned true for the specified index
1917func (t *Place) GetGeneratorLink(index int) (v LinkType) {
1918	return t.generator[index].Link
1919
1920}
1921
1922// AppendGeneratorLink adds to the back of generator a LinkType type
1923func (t *Place) AppendGeneratorLink(v LinkType) {
1924	t.generator = append(t.generator, &generatorIntermediateType{Link: v})
1925
1926}
1927
1928// PrependGeneratorLink adds to the front of generator a LinkType type
1929func (t *Place) PrependGeneratorLink(v LinkType) {
1930	t.generator = append([]*generatorIntermediateType{&generatorIntermediateType{Link: v}}, t.generator...)
1931
1932}
1933
1934// RemoveGeneratorLink deletes the value from the specified index
1935func (t *Place) RemoveGeneratorLink(index int) {
1936	copy(t.generator[index:], t.generator[index+1:])
1937	t.generator[len(t.generator)-1] = nil
1938	t.generator = t.generator[:len(t.generator)-1]
1939
1940}
1941
1942// IsGeneratorIRI determines whether the call to GetGeneratorIRI is safe for the specified index
1943func (t *Place) IsGeneratorIRI(index int) (ok bool) {
1944	return t.generator[index].IRI != nil
1945
1946}
1947
1948// GetGeneratorIRI returns the value safely if IsGeneratorIRI returned true for the specified index
1949func (t *Place) GetGeneratorIRI(index int) (v *url.URL) {
1950	return t.generator[index].IRI
1951
1952}
1953
1954// AppendGeneratorIRI adds to the back of generator a *url.URL type
1955func (t *Place) AppendGeneratorIRI(v *url.URL) {
1956	t.generator = append(t.generator, &generatorIntermediateType{IRI: v})
1957
1958}
1959
1960// PrependGeneratorIRI adds to the front of generator a *url.URL type
1961func (t *Place) PrependGeneratorIRI(v *url.URL) {
1962	t.generator = append([]*generatorIntermediateType{&generatorIntermediateType{IRI: v}}, t.generator...)
1963
1964}
1965
1966// RemoveGeneratorIRI deletes the value from the specified index
1967func (t *Place) RemoveGeneratorIRI(index int) {
1968	copy(t.generator[index:], t.generator[index+1:])
1969	t.generator[len(t.generator)-1] = nil
1970	t.generator = t.generator[:len(t.generator)-1]
1971
1972}
1973
1974// HasUnknownGenerator determines whether the call to GetUnknownGenerator is safe
1975func (t *Place) HasUnknownGenerator() (ok bool) {
1976	return t.generator != nil && t.generator[0].unknown_ != nil
1977
1978}
1979
1980// GetUnknownGenerator returns the unknown value for generator
1981func (t *Place) GetUnknownGenerator() (v interface{}) {
1982	return t.generator[0].unknown_
1983
1984}
1985
1986// SetUnknownGenerator sets the unknown value of generator
1987func (t *Place) SetUnknownGenerator(i interface{}) {
1988	if t.unknown_ == nil {
1989		t.unknown_ = make(map[string]interface{})
1990	}
1991	tmp := &generatorIntermediateType{}
1992	tmp.unknown_ = i
1993	t.generator = append(t.generator, tmp)
1994
1995}
1996
1997// IconLen determines the number of elements able to be used for the IsIconImage, GetIconImage, and RemoveIconImage functions
1998func (t *Place) IconLen() (l int) {
1999	return len(t.icon)
2000
2001}
2002
2003// IsIconImage determines whether the call to GetIconImage is safe for the specified index
2004func (t *Place) IsIconImage(index int) (ok bool) {
2005	return t.icon[index].Image != nil
2006
2007}
2008
2009// GetIconImage returns the value safely if IsIconImage returned true for the specified index
2010func (t *Place) GetIconImage(index int) (v ImageType) {
2011	return t.icon[index].Image
2012
2013}
2014
2015// AppendIconImage adds to the back of icon a ImageType type
2016func (t *Place) AppendIconImage(v ImageType) {
2017	t.icon = append(t.icon, &iconIntermediateType{Image: v})
2018
2019}
2020
2021// PrependIconImage adds to the front of icon a ImageType type
2022func (t *Place) PrependIconImage(v ImageType) {
2023	t.icon = append([]*iconIntermediateType{&iconIntermediateType{Image: v}}, t.icon...)
2024
2025}
2026
2027// RemoveIconImage deletes the value from the specified index
2028func (t *Place) RemoveIconImage(index int) {
2029	copy(t.icon[index:], t.icon[index+1:])
2030	t.icon[len(t.icon)-1] = nil
2031	t.icon = t.icon[:len(t.icon)-1]
2032
2033}
2034
2035// IsIconLink determines whether the call to GetIconLink is safe for the specified index
2036func (t *Place) IsIconLink(index int) (ok bool) {
2037	return t.icon[index].Link != nil
2038
2039}
2040
2041// GetIconLink returns the value safely if IsIconLink returned true for the specified index
2042func (t *Place) GetIconLink(index int) (v LinkType) {
2043	return t.icon[index].Link
2044
2045}
2046
2047// AppendIconLink adds to the back of icon a LinkType type
2048func (t *Place) AppendIconLink(v LinkType) {
2049	t.icon = append(t.icon, &iconIntermediateType{Link: v})
2050
2051}
2052
2053// PrependIconLink adds to the front of icon a LinkType type
2054func (t *Place) PrependIconLink(v LinkType) {
2055	t.icon = append([]*iconIntermediateType{&iconIntermediateType{Link: v}}, t.icon...)
2056
2057}
2058
2059// RemoveIconLink deletes the value from the specified index
2060func (t *Place) RemoveIconLink(index int) {
2061	copy(t.icon[index:], t.icon[index+1:])
2062	t.icon[len(t.icon)-1] = nil
2063	t.icon = t.icon[:len(t.icon)-1]
2064
2065}
2066
2067// IsIconIRI determines whether the call to GetIconIRI is safe for the specified index
2068func (t *Place) IsIconIRI(index int) (ok bool) {
2069	return t.icon[index].IRI != nil
2070
2071}
2072
2073// GetIconIRI returns the value safely if IsIconIRI returned true for the specified index
2074func (t *Place) GetIconIRI(index int) (v *url.URL) {
2075	return t.icon[index].IRI
2076
2077}
2078
2079// AppendIconIRI adds to the back of icon a *url.URL type
2080func (t *Place) AppendIconIRI(v *url.URL) {
2081	t.icon = append(t.icon, &iconIntermediateType{IRI: v})
2082
2083}
2084
2085// PrependIconIRI adds to the front of icon a *url.URL type
2086func (t *Place) PrependIconIRI(v *url.URL) {
2087	t.icon = append([]*iconIntermediateType{&iconIntermediateType{IRI: v}}, t.icon...)
2088
2089}
2090
2091// RemoveIconIRI deletes the value from the specified index
2092func (t *Place) RemoveIconIRI(index int) {
2093	copy(t.icon[index:], t.icon[index+1:])
2094	t.icon[len(t.icon)-1] = nil
2095	t.icon = t.icon[:len(t.icon)-1]
2096
2097}
2098
2099// HasUnknownIcon determines whether the call to GetUnknownIcon is safe
2100func (t *Place) HasUnknownIcon() (ok bool) {
2101	return t.icon != nil && t.icon[0].unknown_ != nil
2102
2103}
2104
2105// GetUnknownIcon returns the unknown value for icon
2106func (t *Place) GetUnknownIcon() (v interface{}) {
2107	return t.icon[0].unknown_
2108
2109}
2110
2111// SetUnknownIcon sets the unknown value of icon
2112func (t *Place) SetUnknownIcon(i interface{}) {
2113	if t.unknown_ == nil {
2114		t.unknown_ = make(map[string]interface{})
2115	}
2116	tmp := &iconIntermediateType{}
2117	tmp.unknown_ = i
2118	t.icon = append(t.icon, tmp)
2119
2120}
2121
2122// HasId determines whether the call to GetId is safe
2123func (t *Place) HasId() (ok bool) {
2124	return t.id != nil
2125
2126}
2127
2128// GetId returns the value for id
2129func (t *Place) GetId() (v *url.URL) {
2130	return t.id
2131
2132}
2133
2134// SetId sets the value of id
2135func (t *Place) SetId(v *url.URL) {
2136	t.id = v
2137
2138}
2139
2140// HasUnknownId determines whether the call to GetUnknownId is safe
2141func (t *Place) HasUnknownId() (ok bool) {
2142	return t.unknown_ != nil && t.unknown_["id"] != nil
2143
2144}
2145
2146// GetUnknownId returns the unknown value for id
2147func (t *Place) GetUnknownId() (v interface{}) {
2148	return t.unknown_["id"]
2149
2150}
2151
2152// SetUnknownId sets the unknown value of id
2153func (t *Place) SetUnknownId(i interface{}) {
2154	if t.unknown_ == nil {
2155		t.unknown_ = make(map[string]interface{})
2156	}
2157	t.unknown_["id"] = i
2158
2159}
2160
2161// ImageLen determines the number of elements able to be used for the IsImageImage, GetImageImage, and RemoveImageImage functions
2162func (t *Place) ImageLen() (l int) {
2163	return len(t.image)
2164
2165}
2166
2167// IsImageImage determines whether the call to GetImageImage is safe for the specified index
2168func (t *Place) IsImageImage(index int) (ok bool) {
2169	return t.image[index].Image != nil
2170
2171}
2172
2173// GetImageImage returns the value safely if IsImageImage returned true for the specified index
2174func (t *Place) GetImageImage(index int) (v ImageType) {
2175	return t.image[index].Image
2176
2177}
2178
2179// AppendImageImage adds to the back of image a ImageType type
2180func (t *Place) AppendImageImage(v ImageType) {
2181	t.image = append(t.image, &imageIntermediateType{Image: v})
2182
2183}
2184
2185// PrependImageImage adds to the front of image a ImageType type
2186func (t *Place) PrependImageImage(v ImageType) {
2187	t.image = append([]*imageIntermediateType{&imageIntermediateType{Image: v}}, t.image...)
2188
2189}
2190
2191// RemoveImageImage deletes the value from the specified index
2192func (t *Place) RemoveImageImage(index int) {
2193	copy(t.image[index:], t.image[index+1:])
2194	t.image[len(t.image)-1] = nil
2195	t.image = t.image[:len(t.image)-1]
2196
2197}
2198
2199// IsImageLink determines whether the call to GetImageLink is safe for the specified index
2200func (t *Place) IsImageLink(index int) (ok bool) {
2201	return t.image[index].Link != nil
2202
2203}
2204
2205// GetImageLink returns the value safely if IsImageLink returned true for the specified index
2206func (t *Place) GetImageLink(index int) (v LinkType) {
2207	return t.image[index].Link
2208
2209}
2210
2211// AppendImageLink adds to the back of image a LinkType type
2212func (t *Place) AppendImageLink(v LinkType) {
2213	t.image = append(t.image, &imageIntermediateType{Link: v})
2214
2215}
2216
2217// PrependImageLink adds to the front of image a LinkType type
2218func (t *Place) PrependImageLink(v LinkType) {
2219	t.image = append([]*imageIntermediateType{&imageIntermediateType{Link: v}}, t.image...)
2220
2221}
2222
2223// RemoveImageLink deletes the value from the specified index
2224func (t *Place) RemoveImageLink(index int) {
2225	copy(t.image[index:], t.image[index+1:])
2226	t.image[len(t.image)-1] = nil
2227	t.image = t.image[:len(t.image)-1]
2228
2229}
2230
2231// IsImageIRI determines whether the call to GetImageIRI is safe for the specified index
2232func (t *Place) IsImageIRI(index int) (ok bool) {
2233	return t.image[index].IRI != nil
2234
2235}
2236
2237// GetImageIRI returns the value safely if IsImageIRI returned true for the specified index
2238func (t *Place) GetImageIRI(index int) (v *url.URL) {
2239	return t.image[index].IRI
2240
2241}
2242
2243// AppendImageIRI adds to the back of image a *url.URL type
2244func (t *Place) AppendImageIRI(v *url.URL) {
2245	t.image = append(t.image, &imageIntermediateType{IRI: v})
2246
2247}
2248
2249// PrependImageIRI adds to the front of image a *url.URL type
2250func (t *Place) PrependImageIRI(v *url.URL) {
2251	t.image = append([]*imageIntermediateType{&imageIntermediateType{IRI: v}}, t.image...)
2252
2253}
2254
2255// RemoveImageIRI deletes the value from the specified index
2256func (t *Place) RemoveImageIRI(index int) {
2257	copy(t.image[index:], t.image[index+1:])
2258	t.image[len(t.image)-1] = nil
2259	t.image = t.image[:len(t.image)-1]
2260
2261}
2262
2263// HasUnknownImage determines whether the call to GetUnknownImage is safe
2264func (t *Place) HasUnknownImage() (ok bool) {
2265	return t.image != nil && t.image[0].unknown_ != nil
2266
2267}
2268
2269// GetUnknownImage returns the unknown value for image
2270func (t *Place) GetUnknownImage() (v interface{}) {
2271	return t.image[0].unknown_
2272
2273}
2274
2275// SetUnknownImage sets the unknown value of image
2276func (t *Place) SetUnknownImage(i interface{}) {
2277	if t.unknown_ == nil {
2278		t.unknown_ = make(map[string]interface{})
2279	}
2280	tmp := &imageIntermediateType{}
2281	tmp.unknown_ = i
2282	t.image = append(t.image, tmp)
2283
2284}
2285
2286// InReplyToLen determines the number of elements able to be used for the IsInReplyToObject, GetInReplyToObject, and RemoveInReplyToObject functions
2287func (t *Place) InReplyToLen() (l int) {
2288	return len(t.inReplyTo)
2289
2290}
2291
2292// IsInReplyToObject determines whether the call to GetInReplyToObject is safe for the specified index
2293func (t *Place) IsInReplyToObject(index int) (ok bool) {
2294	return t.inReplyTo[index].Object != nil
2295
2296}
2297
2298// GetInReplyToObject returns the value safely if IsInReplyToObject returned true for the specified index
2299func (t *Place) GetInReplyToObject(index int) (v ObjectType) {
2300	return t.inReplyTo[index].Object
2301
2302}
2303
2304// AppendInReplyToObject adds to the back of inReplyTo a ObjectType type
2305func (t *Place) AppendInReplyToObject(v ObjectType) {
2306	t.inReplyTo = append(t.inReplyTo, &inReplyToIntermediateType{Object: v})
2307
2308}
2309
2310// PrependInReplyToObject adds to the front of inReplyTo a ObjectType type
2311func (t *Place) PrependInReplyToObject(v ObjectType) {
2312	t.inReplyTo = append([]*inReplyToIntermediateType{&inReplyToIntermediateType{Object: v}}, t.inReplyTo...)
2313
2314}
2315
2316// RemoveInReplyToObject deletes the value from the specified index
2317func (t *Place) RemoveInReplyToObject(index int) {
2318	copy(t.inReplyTo[index:], t.inReplyTo[index+1:])
2319	t.inReplyTo[len(t.inReplyTo)-1] = nil
2320	t.inReplyTo = t.inReplyTo[:len(t.inReplyTo)-1]
2321
2322}
2323
2324// IsInReplyToLink determines whether the call to GetInReplyToLink is safe for the specified index
2325func (t *Place) IsInReplyToLink(index int) (ok bool) {
2326	return t.inReplyTo[index].Link != nil
2327
2328}
2329
2330// GetInReplyToLink returns the value safely if IsInReplyToLink returned true for the specified index
2331func (t *Place) GetInReplyToLink(index int) (v LinkType) {
2332	return t.inReplyTo[index].Link
2333
2334}
2335
2336// AppendInReplyToLink adds to the back of inReplyTo a LinkType type
2337func (t *Place) AppendInReplyToLink(v LinkType) {
2338	t.inReplyTo = append(t.inReplyTo, &inReplyToIntermediateType{Link: v})
2339
2340}
2341
2342// PrependInReplyToLink adds to the front of inReplyTo a LinkType type
2343func (t *Place) PrependInReplyToLink(v LinkType) {
2344	t.inReplyTo = append([]*inReplyToIntermediateType{&inReplyToIntermediateType{Link: v}}, t.inReplyTo...)
2345
2346}
2347
2348// RemoveInReplyToLink deletes the value from the specified index
2349func (t *Place) RemoveInReplyToLink(index int) {
2350	copy(t.inReplyTo[index:], t.inReplyTo[index+1:])
2351	t.inReplyTo[len(t.inReplyTo)-1] = nil
2352	t.inReplyTo = t.inReplyTo[:len(t.inReplyTo)-1]
2353
2354}
2355
2356// IsInReplyToIRI determines whether the call to GetInReplyToIRI is safe for the specified index
2357func (t *Place) IsInReplyToIRI(index int) (ok bool) {
2358	return t.inReplyTo[index].IRI != nil
2359
2360}
2361
2362// GetInReplyToIRI returns the value safely if IsInReplyToIRI returned true for the specified index
2363func (t *Place) GetInReplyToIRI(index int) (v *url.URL) {
2364	return t.inReplyTo[index].IRI
2365
2366}
2367
2368// AppendInReplyToIRI adds to the back of inReplyTo a *url.URL type
2369func (t *Place) AppendInReplyToIRI(v *url.URL) {
2370	t.inReplyTo = append(t.inReplyTo, &inReplyToIntermediateType{IRI: v})
2371
2372}
2373
2374// PrependInReplyToIRI adds to the front of inReplyTo a *url.URL type
2375func (t *Place) PrependInReplyToIRI(v *url.URL) {
2376	t.inReplyTo = append([]*inReplyToIntermediateType{&inReplyToIntermediateType{IRI: v}}, t.inReplyTo...)
2377
2378}
2379
2380// RemoveInReplyToIRI deletes the value from the specified index
2381func (t *Place) RemoveInReplyToIRI(index int) {
2382	copy(t.inReplyTo[index:], t.inReplyTo[index+1:])
2383	t.inReplyTo[len(t.inReplyTo)-1] = nil
2384	t.inReplyTo = t.inReplyTo[:len(t.inReplyTo)-1]
2385
2386}
2387
2388// HasUnknownInReplyTo determines whether the call to GetUnknownInReplyTo is safe
2389func (t *Place) HasUnknownInReplyTo() (ok bool) {
2390	return t.inReplyTo != nil && t.inReplyTo[0].unknown_ != nil
2391
2392}
2393
2394// GetUnknownInReplyTo returns the unknown value for inReplyTo
2395func (t *Place) GetUnknownInReplyTo() (v interface{}) {
2396	return t.inReplyTo[0].unknown_
2397
2398}
2399
2400// SetUnknownInReplyTo sets the unknown value of inReplyTo
2401func (t *Place) SetUnknownInReplyTo(i interface{}) {
2402	if t.unknown_ == nil {
2403		t.unknown_ = make(map[string]interface{})
2404	}
2405	tmp := &inReplyToIntermediateType{}
2406	tmp.unknown_ = i
2407	t.inReplyTo = append(t.inReplyTo, tmp)
2408
2409}
2410
2411// LocationLen determines the number of elements able to be used for the IsLocationObject, GetLocationObject, and RemoveLocationObject functions
2412func (t *Place) LocationLen() (l int) {
2413	return len(t.location)
2414
2415}
2416
2417// IsLocationObject determines whether the call to GetLocationObject is safe for the specified index
2418func (t *Place) IsLocationObject(index int) (ok bool) {
2419	return t.location[index].Object != nil
2420
2421}
2422
2423// GetLocationObject returns the value safely if IsLocationObject returned true for the specified index
2424func (t *Place) GetLocationObject(index int) (v ObjectType) {
2425	return t.location[index].Object
2426
2427}
2428
2429// AppendLocationObject adds to the back of location a ObjectType type
2430func (t *Place) AppendLocationObject(v ObjectType) {
2431	t.location = append(t.location, &locationIntermediateType{Object: v})
2432
2433}
2434
2435// PrependLocationObject adds to the front of location a ObjectType type
2436func (t *Place) PrependLocationObject(v ObjectType) {
2437	t.location = append([]*locationIntermediateType{&locationIntermediateType{Object: v}}, t.location...)
2438
2439}
2440
2441// RemoveLocationObject deletes the value from the specified index
2442func (t *Place) RemoveLocationObject(index int) {
2443	copy(t.location[index:], t.location[index+1:])
2444	t.location[len(t.location)-1] = nil
2445	t.location = t.location[:len(t.location)-1]
2446
2447}
2448
2449// IsLocationLink determines whether the call to GetLocationLink is safe for the specified index
2450func (t *Place) IsLocationLink(index int) (ok bool) {
2451	return t.location[index].Link != nil
2452
2453}
2454
2455// GetLocationLink returns the value safely if IsLocationLink returned true for the specified index
2456func (t *Place) GetLocationLink(index int) (v LinkType) {
2457	return t.location[index].Link
2458
2459}
2460
2461// AppendLocationLink adds to the back of location a LinkType type
2462func (t *Place) AppendLocationLink(v LinkType) {
2463	t.location = append(t.location, &locationIntermediateType{Link: v})
2464
2465}
2466
2467// PrependLocationLink adds to the front of location a LinkType type
2468func (t *Place) PrependLocationLink(v LinkType) {
2469	t.location = append([]*locationIntermediateType{&locationIntermediateType{Link: v}}, t.location...)
2470
2471}
2472
2473// RemoveLocationLink deletes the value from the specified index
2474func (t *Place) RemoveLocationLink(index int) {
2475	copy(t.location[index:], t.location[index+1:])
2476	t.location[len(t.location)-1] = nil
2477	t.location = t.location[:len(t.location)-1]
2478
2479}
2480
2481// IsLocationIRI determines whether the call to GetLocationIRI is safe for the specified index
2482func (t *Place) IsLocationIRI(index int) (ok bool) {
2483	return t.location[index].IRI != nil
2484
2485}
2486
2487// GetLocationIRI returns the value safely if IsLocationIRI returned true for the specified index
2488func (t *Place) GetLocationIRI(index int) (v *url.URL) {
2489	return t.location[index].IRI
2490
2491}
2492
2493// AppendLocationIRI adds to the back of location a *url.URL type
2494func (t *Place) AppendLocationIRI(v *url.URL) {
2495	t.location = append(t.location, &locationIntermediateType{IRI: v})
2496
2497}
2498
2499// PrependLocationIRI adds to the front of location a *url.URL type
2500func (t *Place) PrependLocationIRI(v *url.URL) {
2501	t.location = append([]*locationIntermediateType{&locationIntermediateType{IRI: v}}, t.location...)
2502
2503}
2504
2505// RemoveLocationIRI deletes the value from the specified index
2506func (t *Place) RemoveLocationIRI(index int) {
2507	copy(t.location[index:], t.location[index+1:])
2508	t.location[len(t.location)-1] = nil
2509	t.location = t.location[:len(t.location)-1]
2510
2511}
2512
2513// HasUnknownLocation determines whether the call to GetUnknownLocation is safe
2514func (t *Place) HasUnknownLocation() (ok bool) {
2515	return t.location != nil && t.location[0].unknown_ != nil
2516
2517}
2518
2519// GetUnknownLocation returns the unknown value for location
2520func (t *Place) GetUnknownLocation() (v interface{}) {
2521	return t.location[0].unknown_
2522
2523}
2524
2525// SetUnknownLocation sets the unknown value of location
2526func (t *Place) SetUnknownLocation(i interface{}) {
2527	if t.unknown_ == nil {
2528		t.unknown_ = make(map[string]interface{})
2529	}
2530	tmp := &locationIntermediateType{}
2531	tmp.unknown_ = i
2532	t.location = append(t.location, tmp)
2533
2534}
2535
2536// PreviewLen determines the number of elements able to be used for the IsPreviewObject, GetPreviewObject, and RemovePreviewObject functions
2537func (t *Place) PreviewLen() (l int) {
2538	return len(t.preview)
2539
2540}
2541
2542// IsPreviewObject determines whether the call to GetPreviewObject is safe for the specified index
2543func (t *Place) IsPreviewObject(index int) (ok bool) {
2544	return t.preview[index].Object != nil
2545
2546}
2547
2548// GetPreviewObject returns the value safely if IsPreviewObject returned true for the specified index
2549func (t *Place) GetPreviewObject(index int) (v ObjectType) {
2550	return t.preview[index].Object
2551
2552}
2553
2554// AppendPreviewObject adds to the back of preview a ObjectType type
2555func (t *Place) AppendPreviewObject(v ObjectType) {
2556	t.preview = append(t.preview, &previewIntermediateType{Object: v})
2557
2558}
2559
2560// PrependPreviewObject adds to the front of preview a ObjectType type
2561func (t *Place) PrependPreviewObject(v ObjectType) {
2562	t.preview = append([]*previewIntermediateType{&previewIntermediateType{Object: v}}, t.preview...)
2563
2564}
2565
2566// RemovePreviewObject deletes the value from the specified index
2567func (t *Place) RemovePreviewObject(index int) {
2568	copy(t.preview[index:], t.preview[index+1:])
2569	t.preview[len(t.preview)-1] = nil
2570	t.preview = t.preview[:len(t.preview)-1]
2571
2572}
2573
2574// IsPreviewLink determines whether the call to GetPreviewLink is safe for the specified index
2575func (t *Place) IsPreviewLink(index int) (ok bool) {
2576	return t.preview[index].Link != nil
2577
2578}
2579
2580// GetPreviewLink returns the value safely if IsPreviewLink returned true for the specified index
2581func (t *Place) GetPreviewLink(index int) (v LinkType) {
2582	return t.preview[index].Link
2583
2584}
2585
2586// AppendPreviewLink adds to the back of preview a LinkType type
2587func (t *Place) AppendPreviewLink(v LinkType) {
2588	t.preview = append(t.preview, &previewIntermediateType{Link: v})
2589
2590}
2591
2592// PrependPreviewLink adds to the front of preview a LinkType type
2593func (t *Place) PrependPreviewLink(v LinkType) {
2594	t.preview = append([]*previewIntermediateType{&previewIntermediateType{Link: v}}, t.preview...)
2595
2596}
2597
2598// RemovePreviewLink deletes the value from the specified index
2599func (t *Place) RemovePreviewLink(index int) {
2600	copy(t.preview[index:], t.preview[index+1:])
2601	t.preview[len(t.preview)-1] = nil
2602	t.preview = t.preview[:len(t.preview)-1]
2603
2604}
2605
2606// IsPreviewIRI determines whether the call to GetPreviewIRI is safe for the specified index
2607func (t *Place) IsPreviewIRI(index int) (ok bool) {
2608	return t.preview[index].IRI != nil
2609
2610}
2611
2612// GetPreviewIRI returns the value safely if IsPreviewIRI returned true for the specified index
2613func (t *Place) GetPreviewIRI(index int) (v *url.URL) {
2614	return t.preview[index].IRI
2615
2616}
2617
2618// AppendPreviewIRI adds to the back of preview a *url.URL type
2619func (t *Place) AppendPreviewIRI(v *url.URL) {
2620	t.preview = append(t.preview, &previewIntermediateType{IRI: v})
2621
2622}
2623
2624// PrependPreviewIRI adds to the front of preview a *url.URL type
2625func (t *Place) PrependPreviewIRI(v *url.URL) {
2626	t.preview = append([]*previewIntermediateType{&previewIntermediateType{IRI: v}}, t.preview...)
2627
2628}
2629
2630// RemovePreviewIRI deletes the value from the specified index
2631func (t *Place) RemovePreviewIRI(index int) {
2632	copy(t.preview[index:], t.preview[index+1:])
2633	t.preview[len(t.preview)-1] = nil
2634	t.preview = t.preview[:len(t.preview)-1]
2635
2636}
2637
2638// HasUnknownPreview determines whether the call to GetUnknownPreview is safe
2639func (t *Place) HasUnknownPreview() (ok bool) {
2640	return t.preview != nil && t.preview[0].unknown_ != nil
2641
2642}
2643
2644// GetUnknownPreview returns the unknown value for preview
2645func (t *Place) GetUnknownPreview() (v interface{}) {
2646	return t.preview[0].unknown_
2647
2648}
2649
2650// SetUnknownPreview sets the unknown value of preview
2651func (t *Place) SetUnknownPreview(i interface{}) {
2652	if t.unknown_ == nil {
2653		t.unknown_ = make(map[string]interface{})
2654	}
2655	tmp := &previewIntermediateType{}
2656	tmp.unknown_ = i
2657	t.preview = append(t.preview, tmp)
2658
2659}
2660
2661// IsPublished determines whether the call to GetPublished is safe
2662func (t *Place) IsPublished() (ok bool) {
2663	return t.published != nil && t.published.dateTime != nil
2664
2665}
2666
2667// GetPublished returns the value safely if IsPublished returned true
2668func (t *Place) GetPublished() (v time.Time) {
2669	return *t.published.dateTime
2670
2671}
2672
2673// SetPublished sets the value of published to be of time.Time type
2674func (t *Place) SetPublished(v time.Time) {
2675	t.published = &publishedIntermediateType{dateTime: &v}
2676
2677}
2678
2679// IsPublishedIRI determines whether the call to GetPublishedIRI is safe
2680func (t *Place) IsPublishedIRI() (ok bool) {
2681	return t.published != nil && t.published.IRI != nil
2682
2683}
2684
2685// GetPublishedIRI returns the value safely if IsPublishedIRI returned true
2686func (t *Place) GetPublishedIRI() (v *url.URL) {
2687	return t.published.IRI
2688
2689}
2690
2691// SetPublishedIRI sets the value of published to be of *url.URL type
2692func (t *Place) SetPublishedIRI(v *url.URL) {
2693	t.published = &publishedIntermediateType{IRI: v}
2694
2695}
2696
2697// HasUnknownPublished determines whether the call to GetUnknownPublished is safe
2698func (t *Place) HasUnknownPublished() (ok bool) {
2699	return t.published != nil && t.published.unknown_ != nil
2700
2701}
2702
2703// GetUnknownPublished returns the unknown value for published
2704func (t *Place) GetUnknownPublished() (v interface{}) {
2705	return t.published.unknown_
2706
2707}
2708
2709// SetUnknownPublished sets the unknown value of published
2710func (t *Place) SetUnknownPublished(i interface{}) {
2711	if t.unknown_ == nil {
2712		t.unknown_ = make(map[string]interface{})
2713	}
2714	tmp := &publishedIntermediateType{}
2715	tmp.unknown_ = i
2716	t.published = tmp
2717
2718}
2719
2720// IsReplies determines whether the call to GetReplies is safe
2721func (t *Place) IsReplies() (ok bool) {
2722	return t.replies != nil && t.replies.Collection != nil
2723
2724}
2725
2726// GetReplies returns the value safely if IsReplies returned true
2727func (t *Place) GetReplies() (v CollectionType) {
2728	return t.replies.Collection
2729
2730}
2731
2732// SetReplies sets the value of replies to be of CollectionType type
2733func (t *Place) SetReplies(v CollectionType) {
2734	t.replies = &repliesIntermediateType{Collection: v}
2735
2736}
2737
2738// IsRepliesIRI determines whether the call to GetRepliesIRI is safe
2739func (t *Place) IsRepliesIRI() (ok bool) {
2740	return t.replies != nil && t.replies.IRI != nil
2741
2742}
2743
2744// GetRepliesIRI returns the value safely if IsRepliesIRI returned true
2745func (t *Place) GetRepliesIRI() (v *url.URL) {
2746	return t.replies.IRI
2747
2748}
2749
2750// SetRepliesIRI sets the value of replies to be of *url.URL type
2751func (t *Place) SetRepliesIRI(v *url.URL) {
2752	t.replies = &repliesIntermediateType{IRI: v}
2753
2754}
2755
2756// HasUnknownReplies determines whether the call to GetUnknownReplies is safe
2757func (t *Place) HasUnknownReplies() (ok bool) {
2758	return t.replies != nil && t.replies.unknown_ != nil
2759
2760}
2761
2762// GetUnknownReplies returns the unknown value for replies
2763func (t *Place) GetUnknownReplies() (v interface{}) {
2764	return t.replies.unknown_
2765
2766}
2767
2768// SetUnknownReplies sets the unknown value of replies
2769func (t *Place) SetUnknownReplies(i interface{}) {
2770	if t.unknown_ == nil {
2771		t.unknown_ = make(map[string]interface{})
2772	}
2773	tmp := &repliesIntermediateType{}
2774	tmp.unknown_ = i
2775	t.replies = tmp
2776
2777}
2778
2779// IsStartTime determines whether the call to GetStartTime is safe
2780func (t *Place) IsStartTime() (ok bool) {
2781	return t.startTime != nil && t.startTime.dateTime != nil
2782
2783}
2784
2785// GetStartTime returns the value safely if IsStartTime returned true
2786func (t *Place) GetStartTime() (v time.Time) {
2787	return *t.startTime.dateTime
2788
2789}
2790
2791// SetStartTime sets the value of startTime to be of time.Time type
2792func (t *Place) SetStartTime(v time.Time) {
2793	t.startTime = &startTimeIntermediateType{dateTime: &v}
2794
2795}
2796
2797// IsStartTimeIRI determines whether the call to GetStartTimeIRI is safe
2798func (t *Place) IsStartTimeIRI() (ok bool) {
2799	return t.startTime != nil && t.startTime.IRI != nil
2800
2801}
2802
2803// GetStartTimeIRI returns the value safely if IsStartTimeIRI returned true
2804func (t *Place) GetStartTimeIRI() (v *url.URL) {
2805	return t.startTime.IRI
2806
2807}
2808
2809// SetStartTimeIRI sets the value of startTime to be of *url.URL type
2810func (t *Place) SetStartTimeIRI(v *url.URL) {
2811	t.startTime = &startTimeIntermediateType{IRI: v}
2812
2813}
2814
2815// HasUnknownStartTime determines whether the call to GetUnknownStartTime is safe
2816func (t *Place) HasUnknownStartTime() (ok bool) {
2817	return t.startTime != nil && t.startTime.unknown_ != nil
2818
2819}
2820
2821// GetUnknownStartTime returns the unknown value for startTime
2822func (t *Place) GetUnknownStartTime() (v interface{}) {
2823	return t.startTime.unknown_
2824
2825}
2826
2827// SetUnknownStartTime sets the unknown value of startTime
2828func (t *Place) SetUnknownStartTime(i interface{}) {
2829	if t.unknown_ == nil {
2830		t.unknown_ = make(map[string]interface{})
2831	}
2832	tmp := &startTimeIntermediateType{}
2833	tmp.unknown_ = i
2834	t.startTime = tmp
2835
2836}
2837
2838// SummaryLen determines the number of elements able to be used for the IsSummaryString, GetSummaryString, and RemoveSummaryString functions
2839func (t *Place) SummaryLen() (l int) {
2840	return len(t.summary)
2841
2842}
2843
2844// IsSummaryString determines whether the call to GetSummaryString is safe for the specified index
2845func (t *Place) IsSummaryString(index int) (ok bool) {
2846	return t.summary[index].stringName != nil
2847
2848}
2849
2850// GetSummaryString returns the value safely if IsSummaryString returned true for the specified index
2851func (t *Place) GetSummaryString(index int) (v string) {
2852	return *t.summary[index].stringName
2853
2854}
2855
2856// AppendSummaryString adds to the back of summary a string type
2857func (t *Place) AppendSummaryString(v string) {
2858	t.summary = append(t.summary, &summaryIntermediateType{stringName: &v})
2859
2860}
2861
2862// PrependSummaryString adds to the front of summary a string type
2863func (t *Place) PrependSummaryString(v string) {
2864	t.summary = append([]*summaryIntermediateType{&summaryIntermediateType{stringName: &v}}, t.summary...)
2865
2866}
2867
2868// RemoveSummaryString deletes the value from the specified index
2869func (t *Place) RemoveSummaryString(index int) {
2870	copy(t.summary[index:], t.summary[index+1:])
2871	t.summary[len(t.summary)-1] = nil
2872	t.summary = t.summary[:len(t.summary)-1]
2873
2874}
2875
2876// IsSummaryLangString determines whether the call to GetSummaryLangString is safe for the specified index
2877func (t *Place) IsSummaryLangString(index int) (ok bool) {
2878	return t.summary[index].langString != nil
2879
2880}
2881
2882// GetSummaryLangString returns the value safely if IsSummaryLangString returned true for the specified index
2883func (t *Place) GetSummaryLangString(index int) (v string) {
2884	return *t.summary[index].langString
2885
2886}
2887
2888// AppendSummaryLangString adds to the back of summary a string type
2889func (t *Place) AppendSummaryLangString(v string) {
2890	t.summary = append(t.summary, &summaryIntermediateType{langString: &v})
2891
2892}
2893
2894// PrependSummaryLangString adds to the front of summary a string type
2895func (t *Place) PrependSummaryLangString(v string) {
2896	t.summary = append([]*summaryIntermediateType{&summaryIntermediateType{langString: &v}}, t.summary...)
2897
2898}
2899
2900// RemoveSummaryLangString deletes the value from the specified index
2901func (t *Place) RemoveSummaryLangString(index int) {
2902	copy(t.summary[index:], t.summary[index+1:])
2903	t.summary[len(t.summary)-1] = nil
2904	t.summary = t.summary[:len(t.summary)-1]
2905
2906}
2907
2908// IsSummaryIRI determines whether the call to GetSummaryIRI is safe for the specified index
2909func (t *Place) IsSummaryIRI(index int) (ok bool) {
2910	return t.summary[index].IRI != nil
2911
2912}
2913
2914// GetSummaryIRI returns the value safely if IsSummaryIRI returned true for the specified index
2915func (t *Place) GetSummaryIRI(index int) (v *url.URL) {
2916	return t.summary[index].IRI
2917
2918}
2919
2920// AppendSummaryIRI adds to the back of summary a *url.URL type
2921func (t *Place) AppendSummaryIRI(v *url.URL) {
2922	t.summary = append(t.summary, &summaryIntermediateType{IRI: v})
2923
2924}
2925
2926// PrependSummaryIRI adds to the front of summary a *url.URL type
2927func (t *Place) PrependSummaryIRI(v *url.URL) {
2928	t.summary = append([]*summaryIntermediateType{&summaryIntermediateType{IRI: v}}, t.summary...)
2929
2930}
2931
2932// RemoveSummaryIRI deletes the value from the specified index
2933func (t *Place) RemoveSummaryIRI(index int) {
2934	copy(t.summary[index:], t.summary[index+1:])
2935	t.summary[len(t.summary)-1] = nil
2936	t.summary = t.summary[:len(t.summary)-1]
2937
2938}
2939
2940// HasUnknownSummary determines whether the call to GetUnknownSummary is safe
2941func (t *Place) HasUnknownSummary() (ok bool) {
2942	return t.summary != nil && t.summary[0].unknown_ != nil
2943
2944}
2945
2946// GetUnknownSummary returns the unknown value for summary
2947func (t *Place) GetUnknownSummary() (v interface{}) {
2948	return t.summary[0].unknown_
2949
2950}
2951
2952// SetUnknownSummary sets the unknown value of summary
2953func (t *Place) SetUnknownSummary(i interface{}) {
2954	if t.unknown_ == nil {
2955		t.unknown_ = make(map[string]interface{})
2956	}
2957	tmp := &summaryIntermediateType{}
2958	tmp.unknown_ = i
2959	t.summary = append(t.summary, tmp)
2960
2961}
2962
2963// SummaryMapLanguages returns all languages for this property's language mapping, or nil if there are none.
2964func (t *Place) SummaryMapLanguages() (l []string) {
2965	if t.summaryMap == nil || len(t.summaryMap) == 0 {
2966		return nil
2967	}
2968	for k := range t.summaryMap {
2969		l = append(l, k)
2970	}
2971	return
2972
2973}
2974
2975// GetSummaryMap retrieves the value of the property for the specified language, or an empty string if it does not exist
2976func (t *Place) GetSummaryMap(l string) (v string) {
2977	if t.summaryMap == nil {
2978		return ""
2979	}
2980	ok := false
2981	v, ok = t.summaryMap[l]
2982	if !ok {
2983		return ""
2984	}
2985	return v
2986
2987}
2988
2989// SetSummaryMap sets the value of the property for the specified language
2990func (t *Place) SetSummaryMap(l string, v string) {
2991	if t.summaryMap == nil {
2992		t.summaryMap = make(map[string]string)
2993	}
2994	t.summaryMap[l] = v
2995
2996}
2997
2998// TagLen determines the number of elements able to be used for the IsTagObject, GetTagObject, and RemoveTagObject functions
2999func (t *Place) TagLen() (l int) {
3000	return len(t.tag)
3001
3002}
3003
3004// IsTagObject determines whether the call to GetTagObject is safe for the specified index
3005func (t *Place) IsTagObject(index int) (ok bool) {
3006	return t.tag[index].Object != nil
3007
3008}
3009
3010// GetTagObject returns the value safely if IsTagObject returned true for the specified index
3011func (t *Place) GetTagObject(index int) (v ObjectType) {
3012	return t.tag[index].Object
3013
3014}
3015
3016// AppendTagObject adds to the back of tag a ObjectType type
3017func (t *Place) AppendTagObject(v ObjectType) {
3018	t.tag = append(t.tag, &tagIntermediateType{Object: v})
3019
3020}
3021
3022// PrependTagObject adds to the front of tag a ObjectType type
3023func (t *Place) PrependTagObject(v ObjectType) {
3024	t.tag = append([]*tagIntermediateType{&tagIntermediateType{Object: v}}, t.tag...)
3025
3026}
3027
3028// RemoveTagObject deletes the value from the specified index
3029func (t *Place) RemoveTagObject(index int) {
3030	copy(t.tag[index:], t.tag[index+1:])
3031	t.tag[len(t.tag)-1] = nil
3032	t.tag = t.tag[:len(t.tag)-1]
3033
3034}
3035
3036// IsTagLink determines whether the call to GetTagLink is safe for the specified index
3037func (t *Place) IsTagLink(index int) (ok bool) {
3038	return t.tag[index].Link != nil
3039
3040}
3041
3042// GetTagLink returns the value safely if IsTagLink returned true for the specified index
3043func (t *Place) GetTagLink(index int) (v LinkType) {
3044	return t.tag[index].Link
3045
3046}
3047
3048// AppendTagLink adds to the back of tag a LinkType type
3049func (t *Place) AppendTagLink(v LinkType) {
3050	t.tag = append(t.tag, &tagIntermediateType{Link: v})
3051
3052}
3053
3054// PrependTagLink adds to the front of tag a LinkType type
3055func (t *Place) PrependTagLink(v LinkType) {
3056	t.tag = append([]*tagIntermediateType{&tagIntermediateType{Link: v}}, t.tag...)
3057
3058}
3059
3060// RemoveTagLink deletes the value from the specified index
3061func (t *Place) RemoveTagLink(index int) {
3062	copy(t.tag[index:], t.tag[index+1:])
3063	t.tag[len(t.tag)-1] = nil
3064	t.tag = t.tag[:len(t.tag)-1]
3065
3066}
3067
3068// IsTagIRI determines whether the call to GetTagIRI is safe for the specified index
3069func (t *Place) IsTagIRI(index int) (ok bool) {
3070	return t.tag[index].IRI != nil
3071
3072}
3073
3074// GetTagIRI returns the value safely if IsTagIRI returned true for the specified index
3075func (t *Place) GetTagIRI(index int) (v *url.URL) {
3076	return t.tag[index].IRI
3077
3078}
3079
3080// AppendTagIRI adds to the back of tag a *url.URL type
3081func (t *Place) AppendTagIRI(v *url.URL) {
3082	t.tag = append(t.tag, &tagIntermediateType{IRI: v})
3083
3084}
3085
3086// PrependTagIRI adds to the front of tag a *url.URL type
3087func (t *Place) PrependTagIRI(v *url.URL) {
3088	t.tag = append([]*tagIntermediateType{&tagIntermediateType{IRI: v}}, t.tag...)
3089
3090}
3091
3092// RemoveTagIRI deletes the value from the specified index
3093func (t *Place) RemoveTagIRI(index int) {
3094	copy(t.tag[index:], t.tag[index+1:])
3095	t.tag[len(t.tag)-1] = nil
3096	t.tag = t.tag[:len(t.tag)-1]
3097
3098}
3099
3100// HasUnknownTag determines whether the call to GetUnknownTag is safe
3101func (t *Place) HasUnknownTag() (ok bool) {
3102	return t.tag != nil && t.tag[0].unknown_ != nil
3103
3104}
3105
3106// GetUnknownTag returns the unknown value for tag
3107func (t *Place) GetUnknownTag() (v interface{}) {
3108	return t.tag[0].unknown_
3109
3110}
3111
3112// SetUnknownTag sets the unknown value of tag
3113func (t *Place) SetUnknownTag(i interface{}) {
3114	if t.unknown_ == nil {
3115		t.unknown_ = make(map[string]interface{})
3116	}
3117	tmp := &tagIntermediateType{}
3118	tmp.unknown_ = i
3119	t.tag = append(t.tag, tmp)
3120
3121}
3122
3123// TypeLen determines the number of elements able to be used for the GetType and RemoveType functions
3124func (t *Place) TypeLen() (l int) {
3125	return len(t.typeName)
3126
3127}
3128
3129// GetType returns the value for the specified index
3130func (t *Place) GetType(index int) (v interface{}) {
3131	return t.typeName[index]
3132
3133}
3134
3135// AppendType adds a value to the back of type
3136func (t *Place) AppendType(v interface{}) {
3137	t.typeName = append(t.typeName, v)
3138
3139}
3140
3141// PrependType adds a value to the front of type
3142func (t *Place) PrependType(v interface{}) {
3143	t.typeName = append([]interface{}{v}, t.typeName...)
3144
3145}
3146
3147// RemoveType deletes the value from the specified index
3148func (t *Place) RemoveType(index int) {
3149	copy(t.typeName[index:], t.typeName[index+1:])
3150	t.typeName[len(t.typeName)-1] = nil
3151	t.typeName = t.typeName[:len(t.typeName)-1]
3152
3153}
3154
3155// IsUpdated determines whether the call to GetUpdated is safe
3156func (t *Place) IsUpdated() (ok bool) {
3157	return t.updated != nil && t.updated.dateTime != nil
3158
3159}
3160
3161// GetUpdated returns the value safely if IsUpdated returned true
3162func (t *Place) GetUpdated() (v time.Time) {
3163	return *t.updated.dateTime
3164
3165}
3166
3167// SetUpdated sets the value of updated to be of time.Time type
3168func (t *Place) SetUpdated(v time.Time) {
3169	t.updated = &updatedIntermediateType{dateTime: &v}
3170
3171}
3172
3173// IsUpdatedIRI determines whether the call to GetUpdatedIRI is safe
3174func (t *Place) IsUpdatedIRI() (ok bool) {
3175	return t.updated != nil && t.updated.IRI != nil
3176
3177}
3178
3179// GetUpdatedIRI returns the value safely if IsUpdatedIRI returned true
3180func (t *Place) GetUpdatedIRI() (v *url.URL) {
3181	return t.updated.IRI
3182
3183}
3184
3185// SetUpdatedIRI sets the value of updated to be of *url.URL type
3186func (t *Place) SetUpdatedIRI(v *url.URL) {
3187	t.updated = &updatedIntermediateType{IRI: v}
3188
3189}
3190
3191// HasUnknownUpdated determines whether the call to GetUnknownUpdated is safe
3192func (t *Place) HasUnknownUpdated() (ok bool) {
3193	return t.updated != nil && t.updated.unknown_ != nil
3194
3195}
3196
3197// GetUnknownUpdated returns the unknown value for updated
3198func (t *Place) GetUnknownUpdated() (v interface{}) {
3199	return t.updated.unknown_
3200
3201}
3202
3203// SetUnknownUpdated sets the unknown value of updated
3204func (t *Place) SetUnknownUpdated(i interface{}) {
3205	if t.unknown_ == nil {
3206		t.unknown_ = make(map[string]interface{})
3207	}
3208	tmp := &updatedIntermediateType{}
3209	tmp.unknown_ = i
3210	t.updated = tmp
3211
3212}
3213
3214// UrlLen determines the number of elements able to be used for the IsUrlAnyURI, GetUrlAnyURI, and RemoveUrlAnyURI functions
3215func (t *Place) UrlLen() (l int) {
3216	return len(t.url)
3217
3218}
3219
3220// IsUrlAnyURI determines whether the call to GetUrlAnyURI is safe for the specified index
3221func (t *Place) IsUrlAnyURI(index int) (ok bool) {
3222	return t.url[index].anyURI != nil
3223
3224}
3225
3226// GetUrlAnyURI returns the value safely if IsUrlAnyURI returned true for the specified index
3227func (t *Place) GetUrlAnyURI(index int) (v *url.URL) {
3228	return t.url[index].anyURI
3229
3230}
3231
3232// AppendUrlAnyURI adds to the back of url a *url.URL type
3233func (t *Place) AppendUrlAnyURI(v *url.URL) {
3234	t.url = append(t.url, &urlIntermediateType{anyURI: v})
3235
3236}
3237
3238// PrependUrlAnyURI adds to the front of url a *url.URL type
3239func (t *Place) PrependUrlAnyURI(v *url.URL) {
3240	t.url = append([]*urlIntermediateType{&urlIntermediateType{anyURI: v}}, t.url...)
3241
3242}
3243
3244// RemoveUrlAnyURI deletes the value from the specified index
3245func (t *Place) RemoveUrlAnyURI(index int) {
3246	copy(t.url[index:], t.url[index+1:])
3247	t.url[len(t.url)-1] = nil
3248	t.url = t.url[:len(t.url)-1]
3249
3250}
3251
3252// IsUrlLink determines whether the call to GetUrlLink is safe for the specified index
3253func (t *Place) IsUrlLink(index int) (ok bool) {
3254	return t.url[index].Link != nil
3255
3256}
3257
3258// GetUrlLink returns the value safely if IsUrlLink returned true for the specified index
3259func (t *Place) GetUrlLink(index int) (v LinkType) {
3260	return t.url[index].Link
3261
3262}
3263
3264// AppendUrlLink adds to the back of url a LinkType type
3265func (t *Place) AppendUrlLink(v LinkType) {
3266	t.url = append(t.url, &urlIntermediateType{Link: v})
3267
3268}
3269
3270// PrependUrlLink adds to the front of url a LinkType type
3271func (t *Place) PrependUrlLink(v LinkType) {
3272	t.url = append([]*urlIntermediateType{&urlIntermediateType{Link: v}}, t.url...)
3273
3274}
3275
3276// RemoveUrlLink deletes the value from the specified index
3277func (t *Place) RemoveUrlLink(index int) {
3278	copy(t.url[index:], t.url[index+1:])
3279	t.url[len(t.url)-1] = nil
3280	t.url = t.url[:len(t.url)-1]
3281
3282}
3283
3284// HasUnknownUrl determines whether the call to GetUnknownUrl is safe
3285func (t *Place) HasUnknownUrl() (ok bool) {
3286	return t.url != nil && t.url[0].unknown_ != nil
3287
3288}
3289
3290// GetUnknownUrl returns the unknown value for url
3291func (t *Place) GetUnknownUrl() (v interface{}) {
3292	return t.url[0].unknown_
3293
3294}
3295
3296// SetUnknownUrl sets the unknown value of url
3297func (t *Place) SetUnknownUrl(i interface{}) {
3298	if t.unknown_ == nil {
3299		t.unknown_ = make(map[string]interface{})
3300	}
3301	tmp := &urlIntermediateType{}
3302	tmp.unknown_ = i
3303	t.url = append(t.url, tmp)
3304
3305}
3306
3307// ToLen determines the number of elements able to be used for the IsToObject, GetToObject, and RemoveToObject functions
3308func (t *Place) ToLen() (l int) {
3309	return len(t.to)
3310
3311}
3312
3313// IsToObject determines whether the call to GetToObject is safe for the specified index
3314func (t *Place) IsToObject(index int) (ok bool) {
3315	return t.to[index].Object != nil
3316
3317}
3318
3319// GetToObject returns the value safely if IsToObject returned true for the specified index
3320func (t *Place) GetToObject(index int) (v ObjectType) {
3321	return t.to[index].Object
3322
3323}
3324
3325// AppendToObject adds to the back of to a ObjectType type
3326func (t *Place) AppendToObject(v ObjectType) {
3327	t.to = append(t.to, &toIntermediateType{Object: v})
3328
3329}
3330
3331// PrependToObject adds to the front of to a ObjectType type
3332func (t *Place) PrependToObject(v ObjectType) {
3333	t.to = append([]*toIntermediateType{&toIntermediateType{Object: v}}, t.to...)
3334
3335}
3336
3337// RemoveToObject deletes the value from the specified index
3338func (t *Place) RemoveToObject(index int) {
3339	copy(t.to[index:], t.to[index+1:])
3340	t.to[len(t.to)-1] = nil
3341	t.to = t.to[:len(t.to)-1]
3342
3343}
3344
3345// IsToLink determines whether the call to GetToLink is safe for the specified index
3346func (t *Place) IsToLink(index int) (ok bool) {
3347	return t.to[index].Link != nil
3348
3349}
3350
3351// GetToLink returns the value safely if IsToLink returned true for the specified index
3352func (t *Place) GetToLink(index int) (v LinkType) {
3353	return t.to[index].Link
3354
3355}
3356
3357// AppendToLink adds to the back of to a LinkType type
3358func (t *Place) AppendToLink(v LinkType) {
3359	t.to = append(t.to, &toIntermediateType{Link: v})
3360
3361}
3362
3363// PrependToLink adds to the front of to a LinkType type
3364func (t *Place) PrependToLink(v LinkType) {
3365	t.to = append([]*toIntermediateType{&toIntermediateType{Link: v}}, t.to...)
3366
3367}
3368
3369// RemoveToLink deletes the value from the specified index
3370func (t *Place) RemoveToLink(index int) {
3371	copy(t.to[index:], t.to[index+1:])
3372	t.to[len(t.to)-1] = nil
3373	t.to = t.to[:len(t.to)-1]
3374
3375}
3376
3377// IsToIRI determines whether the call to GetToIRI is safe for the specified index
3378func (t *Place) IsToIRI(index int) (ok bool) {
3379	return t.to[index].IRI != nil
3380
3381}
3382
3383// GetToIRI returns the value safely if IsToIRI returned true for the specified index
3384func (t *Place) GetToIRI(index int) (v *url.URL) {
3385	return t.to[index].IRI
3386
3387}
3388
3389// AppendToIRI adds to the back of to a *url.URL type
3390func (t *Place) AppendToIRI(v *url.URL) {
3391	t.to = append(t.to, &toIntermediateType{IRI: v})
3392
3393}
3394
3395// PrependToIRI adds to the front of to a *url.URL type
3396func (t *Place) PrependToIRI(v *url.URL) {
3397	t.to = append([]*toIntermediateType{&toIntermediateType{IRI: v}}, t.to...)
3398
3399}
3400
3401// RemoveToIRI deletes the value from the specified index
3402func (t *Place) RemoveToIRI(index int) {
3403	copy(t.to[index:], t.to[index+1:])
3404	t.to[len(t.to)-1] = nil
3405	t.to = t.to[:len(t.to)-1]
3406
3407}
3408
3409// HasUnknownTo determines whether the call to GetUnknownTo is safe
3410func (t *Place) HasUnknownTo() (ok bool) {
3411	return t.to != nil && t.to[0].unknown_ != nil
3412
3413}
3414
3415// GetUnknownTo returns the unknown value for to
3416func (t *Place) GetUnknownTo() (v interface{}) {
3417	return t.to[0].unknown_
3418
3419}
3420
3421// SetUnknownTo sets the unknown value of to
3422func (t *Place) SetUnknownTo(i interface{}) {
3423	if t.unknown_ == nil {
3424		t.unknown_ = make(map[string]interface{})
3425	}
3426	tmp := &toIntermediateType{}
3427	tmp.unknown_ = i
3428	t.to = append(t.to, tmp)
3429
3430}
3431
3432// BtoLen determines the number of elements able to be used for the IsBtoObject, GetBtoObject, and RemoveBtoObject functions
3433func (t *Place) BtoLen() (l int) {
3434	return len(t.bto)
3435
3436}
3437
3438// IsBtoObject determines whether the call to GetBtoObject is safe for the specified index
3439func (t *Place) IsBtoObject(index int) (ok bool) {
3440	return t.bto[index].Object != nil
3441
3442}
3443
3444// GetBtoObject returns the value safely if IsBtoObject returned true for the specified index
3445func (t *Place) GetBtoObject(index int) (v ObjectType) {
3446	return t.bto[index].Object
3447
3448}
3449
3450// AppendBtoObject adds to the back of bto a ObjectType type
3451func (t *Place) AppendBtoObject(v ObjectType) {
3452	t.bto = append(t.bto, &btoIntermediateType{Object: v})
3453
3454}
3455
3456// PrependBtoObject adds to the front of bto a ObjectType type
3457func (t *Place) PrependBtoObject(v ObjectType) {
3458	t.bto = append([]*btoIntermediateType{&btoIntermediateType{Object: v}}, t.bto...)
3459
3460}
3461
3462// RemoveBtoObject deletes the value from the specified index
3463func (t *Place) RemoveBtoObject(index int) {
3464	copy(t.bto[index:], t.bto[index+1:])
3465	t.bto[len(t.bto)-1] = nil
3466	t.bto = t.bto[:len(t.bto)-1]
3467
3468}
3469
3470// IsBtoLink determines whether the call to GetBtoLink is safe for the specified index
3471func (t *Place) IsBtoLink(index int) (ok bool) {
3472	return t.bto[index].Link != nil
3473
3474}
3475
3476// GetBtoLink returns the value safely if IsBtoLink returned true for the specified index
3477func (t *Place) GetBtoLink(index int) (v LinkType) {
3478	return t.bto[index].Link
3479
3480}
3481
3482// AppendBtoLink adds to the back of bto a LinkType type
3483func (t *Place) AppendBtoLink(v LinkType) {
3484	t.bto = append(t.bto, &btoIntermediateType{Link: v})
3485
3486}
3487
3488// PrependBtoLink adds to the front of bto a LinkType type
3489func (t *Place) PrependBtoLink(v LinkType) {
3490	t.bto = append([]*btoIntermediateType{&btoIntermediateType{Link: v}}, t.bto...)
3491
3492}
3493
3494// RemoveBtoLink deletes the value from the specified index
3495func (t *Place) RemoveBtoLink(index int) {
3496	copy(t.bto[index:], t.bto[index+1:])
3497	t.bto[len(t.bto)-1] = nil
3498	t.bto = t.bto[:len(t.bto)-1]
3499
3500}
3501
3502// IsBtoIRI determines whether the call to GetBtoIRI is safe for the specified index
3503func (t *Place) IsBtoIRI(index int) (ok bool) {
3504	return t.bto[index].IRI != nil
3505
3506}
3507
3508// GetBtoIRI returns the value safely if IsBtoIRI returned true for the specified index
3509func (t *Place) GetBtoIRI(index int) (v *url.URL) {
3510	return t.bto[index].IRI
3511
3512}
3513
3514// AppendBtoIRI adds to the back of bto a *url.URL type
3515func (t *Place) AppendBtoIRI(v *url.URL) {
3516	t.bto = append(t.bto, &btoIntermediateType{IRI: v})
3517
3518}
3519
3520// PrependBtoIRI adds to the front of bto a *url.URL type
3521func (t *Place) PrependBtoIRI(v *url.URL) {
3522	t.bto = append([]*btoIntermediateType{&btoIntermediateType{IRI: v}}, t.bto...)
3523
3524}
3525
3526// RemoveBtoIRI deletes the value from the specified index
3527func (t *Place) RemoveBtoIRI(index int) {
3528	copy(t.bto[index:], t.bto[index+1:])
3529	t.bto[len(t.bto)-1] = nil
3530	t.bto = t.bto[:len(t.bto)-1]
3531
3532}
3533
3534// HasUnknownBto determines whether the call to GetUnknownBto is safe
3535func (t *Place) HasUnknownBto() (ok bool) {
3536	return t.bto != nil && t.bto[0].unknown_ != nil
3537
3538}
3539
3540// GetUnknownBto returns the unknown value for bto
3541func (t *Place) GetUnknownBto() (v interface{}) {
3542	return t.bto[0].unknown_
3543
3544}
3545
3546// SetUnknownBto sets the unknown value of bto
3547func (t *Place) SetUnknownBto(i interface{}) {
3548	if t.unknown_ == nil {
3549		t.unknown_ = make(map[string]interface{})
3550	}
3551	tmp := &btoIntermediateType{}
3552	tmp.unknown_ = i
3553	t.bto = append(t.bto, tmp)
3554
3555}
3556
3557// CcLen determines the number of elements able to be used for the IsCcObject, GetCcObject, and RemoveCcObject functions
3558func (t *Place) CcLen() (l int) {
3559	return len(t.cc)
3560
3561}
3562
3563// IsCcObject determines whether the call to GetCcObject is safe for the specified index
3564func (t *Place) IsCcObject(index int) (ok bool) {
3565	return t.cc[index].Object != nil
3566
3567}
3568
3569// GetCcObject returns the value safely if IsCcObject returned true for the specified index
3570func (t *Place) GetCcObject(index int) (v ObjectType) {
3571	return t.cc[index].Object
3572
3573}
3574
3575// AppendCcObject adds to the back of cc a ObjectType type
3576func (t *Place) AppendCcObject(v ObjectType) {
3577	t.cc = append(t.cc, &ccIntermediateType{Object: v})
3578
3579}
3580
3581// PrependCcObject adds to the front of cc a ObjectType type
3582func (t *Place) PrependCcObject(v ObjectType) {
3583	t.cc = append([]*ccIntermediateType{&ccIntermediateType{Object: v}}, t.cc...)
3584
3585}
3586
3587// RemoveCcObject deletes the value from the specified index
3588func (t *Place) RemoveCcObject(index int) {
3589	copy(t.cc[index:], t.cc[index+1:])
3590	t.cc[len(t.cc)-1] = nil
3591	t.cc = t.cc[:len(t.cc)-1]
3592
3593}
3594
3595// IsCcLink determines whether the call to GetCcLink is safe for the specified index
3596func (t *Place) IsCcLink(index int) (ok bool) {
3597	return t.cc[index].Link != nil
3598
3599}
3600
3601// GetCcLink returns the value safely if IsCcLink returned true for the specified index
3602func (t *Place) GetCcLink(index int) (v LinkType) {
3603	return t.cc[index].Link
3604
3605}
3606
3607// AppendCcLink adds to the back of cc a LinkType type
3608func (t *Place) AppendCcLink(v LinkType) {
3609	t.cc = append(t.cc, &ccIntermediateType{Link: v})
3610
3611}
3612
3613// PrependCcLink adds to the front of cc a LinkType type
3614func (t *Place) PrependCcLink(v LinkType) {
3615	t.cc = append([]*ccIntermediateType{&ccIntermediateType{Link: v}}, t.cc...)
3616
3617}
3618
3619// RemoveCcLink deletes the value from the specified index
3620func (t *Place) RemoveCcLink(index int) {
3621	copy(t.cc[index:], t.cc[index+1:])
3622	t.cc[len(t.cc)-1] = nil
3623	t.cc = t.cc[:len(t.cc)-1]
3624
3625}
3626
3627// IsCcIRI determines whether the call to GetCcIRI is safe for the specified index
3628func (t *Place) IsCcIRI(index int) (ok bool) {
3629	return t.cc[index].IRI != nil
3630
3631}
3632
3633// GetCcIRI returns the value safely if IsCcIRI returned true for the specified index
3634func (t *Place) GetCcIRI(index int) (v *url.URL) {
3635	return t.cc[index].IRI
3636
3637}
3638
3639// AppendCcIRI adds to the back of cc a *url.URL type
3640func (t *Place) AppendCcIRI(v *url.URL) {
3641	t.cc = append(t.cc, &ccIntermediateType{IRI: v})
3642
3643}
3644
3645// PrependCcIRI adds to the front of cc a *url.URL type
3646func (t *Place) PrependCcIRI(v *url.URL) {
3647	t.cc = append([]*ccIntermediateType{&ccIntermediateType{IRI: v}}, t.cc...)
3648
3649}
3650
3651// RemoveCcIRI deletes the value from the specified index
3652func (t *Place) RemoveCcIRI(index int) {
3653	copy(t.cc[index:], t.cc[index+1:])
3654	t.cc[len(t.cc)-1] = nil
3655	t.cc = t.cc[:len(t.cc)-1]
3656
3657}
3658
3659// HasUnknownCc determines whether the call to GetUnknownCc is safe
3660func (t *Place) HasUnknownCc() (ok bool) {
3661	return t.cc != nil && t.cc[0].unknown_ != nil
3662
3663}
3664
3665// GetUnknownCc returns the unknown value for cc
3666func (t *Place) GetUnknownCc() (v interface{}) {
3667	return t.cc[0].unknown_
3668
3669}
3670
3671// SetUnknownCc sets the unknown value of cc
3672func (t *Place) SetUnknownCc(i interface{}) {
3673	if t.unknown_ == nil {
3674		t.unknown_ = make(map[string]interface{})
3675	}
3676	tmp := &ccIntermediateType{}
3677	tmp.unknown_ = i
3678	t.cc = append(t.cc, tmp)
3679
3680}
3681
3682// BccLen determines the number of elements able to be used for the IsBccObject, GetBccObject, and RemoveBccObject functions
3683func (t *Place) BccLen() (l int) {
3684	return len(t.bcc)
3685
3686}
3687
3688// IsBccObject determines whether the call to GetBccObject is safe for the specified index
3689func (t *Place) IsBccObject(index int) (ok bool) {
3690	return t.bcc[index].Object != nil
3691
3692}
3693
3694// GetBccObject returns the value safely if IsBccObject returned true for the specified index
3695func (t *Place) GetBccObject(index int) (v ObjectType) {
3696	return t.bcc[index].Object
3697
3698}
3699
3700// AppendBccObject adds to the back of bcc a ObjectType type
3701func (t *Place) AppendBccObject(v ObjectType) {
3702	t.bcc = append(t.bcc, &bccIntermediateType{Object: v})
3703
3704}
3705
3706// PrependBccObject adds to the front of bcc a ObjectType type
3707func (t *Place) PrependBccObject(v ObjectType) {
3708	t.bcc = append([]*bccIntermediateType{&bccIntermediateType{Object: v}}, t.bcc...)
3709
3710}
3711
3712// RemoveBccObject deletes the value from the specified index
3713func (t *Place) RemoveBccObject(index int) {
3714	copy(t.bcc[index:], t.bcc[index+1:])
3715	t.bcc[len(t.bcc)-1] = nil
3716	t.bcc = t.bcc[:len(t.bcc)-1]
3717
3718}
3719
3720// IsBccLink determines whether the call to GetBccLink is safe for the specified index
3721func (t *Place) IsBccLink(index int) (ok bool) {
3722	return t.bcc[index].Link != nil
3723
3724}
3725
3726// GetBccLink returns the value safely if IsBccLink returned true for the specified index
3727func (t *Place) GetBccLink(index int) (v LinkType) {
3728	return t.bcc[index].Link
3729
3730}
3731
3732// AppendBccLink adds to the back of bcc a LinkType type
3733func (t *Place) AppendBccLink(v LinkType) {
3734	t.bcc = append(t.bcc, &bccIntermediateType{Link: v})
3735
3736}
3737
3738// PrependBccLink adds to the front of bcc a LinkType type
3739func (t *Place) PrependBccLink(v LinkType) {
3740	t.bcc = append([]*bccIntermediateType{&bccIntermediateType{Link: v}}, t.bcc...)
3741
3742}
3743
3744// RemoveBccLink deletes the value from the specified index
3745func (t *Place) RemoveBccLink(index int) {
3746	copy(t.bcc[index:], t.bcc[index+1:])
3747	t.bcc[len(t.bcc)-1] = nil
3748	t.bcc = t.bcc[:len(t.bcc)-1]
3749
3750}
3751
3752// IsBccIRI determines whether the call to GetBccIRI is safe for the specified index
3753func (t *Place) IsBccIRI(index int) (ok bool) {
3754	return t.bcc[index].IRI != nil
3755
3756}
3757
3758// GetBccIRI returns the value safely if IsBccIRI returned true for the specified index
3759func (t *Place) GetBccIRI(index int) (v *url.URL) {
3760	return t.bcc[index].IRI
3761
3762}
3763
3764// AppendBccIRI adds to the back of bcc a *url.URL type
3765func (t *Place) AppendBccIRI(v *url.URL) {
3766	t.bcc = append(t.bcc, &bccIntermediateType{IRI: v})
3767
3768}
3769
3770// PrependBccIRI adds to the front of bcc a *url.URL type
3771func (t *Place) PrependBccIRI(v *url.URL) {
3772	t.bcc = append([]*bccIntermediateType{&bccIntermediateType{IRI: v}}, t.bcc...)
3773
3774}
3775
3776// RemoveBccIRI deletes the value from the specified index
3777func (t *Place) RemoveBccIRI(index int) {
3778	copy(t.bcc[index:], t.bcc[index+1:])
3779	t.bcc[len(t.bcc)-1] = nil
3780	t.bcc = t.bcc[:len(t.bcc)-1]
3781
3782}
3783
3784// HasUnknownBcc determines whether the call to GetUnknownBcc is safe
3785func (t *Place) HasUnknownBcc() (ok bool) {
3786	return t.bcc != nil && t.bcc[0].unknown_ != nil
3787
3788}
3789
3790// GetUnknownBcc returns the unknown value for bcc
3791func (t *Place) GetUnknownBcc() (v interface{}) {
3792	return t.bcc[0].unknown_
3793
3794}
3795
3796// SetUnknownBcc sets the unknown value of bcc
3797func (t *Place) SetUnknownBcc(i interface{}) {
3798	if t.unknown_ == nil {
3799		t.unknown_ = make(map[string]interface{})
3800	}
3801	tmp := &bccIntermediateType{}
3802	tmp.unknown_ = i
3803	t.bcc = append(t.bcc, tmp)
3804
3805}
3806
3807// IsMediaType determines whether the call to GetMediaType is safe
3808func (t *Place) IsMediaType() (ok bool) {
3809	return t.mediaType != nil && t.mediaType.mimeMediaTypeValue != nil
3810
3811}
3812
3813// GetMediaType returns the value safely if IsMediaType returned true
3814func (t *Place) GetMediaType() (v string) {
3815	return *t.mediaType.mimeMediaTypeValue
3816
3817}
3818
3819// SetMediaType sets the value of mediaType to be of string type
3820func (t *Place) SetMediaType(v string) {
3821	t.mediaType = &mediaTypeIntermediateType{mimeMediaTypeValue: &v}
3822
3823}
3824
3825// IsMediaTypeIRI determines whether the call to GetMediaTypeIRI is safe
3826func (t *Place) IsMediaTypeIRI() (ok bool) {
3827	return t.mediaType != nil && t.mediaType.IRI != nil
3828
3829}
3830
3831// GetMediaTypeIRI returns the value safely if IsMediaTypeIRI returned true
3832func (t *Place) GetMediaTypeIRI() (v *url.URL) {
3833	return t.mediaType.IRI
3834
3835}
3836
3837// SetMediaTypeIRI sets the value of mediaType to be of *url.URL type
3838func (t *Place) SetMediaTypeIRI(v *url.URL) {
3839	t.mediaType = &mediaTypeIntermediateType{IRI: v}
3840
3841}
3842
3843// HasUnknownMediaType determines whether the call to GetUnknownMediaType is safe
3844func (t *Place) HasUnknownMediaType() (ok bool) {
3845	return t.mediaType != nil && t.mediaType.unknown_ != nil
3846
3847}
3848
3849// GetUnknownMediaType returns the unknown value for mediaType
3850func (t *Place) GetUnknownMediaType() (v interface{}) {
3851	return t.mediaType.unknown_
3852
3853}
3854
3855// SetUnknownMediaType sets the unknown value of mediaType
3856func (t *Place) SetUnknownMediaType(i interface{}) {
3857	if t.unknown_ == nil {
3858		t.unknown_ = make(map[string]interface{})
3859	}
3860	tmp := &mediaTypeIntermediateType{}
3861	tmp.unknown_ = i
3862	t.mediaType = tmp
3863
3864}
3865
3866// IsDuration determines whether the call to GetDuration is safe
3867func (t *Place) IsDuration() (ok bool) {
3868	return t.duration != nil && t.duration.duration != nil
3869
3870}
3871
3872// GetDuration returns the value safely if IsDuration returned true
3873func (t *Place) GetDuration() (v time.Duration) {
3874	return *t.duration.duration
3875
3876}
3877
3878// SetDuration sets the value of duration to be of time.Duration type
3879func (t *Place) SetDuration(v time.Duration) {
3880	t.duration = &durationIntermediateType{duration: &v}
3881
3882}
3883
3884// IsDurationIRI determines whether the call to GetDurationIRI is safe
3885func (t *Place) IsDurationIRI() (ok bool) {
3886	return t.duration != nil && t.duration.IRI != nil
3887
3888}
3889
3890// GetDurationIRI returns the value safely if IsDurationIRI returned true
3891func (t *Place) GetDurationIRI() (v *url.URL) {
3892	return t.duration.IRI
3893
3894}
3895
3896// SetDurationIRI sets the value of duration to be of *url.URL type
3897func (t *Place) SetDurationIRI(v *url.URL) {
3898	t.duration = &durationIntermediateType{IRI: v}
3899
3900}
3901
3902// HasUnknownDuration determines whether the call to GetUnknownDuration is safe
3903func (t *Place) HasUnknownDuration() (ok bool) {
3904	return t.duration != nil && t.duration.unknown_ != nil
3905
3906}
3907
3908// GetUnknownDuration returns the unknown value for duration
3909func (t *Place) GetUnknownDuration() (v interface{}) {
3910	return t.duration.unknown_
3911
3912}
3913
3914// SetUnknownDuration sets the unknown value of duration
3915func (t *Place) SetUnknownDuration(i interface{}) {
3916	if t.unknown_ == nil {
3917		t.unknown_ = make(map[string]interface{})
3918	}
3919	tmp := &durationIntermediateType{}
3920	tmp.unknown_ = i
3921	t.duration = tmp
3922
3923}
3924
3925// IsSource determines whether the call to GetSource is safe
3926func (t *Place) IsSource() (ok bool) {
3927	return t.source != nil && t.source.Object != nil
3928
3929}
3930
3931// GetSource returns the value safely if IsSource returned true
3932func (t *Place) GetSource() (v ObjectType) {
3933	return t.source.Object
3934
3935}
3936
3937// SetSource sets the value of source to be of ObjectType type
3938func (t *Place) SetSource(v ObjectType) {
3939	t.source = &sourceIntermediateType{Object: v}
3940
3941}
3942
3943// IsSourceIRI determines whether the call to GetSourceIRI is safe
3944func (t *Place) IsSourceIRI() (ok bool) {
3945	return t.source != nil && t.source.IRI != nil
3946
3947}
3948
3949// GetSourceIRI returns the value safely if IsSourceIRI returned true
3950func (t *Place) GetSourceIRI() (v *url.URL) {
3951	return t.source.IRI
3952
3953}
3954
3955// SetSourceIRI sets the value of source to be of *url.URL type
3956func (t *Place) SetSourceIRI(v *url.URL) {
3957	t.source = &sourceIntermediateType{IRI: v}
3958
3959}
3960
3961// HasUnknownSource determines whether the call to GetUnknownSource is safe
3962func (t *Place) HasUnknownSource() (ok bool) {
3963	return t.source != nil && t.source.unknown_ != nil
3964
3965}
3966
3967// GetUnknownSource returns the unknown value for source
3968func (t *Place) GetUnknownSource() (v interface{}) {
3969	return t.source.unknown_
3970
3971}
3972
3973// SetUnknownSource sets the unknown value of source
3974func (t *Place) SetUnknownSource(i interface{}) {
3975	if t.unknown_ == nil {
3976		t.unknown_ = make(map[string]interface{})
3977	}
3978	tmp := &sourceIntermediateType{}
3979	tmp.unknown_ = i
3980	t.source = tmp
3981
3982}
3983
3984// IsInboxOrderedCollection determines whether the call to GetInboxOrderedCollection is safe
3985func (t *Place) IsInboxOrderedCollection() (ok bool) {
3986	return t.inbox != nil && t.inbox.OrderedCollection != nil
3987
3988}
3989
3990// GetInboxOrderedCollection returns the value safely if IsInboxOrderedCollection returned true
3991func (t *Place) GetInboxOrderedCollection() (v OrderedCollectionType) {
3992	return t.inbox.OrderedCollection
3993
3994}
3995
3996// SetInboxOrderedCollection sets the value of inbox to be of OrderedCollectionType type
3997func (t *Place) SetInboxOrderedCollection(v OrderedCollectionType) {
3998	t.inbox = &inboxIntermediateType{OrderedCollection: v}
3999
4000}
4001
4002// IsInboxAnyURI determines whether the call to GetInboxAnyURI is safe
4003func (t *Place) IsInboxAnyURI() (ok bool) {
4004	return t.inbox != nil && t.inbox.anyURI != nil
4005
4006}
4007
4008// GetInboxAnyURI returns the value safely if IsInboxAnyURI returned true
4009func (t *Place) GetInboxAnyURI() (v *url.URL) {
4010	return t.inbox.anyURI
4011
4012}
4013
4014// SetInboxAnyURI sets the value of inbox to be of *url.URL type
4015func (t *Place) SetInboxAnyURI(v *url.URL) {
4016	t.inbox = &inboxIntermediateType{anyURI: v}
4017
4018}
4019
4020// HasUnknownInbox determines whether the call to GetUnknownInbox is safe
4021func (t *Place) HasUnknownInbox() (ok bool) {
4022	return t.inbox != nil && t.inbox.unknown_ != nil
4023
4024}
4025
4026// GetUnknownInbox returns the unknown value for inbox
4027func (t *Place) GetUnknownInbox() (v interface{}) {
4028	return t.inbox.unknown_
4029
4030}
4031
4032// SetUnknownInbox sets the unknown value of inbox
4033func (t *Place) SetUnknownInbox(i interface{}) {
4034	if t.unknown_ == nil {
4035		t.unknown_ = make(map[string]interface{})
4036	}
4037	tmp := &inboxIntermediateType{}
4038	tmp.unknown_ = i
4039	t.inbox = tmp
4040
4041}
4042
4043// IsOutboxOrderedCollection determines whether the call to GetOutboxOrderedCollection is safe
4044func (t *Place) IsOutboxOrderedCollection() (ok bool) {
4045	return t.outbox != nil && t.outbox.OrderedCollection != nil
4046
4047}
4048
4049// GetOutboxOrderedCollection returns the value safely if IsOutboxOrderedCollection returned true
4050func (t *Place) GetOutboxOrderedCollection() (v OrderedCollectionType) {
4051	return t.outbox.OrderedCollection
4052
4053}
4054
4055// SetOutboxOrderedCollection sets the value of outbox to be of OrderedCollectionType type
4056func (t *Place) SetOutboxOrderedCollection(v OrderedCollectionType) {
4057	t.outbox = &outboxIntermediateType{OrderedCollection: v}
4058
4059}
4060
4061// IsOutboxAnyURI determines whether the call to GetOutboxAnyURI is safe
4062func (t *Place) IsOutboxAnyURI() (ok bool) {
4063	return t.outbox != nil && t.outbox.anyURI != nil
4064
4065}
4066
4067// GetOutboxAnyURI returns the value safely if IsOutboxAnyURI returned true
4068func (t *Place) GetOutboxAnyURI() (v *url.URL) {
4069	return t.outbox.anyURI
4070
4071}
4072
4073// SetOutboxAnyURI sets the value of outbox to be of *url.URL type
4074func (t *Place) SetOutboxAnyURI(v *url.URL) {
4075	t.outbox = &outboxIntermediateType{anyURI: v}
4076
4077}
4078
4079// HasUnknownOutbox determines whether the call to GetUnknownOutbox is safe
4080func (t *Place) HasUnknownOutbox() (ok bool) {
4081	return t.outbox != nil && t.outbox.unknown_ != nil
4082
4083}
4084
4085// GetUnknownOutbox returns the unknown value for outbox
4086func (t *Place) GetUnknownOutbox() (v interface{}) {
4087	return t.outbox.unknown_
4088
4089}
4090
4091// SetUnknownOutbox sets the unknown value of outbox
4092func (t *Place) SetUnknownOutbox(i interface{}) {
4093	if t.unknown_ == nil {
4094		t.unknown_ = make(map[string]interface{})
4095	}
4096	tmp := &outboxIntermediateType{}
4097	tmp.unknown_ = i
4098	t.outbox = tmp
4099
4100}
4101
4102// IsFollowingCollection determines whether the call to GetFollowingCollection is safe
4103func (t *Place) IsFollowingCollection() (ok bool) {
4104	return t.following != nil && t.following.Collection != nil
4105
4106}
4107
4108// GetFollowingCollection returns the value safely if IsFollowingCollection returned true
4109func (t *Place) GetFollowingCollection() (v CollectionType) {
4110	return t.following.Collection
4111
4112}
4113
4114// SetFollowingCollection sets the value of following to be of CollectionType type
4115func (t *Place) SetFollowingCollection(v CollectionType) {
4116	t.following = &followingIntermediateType{Collection: v}
4117
4118}
4119
4120// IsFollowingOrderedCollection determines whether the call to GetFollowingOrderedCollection is safe
4121func (t *Place) IsFollowingOrderedCollection() (ok bool) {
4122	return t.following != nil && t.following.OrderedCollection != nil
4123
4124}
4125
4126// GetFollowingOrderedCollection returns the value safely if IsFollowingOrderedCollection returned true
4127func (t *Place) GetFollowingOrderedCollection() (v OrderedCollectionType) {
4128	return t.following.OrderedCollection
4129
4130}
4131
4132// SetFollowingOrderedCollection sets the value of following to be of OrderedCollectionType type
4133func (t *Place) SetFollowingOrderedCollection(v OrderedCollectionType) {
4134	t.following = &followingIntermediateType{OrderedCollection: v}
4135
4136}
4137
4138// IsFollowingAnyURI determines whether the call to GetFollowingAnyURI is safe
4139func (t *Place) IsFollowingAnyURI() (ok bool) {
4140	return t.following != nil && t.following.anyURI != nil
4141
4142}
4143
4144// GetFollowingAnyURI returns the value safely if IsFollowingAnyURI returned true
4145func (t *Place) GetFollowingAnyURI() (v *url.URL) {
4146	return t.following.anyURI
4147
4148}
4149
4150// SetFollowingAnyURI sets the value of following to be of *url.URL type
4151func (t *Place) SetFollowingAnyURI(v *url.URL) {
4152	t.following = &followingIntermediateType{anyURI: v}
4153
4154}
4155
4156// HasUnknownFollowing determines whether the call to GetUnknownFollowing is safe
4157func (t *Place) HasUnknownFollowing() (ok bool) {
4158	return t.following != nil && t.following.unknown_ != nil
4159
4160}
4161
4162// GetUnknownFollowing returns the unknown value for following
4163func (t *Place) GetUnknownFollowing() (v interface{}) {
4164	return t.following.unknown_
4165
4166}
4167
4168// SetUnknownFollowing sets the unknown value of following
4169func (t *Place) SetUnknownFollowing(i interface{}) {
4170	if t.unknown_ == nil {
4171		t.unknown_ = make(map[string]interface{})
4172	}
4173	tmp := &followingIntermediateType{}
4174	tmp.unknown_ = i
4175	t.following = tmp
4176
4177}
4178
4179// IsFollowersCollection determines whether the call to GetFollowersCollection is safe
4180func (t *Place) IsFollowersCollection() (ok bool) {
4181	return t.followers != nil && t.followers.Collection != nil
4182
4183}
4184
4185// GetFollowersCollection returns the value safely if IsFollowersCollection returned true
4186func (t *Place) GetFollowersCollection() (v CollectionType) {
4187	return t.followers.Collection
4188
4189}
4190
4191// SetFollowersCollection sets the value of followers to be of CollectionType type
4192func (t *Place) SetFollowersCollection(v CollectionType) {
4193	t.followers = &followersIntermediateType{Collection: v}
4194
4195}
4196
4197// IsFollowersOrderedCollection determines whether the call to GetFollowersOrderedCollection is safe
4198func (t *Place) IsFollowersOrderedCollection() (ok bool) {
4199	return t.followers != nil && t.followers.OrderedCollection != nil
4200
4201}
4202
4203// GetFollowersOrderedCollection returns the value safely if IsFollowersOrderedCollection returned true
4204func (t *Place) GetFollowersOrderedCollection() (v OrderedCollectionType) {
4205	return t.followers.OrderedCollection
4206
4207}
4208
4209// SetFollowersOrderedCollection sets the value of followers to be of OrderedCollectionType type
4210func (t *Place) SetFollowersOrderedCollection(v OrderedCollectionType) {
4211	t.followers = &followersIntermediateType{OrderedCollection: v}
4212
4213}
4214
4215// IsFollowersAnyURI determines whether the call to GetFollowersAnyURI is safe
4216func (t *Place) IsFollowersAnyURI() (ok bool) {
4217	return t.followers != nil && t.followers.anyURI != nil
4218
4219}
4220
4221// GetFollowersAnyURI returns the value safely if IsFollowersAnyURI returned true
4222func (t *Place) GetFollowersAnyURI() (v *url.URL) {
4223	return t.followers.anyURI
4224
4225}
4226
4227// SetFollowersAnyURI sets the value of followers to be of *url.URL type
4228func (t *Place) SetFollowersAnyURI(v *url.URL) {
4229	t.followers = &followersIntermediateType{anyURI: v}
4230
4231}
4232
4233// HasUnknownFollowers determines whether the call to GetUnknownFollowers is safe
4234func (t *Place) HasUnknownFollowers() (ok bool) {
4235	return t.followers != nil && t.followers.unknown_ != nil
4236
4237}
4238
4239// GetUnknownFollowers returns the unknown value for followers
4240func (t *Place) GetUnknownFollowers() (v interface{}) {
4241	return t.followers.unknown_
4242
4243}
4244
4245// SetUnknownFollowers sets the unknown value of followers
4246func (t *Place) SetUnknownFollowers(i interface{}) {
4247	if t.unknown_ == nil {
4248		t.unknown_ = make(map[string]interface{})
4249	}
4250	tmp := &followersIntermediateType{}
4251	tmp.unknown_ = i
4252	t.followers = tmp
4253
4254}
4255
4256// IsLikedCollection determines whether the call to GetLikedCollection is safe
4257func (t *Place) IsLikedCollection() (ok bool) {
4258	return t.liked != nil && t.liked.Collection != nil
4259
4260}
4261
4262// GetLikedCollection returns the value safely if IsLikedCollection returned true
4263func (t *Place) GetLikedCollection() (v CollectionType) {
4264	return t.liked.Collection
4265
4266}
4267
4268// SetLikedCollection sets the value of liked to be of CollectionType type
4269func (t *Place) SetLikedCollection(v CollectionType) {
4270	t.liked = &likedIntermediateType{Collection: v}
4271
4272}
4273
4274// IsLikedOrderedCollection determines whether the call to GetLikedOrderedCollection is safe
4275func (t *Place) IsLikedOrderedCollection() (ok bool) {
4276	return t.liked != nil && t.liked.OrderedCollection != nil
4277
4278}
4279
4280// GetLikedOrderedCollection returns the value safely if IsLikedOrderedCollection returned true
4281func (t *Place) GetLikedOrderedCollection() (v OrderedCollectionType) {
4282	return t.liked.OrderedCollection
4283
4284}
4285
4286// SetLikedOrderedCollection sets the value of liked to be of OrderedCollectionType type
4287func (t *Place) SetLikedOrderedCollection(v OrderedCollectionType) {
4288	t.liked = &likedIntermediateType{OrderedCollection: v}
4289
4290}
4291
4292// IsLikedAnyURI determines whether the call to GetLikedAnyURI is safe
4293func (t *Place) IsLikedAnyURI() (ok bool) {
4294	return t.liked != nil && t.liked.anyURI != nil
4295
4296}
4297
4298// GetLikedAnyURI returns the value safely if IsLikedAnyURI returned true
4299func (t *Place) GetLikedAnyURI() (v *url.URL) {
4300	return t.liked.anyURI
4301
4302}
4303
4304// SetLikedAnyURI sets the value of liked to be of *url.URL type
4305func (t *Place) SetLikedAnyURI(v *url.URL) {
4306	t.liked = &likedIntermediateType{anyURI: v}
4307
4308}
4309
4310// HasUnknownLiked determines whether the call to GetUnknownLiked is safe
4311func (t *Place) HasUnknownLiked() (ok bool) {
4312	return t.liked != nil && t.liked.unknown_ != nil
4313
4314}
4315
4316// GetUnknownLiked returns the unknown value for liked
4317func (t *Place) GetUnknownLiked() (v interface{}) {
4318	return t.liked.unknown_
4319
4320}
4321
4322// SetUnknownLiked sets the unknown value of liked
4323func (t *Place) SetUnknownLiked(i interface{}) {
4324	if t.unknown_ == nil {
4325		t.unknown_ = make(map[string]interface{})
4326	}
4327	tmp := &likedIntermediateType{}
4328	tmp.unknown_ = i
4329	t.liked = tmp
4330
4331}
4332
4333// IsLikesCollection determines whether the call to GetLikesCollection is safe
4334func (t *Place) IsLikesCollection() (ok bool) {
4335	return t.likes != nil && t.likes.Collection != nil
4336
4337}
4338
4339// GetLikesCollection returns the value safely if IsLikesCollection returned true
4340func (t *Place) GetLikesCollection() (v CollectionType) {
4341	return t.likes.Collection
4342
4343}
4344
4345// SetLikesCollection sets the value of likes to be of CollectionType type
4346func (t *Place) SetLikesCollection(v CollectionType) {
4347	t.likes = &likesIntermediateType{Collection: v}
4348
4349}
4350
4351// IsLikesOrderedCollection determines whether the call to GetLikesOrderedCollection is safe
4352func (t *Place) IsLikesOrderedCollection() (ok bool) {
4353	return t.likes != nil && t.likes.OrderedCollection != nil
4354
4355}
4356
4357// GetLikesOrderedCollection returns the value safely if IsLikesOrderedCollection returned true
4358func (t *Place) GetLikesOrderedCollection() (v OrderedCollectionType) {
4359	return t.likes.OrderedCollection
4360
4361}
4362
4363// SetLikesOrderedCollection sets the value of likes to be of OrderedCollectionType type
4364func (t *Place) SetLikesOrderedCollection(v OrderedCollectionType) {
4365	t.likes = &likesIntermediateType{OrderedCollection: v}
4366
4367}
4368
4369// IsLikesAnyURI determines whether the call to GetLikesAnyURI is safe
4370func (t *Place) IsLikesAnyURI() (ok bool) {
4371	return t.likes != nil && t.likes.anyURI != nil
4372
4373}
4374
4375// GetLikesAnyURI returns the value safely if IsLikesAnyURI returned true
4376func (t *Place) GetLikesAnyURI() (v *url.URL) {
4377	return t.likes.anyURI
4378
4379}
4380
4381// SetLikesAnyURI sets the value of likes to be of *url.URL type
4382func (t *Place) SetLikesAnyURI(v *url.URL) {
4383	t.likes = &likesIntermediateType{anyURI: v}
4384
4385}
4386
4387// HasUnknownLikes determines whether the call to GetUnknownLikes is safe
4388func (t *Place) HasUnknownLikes() (ok bool) {
4389	return t.likes != nil && t.likes.unknown_ != nil
4390
4391}
4392
4393// GetUnknownLikes returns the unknown value for likes
4394func (t *Place) GetUnknownLikes() (v interface{}) {
4395	return t.likes.unknown_
4396
4397}
4398
4399// SetUnknownLikes sets the unknown value of likes
4400func (t *Place) SetUnknownLikes(i interface{}) {
4401	if t.unknown_ == nil {
4402		t.unknown_ = make(map[string]interface{})
4403	}
4404	tmp := &likesIntermediateType{}
4405	tmp.unknown_ = i
4406	t.likes = tmp
4407
4408}
4409
4410// StreamsLen determines the number of elements able to be used for the GetStreams and RemoveStreams functions
4411func (t *Place) StreamsLen() (l int) {
4412	return len(t.streams)
4413
4414}
4415
4416// GetStreams returns the value for the specified index
4417func (t *Place) GetStreams(index int) (v *url.URL) {
4418	return t.streams[index]
4419
4420}
4421
4422// AppendStreams adds a value to the back of streams
4423func (t *Place) AppendStreams(v *url.URL) {
4424	t.streams = append(t.streams, v)
4425
4426}
4427
4428// PrependStreams adds a value to the front of streams
4429func (t *Place) PrependStreams(v *url.URL) {
4430	t.streams = append([]*url.URL{v}, t.streams...)
4431
4432}
4433
4434// RemoveStreams deletes the value from the specified index
4435func (t *Place) RemoveStreams(index int) {
4436	copy(t.streams[index:], t.streams[index+1:])
4437	t.streams[len(t.streams)-1] = nil
4438	t.streams = t.streams[:len(t.streams)-1]
4439
4440}
4441
4442// HasUnknownStreams determines whether the call to GetUnknownStreams is safe
4443func (t *Place) HasUnknownStreams() (ok bool) {
4444	return t.unknown_ != nil && t.unknown_["streams"] != nil
4445
4446}
4447
4448// GetUnknownStreams returns the unknown value for streams
4449func (t *Place) GetUnknownStreams() (v interface{}) {
4450	return t.unknown_["streams"]
4451
4452}
4453
4454// SetUnknownStreams sets the unknown value of streams
4455func (t *Place) SetUnknownStreams(i interface{}) {
4456	if t.unknown_ == nil {
4457		t.unknown_ = make(map[string]interface{})
4458	}
4459	t.unknown_["streams"] = i
4460
4461}
4462
4463// IsPreferredUsername determines whether the call to GetPreferredUsername is safe
4464func (t *Place) IsPreferredUsername() (ok bool) {
4465	return t.preferredUsername != nil && t.preferredUsername.stringName != nil
4466
4467}
4468
4469// GetPreferredUsername returns the value safely if IsPreferredUsername returned true
4470func (t *Place) GetPreferredUsername() (v string) {
4471	return *t.preferredUsername.stringName
4472
4473}
4474
4475// SetPreferredUsername sets the value of preferredUsername to be of string type
4476func (t *Place) SetPreferredUsername(v string) {
4477	t.preferredUsername = &preferredUsernameIntermediateType{stringName: &v}
4478
4479}
4480
4481// IsPreferredUsernameIRI determines whether the call to GetPreferredUsernameIRI is safe
4482func (t *Place) IsPreferredUsernameIRI() (ok bool) {
4483	return t.preferredUsername != nil && t.preferredUsername.IRI != nil
4484
4485}
4486
4487// GetPreferredUsernameIRI returns the value safely if IsPreferredUsernameIRI returned true
4488func (t *Place) GetPreferredUsernameIRI() (v *url.URL) {
4489	return t.preferredUsername.IRI
4490
4491}
4492
4493// SetPreferredUsernameIRI sets the value of preferredUsername to be of *url.URL type
4494func (t *Place) SetPreferredUsernameIRI(v *url.URL) {
4495	t.preferredUsername = &preferredUsernameIntermediateType{IRI: v}
4496
4497}
4498
4499// HasUnknownPreferredUsername determines whether the call to GetUnknownPreferredUsername is safe
4500func (t *Place) HasUnknownPreferredUsername() (ok bool) {
4501	return t.preferredUsername != nil && t.preferredUsername.unknown_ != nil
4502
4503}
4504
4505// GetUnknownPreferredUsername returns the unknown value for preferredUsername
4506func (t *Place) GetUnknownPreferredUsername() (v interface{}) {
4507	return t.preferredUsername.unknown_
4508
4509}
4510
4511// SetUnknownPreferredUsername sets the unknown value of preferredUsername
4512func (t *Place) SetUnknownPreferredUsername(i interface{}) {
4513	if t.unknown_ == nil {
4514		t.unknown_ = make(map[string]interface{})
4515	}
4516	tmp := &preferredUsernameIntermediateType{}
4517	tmp.unknown_ = i
4518	t.preferredUsername = tmp
4519
4520}
4521
4522// PreferredUsernameMapLanguages returns all languages for this property's language mapping, or nil if there are none.
4523func (t *Place) PreferredUsernameMapLanguages() (l []string) {
4524	if t.preferredUsernameMap == nil || len(t.preferredUsernameMap) == 0 {
4525		return nil
4526	}
4527	for k := range t.preferredUsernameMap {
4528		l = append(l, k)
4529	}
4530	return
4531
4532}
4533
4534// GetPreferredUsernameMap retrieves the value of the property for the specified language, or an empty string if it does not exist
4535func (t *Place) GetPreferredUsernameMap(l string) (v string) {
4536	if t.preferredUsernameMap == nil {
4537		return ""
4538	}
4539	ok := false
4540	v, ok = t.preferredUsernameMap[l]
4541	if !ok {
4542		return ""
4543	}
4544	return v
4545
4546}
4547
4548// SetPreferredUsernameMap sets the value of the property for the specified language
4549func (t *Place) SetPreferredUsernameMap(l string, v string) {
4550	if t.preferredUsernameMap == nil {
4551		t.preferredUsernameMap = make(map[string]string)
4552	}
4553	t.preferredUsernameMap[l] = v
4554
4555}
4556
4557// IsEndpoints determines whether the call to GetEndpoints is safe
4558func (t *Place) IsEndpoints() (ok bool) {
4559	return t.endpoints != nil && t.endpoints.Object != nil
4560
4561}
4562
4563// GetEndpoints returns the value safely if IsEndpoints returned true
4564func (t *Place) GetEndpoints() (v ObjectType) {
4565	return t.endpoints.Object
4566
4567}
4568
4569// SetEndpoints sets the value of endpoints to be of ObjectType type
4570func (t *Place) SetEndpoints(v ObjectType) {
4571	t.endpoints = &endpointsIntermediateType{Object: v}
4572
4573}
4574
4575// IsEndpointsIRI determines whether the call to GetEndpointsIRI is safe
4576func (t *Place) IsEndpointsIRI() (ok bool) {
4577	return t.endpoints != nil && t.endpoints.IRI != nil
4578
4579}
4580
4581// GetEndpointsIRI returns the value safely if IsEndpointsIRI returned true
4582func (t *Place) GetEndpointsIRI() (v *url.URL) {
4583	return t.endpoints.IRI
4584
4585}
4586
4587// SetEndpointsIRI sets the value of endpoints to be of *url.URL type
4588func (t *Place) SetEndpointsIRI(v *url.URL) {
4589	t.endpoints = &endpointsIntermediateType{IRI: v}
4590
4591}
4592
4593// HasUnknownEndpoints determines whether the call to GetUnknownEndpoints is safe
4594func (t *Place) HasUnknownEndpoints() (ok bool) {
4595	return t.endpoints != nil && t.endpoints.unknown_ != nil
4596
4597}
4598
4599// GetUnknownEndpoints returns the unknown value for endpoints
4600func (t *Place) GetUnknownEndpoints() (v interface{}) {
4601	return t.endpoints.unknown_
4602
4603}
4604
4605// SetUnknownEndpoints sets the unknown value of endpoints
4606func (t *Place) SetUnknownEndpoints(i interface{}) {
4607	if t.unknown_ == nil {
4608		t.unknown_ = make(map[string]interface{})
4609	}
4610	tmp := &endpointsIntermediateType{}
4611	tmp.unknown_ = i
4612	t.endpoints = tmp
4613
4614}
4615
4616// HasProxyUrl determines whether the call to GetProxyUrl is safe
4617func (t *Place) HasProxyUrl() (ok bool) {
4618	return t.proxyUrl != nil
4619
4620}
4621
4622// GetProxyUrl returns the value for proxyUrl
4623func (t *Place) GetProxyUrl() (v *url.URL) {
4624	return t.proxyUrl
4625
4626}
4627
4628// SetProxyUrl sets the value of proxyUrl
4629func (t *Place) SetProxyUrl(v *url.URL) {
4630	t.proxyUrl = v
4631
4632}
4633
4634// HasUnknownProxyUrl determines whether the call to GetUnknownProxyUrl is safe
4635func (t *Place) HasUnknownProxyUrl() (ok bool) {
4636	return t.unknown_ != nil && t.unknown_["proxyUrl"] != nil
4637
4638}
4639
4640// GetUnknownProxyUrl returns the unknown value for proxyUrl
4641func (t *Place) GetUnknownProxyUrl() (v interface{}) {
4642	return t.unknown_["proxyUrl"]
4643
4644}
4645
4646// SetUnknownProxyUrl sets the unknown value of proxyUrl
4647func (t *Place) SetUnknownProxyUrl(i interface{}) {
4648	if t.unknown_ == nil {
4649		t.unknown_ = make(map[string]interface{})
4650	}
4651	t.unknown_["proxyUrl"] = i
4652
4653}
4654
4655// HasOauthAuthorizationEndpoint determines whether the call to GetOauthAuthorizationEndpoint is safe
4656func (t *Place) HasOauthAuthorizationEndpoint() (ok bool) {
4657	return t.oauthAuthorizationEndpoint != nil
4658
4659}
4660
4661// GetOauthAuthorizationEndpoint returns the value for oauthAuthorizationEndpoint
4662func (t *Place) GetOauthAuthorizationEndpoint() (v *url.URL) {
4663	return t.oauthAuthorizationEndpoint
4664
4665}
4666
4667// SetOauthAuthorizationEndpoint sets the value of oauthAuthorizationEndpoint
4668func (t *Place) SetOauthAuthorizationEndpoint(v *url.URL) {
4669	t.oauthAuthorizationEndpoint = v
4670
4671}
4672
4673// HasUnknownOauthAuthorizationEndpoint determines whether the call to GetUnknownOauthAuthorizationEndpoint is safe
4674func (t *Place) HasUnknownOauthAuthorizationEndpoint() (ok bool) {
4675	return t.unknown_ != nil && t.unknown_["oauthAuthorizationEndpoint"] != nil
4676
4677}
4678
4679// GetUnknownOauthAuthorizationEndpoint returns the unknown value for oauthAuthorizationEndpoint
4680func (t *Place) GetUnknownOauthAuthorizationEndpoint() (v interface{}) {
4681	return t.unknown_["oauthAuthorizationEndpoint"]
4682
4683}
4684
4685// SetUnknownOauthAuthorizationEndpoint sets the unknown value of oauthAuthorizationEndpoint
4686func (t *Place) SetUnknownOauthAuthorizationEndpoint(i interface{}) {
4687	if t.unknown_ == nil {
4688		t.unknown_ = make(map[string]interface{})
4689	}
4690	t.unknown_["oauthAuthorizationEndpoint"] = i
4691
4692}
4693
4694// HasOauthTokenEndpoint determines whether the call to GetOauthTokenEndpoint is safe
4695func (t *Place) HasOauthTokenEndpoint() (ok bool) {
4696	return t.oauthTokenEndpoint != nil
4697
4698}
4699
4700// GetOauthTokenEndpoint returns the value for oauthTokenEndpoint
4701func (t *Place) GetOauthTokenEndpoint() (v *url.URL) {
4702	return t.oauthTokenEndpoint
4703
4704}
4705
4706// SetOauthTokenEndpoint sets the value of oauthTokenEndpoint
4707func (t *Place) SetOauthTokenEndpoint(v *url.URL) {
4708	t.oauthTokenEndpoint = v
4709
4710}
4711
4712// HasUnknownOauthTokenEndpoint determines whether the call to GetUnknownOauthTokenEndpoint is safe
4713func (t *Place) HasUnknownOauthTokenEndpoint() (ok bool) {
4714	return t.unknown_ != nil && t.unknown_["oauthTokenEndpoint"] != nil
4715
4716}
4717
4718// GetUnknownOauthTokenEndpoint returns the unknown value for oauthTokenEndpoint
4719func (t *Place) GetUnknownOauthTokenEndpoint() (v interface{}) {
4720	return t.unknown_["oauthTokenEndpoint"]
4721
4722}
4723
4724// SetUnknownOauthTokenEndpoint sets the unknown value of oauthTokenEndpoint
4725func (t *Place) SetUnknownOauthTokenEndpoint(i interface{}) {
4726	if t.unknown_ == nil {
4727		t.unknown_ = make(map[string]interface{})
4728	}
4729	t.unknown_["oauthTokenEndpoint"] = i
4730
4731}
4732
4733// HasProvideClientKey determines whether the call to GetProvideClientKey is safe
4734func (t *Place) HasProvideClientKey() (ok bool) {
4735	return t.provideClientKey != nil
4736
4737}
4738
4739// GetProvideClientKey returns the value for provideClientKey
4740func (t *Place) GetProvideClientKey() (v *url.URL) {
4741	return t.provideClientKey
4742
4743}
4744
4745// SetProvideClientKey sets the value of provideClientKey
4746func (t *Place) SetProvideClientKey(v *url.URL) {
4747	t.provideClientKey = v
4748
4749}
4750
4751// HasUnknownProvideClientKey determines whether the call to GetUnknownProvideClientKey is safe
4752func (t *Place) HasUnknownProvideClientKey() (ok bool) {
4753	return t.unknown_ != nil && t.unknown_["provideClientKey"] != nil
4754
4755}
4756
4757// GetUnknownProvideClientKey returns the unknown value for provideClientKey
4758func (t *Place) GetUnknownProvideClientKey() (v interface{}) {
4759	return t.unknown_["provideClientKey"]
4760
4761}
4762
4763// SetUnknownProvideClientKey sets the unknown value of provideClientKey
4764func (t *Place) SetUnknownProvideClientKey(i interface{}) {
4765	if t.unknown_ == nil {
4766		t.unknown_ = make(map[string]interface{})
4767	}
4768	t.unknown_["provideClientKey"] = i
4769
4770}
4771
4772// HasSignClientKey determines whether the call to GetSignClientKey is safe
4773func (t *Place) HasSignClientKey() (ok bool) {
4774	return t.signClientKey != nil
4775
4776}
4777
4778// GetSignClientKey returns the value for signClientKey
4779func (t *Place) GetSignClientKey() (v *url.URL) {
4780	return t.signClientKey
4781
4782}
4783
4784// SetSignClientKey sets the value of signClientKey
4785func (t *Place) SetSignClientKey(v *url.URL) {
4786	t.signClientKey = v
4787
4788}
4789
4790// HasUnknownSignClientKey determines whether the call to GetUnknownSignClientKey is safe
4791func (t *Place) HasUnknownSignClientKey() (ok bool) {
4792	return t.unknown_ != nil && t.unknown_["signClientKey"] != nil
4793
4794}
4795
4796// GetUnknownSignClientKey returns the unknown value for signClientKey
4797func (t *Place) GetUnknownSignClientKey() (v interface{}) {
4798	return t.unknown_["signClientKey"]
4799
4800}
4801
4802// SetUnknownSignClientKey sets the unknown value of signClientKey
4803func (t *Place) SetUnknownSignClientKey(i interface{}) {
4804	if t.unknown_ == nil {
4805		t.unknown_ = make(map[string]interface{})
4806	}
4807	t.unknown_["signClientKey"] = i
4808
4809}
4810
4811// HasSharedInbox determines whether the call to GetSharedInbox is safe
4812func (t *Place) HasSharedInbox() (ok bool) {
4813	return t.sharedInbox != nil
4814
4815}
4816
4817// GetSharedInbox returns the value for sharedInbox
4818func (t *Place) GetSharedInbox() (v *url.URL) {
4819	return t.sharedInbox
4820
4821}
4822
4823// SetSharedInbox sets the value of sharedInbox
4824func (t *Place) SetSharedInbox(v *url.URL) {
4825	t.sharedInbox = v
4826
4827}
4828
4829// HasUnknownSharedInbox determines whether the call to GetUnknownSharedInbox is safe
4830func (t *Place) HasUnknownSharedInbox() (ok bool) {
4831	return t.unknown_ != nil && t.unknown_["sharedInbox"] != nil
4832
4833}
4834
4835// GetUnknownSharedInbox returns the unknown value for sharedInbox
4836func (t *Place) GetUnknownSharedInbox() (v interface{}) {
4837	return t.unknown_["sharedInbox"]
4838
4839}
4840
4841// SetUnknownSharedInbox sets the unknown value of sharedInbox
4842func (t *Place) SetUnknownSharedInbox(i interface{}) {
4843	if t.unknown_ == nil {
4844		t.unknown_ = make(map[string]interface{})
4845	}
4846	t.unknown_["sharedInbox"] = i
4847
4848}
4849
4850// AddUnknown adds a raw extension to this object with the specified key
4851func (t *Place) AddUnknown(k string, i interface{}) (this *Place) {
4852	if t.unknown_ == nil {
4853		t.unknown_ = make(map[string]interface{})
4854	}
4855	t.unknown_[k] = i
4856	return t
4857
4858}
4859
4860// HasUnknown returns true if there is an unknown object with the specified key
4861func (t *Place) HasUnknown(k string) (b bool) {
4862	if t.unknown_ == nil {
4863		return false
4864	}
4865	_, ok := t.unknown_[k]
4866	return ok
4867
4868}
4869
4870// RemoveUnknown removes a raw extension from this object with the specified key
4871func (t *Place) RemoveUnknown(k string) (this *Place) {
4872	delete(t.unknown_, k)
4873	return t
4874
4875}
4876
4877// Serialize turns this object into a map[string]interface{}. Note that the "type" property will automatically be populated with "Place" if not manually set by the caller
4878func (t *Place) Serialize() (m map[string]interface{}, err error) {
4879	m = make(map[string]interface{})
4880	for k, v := range t.unknown_ {
4881		m[k] = unknownValueSerialize(v)
4882	}
4883	var typeAlreadySet bool
4884	for _, k := range t.typeName {
4885		if ks, ok := k.(string); ok {
4886			if ks == "Place" {
4887				typeAlreadySet = true
4888				break
4889			}
4890		}
4891	}
4892	if !typeAlreadySet {
4893		t.typeName = append(t.typeName, "Place")
4894	}
4895	// Begin generation by generateFunctionalMultiTypeDefinition
4896	if t.accuracy != nil {
4897		if v, err := serializeAccuracyIntermediateType(t.accuracy); err == nil {
4898			m["accuracy"] = v
4899		} else {
4900			return m, err
4901		}
4902	}
4903	// End generation by generateFunctionalMultiTypeDefinition
4904	// Begin generation by generateFunctionalMultiTypeDefinition
4905	if t.altitude != nil {
4906		if v, err := serializeAltitudeIntermediateType(t.altitude); err == nil {
4907			m["altitude"] = v
4908		} else {
4909			return m, err
4910		}
4911	}
4912	// End generation by generateFunctionalMultiTypeDefinition
4913	// Begin generation by generateFunctionalMultiTypeDefinition
4914	if t.latitude != nil {
4915		if v, err := serializeLatitudeIntermediateType(t.latitude); err == nil {
4916			m["latitude"] = v
4917		} else {
4918			return m, err
4919		}
4920	}
4921	// End generation by generateFunctionalMultiTypeDefinition
4922	// Begin generation by generateFunctionalMultiTypeDefinition
4923	if t.longitude != nil {
4924		if v, err := serializeLongitudeIntermediateType(t.longitude); err == nil {
4925			m["longitude"] = v
4926		} else {
4927			return m, err
4928		}
4929	}
4930	// End generation by generateFunctionalMultiTypeDefinition
4931	// Begin generation by generateFunctionalMultiTypeDefinition
4932	if t.radius != nil {
4933		if v, err := serializeRadiusIntermediateType(t.radius); err == nil {
4934			m["radius"] = v
4935		} else {
4936			return m, err
4937		}
4938	}
4939	// End generation by generateFunctionalMultiTypeDefinition
4940	// Begin generation by generateFunctionalMultiTypeDefinition
4941	if t.units != nil {
4942		if v, err := serializeUnitsIntermediateType(t.units); err == nil {
4943			m["units"] = v
4944		} else {
4945			return m, err
4946		}
4947	}
4948	// End generation by generateFunctionalMultiTypeDefinition
4949	// Begin generation by generateNonFunctionalMultiTypeDefinition
4950	if v, err := serializeSliceAttachmentIntermediateType(t.attachment); err == nil && v != nil {
4951		if len(v) == 1 {
4952			m["attachment"] = v[0]
4953		} else {
4954			m["attachment"] = v
4955		}
4956	} else if err != nil {
4957		return m, err
4958	}
4959	// End generation by generateNonFunctionalMultiTypeDefinition
4960	// Begin generation by generateNonFunctionalMultiTypeDefinition
4961	if v, err := serializeSliceAttributedToIntermediateType(t.attributedTo); err == nil && v != nil {
4962		if len(v) == 1 {
4963			m["attributedTo"] = v[0]
4964		} else {
4965			m["attributedTo"] = v
4966		}
4967	} else if err != nil {
4968		return m, err
4969	}
4970	// End generation by generateNonFunctionalMultiTypeDefinition
4971	// Begin generation by generateNonFunctionalMultiTypeDefinition
4972	if v, err := serializeSliceAudienceIntermediateType(t.audience); err == nil && v != nil {
4973		if len(v) == 1 {
4974			m["audience"] = v[0]
4975		} else {
4976			m["audience"] = v
4977		}
4978	} else if err != nil {
4979		return m, err
4980	}
4981	// End generation by generateNonFunctionalMultiTypeDefinition
4982	// Begin generation by generateNonFunctionalMultiTypeDefinition
4983	if v, err := serializeSliceContentIntermediateType(t.content); err == nil && v != nil {
4984		if len(v) == 1 {
4985			m["content"] = v[0]
4986		} else {
4987			m["content"] = v
4988		}
4989	} else if err != nil {
4990		return m, err
4991	}
4992	// End generation by generateNonFunctionalMultiTypeDefinition
4993
4994	// Begin generation by generateNaturalLanguageMap
4995	if t.contentMap != nil && len(t.contentMap) >= 0 {
4996		m["contentMap"] = t.contentMap
4997	}
4998	// End generation by generateNaturalLanguageMap
4999	// Begin generation by generateNonFunctionalMultiTypeDefinition
5000	if v, err := serializeSliceContextIntermediateType(t.context); err == nil && v != nil {
5001		if len(v) == 1 {
5002			m["context"] = v[0]
5003		} else {
5004			m["context"] = v
5005		}
5006	} else if err != nil {
5007		return m, err
5008	}
5009	// End generation by generateNonFunctionalMultiTypeDefinition
5010	// Begin generation by generateNonFunctionalMultiTypeDefinition
5011	if v, err := serializeSliceNameIntermediateType(t.name); err == nil && v != nil {
5012		if len(v) == 1 {
5013			m["name"] = v[0]
5014		} else {
5015			m["name"] = v
5016		}
5017	} else if err != nil {
5018		return m, err
5019	}
5020	// End generation by generateNonFunctionalMultiTypeDefinition
5021
5022	// Begin generation by generateNaturalLanguageMap
5023	if t.nameMap != nil && len(t.nameMap) >= 0 {
5024		m["nameMap"] = t.nameMap
5025	}
5026	// End generation by generateNaturalLanguageMap
5027	// Begin generation by generateFunctionalMultiTypeDefinition
5028	if t.endTime != nil {
5029		if v, err := serializeEndTimeIntermediateType(t.endTime); err == nil {
5030			m["endTime"] = v
5031		} else {
5032			return m, err
5033		}
5034	}
5035	// End generation by generateFunctionalMultiTypeDefinition
5036	// Begin generation by generateNonFunctionalMultiTypeDefinition
5037	if v, err := serializeSliceGeneratorIntermediateType(t.generator); err == nil && v != nil {
5038		if len(v) == 1 {
5039			m["generator"] = v[0]
5040		} else {
5041			m["generator"] = v
5042		}
5043	} else if err != nil {
5044		return m, err
5045	}
5046	// End generation by generateNonFunctionalMultiTypeDefinition
5047	// Begin generation by generateNonFunctionalMultiTypeDefinition
5048	if v, err := serializeSliceIconIntermediateType(t.icon); err == nil && v != nil {
5049		if len(v) == 1 {
5050			m["icon"] = v[0]
5051		} else {
5052			m["icon"] = v
5053		}
5054	} else if err != nil {
5055		return m, err
5056	}
5057	// End generation by generateNonFunctionalMultiTypeDefinition
5058	// Begin generation by RangeReference.Serialize for Value
5059	if t.id != nil {
5060		idSerializeFunc := func() (interface{}, error) {
5061			v := t.id
5062			tmp := anyURISerialize(v)
5063			return tmp, nil
5064		}
5065		idResult, err := idSerializeFunc()
5066		if err == nil {
5067			m["id"] = idResult
5068		} else {
5069			return m, err
5070		}
5071	}
5072	// End generation by RangeReference.Serialize for Value
5073	// Begin generation by generateNonFunctionalMultiTypeDefinition
5074	if v, err := serializeSliceImageIntermediateType(t.image); err == nil && v != nil {
5075		if len(v) == 1 {
5076			m["image"] = v[0]
5077		} else {
5078			m["image"] = v
5079		}
5080	} else if err != nil {
5081		return m, err
5082	}
5083	// End generation by generateNonFunctionalMultiTypeDefinition
5084	// Begin generation by generateNonFunctionalMultiTypeDefinition
5085	if v, err := serializeSliceInReplyToIntermediateType(t.inReplyTo); err == nil && v != nil {
5086		if len(v) == 1 {
5087			m["inReplyTo"] = v[0]
5088		} else {
5089			m["inReplyTo"] = v
5090		}
5091	} else if err != nil {
5092		return m, err
5093	}
5094	// End generation by generateNonFunctionalMultiTypeDefinition
5095	// Begin generation by generateNonFunctionalMultiTypeDefinition
5096	if v, err := serializeSliceLocationIntermediateType(t.location); err == nil && v != nil {
5097		if len(v) == 1 {
5098			m["location"] = v[0]
5099		} else {
5100			m["location"] = v
5101		}
5102	} else if err != nil {
5103		return m, err
5104	}
5105	// End generation by generateNonFunctionalMultiTypeDefinition
5106	// Begin generation by generateNonFunctionalMultiTypeDefinition
5107	if v, err := serializeSlicePreviewIntermediateType(t.preview); err == nil && v != nil {
5108		if len(v) == 1 {
5109			m["preview"] = v[0]
5110		} else {
5111			m["preview"] = v
5112		}
5113	} else if err != nil {
5114		return m, err
5115	}
5116	// End generation by generateNonFunctionalMultiTypeDefinition
5117	// Begin generation by generateFunctionalMultiTypeDefinition
5118	if t.published != nil {
5119		if v, err := serializePublishedIntermediateType(t.published); err == nil {
5120			m["published"] = v
5121		} else {
5122			return m, err
5123		}
5124	}
5125	// End generation by generateFunctionalMultiTypeDefinition
5126	// Begin generation by generateFunctionalMultiTypeDefinition
5127	if t.replies != nil {
5128		if v, err := serializeRepliesIntermediateType(t.replies); err == nil {
5129			m["replies"] = v
5130		} else {
5131			return m, err
5132		}
5133	}
5134	// End generation by generateFunctionalMultiTypeDefinition
5135	// Begin generation by generateFunctionalMultiTypeDefinition
5136	if t.startTime != nil {
5137		if v, err := serializeStartTimeIntermediateType(t.startTime); err == nil {
5138			m["startTime"] = v
5139		} else {
5140			return m, err
5141		}
5142	}
5143	// End generation by generateFunctionalMultiTypeDefinition
5144	// Begin generation by generateNonFunctionalMultiTypeDefinition
5145	if v, err := serializeSliceSummaryIntermediateType(t.summary); err == nil && v != nil {
5146		if len(v) == 1 {
5147			m["summary"] = v[0]
5148		} else {
5149			m["summary"] = v
5150		}
5151	} else if err != nil {
5152		return m, err
5153	}
5154	// End generation by generateNonFunctionalMultiTypeDefinition
5155
5156	// Begin generation by generateNaturalLanguageMap
5157	if t.summaryMap != nil && len(t.summaryMap) >= 0 {
5158		m["summaryMap"] = t.summaryMap
5159	}
5160	// End generation by generateNaturalLanguageMap
5161	// Begin generation by generateNonFunctionalMultiTypeDefinition
5162	if v, err := serializeSliceTagIntermediateType(t.tag); err == nil && v != nil {
5163		if len(v) == 1 {
5164			m["tag"] = v[0]
5165		} else {
5166			m["tag"] = v
5167		}
5168	} else if err != nil {
5169		return m, err
5170	}
5171	// End generation by generateNonFunctionalMultiTypeDefinition
5172	// Begin generation by generateNonFunctionalAnyDefinition
5173	if t.typeName != nil {
5174		if len(t.typeName) == 1 {
5175			m["type"] = t.typeName[0]
5176		} else {
5177			m["type"] = t.typeName
5178		}
5179	}
5180	// End generation by generateNonFunctionalAnyDefinition
5181	// Begin generation by generateFunctionalMultiTypeDefinition
5182	if t.updated != nil {
5183		if v, err := serializeUpdatedIntermediateType(t.updated); err == nil {
5184			m["updated"] = v
5185		} else {
5186			return m, err
5187		}
5188	}
5189	// End generation by generateFunctionalMultiTypeDefinition
5190	// Begin generation by generateNonFunctionalMultiTypeDefinition
5191	if v, err := serializeSliceUrlIntermediateType(t.url); err == nil && v != nil {
5192		if len(v) == 1 {
5193			m["url"] = v[0]
5194		} else {
5195			m["url"] = v
5196		}
5197	} else if err != nil {
5198		return m, err
5199	}
5200	// End generation by generateNonFunctionalMultiTypeDefinition
5201	// Begin generation by generateNonFunctionalMultiTypeDefinition
5202	if v, err := serializeSliceToIntermediateType(t.to); err == nil && v != nil {
5203		if len(v) == 1 {
5204			m["to"] = v[0]
5205		} else {
5206			m["to"] = v
5207		}
5208	} else if err != nil {
5209		return m, err
5210	}
5211	// End generation by generateNonFunctionalMultiTypeDefinition
5212	// Begin generation by generateNonFunctionalMultiTypeDefinition
5213	if v, err := serializeSliceBtoIntermediateType(t.bto); err == nil && v != nil {
5214		if len(v) == 1 {
5215			m["bto"] = v[0]
5216		} else {
5217			m["bto"] = v
5218		}
5219	} else if err != nil {
5220		return m, err
5221	}
5222	// End generation by generateNonFunctionalMultiTypeDefinition
5223	// Begin generation by generateNonFunctionalMultiTypeDefinition
5224	if v, err := serializeSliceCcIntermediateType(t.cc); err == nil && v != nil {
5225		if len(v) == 1 {
5226			m["cc"] = v[0]
5227		} else {
5228			m["cc"] = v
5229		}
5230	} else if err != nil {
5231		return m, err
5232	}
5233	// End generation by generateNonFunctionalMultiTypeDefinition
5234	// Begin generation by generateNonFunctionalMultiTypeDefinition
5235	if v, err := serializeSliceBccIntermediateType(t.bcc); err == nil && v != nil {
5236		if len(v) == 1 {
5237			m["bcc"] = v[0]
5238		} else {
5239			m["bcc"] = v
5240		}
5241	} else if err != nil {
5242		return m, err
5243	}
5244	// End generation by generateNonFunctionalMultiTypeDefinition
5245	// Begin generation by generateFunctionalMultiTypeDefinition
5246	if t.mediaType != nil {
5247		if v, err := serializeMediaTypeIntermediateType(t.mediaType); err == nil {
5248			m["mediaType"] = v
5249		} else {
5250			return m, err
5251		}
5252	}
5253	// End generation by generateFunctionalMultiTypeDefinition
5254	// Begin generation by generateFunctionalMultiTypeDefinition
5255	if t.duration != nil {
5256		if v, err := serializeDurationIntermediateType(t.duration); err == nil {
5257			m["duration"] = v
5258		} else {
5259			return m, err
5260		}
5261	}
5262	// End generation by generateFunctionalMultiTypeDefinition
5263	// Begin generation by generateFunctionalMultiTypeDefinition
5264	if t.source != nil {
5265		if v, err := serializeSourceIntermediateType(t.source); err == nil {
5266			m["source"] = v
5267		} else {
5268			return m, err
5269		}
5270	}
5271	// End generation by generateFunctionalMultiTypeDefinition
5272	// Begin generation by generateFunctionalMultiTypeDefinition
5273	if t.inbox != nil {
5274		if v, err := serializeInboxIntermediateType(t.inbox); err == nil {
5275			m["inbox"] = v
5276		} else {
5277			return m, err
5278		}
5279	}
5280	// End generation by generateFunctionalMultiTypeDefinition
5281	// Begin generation by generateFunctionalMultiTypeDefinition
5282	if t.outbox != nil {
5283		if v, err := serializeOutboxIntermediateType(t.outbox); err == nil {
5284			m["outbox"] = v
5285		} else {
5286			return m, err
5287		}
5288	}
5289	// End generation by generateFunctionalMultiTypeDefinition
5290	// Begin generation by generateFunctionalMultiTypeDefinition
5291	if t.following != nil {
5292		if v, err := serializeFollowingIntermediateType(t.following); err == nil {
5293			m["following"] = v
5294		} else {
5295			return m, err
5296		}
5297	}
5298	// End generation by generateFunctionalMultiTypeDefinition
5299	// Begin generation by generateFunctionalMultiTypeDefinition
5300	if t.followers != nil {
5301		if v, err := serializeFollowersIntermediateType(t.followers); err == nil {
5302			m["followers"] = v
5303		} else {
5304			return m, err
5305		}
5306	}
5307	// End generation by generateFunctionalMultiTypeDefinition
5308	// Begin generation by generateFunctionalMultiTypeDefinition
5309	if t.liked != nil {
5310		if v, err := serializeLikedIntermediateType(t.liked); err == nil {
5311			m["liked"] = v
5312		} else {
5313			return m, err
5314		}
5315	}
5316	// End generation by generateFunctionalMultiTypeDefinition
5317	// Begin generation by generateFunctionalMultiTypeDefinition
5318	if t.likes != nil {
5319		if v, err := serializeLikesIntermediateType(t.likes); err == nil {
5320			m["likes"] = v
5321		} else {
5322			return m, err
5323		}
5324	}
5325	// End generation by generateFunctionalMultiTypeDefinition
5326	// Begin generation by RangeReference.Serialize for Value
5327	var streamsTemp []interface{}
5328	for _, v := range t.streams {
5329		tmp := anyURISerialize(v)
5330		streamsTemp = append(streamsTemp, tmp)
5331	}
5332	if streamsTemp != nil {
5333		if len(streamsTemp) == 1 {
5334			m["streams"] = streamsTemp[0]
5335		} else {
5336			m["streams"] = streamsTemp
5337		}
5338	}
5339	// End generation by RangeReference.Serialize for Value
5340	// Begin generation by generateFunctionalMultiTypeDefinition
5341	if t.preferredUsername != nil {
5342		if v, err := serializePreferredUsernameIntermediateType(t.preferredUsername); err == nil {
5343			m["preferredUsername"] = v
5344		} else {
5345			return m, err
5346		}
5347	}
5348	// End generation by generateFunctionalMultiTypeDefinition
5349
5350	// Begin generation by generateNaturalLanguageMap
5351	if t.preferredUsernameMap != nil && len(t.preferredUsernameMap) >= 0 {
5352		m["preferredUsernameMap"] = t.preferredUsernameMap
5353	}
5354	// End generation by generateNaturalLanguageMap
5355	// Begin generation by generateFunctionalMultiTypeDefinition
5356	if t.endpoints != nil {
5357		if v, err := serializeEndpointsIntermediateType(t.endpoints); err == nil {
5358			m["endpoints"] = v
5359		} else {
5360			return m, err
5361		}
5362	}
5363	// End generation by generateFunctionalMultiTypeDefinition
5364	// Begin generation by RangeReference.Serialize for Value
5365	if t.proxyUrl != nil {
5366		proxyUrlSerializeFunc := func() (interface{}, error) {
5367			v := t.proxyUrl
5368			tmp := anyURISerialize(v)
5369			return tmp, nil
5370		}
5371		proxyUrlResult, err := proxyUrlSerializeFunc()
5372		if err == nil {
5373			m["proxyUrl"] = proxyUrlResult
5374		} else {
5375			return m, err
5376		}
5377	}
5378	// End generation by RangeReference.Serialize for Value
5379	// Begin generation by RangeReference.Serialize for Value
5380	if t.oauthAuthorizationEndpoint != nil {
5381		oauthAuthorizationEndpointSerializeFunc := func() (interface{}, error) {
5382			v := t.oauthAuthorizationEndpoint
5383			tmp := anyURISerialize(v)
5384			return tmp, nil
5385		}
5386		oauthAuthorizationEndpointResult, err := oauthAuthorizationEndpointSerializeFunc()
5387		if err == nil {
5388			m["oauthAuthorizationEndpoint"] = oauthAuthorizationEndpointResult
5389		} else {
5390			return m, err
5391		}
5392	}
5393	// End generation by RangeReference.Serialize for Value
5394	// Begin generation by RangeReference.Serialize for Value
5395	if t.oauthTokenEndpoint != nil {
5396		oauthTokenEndpointSerializeFunc := func() (interface{}, error) {
5397			v := t.oauthTokenEndpoint
5398			tmp := anyURISerialize(v)
5399			return tmp, nil
5400		}
5401		oauthTokenEndpointResult, err := oauthTokenEndpointSerializeFunc()
5402		if err == nil {
5403			m["oauthTokenEndpoint"] = oauthTokenEndpointResult
5404		} else {
5405			return m, err
5406		}
5407	}
5408	// End generation by RangeReference.Serialize for Value
5409	// Begin generation by RangeReference.Serialize for Value
5410	if t.provideClientKey != nil {
5411		provideClientKeySerializeFunc := func() (interface{}, error) {
5412			v := t.provideClientKey
5413			tmp := anyURISerialize(v)
5414			return tmp, nil
5415		}
5416		provideClientKeyResult, err := provideClientKeySerializeFunc()
5417		if err == nil {
5418			m["provideClientKey"] = provideClientKeyResult
5419		} else {
5420			return m, err
5421		}
5422	}
5423	// End generation by RangeReference.Serialize for Value
5424	// Begin generation by RangeReference.Serialize for Value
5425	if t.signClientKey != nil {
5426		signClientKeySerializeFunc := func() (interface{}, error) {
5427			v := t.signClientKey
5428			tmp := anyURISerialize(v)
5429			return tmp, nil
5430		}
5431		signClientKeyResult, err := signClientKeySerializeFunc()
5432		if err == nil {
5433			m["signClientKey"] = signClientKeyResult
5434		} else {
5435			return m, err
5436		}
5437	}
5438	// End generation by RangeReference.Serialize for Value
5439	// Begin generation by RangeReference.Serialize for Value
5440	if t.sharedInbox != nil {
5441		sharedInboxSerializeFunc := func() (interface{}, error) {
5442			v := t.sharedInbox
5443			tmp := anyURISerialize(v)
5444			return tmp, nil
5445		}
5446		sharedInboxResult, err := sharedInboxSerializeFunc()
5447		if err == nil {
5448			m["sharedInbox"] = sharedInboxResult
5449		} else {
5450			return m, err
5451		}
5452	}
5453	// End generation by RangeReference.Serialize for Value
5454	return
5455
5456}
5457
5458// Deserialize populates this object from a map[string]interface{}
5459func (t *Place) Deserialize(m map[string]interface{}) (err error) {
5460	for k, v := range m {
5461		handled := false
5462		if !handled {
5463			// Begin generation by generateFunctionalMultiTypeDefinition
5464			if k == "accuracy" {
5465				t.accuracy, err = deserializeAccuracyIntermediateType(v)
5466				if err != nil {
5467					return err
5468				}
5469				handled = true
5470			}
5471			// End generation by generateFunctionalMultiTypeDefinition
5472		}
5473		if !handled {
5474			// Begin generation by generateFunctionalMultiTypeDefinition
5475			if k == "altitude" {
5476				t.altitude, err = deserializeAltitudeIntermediateType(v)
5477				if err != nil {
5478					return err
5479				}
5480				handled = true
5481			}
5482			// End generation by generateFunctionalMultiTypeDefinition
5483		}
5484		if !handled {
5485			// Begin generation by generateFunctionalMultiTypeDefinition
5486			if k == "latitude" {
5487				t.latitude, err = deserializeLatitudeIntermediateType(v)
5488				if err != nil {
5489					return err
5490				}
5491				handled = true
5492			}
5493			// End generation by generateFunctionalMultiTypeDefinition
5494		}
5495		if !handled {
5496			// Begin generation by generateFunctionalMultiTypeDefinition
5497			if k == "longitude" {
5498				t.longitude, err = deserializeLongitudeIntermediateType(v)
5499				if err != nil {
5500					return err
5501				}
5502				handled = true
5503			}
5504			// End generation by generateFunctionalMultiTypeDefinition
5505		}
5506		if !handled {
5507			// Begin generation by generateFunctionalMultiTypeDefinition
5508			if k == "radius" {
5509				t.radius, err = deserializeRadiusIntermediateType(v)
5510				if err != nil {
5511					return err
5512				}
5513				handled = true
5514			}
5515			// End generation by generateFunctionalMultiTypeDefinition
5516		}
5517		if !handled {
5518			// Begin generation by generateFunctionalMultiTypeDefinition
5519			if k == "units" {
5520				t.units, err = deserializeUnitsIntermediateType(v)
5521				if err != nil {
5522					return err
5523				}
5524				handled = true
5525			}
5526			// End generation by generateFunctionalMultiTypeDefinition
5527		}
5528		if !handled {
5529			// Begin generation by generateNonFunctionalMultiTypeDefinition
5530			if k == "attachment" {
5531				if tmpMap, ok := v.(map[string]interface{}); ok {
5532					tmp, err := deserializeAttachmentIntermediateType(tmpMap)
5533					if err != nil {
5534						return err
5535					}
5536					t.attachment = []*attachmentIntermediateType{tmp}
5537					handled = true
5538				} else if tmpSlice, ok := v.([]interface{}); ok {
5539					t.attachment, err = deserializeSliceAttachmentIntermediateType(tmpSlice)
5540					if err != nil {
5541						return err
5542					}
5543					handled = true
5544				} else {
5545					tmp := &attachmentIntermediateType{}
5546					err = tmp.Deserialize(v)
5547					if err != nil {
5548						return err
5549					}
5550					t.attachment = []*attachmentIntermediateType{tmp}
5551					handled = true
5552				}
5553			}
5554			// End generation by generateNonFunctionalMultiTypeDefinition
5555		}
5556		if !handled {
5557			// Begin generation by generateNonFunctionalMultiTypeDefinition
5558			if k == "attributedTo" {
5559				if tmpMap, ok := v.(map[string]interface{}); ok {
5560					tmp, err := deserializeAttributedToIntermediateType(tmpMap)
5561					if err != nil {
5562						return err
5563					}
5564					t.attributedTo = []*attributedToIntermediateType{tmp}
5565					handled = true
5566				} else if tmpSlice, ok := v.([]interface{}); ok {
5567					t.attributedTo, err = deserializeSliceAttributedToIntermediateType(tmpSlice)
5568					if err != nil {
5569						return err
5570					}
5571					handled = true
5572				} else {
5573					tmp := &attributedToIntermediateType{}
5574					err = tmp.Deserialize(v)
5575					if err != nil {
5576						return err
5577					}
5578					t.attributedTo = []*attributedToIntermediateType{tmp}
5579					handled = true
5580				}
5581			}
5582			// End generation by generateNonFunctionalMultiTypeDefinition
5583		}
5584		if !handled {
5585			// Begin generation by generateNonFunctionalMultiTypeDefinition
5586			if k == "audience" {
5587				if tmpMap, ok := v.(map[string]interface{}); ok {
5588					tmp, err := deserializeAudienceIntermediateType(tmpMap)
5589					if err != nil {
5590						return err
5591					}
5592					t.audience = []*audienceIntermediateType{tmp}
5593					handled = true
5594				} else if tmpSlice, ok := v.([]interface{}); ok {
5595					t.audience, err = deserializeSliceAudienceIntermediateType(tmpSlice)
5596					if err != nil {
5597						return err
5598					}
5599					handled = true
5600				} else {
5601					tmp := &audienceIntermediateType{}
5602					err = tmp.Deserialize(v)
5603					if err != nil {
5604						return err
5605					}
5606					t.audience = []*audienceIntermediateType{tmp}
5607					handled = true
5608				}
5609			}
5610			// End generation by generateNonFunctionalMultiTypeDefinition
5611		}
5612		if !handled {
5613			// Begin generation by generateNonFunctionalMultiTypeDefinition
5614			if k == "content" {
5615				if tmpMap, ok := v.(map[string]interface{}); ok {
5616					tmp, err := deserializeContentIntermediateType(tmpMap)
5617					if err != nil {
5618						return err
5619					}
5620					t.content = []*contentIntermediateType{tmp}
5621					handled = true
5622				} else if tmpSlice, ok := v.([]interface{}); ok {
5623					t.content, err = deserializeSliceContentIntermediateType(tmpSlice)
5624					if err != nil {
5625						return err
5626					}
5627					handled = true
5628				} else {
5629					tmp := &contentIntermediateType{}
5630					err = tmp.Deserialize(v)
5631					if err != nil {
5632						return err
5633					}
5634					t.content = []*contentIntermediateType{tmp}
5635					handled = true
5636				}
5637			}
5638			// End generation by generateNonFunctionalMultiTypeDefinition
5639
5640			// Begin generation by generateNaturalLanguageMap
5641			if k == "contentMap" {
5642				if vMap, ok := v.(map[string]interface{}); ok {
5643					val := make(map[string]string)
5644					for k, iVal := range vMap {
5645						if sVal, ok := iVal.(string); ok {
5646							val[k] = sVal
5647						}
5648					}
5649					t.contentMap = val
5650					handled = true
5651				}
5652			}
5653			// End generation by generateNaturalLanguageMap
5654		}
5655		if !handled {
5656			// Begin generation by generateNonFunctionalMultiTypeDefinition
5657			if k == "context" {
5658				if tmpMap, ok := v.(map[string]interface{}); ok {
5659					tmp, err := deserializeContextIntermediateType(tmpMap)
5660					if err != nil {
5661						return err
5662					}
5663					t.context = []*contextIntermediateType{tmp}
5664					handled = true
5665				} else if tmpSlice, ok := v.([]interface{}); ok {
5666					t.context, err = deserializeSliceContextIntermediateType(tmpSlice)
5667					if err != nil {
5668						return err
5669					}
5670					handled = true
5671				} else {
5672					tmp := &contextIntermediateType{}
5673					err = tmp.Deserialize(v)
5674					if err != nil {
5675						return err
5676					}
5677					t.context = []*contextIntermediateType{tmp}
5678					handled = true
5679				}
5680			}
5681			// End generation by generateNonFunctionalMultiTypeDefinition
5682		}
5683		if !handled {
5684			// Begin generation by generateNonFunctionalMultiTypeDefinition
5685			if k == "name" {
5686				if tmpMap, ok := v.(map[string]interface{}); ok {
5687					tmp, err := deserializeNameIntermediateType(tmpMap)
5688					if err != nil {
5689						return err
5690					}
5691					t.name = []*nameIntermediateType{tmp}
5692					handled = true
5693				} else if tmpSlice, ok := v.([]interface{}); ok {
5694					t.name, err = deserializeSliceNameIntermediateType(tmpSlice)
5695					if err != nil {
5696						return err
5697					}
5698					handled = true
5699				} else {
5700					tmp := &nameIntermediateType{}
5701					err = tmp.Deserialize(v)
5702					if err != nil {
5703						return err
5704					}
5705					t.name = []*nameIntermediateType{tmp}
5706					handled = true
5707				}
5708			}
5709			// End generation by generateNonFunctionalMultiTypeDefinition
5710
5711			// Begin generation by generateNaturalLanguageMap
5712			if k == "nameMap" {
5713				if vMap, ok := v.(map[string]interface{}); ok {
5714					val := make(map[string]string)
5715					for k, iVal := range vMap {
5716						if sVal, ok := iVal.(string); ok {
5717							val[k] = sVal
5718						}
5719					}
5720					t.nameMap = val
5721					handled = true
5722				}
5723			}
5724			// End generation by generateNaturalLanguageMap
5725		}
5726		if !handled {
5727			// Begin generation by generateFunctionalMultiTypeDefinition
5728			if k == "endTime" {
5729				t.endTime, err = deserializeEndTimeIntermediateType(v)
5730				if err != nil {
5731					return err
5732				}
5733				handled = true
5734			}
5735			// End generation by generateFunctionalMultiTypeDefinition
5736		}
5737		if !handled {
5738			// Begin generation by generateNonFunctionalMultiTypeDefinition
5739			if k == "generator" {
5740				if tmpMap, ok := v.(map[string]interface{}); ok {
5741					tmp, err := deserializeGeneratorIntermediateType(tmpMap)
5742					if err != nil {
5743						return err
5744					}
5745					t.generator = []*generatorIntermediateType{tmp}
5746					handled = true
5747				} else if tmpSlice, ok := v.([]interface{}); ok {
5748					t.generator, err = deserializeSliceGeneratorIntermediateType(tmpSlice)
5749					if err != nil {
5750						return err
5751					}
5752					handled = true
5753				} else {
5754					tmp := &generatorIntermediateType{}
5755					err = tmp.Deserialize(v)
5756					if err != nil {
5757						return err
5758					}
5759					t.generator = []*generatorIntermediateType{tmp}
5760					handled = true
5761				}
5762			}
5763			// End generation by generateNonFunctionalMultiTypeDefinition
5764		}
5765		if !handled {
5766			// Begin generation by generateNonFunctionalMultiTypeDefinition
5767			if k == "icon" {
5768				if tmpMap, ok := v.(map[string]interface{}); ok {
5769					tmp, err := deserializeIconIntermediateType(tmpMap)
5770					if err != nil {
5771						return err
5772					}
5773					t.icon = []*iconIntermediateType{tmp}
5774					handled = true
5775				} else if tmpSlice, ok := v.([]interface{}); ok {
5776					t.icon, err = deserializeSliceIconIntermediateType(tmpSlice)
5777					if err != nil {
5778						return err
5779					}
5780					handled = true
5781				} else {
5782					tmp := &iconIntermediateType{}
5783					err = tmp.Deserialize(v)
5784					if err != nil {
5785						return err
5786					}
5787					t.icon = []*iconIntermediateType{tmp}
5788					handled = true
5789				}
5790			}
5791			// End generation by generateNonFunctionalMultiTypeDefinition
5792		}
5793		if !handled {
5794			// Begin generation by RangeReference.Deserialize for Value
5795			if k == "id" {
5796				if v, ok := v.(interface{}); ok {
5797					tmp, err := anyURIDeserialize(v)
5798					if err != nil {
5799						return err
5800					}
5801					t.id = tmp
5802					handled = true
5803				}
5804			}
5805			// End generation by RangeReference.Deserialize for Value
5806		}
5807		if !handled {
5808			// Begin generation by generateNonFunctionalMultiTypeDefinition
5809			if k == "image" {
5810				if tmpMap, ok := v.(map[string]interface{}); ok {
5811					tmp, err := deserializeImageIntermediateType(tmpMap)
5812					if err != nil {
5813						return err
5814					}
5815					t.image = []*imageIntermediateType{tmp}
5816					handled = true
5817				} else if tmpSlice, ok := v.([]interface{}); ok {
5818					t.image, err = deserializeSliceImageIntermediateType(tmpSlice)
5819					if err != nil {
5820						return err
5821					}
5822					handled = true
5823				} else {
5824					tmp := &imageIntermediateType{}
5825					err = tmp.Deserialize(v)
5826					if err != nil {
5827						return err
5828					}
5829					t.image = []*imageIntermediateType{tmp}
5830					handled = true
5831				}
5832			}
5833			// End generation by generateNonFunctionalMultiTypeDefinition
5834		}
5835		if !handled {
5836			// Begin generation by generateNonFunctionalMultiTypeDefinition
5837			if k == "inReplyTo" {
5838				if tmpMap, ok := v.(map[string]interface{}); ok {
5839					tmp, err := deserializeInReplyToIntermediateType(tmpMap)
5840					if err != nil {
5841						return err
5842					}
5843					t.inReplyTo = []*inReplyToIntermediateType{tmp}
5844					handled = true
5845				} else if tmpSlice, ok := v.([]interface{}); ok {
5846					t.inReplyTo, err = deserializeSliceInReplyToIntermediateType(tmpSlice)
5847					if err != nil {
5848						return err
5849					}
5850					handled = true
5851				} else {
5852					tmp := &inReplyToIntermediateType{}
5853					err = tmp.Deserialize(v)
5854					if err != nil {
5855						return err
5856					}
5857					t.inReplyTo = []*inReplyToIntermediateType{tmp}
5858					handled = true
5859				}
5860			}
5861			// End generation by generateNonFunctionalMultiTypeDefinition
5862		}
5863		if !handled {
5864			// Begin generation by generateNonFunctionalMultiTypeDefinition
5865			if k == "location" {
5866				if tmpMap, ok := v.(map[string]interface{}); ok {
5867					tmp, err := deserializeLocationIntermediateType(tmpMap)
5868					if err != nil {
5869						return err
5870					}
5871					t.location = []*locationIntermediateType{tmp}
5872					handled = true
5873				} else if tmpSlice, ok := v.([]interface{}); ok {
5874					t.location, err = deserializeSliceLocationIntermediateType(tmpSlice)
5875					if err != nil {
5876						return err
5877					}
5878					handled = true
5879				} else {
5880					tmp := &locationIntermediateType{}
5881					err = tmp.Deserialize(v)
5882					if err != nil {
5883						return err
5884					}
5885					t.location = []*locationIntermediateType{tmp}
5886					handled = true
5887				}
5888			}
5889			// End generation by generateNonFunctionalMultiTypeDefinition
5890		}
5891		if !handled {
5892			// Begin generation by generateNonFunctionalMultiTypeDefinition
5893			if k == "preview" {
5894				if tmpMap, ok := v.(map[string]interface{}); ok {
5895					tmp, err := deserializePreviewIntermediateType(tmpMap)
5896					if err != nil {
5897						return err
5898					}
5899					t.preview = []*previewIntermediateType{tmp}
5900					handled = true
5901				} else if tmpSlice, ok := v.([]interface{}); ok {
5902					t.preview, err = deserializeSlicePreviewIntermediateType(tmpSlice)
5903					if err != nil {
5904						return err
5905					}
5906					handled = true
5907				} else {
5908					tmp := &previewIntermediateType{}
5909					err = tmp.Deserialize(v)
5910					if err != nil {
5911						return err
5912					}
5913					t.preview = []*previewIntermediateType{tmp}
5914					handled = true
5915				}
5916			}
5917			// End generation by generateNonFunctionalMultiTypeDefinition
5918		}
5919		if !handled {
5920			// Begin generation by generateFunctionalMultiTypeDefinition
5921			if k == "published" {
5922				t.published, err = deserializePublishedIntermediateType(v)
5923				if err != nil {
5924					return err
5925				}
5926				handled = true
5927			}
5928			// End generation by generateFunctionalMultiTypeDefinition
5929		}
5930		if !handled {
5931			// Begin generation by generateFunctionalMultiTypeDefinition
5932			if k == "replies" {
5933				t.replies, err = deserializeRepliesIntermediateType(v)
5934				if err != nil {
5935					return err
5936				}
5937				handled = true
5938			}
5939			// End generation by generateFunctionalMultiTypeDefinition
5940		}
5941		if !handled {
5942			// Begin generation by generateFunctionalMultiTypeDefinition
5943			if k == "startTime" {
5944				t.startTime, err = deserializeStartTimeIntermediateType(v)
5945				if err != nil {
5946					return err
5947				}
5948				handled = true
5949			}
5950			// End generation by generateFunctionalMultiTypeDefinition
5951		}
5952		if !handled {
5953			// Begin generation by generateNonFunctionalMultiTypeDefinition
5954			if k == "summary" {
5955				if tmpMap, ok := v.(map[string]interface{}); ok {
5956					tmp, err := deserializeSummaryIntermediateType(tmpMap)
5957					if err != nil {
5958						return err
5959					}
5960					t.summary = []*summaryIntermediateType{tmp}
5961					handled = true
5962				} else if tmpSlice, ok := v.([]interface{}); ok {
5963					t.summary, err = deserializeSliceSummaryIntermediateType(tmpSlice)
5964					if err != nil {
5965						return err
5966					}
5967					handled = true
5968				} else {
5969					tmp := &summaryIntermediateType{}
5970					err = tmp.Deserialize(v)
5971					if err != nil {
5972						return err
5973					}
5974					t.summary = []*summaryIntermediateType{tmp}
5975					handled = true
5976				}
5977			}
5978			// End generation by generateNonFunctionalMultiTypeDefinition
5979
5980			// Begin generation by generateNaturalLanguageMap
5981			if k == "summaryMap" {
5982				if vMap, ok := v.(map[string]interface{}); ok {
5983					val := make(map[string]string)
5984					for k, iVal := range vMap {
5985						if sVal, ok := iVal.(string); ok {
5986							val[k] = sVal
5987						}
5988					}
5989					t.summaryMap = val
5990					handled = true
5991				}
5992			}
5993			// End generation by generateNaturalLanguageMap
5994		}
5995		if !handled {
5996			// Begin generation by generateNonFunctionalMultiTypeDefinition
5997			if k == "tag" {
5998				if tmpMap, ok := v.(map[string]interface{}); ok {
5999					tmp, err := deserializeTagIntermediateType(tmpMap)
6000					if err != nil {
6001						return err
6002					}
6003					t.tag = []*tagIntermediateType{tmp}
6004					handled = true
6005				} else if tmpSlice, ok := v.([]interface{}); ok {
6006					t.tag, err = deserializeSliceTagIntermediateType(tmpSlice)
6007					if err != nil {
6008						return err
6009					}
6010					handled = true
6011				} else {
6012					tmp := &tagIntermediateType{}
6013					err = tmp.Deserialize(v)
6014					if err != nil {
6015						return err
6016					}
6017					t.tag = []*tagIntermediateType{tmp}
6018					handled = true
6019				}
6020			}
6021			// End generation by generateNonFunctionalMultiTypeDefinition
6022		}
6023		if !handled {
6024			// Begin generation by generateNonFunctionalAnyDefinition
6025			if k == "type" {
6026				if tmpTypeSlice, ok := v.([]interface{}); ok {
6027					t.typeName = tmpTypeSlice
6028					handled = true
6029				} else {
6030					t.typeName = []interface{}{v}
6031					handled = true
6032				}
6033			}
6034			// End generation by generateNonFunctionalAnyDefinition
6035		}
6036		if !handled {
6037			// Begin generation by generateFunctionalMultiTypeDefinition
6038			if k == "updated" {
6039				t.updated, err = deserializeUpdatedIntermediateType(v)
6040				if err != nil {
6041					return err
6042				}
6043				handled = true
6044			}
6045			// End generation by generateFunctionalMultiTypeDefinition
6046		}
6047		if !handled {
6048			// Begin generation by generateNonFunctionalMultiTypeDefinition
6049			if k == "url" {
6050				if tmpMap, ok := v.(map[string]interface{}); ok {
6051					tmp, err := deserializeUrlIntermediateType(tmpMap)
6052					if err != nil {
6053						return err
6054					}
6055					t.url = []*urlIntermediateType{tmp}
6056					handled = true
6057				} else if tmpSlice, ok := v.([]interface{}); ok {
6058					t.url, err = deserializeSliceUrlIntermediateType(tmpSlice)
6059					if err != nil {
6060						return err
6061					}
6062					handled = true
6063				} else {
6064					tmp := &urlIntermediateType{}
6065					err = tmp.Deserialize(v)
6066					if err != nil {
6067						return err
6068					}
6069					t.url = []*urlIntermediateType{tmp}
6070					handled = true
6071				}
6072			}
6073			// End generation by generateNonFunctionalMultiTypeDefinition
6074		}
6075		if !handled {
6076			// Begin generation by generateNonFunctionalMultiTypeDefinition
6077			if k == "to" {
6078				if tmpMap, ok := v.(map[string]interface{}); ok {
6079					tmp, err := deserializeToIntermediateType(tmpMap)
6080					if err != nil {
6081						return err
6082					}
6083					t.to = []*toIntermediateType{tmp}
6084					handled = true
6085				} else if tmpSlice, ok := v.([]interface{}); ok {
6086					t.to, err = deserializeSliceToIntermediateType(tmpSlice)
6087					if err != nil {
6088						return err
6089					}
6090					handled = true
6091				} else {
6092					tmp := &toIntermediateType{}
6093					err = tmp.Deserialize(v)
6094					if err != nil {
6095						return err
6096					}
6097					t.to = []*toIntermediateType{tmp}
6098					handled = true
6099				}
6100			}
6101			// End generation by generateNonFunctionalMultiTypeDefinition
6102		}
6103		if !handled {
6104			// Begin generation by generateNonFunctionalMultiTypeDefinition
6105			if k == "bto" {
6106				if tmpMap, ok := v.(map[string]interface{}); ok {
6107					tmp, err := deserializeBtoIntermediateType(tmpMap)
6108					if err != nil {
6109						return err
6110					}
6111					t.bto = []*btoIntermediateType{tmp}
6112					handled = true
6113				} else if tmpSlice, ok := v.([]interface{}); ok {
6114					t.bto, err = deserializeSliceBtoIntermediateType(tmpSlice)
6115					if err != nil {
6116						return err
6117					}
6118					handled = true
6119				} else {
6120					tmp := &btoIntermediateType{}
6121					err = tmp.Deserialize(v)
6122					if err != nil {
6123						return err
6124					}
6125					t.bto = []*btoIntermediateType{tmp}
6126					handled = true
6127				}
6128			}
6129			// End generation by generateNonFunctionalMultiTypeDefinition
6130		}
6131		if !handled {
6132			// Begin generation by generateNonFunctionalMultiTypeDefinition
6133			if k == "cc" {
6134				if tmpMap, ok := v.(map[string]interface{}); ok {
6135					tmp, err := deserializeCcIntermediateType(tmpMap)
6136					if err != nil {
6137						return err
6138					}
6139					t.cc = []*ccIntermediateType{tmp}
6140					handled = true
6141				} else if tmpSlice, ok := v.([]interface{}); ok {
6142					t.cc, err = deserializeSliceCcIntermediateType(tmpSlice)
6143					if err != nil {
6144						return err
6145					}
6146					handled = true
6147				} else {
6148					tmp := &ccIntermediateType{}
6149					err = tmp.Deserialize(v)
6150					if err != nil {
6151						return err
6152					}
6153					t.cc = []*ccIntermediateType{tmp}
6154					handled = true
6155				}
6156			}
6157			// End generation by generateNonFunctionalMultiTypeDefinition
6158		}
6159		if !handled {
6160			// Begin generation by generateNonFunctionalMultiTypeDefinition
6161			if k == "bcc" {
6162				if tmpMap, ok := v.(map[string]interface{}); ok {
6163					tmp, err := deserializeBccIntermediateType(tmpMap)
6164					if err != nil {
6165						return err
6166					}
6167					t.bcc = []*bccIntermediateType{tmp}
6168					handled = true
6169				} else if tmpSlice, ok := v.([]interface{}); ok {
6170					t.bcc, err = deserializeSliceBccIntermediateType(tmpSlice)
6171					if err != nil {
6172						return err
6173					}
6174					handled = true
6175				} else {
6176					tmp := &bccIntermediateType{}
6177					err = tmp.Deserialize(v)
6178					if err != nil {
6179						return err
6180					}
6181					t.bcc = []*bccIntermediateType{tmp}
6182					handled = true
6183				}
6184			}
6185			// End generation by generateNonFunctionalMultiTypeDefinition
6186		}
6187		if !handled {
6188			// Begin generation by generateFunctionalMultiTypeDefinition
6189			if k == "mediaType" {
6190				t.mediaType, err = deserializeMediaTypeIntermediateType(v)
6191				if err != nil {
6192					return err
6193				}
6194				handled = true
6195			}
6196			// End generation by generateFunctionalMultiTypeDefinition
6197		}
6198		if !handled {
6199			// Begin generation by generateFunctionalMultiTypeDefinition
6200			if k == "duration" {
6201				t.duration, err = deserializeDurationIntermediateType(v)
6202				if err != nil {
6203					return err
6204				}
6205				handled = true
6206			}
6207			// End generation by generateFunctionalMultiTypeDefinition
6208		}
6209		if !handled {
6210			// Begin generation by generateFunctionalMultiTypeDefinition
6211			if k == "source" {
6212				t.source, err = deserializeSourceIntermediateType(v)
6213				if err != nil {
6214					return err
6215				}
6216				handled = true
6217			}
6218			// End generation by generateFunctionalMultiTypeDefinition
6219		}
6220		if !handled {
6221			// Begin generation by generateFunctionalMultiTypeDefinition
6222			if k == "inbox" {
6223				t.inbox, err = deserializeInboxIntermediateType(v)
6224				if err != nil {
6225					return err
6226				}
6227				handled = true
6228			}
6229			// End generation by generateFunctionalMultiTypeDefinition
6230		}
6231		if !handled {
6232			// Begin generation by generateFunctionalMultiTypeDefinition
6233			if k == "outbox" {
6234				t.outbox, err = deserializeOutboxIntermediateType(v)
6235				if err != nil {
6236					return err
6237				}
6238				handled = true
6239			}
6240			// End generation by generateFunctionalMultiTypeDefinition
6241		}
6242		if !handled {
6243			// Begin generation by generateFunctionalMultiTypeDefinition
6244			if k == "following" {
6245				t.following, err = deserializeFollowingIntermediateType(v)
6246				if err != nil {
6247					return err
6248				}
6249				handled = true
6250			}
6251			// End generation by generateFunctionalMultiTypeDefinition
6252		}
6253		if !handled {
6254			// Begin generation by generateFunctionalMultiTypeDefinition
6255			if k == "followers" {
6256				t.followers, err = deserializeFollowersIntermediateType(v)
6257				if err != nil {
6258					return err
6259				}
6260				handled = true
6261			}
6262			// End generation by generateFunctionalMultiTypeDefinition
6263		}
6264		if !handled {
6265			// Begin generation by generateFunctionalMultiTypeDefinition
6266			if k == "liked" {
6267				t.liked, err = deserializeLikedIntermediateType(v)
6268				if err != nil {
6269					return err
6270				}
6271				handled = true
6272			}
6273			// End generation by generateFunctionalMultiTypeDefinition
6274		}
6275		if !handled {
6276			// Begin generation by generateFunctionalMultiTypeDefinition
6277			if k == "likes" {
6278				t.likes, err = deserializeLikesIntermediateType(v)
6279				if err != nil {
6280					return err
6281				}
6282				handled = true
6283			}
6284			// End generation by generateFunctionalMultiTypeDefinition
6285		}
6286		if !handled {
6287			// Begin generation by RangeReference.Deserialize for Value
6288			if k == "streams" {
6289				if tmpSlice, ok := v.([]interface{}); ok {
6290					for _, tmpElem := range tmpSlice {
6291						if v, ok := tmpElem.(interface{}); ok {
6292							tmp, err := anyURIDeserialize(v)
6293							if err != nil {
6294								return err
6295							}
6296							t.streams = append(t.streams, tmp)
6297							handled = true
6298						}
6299					}
6300				} else if v, ok := v.(interface{}); ok {
6301					tmp, err := anyURIDeserialize(v)
6302					if err != nil {
6303						return err
6304					}
6305					t.streams = append(t.streams, tmp)
6306					handled = true
6307				}
6308			}
6309			// End generation by RangeReference.Deserialize for Value
6310		}
6311		if !handled {
6312			// Begin generation by generateFunctionalMultiTypeDefinition
6313			if k == "preferredUsername" {
6314				t.preferredUsername, err = deserializePreferredUsernameIntermediateType(v)
6315				if err != nil {
6316					return err
6317				}
6318				handled = true
6319			}
6320			// End generation by generateFunctionalMultiTypeDefinition
6321
6322			// Begin generation by generateNaturalLanguageMap
6323			if k == "preferredUsernameMap" {
6324				if vMap, ok := v.(map[string]interface{}); ok {
6325					val := make(map[string]string)
6326					for k, iVal := range vMap {
6327						if sVal, ok := iVal.(string); ok {
6328							val[k] = sVal
6329						}
6330					}
6331					t.preferredUsernameMap = val
6332					handled = true
6333				}
6334			}
6335			// End generation by generateNaturalLanguageMap
6336		}
6337		if !handled {
6338			// Begin generation by generateFunctionalMultiTypeDefinition
6339			if k == "endpoints" {
6340				t.endpoints, err = deserializeEndpointsIntermediateType(v)
6341				if err != nil {
6342					return err
6343				}
6344				handled = true
6345			}
6346			// End generation by generateFunctionalMultiTypeDefinition
6347		}
6348		if !handled {
6349			// Begin generation by RangeReference.Deserialize for Value
6350			if k == "proxyUrl" {
6351				if v, ok := v.(interface{}); ok {
6352					tmp, err := anyURIDeserialize(v)
6353					if err != nil {
6354						return err
6355					}
6356					t.proxyUrl = tmp
6357					handled = true
6358				}
6359			}
6360			// End generation by RangeReference.Deserialize for Value
6361		}
6362		if !handled {
6363			// Begin generation by RangeReference.Deserialize for Value
6364			if k == "oauthAuthorizationEndpoint" {
6365				if v, ok := v.(interface{}); ok {
6366					tmp, err := anyURIDeserialize(v)
6367					if err != nil {
6368						return err
6369					}
6370					t.oauthAuthorizationEndpoint = tmp
6371					handled = true
6372				}
6373			}
6374			// End generation by RangeReference.Deserialize for Value
6375		}
6376		if !handled {
6377			// Begin generation by RangeReference.Deserialize for Value
6378			if k == "oauthTokenEndpoint" {
6379				if v, ok := v.(interface{}); ok {
6380					tmp, err := anyURIDeserialize(v)
6381					if err != nil {
6382						return err
6383					}
6384					t.oauthTokenEndpoint = tmp
6385					handled = true
6386				}
6387			}
6388			// End generation by RangeReference.Deserialize for Value
6389		}
6390		if !handled {
6391			// Begin generation by RangeReference.Deserialize for Value
6392			if k == "provideClientKey" {
6393				if v, ok := v.(interface{}); ok {
6394					tmp, err := anyURIDeserialize(v)
6395					if err != nil {
6396						return err
6397					}
6398					t.provideClientKey = tmp
6399					handled = true
6400				}
6401			}
6402			// End generation by RangeReference.Deserialize for Value
6403		}
6404		if !handled {
6405			// Begin generation by RangeReference.Deserialize for Value
6406			if k == "signClientKey" {
6407				if v, ok := v.(interface{}); ok {
6408					tmp, err := anyURIDeserialize(v)
6409					if err != nil {
6410						return err
6411					}
6412					t.signClientKey = tmp
6413					handled = true
6414				}
6415			}
6416			// End generation by RangeReference.Deserialize for Value
6417		}
6418		if !handled {
6419			// Begin generation by RangeReference.Deserialize for Value
6420			if k == "sharedInbox" {
6421				if v, ok := v.(interface{}); ok {
6422					tmp, err := anyURIDeserialize(v)
6423					if err != nil {
6424						return err
6425					}
6426					t.sharedInbox = tmp
6427					handled = true
6428				}
6429			}
6430			// End generation by RangeReference.Deserialize for Value
6431		}
6432		if !handled && k != "@context" {
6433			if t.unknown_ == nil {
6434				t.unknown_ = make(map[string]interface{})
6435			}
6436			t.unknown_[k] = unknownValueDeserialize(v)
6437		}
6438	}
6439	return
6440
6441}
6442