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