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