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