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