[feature] Parse funkwhale Album as Statusable to allow barebones interacting with bandwagon (#3931)

* bump activity version

* parse funkwhale / bandwagon album as statusable
This commit is contained in:
tobi
2025-03-24 11:56:42 +01:00
committed by GitHub
parent 4af8d1a2cb
commit 27171a78de
131 changed files with 26449 additions and 3098 deletions

View File

@@ -11,6 +11,9 @@ var ActivityStreamsActivityName string = "Activity"
// ActivityStreamsAddName is the string literal of the name for the Add type in the ActivityStreams vocabulary.
var ActivityStreamsAddName string = "Add"
// FunkwhaleAlbumName is the string literal of the name for the Album type in the Funkwhale vocabulary.
var FunkwhaleAlbumName string = "Album"
// ActivityStreamsAnnounceName is the string literal of the name for the Announce type in the ActivityStreams vocabulary.
var ActivityStreamsAnnounceName string = "Announce"
@@ -26,6 +29,9 @@ var ActivityStreamsArriveName string = "Arrive"
// ActivityStreamsArticleName is the string literal of the name for the Article type in the ActivityStreams vocabulary.
var ActivityStreamsArticleName string = "Article"
// FunkwhaleArtistName is the string literal of the name for the Artist type in the Funkwhale vocabulary.
var FunkwhaleArtistName string = "Artist"
// ActivityStreamsAudioName is the string literal of the name for the Audio type in the ActivityStreams vocabulary.
var ActivityStreamsAudioName string = "Audio"
@@ -104,6 +110,9 @@ var ActivityStreamsJoinName string = "Join"
// ActivityStreamsLeaveName is the string literal of the name for the Leave type in the ActivityStreams vocabulary.
var ActivityStreamsLeaveName string = "Leave"
// FunkwhaleLibraryName is the string literal of the name for the Library type in the Funkwhale vocabulary.
var FunkwhaleLibraryName string = "Library"
// ActivityStreamsLikeName is the string literal of the name for the Like type in the ActivityStreams vocabulary.
var ActivityStreamsLikeName string = "Like"
@@ -188,6 +197,9 @@ var ActivityStreamsTentativeRejectName string = "TentativeReject"
// ActivityStreamsTombstoneName is the string literal of the name for the Tombstone type in the ActivityStreams vocabulary.
var ActivityStreamsTombstoneName string = "Tombstone"
// FunkwhaleTrackName is the string literal of the name for the Track type in the Funkwhale vocabulary.
var FunkwhaleTrackName string = "Track"
// ActivityStreamsTravelName is the string literal of the name for the Travel type in the ActivityStreams vocabulary.
var ActivityStreamsTravelName string = "Travel"

View File

@@ -135,6 +135,10 @@ import (
typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always"
propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired"
propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby"
@@ -311,6 +315,10 @@ func init() {
typeupdate.SetManager(mgr)
typevideo.SetManager(mgr)
typeview.SetManager(mgr)
typealbum.SetManager(mgr)
typeartist.SetManager(mgr)
typelibrary.SetManager(mgr)
typetrack.SetManager(mgr)
propertyalways.SetManager(mgr)
propertyapprovalrequired.SetManager(mgr)
propertyapprovedby.SetManager(mgr)
@@ -395,6 +403,10 @@ func init() {
typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeview.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typealbum.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeartist.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typelibrary.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typetrack.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeannounceapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecanannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecanlike.SetTypePropertyConstructor(NewJSONLDTypeProperty)

View File

@@ -37,6 +37,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsAdd) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.FunkwhaleAlbum) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsAnnounce) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.GoToSocialAnnounceApproval) error:
@@ -47,6 +49,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsArticle) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.FunkwhaleArtist) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsAudio) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsBlock) error:
@@ -99,6 +103,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsLeave) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.FunkwhaleLibrary) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsLike) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.GoToSocialLikeApproval) error:
@@ -155,6 +161,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTombstone) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.FunkwhaleTrack) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTravel) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsUndo) error:
@@ -244,6 +252,13 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
if len(ActivityStreamsAlias) > 0 {
ActivityStreamsAlias += ":"
}
FunkwhaleAlias, ok := aliasMap["https://funkwhale.audio/ns"]
if !ok {
FunkwhaleAlias = aliasMap["http://funkwhale.audio/ns"]
}
if len(FunkwhaleAlias) > 0 {
FunkwhaleAlias += ":"
}
GoToSocialAlias, ok := aliasMap["https://gotosocial.org/ns"]
if !ok {
GoToSocialAlias = aliasMap["http://gotosocial.org/ns"]
@@ -306,6 +321,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
} else if typeString == FunkwhaleAlias+"Album" {
v, err := mgr.DeserializeAlbumFunkwhale()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.FunkwhaleAlbum) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Announce" {
v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap)
if err != nil {
@@ -361,6 +387,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
} else if typeString == FunkwhaleAlias+"Artist" {
v, err := mgr.DeserializeArtistFunkwhale()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.FunkwhaleArtist) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Audio" {
v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap)
if err != nil {
@@ -647,6 +684,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
} else if typeString == FunkwhaleAlias+"Library" {
v, err := mgr.DeserializeLibraryFunkwhale()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.FunkwhaleLibrary) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Like" {
v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap)
if err != nil {
@@ -955,6 +1003,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
} else if typeString == FunkwhaleAlias+"Track" {
v, err := mgr.DeserializeTrackFunkwhale()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.FunkwhaleTrack) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Travel" {
v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap)
if err != nil {

View File

@@ -135,6 +135,10 @@ import (
typeupdate "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
typevideo "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
typeview "codeberg.org/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
propertyalways "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_always"
propertyapprovalrequired "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvalrequired"
propertyapprovedby "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_approvedby"
@@ -240,6 +244,18 @@ func (this Manager) DeserializeAddActivityStreams() func(map[string]interface{},
}
}
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary "Funkwhale"
func (this Manager) DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleAlbum, error) {
i, err := typealbum.DeserializeAlbum(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeAlsoKnownAsPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsAlsoKnownAsProperty" non-functional property
// in the vocabulary "ActivityStreams"
@@ -383,6 +399,18 @@ func (this Manager) DeserializeArticleActivityStreams() func(map[string]interfac
}
}
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary "Funkwhale"
func (this Manager) DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleArtist, error) {
i, err := typeartist.DeserializeArtist(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeAttachmentPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsAttachmentProperty" non-functional property in the
// vocabulary "ActivityStreams"
@@ -1219,6 +1247,18 @@ func (this Manager) DeserializeLeaveActivityStreams() func(map[string]interface{
}
}
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary "Funkwhale"
func (this Manager) DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleLibrary, error) {
i, err := typelibrary.DeserializeLibrary(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeLikeActivityStreams returns the deserialization method for the
// "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -2129,6 +2169,18 @@ func (this Manager) DeserializeTotalItemsPropertyActivityStreams() func(map[stri
}
}
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary "Funkwhale"
func (this Manager) DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.FunkwhaleTrack, error) {
i, err := typetrack.DeserializeTrack(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeTravelActivityStreams returns the deserialization method for the
// "ActivityStreamsTravel" non-functional property in the vocabulary
// "ActivityStreams"

View File

@@ -0,0 +1,35 @@
// Code generated by astool. DO NOT EDIT.
package streams
import (
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
// FunkwhaleAlbumIsDisjointWith returns true if Album is disjoint with the other's
// type.
func FunkwhaleAlbumIsDisjointWith(other vocab.Type) bool {
return typealbum.AlbumIsDisjointWith(other)
}
// FunkwhaleArtistIsDisjointWith returns true if Artist is disjoint with the
// other's type.
func FunkwhaleArtistIsDisjointWith(other vocab.Type) bool {
return typeartist.ArtistIsDisjointWith(other)
}
// FunkwhaleLibraryIsDisjointWith returns true if Library is disjoint with the
// other's type.
func FunkwhaleLibraryIsDisjointWith(other vocab.Type) bool {
return typelibrary.LibraryIsDisjointWith(other)
}
// FunkwhaleTrackIsDisjointWith returns true if Track is disjoint with the other's
// type.
func FunkwhaleTrackIsDisjointWith(other vocab.Type) bool {
return typetrack.TrackIsDisjointWith(other)
}

View File

@@ -0,0 +1,39 @@
// Code generated by astool. DO NOT EDIT.
package streams
import (
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
// FunkwhaleAlbumIsExtendedBy returns true if the other's type extends from Album.
// Note that it returns false if the types are the same; see the "IsOrExtends"
// variant instead.
func FunkwhaleAlbumIsExtendedBy(other vocab.Type) bool {
return typealbum.AlbumIsExtendedBy(other)
}
// FunkwhaleArtistIsExtendedBy returns true if the other's type extends from
// Artist. Note that it returns false if the types are the same; see the
// "IsOrExtends" variant instead.
func FunkwhaleArtistIsExtendedBy(other vocab.Type) bool {
return typeartist.ArtistIsExtendedBy(other)
}
// FunkwhaleLibraryIsExtendedBy returns true if the other's type extends from
// Library. Note that it returns false if the types are the same; see the
// "IsOrExtends" variant instead.
func FunkwhaleLibraryIsExtendedBy(other vocab.Type) bool {
return typelibrary.LibraryIsExtendedBy(other)
}
// FunkwhaleTrackIsExtendedBy returns true if the other's type extends from Track.
// Note that it returns false if the types are the same; see the "IsOrExtends"
// variant instead.
func FunkwhaleTrackIsExtendedBy(other vocab.Type) bool {
return typetrack.TrackIsExtendedBy(other)
}

View File

@@ -0,0 +1,35 @@
// Code generated by astool. DO NOT EDIT.
package streams
import (
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
// FunkwhaleFunkwhaleAlbumExtends returns true if Album extends from the other's
// type.
func FunkwhaleFunkwhaleAlbumExtends(other vocab.Type) bool {
return typealbum.FunkwhaleAlbumExtends(other)
}
// FunkwhaleFunkwhaleArtistExtends returns true if Artist extends from the other's
// type.
func FunkwhaleFunkwhaleArtistExtends(other vocab.Type) bool {
return typeartist.FunkwhaleArtistExtends(other)
}
// FunkwhaleFunkwhaleLibraryExtends returns true if Library extends from the
// other's type.
func FunkwhaleFunkwhaleLibraryExtends(other vocab.Type) bool {
return typelibrary.FunkwhaleLibraryExtends(other)
}
// FunkwhaleFunkwhaleTrackExtends returns true if Track extends from the other's
// type.
func FunkwhaleFunkwhaleTrackExtends(other vocab.Type) bool {
return typetrack.FunkwhaleTrackExtends(other)
}

View File

@@ -0,0 +1,35 @@
// Code generated by astool. DO NOT EDIT.
package streams
import (
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
// IsOrExtendsFunkwhaleAlbum returns true if the other provided type is the Album
// type or extends from the Album type.
func IsOrExtendsFunkwhaleAlbum(other vocab.Type) bool {
return typealbum.IsOrExtendsAlbum(other)
}
// IsOrExtendsFunkwhaleArtist returns true if the other provided type is the
// Artist type or extends from the Artist type.
func IsOrExtendsFunkwhaleArtist(other vocab.Type) bool {
return typeartist.IsOrExtendsArtist(other)
}
// IsOrExtendsFunkwhaleLibrary returns true if the other provided type is the
// Library type or extends from the Library type.
func IsOrExtendsFunkwhaleLibrary(other vocab.Type) bool {
return typelibrary.IsOrExtendsLibrary(other)
}
// IsOrExtendsFunkwhaleTrack returns true if the other provided type is the Track
// type or extends from the Track type.
func IsOrExtendsFunkwhaleTrack(other vocab.Type) bool {
return typetrack.IsOrExtendsTrack(other)
}

View File

@@ -0,0 +1,31 @@
// Code generated by astool. DO NOT EDIT.
package streams
import (
typealbum "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album"
typeartist "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist"
typelibrary "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library"
typetrack "codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track"
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
)
// NewFunkwhaleAlbum creates a new FunkwhaleAlbum
func NewFunkwhaleAlbum() vocab.FunkwhaleAlbum {
return typealbum.NewFunkwhaleAlbum()
}
// NewFunkwhaleArtist creates a new FunkwhaleArtist
func NewFunkwhaleArtist() vocab.FunkwhaleArtist {
return typeartist.NewFunkwhaleArtist()
}
// NewFunkwhaleLibrary creates a new FunkwhaleLibrary
func NewFunkwhaleLibrary() vocab.FunkwhaleLibrary {
return typelibrary.NewFunkwhaleLibrary()
}
// NewFunkwhaleTrack creates a new FunkwhaleTrack
func NewFunkwhaleTrack() vocab.FunkwhaleTrack {
return typetrack.NewFunkwhaleTrack()
}

View File

@@ -55,6 +55,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsAdd) error {
t = i
return nil
}, func(ctx context.Context, i vocab.FunkwhaleAlbum) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ActivityStreamsAnnounce) error {
t = i
return nil
@@ -70,6 +73,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsArticle) error {
t = i
return nil
}, func(ctx context.Context, i vocab.FunkwhaleArtist) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ActivityStreamsAudio) error {
t = i
return nil
@@ -148,6 +154,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsLeave) error {
t = i
return nil
}, func(ctx context.Context, i vocab.FunkwhaleLibrary) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ActivityStreamsLike) error {
t = i
return nil
@@ -232,6 +241,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsTombstone) error {
t = i
return nil
}, func(ctx context.Context, i vocab.FunkwhaleTrack) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ActivityStreamsTravel) error {
t = i
return nil

View File

@@ -35,6 +35,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsAdd) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.FunkwhaleAlbum) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsAnnounce) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.GoToSocialAnnounceApproval) (bool, error):
@@ -45,6 +47,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsArticle) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.FunkwhaleArtist) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsAudio) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsBlock) (bool, error):
@@ -97,6 +101,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsLeave) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.FunkwhaleLibrary) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsLike) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.GoToSocialLikeApproval) (bool, error):
@@ -153,6 +159,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsTombstone) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.FunkwhaleTrack) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsTravel) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsUndo) (bool, error):
@@ -215,6 +223,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Album" {
if fn, ok := this.predicate.(func(context.Context, vocab.FunkwhaleAlbum) (bool, error)); ok {
if v, ok := o.(vocab.FunkwhaleAlbum); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Announce" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsAnnounce) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsAnnounce); ok {
@@ -270,6 +289,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Artist" {
if fn, ok := this.predicate.(func(context.Context, vocab.FunkwhaleArtist) (bool, error)); ok {
if v, ok := o.(vocab.FunkwhaleArtist); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Audio" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsAudio) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsAudio); ok {
@@ -556,6 +586,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Library" {
if fn, ok := this.predicate.(func(context.Context, vocab.FunkwhaleLibrary) (bool, error)); ok {
if v, ok := o.(vocab.FunkwhaleLibrary); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Like" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsLike) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsLike); ok {
@@ -864,6 +905,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Track" {
if fn, ok := this.predicate.(func(context.Context, vocab.FunkwhaleTrack) (bool, error)); ok {
if v, ok := o.(vocab.FunkwhaleTrack); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Travel" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsTravel) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsTravel); ok {

View File

@@ -34,6 +34,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsAdd) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.FunkwhaleAlbum) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsAnnounce) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.GoToSocialAnnounceApproval) error:
@@ -44,6 +46,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsArticle) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.FunkwhaleArtist) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsAudio) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsBlock) error:
@@ -96,6 +100,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsLeave) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.FunkwhaleLibrary) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsLike) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.GoToSocialLikeApproval) error:
@@ -152,6 +158,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTombstone) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.FunkwhaleTrack) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTravel) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsUndo) error:
@@ -204,6 +212,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Album" {
if fn, ok := i.(func(context.Context, vocab.FunkwhaleAlbum) error); ok {
if v, ok := o.(vocab.FunkwhaleAlbum); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Announce" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsAnnounce) error); ok {
if v, ok := o.(vocab.ActivityStreamsAnnounce); ok {
@@ -249,6 +266,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Artist" {
if fn, ok := i.(func(context.Context, vocab.FunkwhaleArtist) error); ok {
if v, ok := o.(vocab.FunkwhaleArtist); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Audio" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsAudio) error); ok {
if v, ok := o.(vocab.ActivityStreamsAudio); ok {
@@ -483,6 +509,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Library" {
if fn, ok := i.(func(context.Context, vocab.FunkwhaleLibrary) error); ok {
if v, ok := o.(vocab.FunkwhaleLibrary); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Like" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsLike) error); ok {
if v, ok := o.(vocab.ActivityStreamsLike); ok {
@@ -735,6 +770,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://funkwhale.audio/ns" && o.GetTypeName() == "Track" {
if fn, ok := i.(func(context.Context, vocab.FunkwhaleTrack) error); ok {
if v, ok := o.(vocab.FunkwhaleTrack); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Travel" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsTravel) error); ok {
if v, ok := o.(vocab.ActivityStreamsTravel); ok {

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -120,6 +128,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -221,6 +233,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -18,11 +18,13 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsAcceptMember vocab.ActivityStreamsAccept
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
funkwhaleArtistMember vocab.FunkwhaleArtist
activitystreamsAudioMember vocab.ActivityStreamsAudio
activitystreamsBlockMember vocab.ActivityStreamsBlock
activitystreamsCollectionMember vocab.ActivityStreamsCollection
@@ -43,6 +45,7 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsInviteMember vocab.ActivityStreamsInvite
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
@@ -67,6 +70,7 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
funkwhaleTrackMember vocab.FunkwhaleTrack
activitystreamsTravelMember vocab.ActivityStreamsTravel
activitystreamsUndoMember vocab.ActivityStreamsUndo
activitystreamsUpdateMember vocab.ActivityStreamsUpdate
@@ -129,6 +133,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeAlbumFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
funkwhaleAlbumMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsAnnounceMember: v,
@@ -159,6 +169,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeArtistFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
funkwhaleArtistMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsAudioMember: v,
@@ -279,6 +295,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeLibraryFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
funkwhaleLibraryMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsLikeMember: v,
@@ -423,6 +445,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeTrackFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
funkwhaleTrackMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsTravelMember: v,
@@ -476,11 +504,13 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsAcceptMember = nil
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
this.funkwhaleArtistMember = nil
this.activitystreamsAudioMember = nil
this.activitystreamsBlockMember = nil
this.activitystreamsCollectionMember = nil
@@ -501,6 +531,7 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsInviteMember = nil
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
@@ -525,6 +556,7 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
this.activitystreamsTombstoneMember = nil
this.funkwhaleTrackMember = nil
this.activitystreamsTravelMember = nil
this.activitystreamsUndoMember = nil
this.activitystreamsUpdateMember = nil
@@ -898,6 +930,30 @@ func (this ActivityStreamsDescribesProperty) GetActivityStreamsView() vocab.Acti
return this.activitystreamsViewMember
}
// GetFunkwhaleAlbum returns the value of this property. When IsFunkwhaleAlbum
// returns false, GetFunkwhaleAlbum will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetFunkwhaleAlbum() vocab.FunkwhaleAlbum {
return this.funkwhaleAlbumMember
}
// GetFunkwhaleArtist returns the value of this property. When IsFunkwhaleArtist
// returns false, GetFunkwhaleArtist will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetFunkwhaleArtist() vocab.FunkwhaleArtist {
return this.funkwhaleArtistMember
}
// GetFunkwhaleLibrary returns the value of this property. When IsFunkwhaleLibrary
// returns false, GetFunkwhaleLibrary will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetFunkwhaleLibrary() vocab.FunkwhaleLibrary {
return this.funkwhaleLibraryMember
}
// GetFunkwhaleTrack returns the value of this property. When IsFunkwhaleTrack
// returns false, GetFunkwhaleTrack will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetFunkwhaleTrack() vocab.FunkwhaleTrack {
return this.funkwhaleTrackMember
}
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
// will return an arbitrary value.
@@ -960,6 +1016,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsAdd() {
return this.GetActivityStreamsAdd()
}
if this.IsFunkwhaleAlbum() {
return this.GetFunkwhaleAlbum()
}
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
@@ -975,6 +1034,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsArticle() {
return this.GetActivityStreamsArticle()
}
if this.IsFunkwhaleArtist() {
return this.GetFunkwhaleArtist()
}
if this.IsActivityStreamsAudio() {
return this.GetActivityStreamsAudio()
}
@@ -1035,6 +1097,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsLeave() {
return this.GetActivityStreamsLeave()
}
if this.IsFunkwhaleLibrary() {
return this.GetFunkwhaleLibrary()
}
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
@@ -1107,6 +1172,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone()
}
if this.IsFunkwhaleTrack() {
return this.GetFunkwhaleTrack()
}
if this.IsActivityStreamsTravel() {
return this.GetActivityStreamsTravel()
}
@@ -1132,11 +1200,13 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsAccept() ||
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
this.IsFunkwhaleArtist() ||
this.IsActivityStreamsAudio() ||
this.IsActivityStreamsBlock() ||
this.IsActivityStreamsCollection() ||
@@ -1157,6 +1227,7 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsInvite() ||
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
@@ -1181,6 +1252,7 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
this.IsActivityStreamsTombstone() ||
this.IsFunkwhaleTrack() ||
this.IsActivityStreamsTravel() ||
this.IsActivityStreamsUndo() ||
this.IsActivityStreamsUpdate() ||
@@ -1558,6 +1630,34 @@ func (this ActivityStreamsDescribesProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
// IsFunkwhaleAlbum returns true if this property has a type of "Album". When
// true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods to access and
// set this property.
func (this ActivityStreamsDescribesProperty) IsFunkwhaleAlbum() bool {
return this.funkwhaleAlbumMember != nil
}
// IsFunkwhaleArtist returns true if this property has a type of "Artist". When
// true, use the GetFunkwhaleArtist and SetFunkwhaleArtist methods to access
// and set this property.
func (this ActivityStreamsDescribesProperty) IsFunkwhaleArtist() bool {
return this.funkwhaleArtistMember != nil
}
// IsFunkwhaleLibrary returns true if this property has a type of "Library". When
// true, use the GetFunkwhaleLibrary and SetFunkwhaleLibrary methods to access
// and set this property.
func (this ActivityStreamsDescribesProperty) IsFunkwhaleLibrary() bool {
return this.funkwhaleLibraryMember != nil
}
// IsFunkwhaleTrack returns true if this property has a type of "Track". When
// true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods to access and
// set this property.
func (this ActivityStreamsDescribesProperty) IsFunkwhaleTrack() bool {
return this.funkwhaleTrackMember != nil
}
// IsGoToSocialAnnounceApproval returns true if this property has a type of
// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
// SetGoToSocialAnnounceApproval methods to access and set this property.
@@ -1619,6 +1719,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsActivity().JSONLDContext()
} else if this.IsActivityStreamsAdd() {
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsFunkwhaleAlbum() {
child = this.GetFunkwhaleAlbum().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
@@ -1629,6 +1731,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsArrive().JSONLDContext()
} else if this.IsActivityStreamsArticle() {
child = this.GetActivityStreamsArticle().JSONLDContext()
} else if this.IsFunkwhaleArtist() {
child = this.GetFunkwhaleArtist().JSONLDContext()
} else if this.IsActivityStreamsAudio() {
child = this.GetActivityStreamsAudio().JSONLDContext()
} else if this.IsActivityStreamsBlock() {
@@ -1669,6 +1773,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsJoin().JSONLDContext()
} else if this.IsActivityStreamsLeave() {
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsFunkwhaleLibrary() {
child = this.GetFunkwhaleLibrary().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
@@ -1717,6 +1823,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
} else if this.IsActivityStreamsTombstone() {
child = this.GetActivityStreamsTombstone().JSONLDContext()
} else if this.IsFunkwhaleTrack() {
child = this.GetFunkwhaleTrack().JSONLDContext()
} else if this.IsActivityStreamsTravel() {
child = this.GetActivityStreamsTravel().JSONLDContext()
} else if this.IsActivityStreamsUndo() {
@@ -1755,168 +1863,180 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
if this.IsActivityStreamsAdd() {
return 3
}
if this.IsActivityStreamsAnnounce() {
if this.IsFunkwhaleAlbum() {
return 4
}
if this.IsGoToSocialAnnounceApproval() {
if this.IsActivityStreamsAnnounce() {
return 5
}
if this.IsActivityStreamsApplication() {
if this.IsGoToSocialAnnounceApproval() {
return 6
}
if this.IsActivityStreamsArrive() {
if this.IsActivityStreamsApplication() {
return 7
}
if this.IsActivityStreamsArticle() {
if this.IsActivityStreamsArrive() {
return 8
}
if this.IsActivityStreamsAudio() {
if this.IsActivityStreamsArticle() {
return 9
}
if this.IsActivityStreamsBlock() {
if this.IsFunkwhaleArtist() {
return 10
}
if this.IsActivityStreamsCollection() {
if this.IsActivityStreamsAudio() {
return 11
}
if this.IsActivityStreamsCollectionPage() {
if this.IsActivityStreamsBlock() {
return 12
}
if this.IsActivityStreamsCreate() {
if this.IsActivityStreamsCollection() {
return 13
}
if this.IsActivityStreamsDelete() {
if this.IsActivityStreamsCollectionPage() {
return 14
}
if this.IsActivityStreamsDislike() {
if this.IsActivityStreamsCreate() {
return 15
}
if this.IsActivityStreamsDocument() {
if this.IsActivityStreamsDelete() {
return 16
}
if this.IsTootEmoji() {
if this.IsActivityStreamsDislike() {
return 17
}
if this.IsActivityStreamsEvent() {
if this.IsActivityStreamsDocument() {
return 18
}
if this.IsActivityStreamsFlag() {
if this.IsTootEmoji() {
return 19
}
if this.IsActivityStreamsFollow() {
if this.IsActivityStreamsEvent() {
return 20
}
if this.IsActivityStreamsGroup() {
if this.IsActivityStreamsFlag() {
return 21
}
if this.IsTootIdentityProof() {
if this.IsActivityStreamsFollow() {
return 22
}
if this.IsActivityStreamsIgnore() {
if this.IsActivityStreamsGroup() {
return 23
}
if this.IsActivityStreamsImage() {
if this.IsTootIdentityProof() {
return 24
}
if this.IsActivityStreamsIntransitiveActivity() {
if this.IsActivityStreamsIgnore() {
return 25
}
if this.IsActivityStreamsInvite() {
if this.IsActivityStreamsImage() {
return 26
}
if this.IsActivityStreamsJoin() {
if this.IsActivityStreamsIntransitiveActivity() {
return 27
}
if this.IsActivityStreamsLeave() {
if this.IsActivityStreamsInvite() {
return 28
}
if this.IsActivityStreamsLike() {
if this.IsActivityStreamsJoin() {
return 29
}
if this.IsGoToSocialLikeApproval() {
if this.IsActivityStreamsLeave() {
return 30
}
if this.IsActivityStreamsListen() {
if this.IsFunkwhaleLibrary() {
return 31
}
if this.IsActivityStreamsMove() {
if this.IsActivityStreamsLike() {
return 32
}
if this.IsActivityStreamsNote() {
if this.IsGoToSocialLikeApproval() {
return 33
}
if this.IsActivityStreamsOffer() {
if this.IsActivityStreamsListen() {
return 34
}
if this.IsActivityStreamsOrderedCollection() {
if this.IsActivityStreamsMove() {
return 35
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsNote() {
return 36
}
if this.IsActivityStreamsOrganization() {
if this.IsActivityStreamsOffer() {
return 37
}
if this.IsActivityStreamsPage() {
if this.IsActivityStreamsOrderedCollection() {
return 38
}
if this.IsActivityStreamsPerson() {
if this.IsActivityStreamsOrderedCollectionPage() {
return 39
}
if this.IsActivityStreamsPlace() {
if this.IsActivityStreamsOrganization() {
return 40
}
if this.IsActivityStreamsProfile() {
if this.IsActivityStreamsPage() {
return 41
}
if this.IsSchemaPropertyValue() {
if this.IsActivityStreamsPerson() {
return 42
}
if this.IsActivityStreamsQuestion() {
if this.IsActivityStreamsPlace() {
return 43
}
if this.IsActivityStreamsRead() {
if this.IsActivityStreamsProfile() {
return 44
}
if this.IsActivityStreamsReject() {
if this.IsSchemaPropertyValue() {
return 45
}
if this.IsActivityStreamsRelationship() {
if this.IsActivityStreamsQuestion() {
return 46
}
if this.IsActivityStreamsRemove() {
if this.IsActivityStreamsRead() {
return 47
}
if this.IsGoToSocialReplyApproval() {
if this.IsActivityStreamsReject() {
return 48
}
if this.IsActivityStreamsService() {
if this.IsActivityStreamsRelationship() {
return 49
}
if this.IsActivityStreamsTentativeAccept() {
if this.IsActivityStreamsRemove() {
return 50
}
if this.IsActivityStreamsTentativeReject() {
if this.IsGoToSocialReplyApproval() {
return 51
}
if this.IsActivityStreamsTombstone() {
if this.IsActivityStreamsService() {
return 52
}
if this.IsActivityStreamsTravel() {
if this.IsActivityStreamsTentativeAccept() {
return 53
}
if this.IsActivityStreamsUndo() {
if this.IsActivityStreamsTentativeReject() {
return 54
}
if this.IsActivityStreamsUpdate() {
if this.IsActivityStreamsTombstone() {
return 55
}
if this.IsActivityStreamsVideo() {
if this.IsFunkwhaleTrack() {
return 56
}
if this.IsActivityStreamsView() {
if this.IsActivityStreamsTravel() {
return 57
}
if this.IsActivityStreamsUndo() {
return 58
}
if this.IsActivityStreamsUpdate() {
return 59
}
if this.IsActivityStreamsVideo() {
return 60
}
if this.IsActivityStreamsView() {
return 61
}
if this.IsIRI() {
return -2
}
@@ -1942,6 +2062,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity())
} else if this.IsActivityStreamsAdd() {
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsFunkwhaleAlbum() {
return this.GetFunkwhaleAlbum().LessThan(o.GetFunkwhaleAlbum())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
@@ -1952,6 +2074,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive())
} else if this.IsActivityStreamsArticle() {
return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle())
} else if this.IsFunkwhaleArtist() {
return this.GetFunkwhaleArtist().LessThan(o.GetFunkwhaleArtist())
} else if this.IsActivityStreamsAudio() {
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
} else if this.IsActivityStreamsBlock() {
@@ -1992,6 +2116,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin())
} else if this.IsActivityStreamsLeave() {
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsFunkwhaleLibrary() {
return this.GetFunkwhaleLibrary().LessThan(o.GetFunkwhaleLibrary())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
@@ -2040,6 +2166,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
} else if this.IsFunkwhaleTrack() {
return this.GetFunkwhaleTrack().LessThan(o.GetFunkwhaleTrack())
} else if this.IsActivityStreamsTravel() {
return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel())
} else if this.IsActivityStreamsUndo() {
@@ -2078,6 +2206,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsActivity().Serialize()
} else if this.IsActivityStreamsAdd() {
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsFunkwhaleAlbum() {
return this.GetFunkwhaleAlbum().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
@@ -2088,6 +2218,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsArrive().Serialize()
} else if this.IsActivityStreamsArticle() {
return this.GetActivityStreamsArticle().Serialize()
} else if this.IsFunkwhaleArtist() {
return this.GetFunkwhaleArtist().Serialize()
} else if this.IsActivityStreamsAudio() {
return this.GetActivityStreamsAudio().Serialize()
} else if this.IsActivityStreamsBlock() {
@@ -2128,6 +2260,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsJoin().Serialize()
} else if this.IsActivityStreamsLeave() {
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsFunkwhaleLibrary() {
return this.GetFunkwhaleLibrary().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
@@ -2176,6 +2310,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsTentativeReject().Serialize()
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().Serialize()
} else if this.IsFunkwhaleTrack() {
return this.GetFunkwhaleTrack().Serialize()
} else if this.IsActivityStreamsTravel() {
return this.GetActivityStreamsTravel().Serialize()
} else if this.IsActivityStreamsUndo() {
@@ -2556,6 +2692,34 @@ func (this *ActivityStreamsDescribesProperty) SetActivityStreamsView(v vocab.Act
this.activitystreamsViewMember = v
}
// SetFunkwhaleAlbum sets the value of this property. Calling IsFunkwhaleAlbum
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetFunkwhaleAlbum(v vocab.FunkwhaleAlbum) {
this.Clear()
this.funkwhaleAlbumMember = v
}
// SetFunkwhaleArtist sets the value of this property. Calling IsFunkwhaleArtist
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetFunkwhaleArtist(v vocab.FunkwhaleArtist) {
this.Clear()
this.funkwhaleArtistMember = v
}
// SetFunkwhaleLibrary sets the value of this property. Calling IsFunkwhaleLibrary
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetFunkwhaleLibrary(v vocab.FunkwhaleLibrary) {
this.Clear()
this.funkwhaleLibraryMember = v
}
// SetFunkwhaleTrack sets the value of this property. Calling IsFunkwhaleTrack
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetFunkwhaleTrack(v vocab.FunkwhaleTrack) {
this.Clear()
this.funkwhaleTrackMember = v
}
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
@@ -2623,6 +2787,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsAdd(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleAlbum); ok {
this.SetFunkwhaleAlbum(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsAnnounce); ok {
this.SetActivityStreamsAnnounce(v)
return nil
@@ -2643,6 +2811,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsArticle(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleArtist); ok {
this.SetFunkwhaleArtist(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsAudio); ok {
this.SetActivityStreamsAudio(v)
return nil
@@ -2723,6 +2895,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLeave(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleLibrary); ok {
this.SetFunkwhaleLibrary(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsLike); ok {
this.SetActivityStreamsLike(v)
return nil
@@ -2819,6 +2995,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsTombstone(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleTrack); ok {
this.SetFunkwhaleTrack(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsTravel); ok {
this.SetActivityStreamsTravel(v)
return nil

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -120,6 +128,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -221,6 +233,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -120,6 +128,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -221,6 +233,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -19,11 +19,13 @@ type ActivityStreamsSourceProperty struct {
activitystreamsAcceptMember vocab.ActivityStreamsAccept
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
funkwhaleArtistMember vocab.FunkwhaleArtist
activitystreamsAudioMember vocab.ActivityStreamsAudio
activitystreamsBlockMember vocab.ActivityStreamsBlock
activitystreamsCollectionMember vocab.ActivityStreamsCollection
@@ -45,6 +47,7 @@ type ActivityStreamsSourceProperty struct {
activitystreamsInviteMember vocab.ActivityStreamsInvite
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
@@ -70,6 +73,7 @@ type ActivityStreamsSourceProperty struct {
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
funkwhaleTrackMember vocab.FunkwhaleTrack
activitystreamsTravelMember vocab.ActivityStreamsTravel
activitystreamsUndoMember vocab.ActivityStreamsUndo
activitystreamsUpdateMember vocab.ActivityStreamsUpdate
@@ -138,6 +142,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeAlbumFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
funkwhaleAlbumMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsAnnounceMember: v,
@@ -168,6 +178,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeArtistFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
funkwhaleArtistMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsAudioMember: v,
@@ -294,6 +310,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeLibraryFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
funkwhaleLibraryMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsLikeMember: v,
@@ -444,6 +466,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeTrackFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
funkwhaleTrackMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsTravelMember: v,
@@ -498,11 +526,13 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsAcceptMember = nil
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
this.funkwhaleArtistMember = nil
this.activitystreamsAudioMember = nil
this.activitystreamsBlockMember = nil
this.activitystreamsCollectionMember = nil
@@ -524,6 +554,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsInviteMember = nil
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
@@ -549,6 +580,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
this.activitystreamsTombstoneMember = nil
this.funkwhaleTrackMember = nil
this.activitystreamsTravelMember = nil
this.activitystreamsUndoMember = nil
this.activitystreamsUpdateMember = nil
@@ -936,6 +968,30 @@ func (this ActivityStreamsSourceProperty) GetActivityStreamsView() vocab.Activit
return this.activitystreamsViewMember
}
// GetFunkwhaleAlbum returns the value of this property. When IsFunkwhaleAlbum
// returns false, GetFunkwhaleAlbum will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetFunkwhaleAlbum() vocab.FunkwhaleAlbum {
return this.funkwhaleAlbumMember
}
// GetFunkwhaleArtist returns the value of this property. When IsFunkwhaleArtist
// returns false, GetFunkwhaleArtist will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetFunkwhaleArtist() vocab.FunkwhaleArtist {
return this.funkwhaleArtistMember
}
// GetFunkwhaleLibrary returns the value of this property. When IsFunkwhaleLibrary
// returns false, GetFunkwhaleLibrary will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetFunkwhaleLibrary() vocab.FunkwhaleLibrary {
return this.funkwhaleLibraryMember
}
// GetFunkwhaleTrack returns the value of this property. When IsFunkwhaleTrack
// returns false, GetFunkwhaleTrack will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetFunkwhaleTrack() vocab.FunkwhaleTrack {
return this.funkwhaleTrackMember
}
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
// will return an arbitrary value.
@@ -1007,6 +1063,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsAdd() {
return this.GetActivityStreamsAdd()
}
if this.IsFunkwhaleAlbum() {
return this.GetFunkwhaleAlbum()
}
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
@@ -1022,6 +1081,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsArticle() {
return this.GetActivityStreamsArticle()
}
if this.IsFunkwhaleArtist() {
return this.GetFunkwhaleArtist()
}
if this.IsActivityStreamsAudio() {
return this.GetActivityStreamsAudio()
}
@@ -1085,6 +1147,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsLeave() {
return this.GetActivityStreamsLeave()
}
if this.IsFunkwhaleLibrary() {
return this.GetFunkwhaleLibrary()
}
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
@@ -1160,6 +1225,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone()
}
if this.IsFunkwhaleTrack() {
return this.GetFunkwhaleTrack()
}
if this.IsActivityStreamsTravel() {
return this.GetActivityStreamsTravel()
}
@@ -1186,11 +1254,13 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsAccept() ||
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
this.IsFunkwhaleArtist() ||
this.IsActivityStreamsAudio() ||
this.IsActivityStreamsBlock() ||
this.IsActivityStreamsCollection() ||
@@ -1212,6 +1282,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsInvite() ||
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
@@ -1237,6 +1308,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
this.IsActivityStreamsTombstone() ||
this.IsFunkwhaleTrack() ||
this.IsActivityStreamsTravel() ||
this.IsActivityStreamsUndo() ||
this.IsActivityStreamsUpdate() ||
@@ -1628,6 +1700,34 @@ func (this ActivityStreamsSourceProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
// IsFunkwhaleAlbum returns true if this property has a type of "Album". When
// true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods to access and
// set this property.
func (this ActivityStreamsSourceProperty) IsFunkwhaleAlbum() bool {
return this.funkwhaleAlbumMember != nil
}
// IsFunkwhaleArtist returns true if this property has a type of "Artist". When
// true, use the GetFunkwhaleArtist and SetFunkwhaleArtist methods to access
// and set this property.
func (this ActivityStreamsSourceProperty) IsFunkwhaleArtist() bool {
return this.funkwhaleArtistMember != nil
}
// IsFunkwhaleLibrary returns true if this property has a type of "Library". When
// true, use the GetFunkwhaleLibrary and SetFunkwhaleLibrary methods to access
// and set this property.
func (this ActivityStreamsSourceProperty) IsFunkwhaleLibrary() bool {
return this.funkwhaleLibraryMember != nil
}
// IsFunkwhaleTrack returns true if this property has a type of "Track". When
// true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods to access and
// set this property.
func (this ActivityStreamsSourceProperty) IsFunkwhaleTrack() bool {
return this.funkwhaleTrackMember != nil
}
// IsGoToSocialAnnounceApproval returns true if this property has a type of
// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
// SetGoToSocialAnnounceApproval methods to access and set this property.
@@ -1698,6 +1798,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsActivity().JSONLDContext()
} else if this.IsActivityStreamsAdd() {
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsFunkwhaleAlbum() {
child = this.GetFunkwhaleAlbum().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
@@ -1708,6 +1810,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsArrive().JSONLDContext()
} else if this.IsActivityStreamsArticle() {
child = this.GetActivityStreamsArticle().JSONLDContext()
} else if this.IsFunkwhaleArtist() {
child = this.GetFunkwhaleArtist().JSONLDContext()
} else if this.IsActivityStreamsAudio() {
child = this.GetActivityStreamsAudio().JSONLDContext()
} else if this.IsActivityStreamsBlock() {
@@ -1750,6 +1854,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsJoin().JSONLDContext()
} else if this.IsActivityStreamsLeave() {
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsFunkwhaleLibrary() {
child = this.GetFunkwhaleLibrary().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
@@ -1800,6 +1906,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
} else if this.IsActivityStreamsTombstone() {
child = this.GetActivityStreamsTombstone().JSONLDContext()
} else if this.IsFunkwhaleTrack() {
child = this.GetFunkwhaleTrack().JSONLDContext()
} else if this.IsActivityStreamsTravel() {
child = this.GetActivityStreamsTravel().JSONLDContext()
} else if this.IsActivityStreamsUndo() {
@@ -1841,174 +1949,186 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
if this.IsActivityStreamsAdd() {
return 4
}
if this.IsActivityStreamsAnnounce() {
if this.IsFunkwhaleAlbum() {
return 5
}
if this.IsGoToSocialAnnounceApproval() {
if this.IsActivityStreamsAnnounce() {
return 6
}
if this.IsActivityStreamsApplication() {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
if this.IsActivityStreamsArrive() {
if this.IsActivityStreamsApplication() {
return 8
}
if this.IsActivityStreamsArticle() {
if this.IsActivityStreamsArrive() {
return 9
}
if this.IsActivityStreamsAudio() {
if this.IsActivityStreamsArticle() {
return 10
}
if this.IsActivityStreamsBlock() {
if this.IsFunkwhaleArtist() {
return 11
}
if this.IsActivityStreamsCollection() {
if this.IsActivityStreamsAudio() {
return 12
}
if this.IsActivityStreamsCollectionPage() {
if this.IsActivityStreamsBlock() {
return 13
}
if this.IsActivityStreamsCreate() {
if this.IsActivityStreamsCollection() {
return 14
}
if this.IsActivityStreamsDelete() {
if this.IsActivityStreamsCollectionPage() {
return 15
}
if this.IsActivityStreamsDislike() {
if this.IsActivityStreamsCreate() {
return 16
}
if this.IsActivityStreamsDocument() {
if this.IsActivityStreamsDelete() {
return 17
}
if this.IsTootEmoji() {
if this.IsActivityStreamsDislike() {
return 18
}
if this.IsActivityStreamsEvent() {
if this.IsActivityStreamsDocument() {
return 19
}
if this.IsActivityStreamsFlag() {
if this.IsTootEmoji() {
return 20
}
if this.IsActivityStreamsFollow() {
if this.IsActivityStreamsEvent() {
return 21
}
if this.IsActivityStreamsGroup() {
if this.IsActivityStreamsFlag() {
return 22
}
if this.IsTootHashtag() {
if this.IsActivityStreamsFollow() {
return 23
}
if this.IsTootIdentityProof() {
if this.IsActivityStreamsGroup() {
return 24
}
if this.IsActivityStreamsIgnore() {
if this.IsTootHashtag() {
return 25
}
if this.IsActivityStreamsImage() {
if this.IsTootIdentityProof() {
return 26
}
if this.IsActivityStreamsIntransitiveActivity() {
if this.IsActivityStreamsIgnore() {
return 27
}
if this.IsActivityStreamsInvite() {
if this.IsActivityStreamsImage() {
return 28
}
if this.IsActivityStreamsJoin() {
if this.IsActivityStreamsIntransitiveActivity() {
return 29
}
if this.IsActivityStreamsLeave() {
if this.IsActivityStreamsInvite() {
return 30
}
if this.IsActivityStreamsLike() {
if this.IsActivityStreamsJoin() {
return 31
}
if this.IsGoToSocialLikeApproval() {
if this.IsActivityStreamsLeave() {
return 32
}
if this.IsActivityStreamsListen() {
if this.IsFunkwhaleLibrary() {
return 33
}
if this.IsActivityStreamsMention() {
if this.IsActivityStreamsLike() {
return 34
}
if this.IsActivityStreamsMove() {
if this.IsGoToSocialLikeApproval() {
return 35
}
if this.IsActivityStreamsNote() {
if this.IsActivityStreamsListen() {
return 36
}
if this.IsActivityStreamsOffer() {
if this.IsActivityStreamsMention() {
return 37
}
if this.IsActivityStreamsOrderedCollection() {
if this.IsActivityStreamsMove() {
return 38
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsNote() {
return 39
}
if this.IsActivityStreamsOrganization() {
if this.IsActivityStreamsOffer() {
return 40
}
if this.IsActivityStreamsPage() {
if this.IsActivityStreamsOrderedCollection() {
return 41
}
if this.IsActivityStreamsPerson() {
if this.IsActivityStreamsOrderedCollectionPage() {
return 42
}
if this.IsActivityStreamsPlace() {
if this.IsActivityStreamsOrganization() {
return 43
}
if this.IsActivityStreamsProfile() {
if this.IsActivityStreamsPage() {
return 44
}
if this.IsSchemaPropertyValue() {
if this.IsActivityStreamsPerson() {
return 45
}
if this.IsActivityStreamsQuestion() {
if this.IsActivityStreamsPlace() {
return 46
}
if this.IsActivityStreamsRead() {
if this.IsActivityStreamsProfile() {
return 47
}
if this.IsActivityStreamsReject() {
if this.IsSchemaPropertyValue() {
return 48
}
if this.IsActivityStreamsRelationship() {
if this.IsActivityStreamsQuestion() {
return 49
}
if this.IsActivityStreamsRemove() {
if this.IsActivityStreamsRead() {
return 50
}
if this.IsGoToSocialReplyApproval() {
if this.IsActivityStreamsReject() {
return 51
}
if this.IsActivityStreamsService() {
if this.IsActivityStreamsRelationship() {
return 52
}
if this.IsActivityStreamsTentativeAccept() {
if this.IsActivityStreamsRemove() {
return 53
}
if this.IsActivityStreamsTentativeReject() {
if this.IsGoToSocialReplyApproval() {
return 54
}
if this.IsActivityStreamsTombstone() {
if this.IsActivityStreamsService() {
return 55
}
if this.IsActivityStreamsTravel() {
if this.IsActivityStreamsTentativeAccept() {
return 56
}
if this.IsActivityStreamsUndo() {
if this.IsActivityStreamsTentativeReject() {
return 57
}
if this.IsActivityStreamsUpdate() {
if this.IsActivityStreamsTombstone() {
return 58
}
if this.IsActivityStreamsVideo() {
if this.IsFunkwhaleTrack() {
return 59
}
if this.IsActivityStreamsView() {
if this.IsActivityStreamsTravel() {
return 60
}
if this.IsActivityStreamsUndo() {
return 61
}
if this.IsActivityStreamsUpdate() {
return 62
}
if this.IsActivityStreamsVideo() {
return 63
}
if this.IsActivityStreamsView() {
return 64
}
if this.IsIRI() {
return -2
}
@@ -2036,6 +2156,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity())
} else if this.IsActivityStreamsAdd() {
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsFunkwhaleAlbum() {
return this.GetFunkwhaleAlbum().LessThan(o.GetFunkwhaleAlbum())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
@@ -2046,6 +2168,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive())
} else if this.IsActivityStreamsArticle() {
return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle())
} else if this.IsFunkwhaleArtist() {
return this.GetFunkwhaleArtist().LessThan(o.GetFunkwhaleArtist())
} else if this.IsActivityStreamsAudio() {
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
} else if this.IsActivityStreamsBlock() {
@@ -2088,6 +2212,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin())
} else if this.IsActivityStreamsLeave() {
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsFunkwhaleLibrary() {
return this.GetFunkwhaleLibrary().LessThan(o.GetFunkwhaleLibrary())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
@@ -2138,6 +2264,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
} else if this.IsFunkwhaleTrack() {
return this.GetFunkwhaleTrack().LessThan(o.GetFunkwhaleTrack())
} else if this.IsActivityStreamsTravel() {
return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel())
} else if this.IsActivityStreamsUndo() {
@@ -2178,6 +2306,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsActivity().Serialize()
} else if this.IsActivityStreamsAdd() {
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsFunkwhaleAlbum() {
return this.GetFunkwhaleAlbum().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
@@ -2188,6 +2318,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsArrive().Serialize()
} else if this.IsActivityStreamsArticle() {
return this.GetActivityStreamsArticle().Serialize()
} else if this.IsFunkwhaleArtist() {
return this.GetFunkwhaleArtist().Serialize()
} else if this.IsActivityStreamsAudio() {
return this.GetActivityStreamsAudio().Serialize()
} else if this.IsActivityStreamsBlock() {
@@ -2230,6 +2362,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsJoin().Serialize()
} else if this.IsActivityStreamsLeave() {
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsFunkwhaleLibrary() {
return this.GetFunkwhaleLibrary().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
@@ -2280,6 +2414,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsTentativeReject().Serialize()
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().Serialize()
} else if this.IsFunkwhaleTrack() {
return this.GetFunkwhaleTrack().Serialize()
} else if this.IsActivityStreamsTravel() {
return this.GetActivityStreamsTravel().Serialize()
} else if this.IsActivityStreamsUndo() {
@@ -2674,6 +2810,34 @@ func (this *ActivityStreamsSourceProperty) SetActivityStreamsView(v vocab.Activi
this.activitystreamsViewMember = v
}
// SetFunkwhaleAlbum sets the value of this property. Calling IsFunkwhaleAlbum
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetFunkwhaleAlbum(v vocab.FunkwhaleAlbum) {
this.Clear()
this.funkwhaleAlbumMember = v
}
// SetFunkwhaleArtist sets the value of this property. Calling IsFunkwhaleArtist
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetFunkwhaleArtist(v vocab.FunkwhaleArtist) {
this.Clear()
this.funkwhaleArtistMember = v
}
// SetFunkwhaleLibrary sets the value of this property. Calling IsFunkwhaleLibrary
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetFunkwhaleLibrary(v vocab.FunkwhaleLibrary) {
this.Clear()
this.funkwhaleLibraryMember = v
}
// SetFunkwhaleTrack sets the value of this property. Calling IsFunkwhaleTrack
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetFunkwhaleTrack(v vocab.FunkwhaleTrack) {
this.Clear()
this.funkwhaleTrackMember = v
}
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
@@ -2752,6 +2916,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsAdd(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleAlbum); ok {
this.SetFunkwhaleAlbum(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsAnnounce); ok {
this.SetActivityStreamsAnnounce(v)
return nil
@@ -2772,6 +2940,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsArticle(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleArtist); ok {
this.SetFunkwhaleArtist(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsAudio); ok {
this.SetActivityStreamsAudio(v)
return nil
@@ -2856,6 +3028,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLeave(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleLibrary); ok {
this.SetFunkwhaleLibrary(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsLike); ok {
this.SetActivityStreamsLike(v)
return nil
@@ -2956,6 +3132,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsTombstone(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleTrack); ok {
this.SetFunkwhaleTrack(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsTravel); ok {
this.SetActivityStreamsTravel(v)
return nil

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -19,11 +19,13 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsAcceptMember vocab.ActivityStreamsAccept
activitystreamsActivityMember vocab.ActivityStreamsActivity
activitystreamsAddMember vocab.ActivityStreamsAdd
funkwhaleAlbumMember vocab.FunkwhaleAlbum
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
activitystreamsApplicationMember vocab.ActivityStreamsApplication
activitystreamsArriveMember vocab.ActivityStreamsArrive
activitystreamsArticleMember vocab.ActivityStreamsArticle
funkwhaleArtistMember vocab.FunkwhaleArtist
activitystreamsAudioMember vocab.ActivityStreamsAudio
activitystreamsBlockMember vocab.ActivityStreamsBlock
activitystreamsCollectionMember vocab.ActivityStreamsCollection
@@ -45,6 +47,7 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsInviteMember vocab.ActivityStreamsInvite
activitystreamsJoinMember vocab.ActivityStreamsJoin
activitystreamsLeaveMember vocab.ActivityStreamsLeave
funkwhaleLibraryMember vocab.FunkwhaleLibrary
activitystreamsLikeMember vocab.ActivityStreamsLike
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
activitystreamsListenMember vocab.ActivityStreamsListen
@@ -70,6 +73,7 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
funkwhaleTrackMember vocab.FunkwhaleTrack
activitystreamsTravelMember vocab.ActivityStreamsTravel
activitystreamsUndoMember vocab.ActivityStreamsUndo
activitystreamsUpdateMember vocab.ActivityStreamsUpdate
@@ -138,6 +142,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeAlbumFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
funkwhaleAlbumMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsAnnounceMember: v,
@@ -168,6 +178,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeArtistFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
funkwhaleArtistMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsAudioMember: v,
@@ -294,6 +310,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeLibraryFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
funkwhaleLibraryMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsLikeMember: v,
@@ -444,6 +466,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeTrackFunkwhale()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
funkwhaleTrackMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsTravelMember: v,
@@ -498,11 +526,13 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsAcceptMember = nil
this.activitystreamsActivityMember = nil
this.activitystreamsAddMember = nil
this.funkwhaleAlbumMember = nil
this.activitystreamsAnnounceMember = nil
this.gotosocialAnnounceApprovalMember = nil
this.activitystreamsApplicationMember = nil
this.activitystreamsArriveMember = nil
this.activitystreamsArticleMember = nil
this.funkwhaleArtistMember = nil
this.activitystreamsAudioMember = nil
this.activitystreamsBlockMember = nil
this.activitystreamsCollectionMember = nil
@@ -524,6 +554,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsInviteMember = nil
this.activitystreamsJoinMember = nil
this.activitystreamsLeaveMember = nil
this.funkwhaleLibraryMember = nil
this.activitystreamsLikeMember = nil
this.gotosocialLikeApprovalMember = nil
this.activitystreamsListenMember = nil
@@ -549,6 +580,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
this.activitystreamsTombstoneMember = nil
this.funkwhaleTrackMember = nil
this.activitystreamsTravelMember = nil
this.activitystreamsUndoMember = nil
this.activitystreamsUpdateMember = nil
@@ -936,6 +968,30 @@ func (this ActivityStreamsSubjectProperty) GetActivityStreamsView() vocab.Activi
return this.activitystreamsViewMember
}
// GetFunkwhaleAlbum returns the value of this property. When IsFunkwhaleAlbum
// returns false, GetFunkwhaleAlbum will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetFunkwhaleAlbum() vocab.FunkwhaleAlbum {
return this.funkwhaleAlbumMember
}
// GetFunkwhaleArtist returns the value of this property. When IsFunkwhaleArtist
// returns false, GetFunkwhaleArtist will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetFunkwhaleArtist() vocab.FunkwhaleArtist {
return this.funkwhaleArtistMember
}
// GetFunkwhaleLibrary returns the value of this property. When IsFunkwhaleLibrary
// returns false, GetFunkwhaleLibrary will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetFunkwhaleLibrary() vocab.FunkwhaleLibrary {
return this.funkwhaleLibraryMember
}
// GetFunkwhaleTrack returns the value of this property. When IsFunkwhaleTrack
// returns false, GetFunkwhaleTrack will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetFunkwhaleTrack() vocab.FunkwhaleTrack {
return this.funkwhaleTrackMember
}
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false, GetGoToSocialAnnounceApproval
// will return an arbitrary value.
@@ -1007,6 +1063,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsAdd() {
return this.GetActivityStreamsAdd()
}
if this.IsFunkwhaleAlbum() {
return this.GetFunkwhaleAlbum()
}
if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce()
}
@@ -1022,6 +1081,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsArticle() {
return this.GetActivityStreamsArticle()
}
if this.IsFunkwhaleArtist() {
return this.GetFunkwhaleArtist()
}
if this.IsActivityStreamsAudio() {
return this.GetActivityStreamsAudio()
}
@@ -1085,6 +1147,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsLeave() {
return this.GetActivityStreamsLeave()
}
if this.IsFunkwhaleLibrary() {
return this.GetFunkwhaleLibrary()
}
if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike()
}
@@ -1160,6 +1225,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone()
}
if this.IsFunkwhaleTrack() {
return this.GetFunkwhaleTrack()
}
if this.IsActivityStreamsTravel() {
return this.GetActivityStreamsTravel()
}
@@ -1186,11 +1254,13 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsAccept() ||
this.IsActivityStreamsActivity() ||
this.IsActivityStreamsAdd() ||
this.IsFunkwhaleAlbum() ||
this.IsActivityStreamsAnnounce() ||
this.IsGoToSocialAnnounceApproval() ||
this.IsActivityStreamsApplication() ||
this.IsActivityStreamsArrive() ||
this.IsActivityStreamsArticle() ||
this.IsFunkwhaleArtist() ||
this.IsActivityStreamsAudio() ||
this.IsActivityStreamsBlock() ||
this.IsActivityStreamsCollection() ||
@@ -1212,6 +1282,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsInvite() ||
this.IsActivityStreamsJoin() ||
this.IsActivityStreamsLeave() ||
this.IsFunkwhaleLibrary() ||
this.IsActivityStreamsLike() ||
this.IsGoToSocialLikeApproval() ||
this.IsActivityStreamsListen() ||
@@ -1237,6 +1308,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
this.IsActivityStreamsTombstone() ||
this.IsFunkwhaleTrack() ||
this.IsActivityStreamsTravel() ||
this.IsActivityStreamsUndo() ||
this.IsActivityStreamsUpdate() ||
@@ -1628,6 +1700,34 @@ func (this ActivityStreamsSubjectProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
// IsFunkwhaleAlbum returns true if this property has a type of "Album". When
// true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods to access and
// set this property.
func (this ActivityStreamsSubjectProperty) IsFunkwhaleAlbum() bool {
return this.funkwhaleAlbumMember != nil
}
// IsFunkwhaleArtist returns true if this property has a type of "Artist". When
// true, use the GetFunkwhaleArtist and SetFunkwhaleArtist methods to access
// and set this property.
func (this ActivityStreamsSubjectProperty) IsFunkwhaleArtist() bool {
return this.funkwhaleArtistMember != nil
}
// IsFunkwhaleLibrary returns true if this property has a type of "Library". When
// true, use the GetFunkwhaleLibrary and SetFunkwhaleLibrary methods to access
// and set this property.
func (this ActivityStreamsSubjectProperty) IsFunkwhaleLibrary() bool {
return this.funkwhaleLibraryMember != nil
}
// IsFunkwhaleTrack returns true if this property has a type of "Track". When
// true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods to access and
// set this property.
func (this ActivityStreamsSubjectProperty) IsFunkwhaleTrack() bool {
return this.funkwhaleTrackMember != nil
}
// IsGoToSocialAnnounceApproval returns true if this property has a type of
// "AnnounceApproval". When true, use the GetGoToSocialAnnounceApproval and
// SetGoToSocialAnnounceApproval methods to access and set this property.
@@ -1698,6 +1798,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsActivity().JSONLDContext()
} else if this.IsActivityStreamsAdd() {
child = this.GetActivityStreamsAdd().JSONLDContext()
} else if this.IsFunkwhaleAlbum() {
child = this.GetFunkwhaleAlbum().JSONLDContext()
} else if this.IsActivityStreamsAnnounce() {
child = this.GetActivityStreamsAnnounce().JSONLDContext()
} else if this.IsGoToSocialAnnounceApproval() {
@@ -1708,6 +1810,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsArrive().JSONLDContext()
} else if this.IsActivityStreamsArticle() {
child = this.GetActivityStreamsArticle().JSONLDContext()
} else if this.IsFunkwhaleArtist() {
child = this.GetFunkwhaleArtist().JSONLDContext()
} else if this.IsActivityStreamsAudio() {
child = this.GetActivityStreamsAudio().JSONLDContext()
} else if this.IsActivityStreamsBlock() {
@@ -1750,6 +1854,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsJoin().JSONLDContext()
} else if this.IsActivityStreamsLeave() {
child = this.GetActivityStreamsLeave().JSONLDContext()
} else if this.IsFunkwhaleLibrary() {
child = this.GetFunkwhaleLibrary().JSONLDContext()
} else if this.IsActivityStreamsLike() {
child = this.GetActivityStreamsLike().JSONLDContext()
} else if this.IsGoToSocialLikeApproval() {
@@ -1800,6 +1906,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
} else if this.IsActivityStreamsTombstone() {
child = this.GetActivityStreamsTombstone().JSONLDContext()
} else if this.IsFunkwhaleTrack() {
child = this.GetFunkwhaleTrack().JSONLDContext()
} else if this.IsActivityStreamsTravel() {
child = this.GetActivityStreamsTravel().JSONLDContext()
} else if this.IsActivityStreamsUndo() {
@@ -1841,174 +1949,186 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
if this.IsActivityStreamsAdd() {
return 4
}
if this.IsActivityStreamsAnnounce() {
if this.IsFunkwhaleAlbum() {
return 5
}
if this.IsGoToSocialAnnounceApproval() {
if this.IsActivityStreamsAnnounce() {
return 6
}
if this.IsActivityStreamsApplication() {
if this.IsGoToSocialAnnounceApproval() {
return 7
}
if this.IsActivityStreamsArrive() {
if this.IsActivityStreamsApplication() {
return 8
}
if this.IsActivityStreamsArticle() {
if this.IsActivityStreamsArrive() {
return 9
}
if this.IsActivityStreamsAudio() {
if this.IsActivityStreamsArticle() {
return 10
}
if this.IsActivityStreamsBlock() {
if this.IsFunkwhaleArtist() {
return 11
}
if this.IsActivityStreamsCollection() {
if this.IsActivityStreamsAudio() {
return 12
}
if this.IsActivityStreamsCollectionPage() {
if this.IsActivityStreamsBlock() {
return 13
}
if this.IsActivityStreamsCreate() {
if this.IsActivityStreamsCollection() {
return 14
}
if this.IsActivityStreamsDelete() {
if this.IsActivityStreamsCollectionPage() {
return 15
}
if this.IsActivityStreamsDislike() {
if this.IsActivityStreamsCreate() {
return 16
}
if this.IsActivityStreamsDocument() {
if this.IsActivityStreamsDelete() {
return 17
}
if this.IsTootEmoji() {
if this.IsActivityStreamsDislike() {
return 18
}
if this.IsActivityStreamsEvent() {
if this.IsActivityStreamsDocument() {
return 19
}
if this.IsActivityStreamsFlag() {
if this.IsTootEmoji() {
return 20
}
if this.IsActivityStreamsFollow() {
if this.IsActivityStreamsEvent() {
return 21
}
if this.IsActivityStreamsGroup() {
if this.IsActivityStreamsFlag() {
return 22
}
if this.IsTootHashtag() {
if this.IsActivityStreamsFollow() {
return 23
}
if this.IsTootIdentityProof() {
if this.IsActivityStreamsGroup() {
return 24
}
if this.IsActivityStreamsIgnore() {
if this.IsTootHashtag() {
return 25
}
if this.IsActivityStreamsImage() {
if this.IsTootIdentityProof() {
return 26
}
if this.IsActivityStreamsIntransitiveActivity() {
if this.IsActivityStreamsIgnore() {
return 27
}
if this.IsActivityStreamsInvite() {
if this.IsActivityStreamsImage() {
return 28
}
if this.IsActivityStreamsJoin() {
if this.IsActivityStreamsIntransitiveActivity() {
return 29
}
if this.IsActivityStreamsLeave() {
if this.IsActivityStreamsInvite() {
return 30
}
if this.IsActivityStreamsLike() {
if this.IsActivityStreamsJoin() {
return 31
}
if this.IsGoToSocialLikeApproval() {
if this.IsActivityStreamsLeave() {
return 32
}
if this.IsActivityStreamsListen() {
if this.IsFunkwhaleLibrary() {
return 33
}
if this.IsActivityStreamsMention() {
if this.IsActivityStreamsLike() {
return 34
}
if this.IsActivityStreamsMove() {
if this.IsGoToSocialLikeApproval() {
return 35
}
if this.IsActivityStreamsNote() {
if this.IsActivityStreamsListen() {
return 36
}
if this.IsActivityStreamsOffer() {
if this.IsActivityStreamsMention() {
return 37
}
if this.IsActivityStreamsOrderedCollection() {
if this.IsActivityStreamsMove() {
return 38
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsNote() {
return 39
}
if this.IsActivityStreamsOrganization() {
if this.IsActivityStreamsOffer() {
return 40
}
if this.IsActivityStreamsPage() {
if this.IsActivityStreamsOrderedCollection() {
return 41
}
if this.IsActivityStreamsPerson() {
if this.IsActivityStreamsOrderedCollectionPage() {
return 42
}
if this.IsActivityStreamsPlace() {
if this.IsActivityStreamsOrganization() {
return 43
}
if this.IsActivityStreamsProfile() {
if this.IsActivityStreamsPage() {
return 44
}
if this.IsSchemaPropertyValue() {
if this.IsActivityStreamsPerson() {
return 45
}
if this.IsActivityStreamsQuestion() {
if this.IsActivityStreamsPlace() {
return 46
}
if this.IsActivityStreamsRead() {
if this.IsActivityStreamsProfile() {
return 47
}
if this.IsActivityStreamsReject() {
if this.IsSchemaPropertyValue() {
return 48
}
if this.IsActivityStreamsRelationship() {
if this.IsActivityStreamsQuestion() {
return 49
}
if this.IsActivityStreamsRemove() {
if this.IsActivityStreamsRead() {
return 50
}
if this.IsGoToSocialReplyApproval() {
if this.IsActivityStreamsReject() {
return 51
}
if this.IsActivityStreamsService() {
if this.IsActivityStreamsRelationship() {
return 52
}
if this.IsActivityStreamsTentativeAccept() {
if this.IsActivityStreamsRemove() {
return 53
}
if this.IsActivityStreamsTentativeReject() {
if this.IsGoToSocialReplyApproval() {
return 54
}
if this.IsActivityStreamsTombstone() {
if this.IsActivityStreamsService() {
return 55
}
if this.IsActivityStreamsTravel() {
if this.IsActivityStreamsTentativeAccept() {
return 56
}
if this.IsActivityStreamsUndo() {
if this.IsActivityStreamsTentativeReject() {
return 57
}
if this.IsActivityStreamsUpdate() {
if this.IsActivityStreamsTombstone() {
return 58
}
if this.IsActivityStreamsVideo() {
if this.IsFunkwhaleTrack() {
return 59
}
if this.IsActivityStreamsView() {
if this.IsActivityStreamsTravel() {
return 60
}
if this.IsActivityStreamsUndo() {
return 61
}
if this.IsActivityStreamsUpdate() {
return 62
}
if this.IsActivityStreamsVideo() {
return 63
}
if this.IsActivityStreamsView() {
return 64
}
if this.IsIRI() {
return -2
}
@@ -2036,6 +2156,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity())
} else if this.IsActivityStreamsAdd() {
return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd())
} else if this.IsFunkwhaleAlbum() {
return this.GetFunkwhaleAlbum().LessThan(o.GetFunkwhaleAlbum())
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
} else if this.IsGoToSocialAnnounceApproval() {
@@ -2046,6 +2168,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive())
} else if this.IsActivityStreamsArticle() {
return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle())
} else if this.IsFunkwhaleArtist() {
return this.GetFunkwhaleArtist().LessThan(o.GetFunkwhaleArtist())
} else if this.IsActivityStreamsAudio() {
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
} else if this.IsActivityStreamsBlock() {
@@ -2088,6 +2212,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin())
} else if this.IsActivityStreamsLeave() {
return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave())
} else if this.IsFunkwhaleLibrary() {
return this.GetFunkwhaleLibrary().LessThan(o.GetFunkwhaleLibrary())
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
} else if this.IsGoToSocialLikeApproval() {
@@ -2138,6 +2264,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
} else if this.IsFunkwhaleTrack() {
return this.GetFunkwhaleTrack().LessThan(o.GetFunkwhaleTrack())
} else if this.IsActivityStreamsTravel() {
return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel())
} else if this.IsActivityStreamsUndo() {
@@ -2178,6 +2306,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsActivity().Serialize()
} else if this.IsActivityStreamsAdd() {
return this.GetActivityStreamsAdd().Serialize()
} else if this.IsFunkwhaleAlbum() {
return this.GetFunkwhaleAlbum().Serialize()
} else if this.IsActivityStreamsAnnounce() {
return this.GetActivityStreamsAnnounce().Serialize()
} else if this.IsGoToSocialAnnounceApproval() {
@@ -2188,6 +2318,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsArrive().Serialize()
} else if this.IsActivityStreamsArticle() {
return this.GetActivityStreamsArticle().Serialize()
} else if this.IsFunkwhaleArtist() {
return this.GetFunkwhaleArtist().Serialize()
} else if this.IsActivityStreamsAudio() {
return this.GetActivityStreamsAudio().Serialize()
} else if this.IsActivityStreamsBlock() {
@@ -2230,6 +2362,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsJoin().Serialize()
} else if this.IsActivityStreamsLeave() {
return this.GetActivityStreamsLeave().Serialize()
} else if this.IsFunkwhaleLibrary() {
return this.GetFunkwhaleLibrary().Serialize()
} else if this.IsActivityStreamsLike() {
return this.GetActivityStreamsLike().Serialize()
} else if this.IsGoToSocialLikeApproval() {
@@ -2280,6 +2414,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsTentativeReject().Serialize()
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().Serialize()
} else if this.IsFunkwhaleTrack() {
return this.GetFunkwhaleTrack().Serialize()
} else if this.IsActivityStreamsTravel() {
return this.GetActivityStreamsTravel().Serialize()
} else if this.IsActivityStreamsUndo() {
@@ -2674,6 +2810,34 @@ func (this *ActivityStreamsSubjectProperty) SetActivityStreamsView(v vocab.Activ
this.activitystreamsViewMember = v
}
// SetFunkwhaleAlbum sets the value of this property. Calling IsFunkwhaleAlbum
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetFunkwhaleAlbum(v vocab.FunkwhaleAlbum) {
this.Clear()
this.funkwhaleAlbumMember = v
}
// SetFunkwhaleArtist sets the value of this property. Calling IsFunkwhaleArtist
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetFunkwhaleArtist(v vocab.FunkwhaleArtist) {
this.Clear()
this.funkwhaleArtistMember = v
}
// SetFunkwhaleLibrary sets the value of this property. Calling IsFunkwhaleLibrary
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetFunkwhaleLibrary(v vocab.FunkwhaleLibrary) {
this.Clear()
this.funkwhaleLibraryMember = v
}
// SetFunkwhaleTrack sets the value of this property. Calling IsFunkwhaleTrack
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetFunkwhaleTrack(v vocab.FunkwhaleTrack) {
this.Clear()
this.funkwhaleTrackMember = v
}
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceApproval(v vocab.GoToSocialAnnounceApproval) {
@@ -2752,6 +2916,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsAdd(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleAlbum); ok {
this.SetFunkwhaleAlbum(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsAnnounce); ok {
this.SetActivityStreamsAnnounce(v)
return nil
@@ -2772,6 +2940,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsArticle(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleArtist); ok {
this.SetFunkwhaleArtist(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsAudio); ok {
this.SetActivityStreamsAudio(v)
return nil
@@ -2856,6 +3028,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLeave(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleLibrary); ok {
this.SetFunkwhaleLibrary(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsLike); ok {
this.SetActivityStreamsLike(v)
return nil
@@ -2956,6 +3132,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsTombstone(v)
return nil
}
if v, ok := t.(vocab.FunkwhaleTrack); ok {
this.SetFunkwhaleTrack(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsTravel); ok {
this.SetActivityStreamsTravel(v)
return nil

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -21,6 +21,10 @@ type privateManager interface {
// the "ActivityStreamsAdd" non-functional property in the vocabulary
// "ActivityStreams"
DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error)
// DeserializeAlbumFunkwhale returns the deserialization method for the
// "FunkwhaleAlbum" non-functional property in the vocabulary
// "Funkwhale"
DeserializeAlbumFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleAlbum, error)
// DeserializeAnnounceActivityStreams returns the deserialization method
// for the "ActivityStreamsAnnounce" non-functional property in the
// vocabulary "ActivityStreams"
@@ -41,6 +45,10 @@ type privateManager interface {
// for the "ActivityStreamsArticle" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error)
// DeserializeArtistFunkwhale returns the deserialization method for the
// "FunkwhaleArtist" non-functional property in the vocabulary
// "Funkwhale"
DeserializeArtistFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleArtist, error)
// DeserializeAudioActivityStreams returns the deserialization method for
// the "ActivityStreamsAudio" non-functional property in the
// vocabulary "ActivityStreams"
@@ -123,6 +131,10 @@ type privateManager interface {
// the "ActivityStreamsLeave" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error)
// DeserializeLibraryFunkwhale returns the deserialization method for the
// "FunkwhaleLibrary" non-functional property in the vocabulary
// "Funkwhale"
DeserializeLibraryFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleLibrary, error)
// DeserializeLikeActivityStreams returns the deserialization method for
// the "ActivityStreamsLike" non-functional property in the vocabulary
// "ActivityStreams"
@@ -232,6 +244,10 @@ type privateManager interface {
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error)
// DeserializeTrackFunkwhale returns the deserialization method for the
// "FunkwhaleTrack" non-functional property in the vocabulary
// "Funkwhale"
DeserializeTrackFunkwhale() func(map[string]interface{}, map[string]string) (vocab.FunkwhaleTrack, error)
// DeserializeTravelActivityStreams returns the deserialization method for
// the "ActivityStreamsTravel" non-functional property in the
// vocabulary "ActivityStreams"

View File

@@ -200,7 +200,7 @@ func IsOrExtendsLink(other vocab.Type) bool {
// LinkIsDisjointWith returns true if the other provided type is disjoint with the
// Link type.
func LinkIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true

View File

@@ -198,7 +198,7 @@ func IsOrExtendsMention(other vocab.Type) bool {
// MentionIsDisjointWith returns true if the other provided type is disjoint with
// the Mention type.
func MentionIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true

View File

@@ -397,7 +397,7 @@ func ObjectIsDisjointWith(other vocab.Type) bool {
// Object type. Note that it returns false if the types are the same; see the
// "IsOrExtendsObject" variant instead.
func ObjectIsExtendedBy(other vocab.Type) bool {
extensions := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
for _, ext := range extensions {
if ext == other.GetTypeName() {
return true

View File

@@ -0,0 +1,17 @@
// Code generated by astool. DO NOT EDIT.
// Package typealbum contains the implementation for the Album type. All
// applications are strongly encouraged to use the interface instead of this
// concrete definition. The interfaces allow applications to consume only the
// types and properties needed and be independent of the go-fed implementation
// if another alternative implementation is created. This package is
// code-generated and subject to the same license as the go-fed tool used to
// generate it.
//
// This package is independent of other types' and properties' implementations
// by having a Manager injected into it to act as a factory for the concrete
// implementations. The implementations have been generated into their own
// separate subpackages for each vocabulary.
//
// Strongly consider using the interfaces instead of this package.
package typealbum

View File

@@ -0,0 +1,179 @@
// Code generated by astool. DO NOT EDIT.
package typealbum
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
var mgr privateManager
var typePropertyConstructor func() vocab.JSONLDTypeProperty
// privateManager abstracts the code-generated manager that provides access to
// concrete implementations.
type privateManager interface {
// DeserializeAltitudePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsAltitudeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
// DeserializeAttachmentPropertyActivityStreams returns the
// deserialization method for the "ActivityStreamsAttachmentProperty"
// non-functional property in the vocabulary "ActivityStreams"
DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
// DeserializeAttributedToPropertyActivityStreams returns the
// deserialization method for the
// "ActivityStreamsAttributedToProperty" non-functional property in
// the vocabulary "ActivityStreams"
DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
// DeserializeAudiencePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsAudienceProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
// DeserializeBccPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsBccProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
// DeserializeBtoPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsBtoProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
// DeserializeCcPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsCcProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
// DeserializeContentPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsContentProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
// DeserializeContextPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsContextProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
// DeserializeDurationPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsDurationProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
// DeserializeEndTimePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsEndTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
// DeserializeIconPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsIconProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
// DeserializeIdPropertyJSONLD returns the deserialization method for the
// "JSONLDIdProperty" non-functional property in the vocabulary
// "JSONLD"
DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
// DeserializeImagePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsImageProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
// DeserializeInReplyToPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsInReplyToProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
// DeserializeLikesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLikesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
// DeserializeLocationPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLocationProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
// DeserializeMediaTypePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsMediaTypeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
// DeserializeNamePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsNameProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
// DeserializeObjectPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsObjectProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
// DeserializePreviewPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsPreviewProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
// DeserializePublishedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsPublishedProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
// DeserializeRepliesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsRepliesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
// DeserializeSensitivePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSensitiveProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
// DeserializeSharesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSharesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
// DeserializeSourcePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSourceProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
// DeserializeStartTimePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsStartTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
// DeserializeSummaryPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSummaryProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
// DeserializeTagPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsTagProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"
DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
// DeserializeUpdatedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsUpdatedProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
// DeserializeUrlPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsUrlProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
}
// jsonldContexter is a private interface to determine the JSON-LD contexts and
// aliases needed for functional and non-functional properties. It is a helper
// interface for this implementation.
type jsonldContexter interface {
// JSONLDContext returns the JSONLD URIs required in the context string
// for this property and the specific values that are set. The value
// in the map is the alias used to import the property's value or
// values.
JSONLDContext() map[string]string
}
// SetManager sets the manager package-global variable. For internal use only, do
// not use as part of Application behavior. Must be called at golang init time.
func SetManager(m privateManager) {
mgr = m
}
// SetTypePropertyConstructor sets the "type" property's constructor in the
// package-global variable. For internal use only, do not use as part of
// Application behavior. Must be called at golang init time. Permits
// ActivityStreams types to correctly set their "type" property at
// construction time, so users don't have to remember to do so each time. It
// is dependency injected so other go-fed compatible implementations could
// inject their own type.
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
typePropertyConstructor = f
}

View File

@@ -0,0 +1,17 @@
// Code generated by astool. DO NOT EDIT.
// Package typeartist contains the implementation for the Artist type. All
// applications are strongly encouraged to use the interface instead of this
// concrete definition. The interfaces allow applications to consume only the
// types and properties needed and be independent of the go-fed implementation
// if another alternative implementation is created. This package is
// code-generated and subject to the same license as the go-fed tool used to
// generate it.
//
// This package is independent of other types' and properties' implementations
// by having a Manager injected into it to act as a factory for the concrete
// implementations. The implementations have been generated into their own
// separate subpackages for each vocabulary.
//
// Strongly consider using the interfaces instead of this package.
package typeartist

View File

@@ -0,0 +1,179 @@
// Code generated by astool. DO NOT EDIT.
package typeartist
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
var mgr privateManager
var typePropertyConstructor func() vocab.JSONLDTypeProperty
// privateManager abstracts the code-generated manager that provides access to
// concrete implementations.
type privateManager interface {
// DeserializeAltitudePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsAltitudeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
// DeserializeAttachmentPropertyActivityStreams returns the
// deserialization method for the "ActivityStreamsAttachmentProperty"
// non-functional property in the vocabulary "ActivityStreams"
DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
// DeserializeAttributedToPropertyActivityStreams returns the
// deserialization method for the
// "ActivityStreamsAttributedToProperty" non-functional property in
// the vocabulary "ActivityStreams"
DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
// DeserializeAudiencePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsAudienceProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
// DeserializeBccPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsBccProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
// DeserializeBtoPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsBtoProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
// DeserializeCcPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsCcProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
// DeserializeContentPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsContentProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
// DeserializeContextPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsContextProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
// DeserializeDurationPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsDurationProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
// DeserializeEndTimePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsEndTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
// DeserializeIconPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsIconProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
// DeserializeIdPropertyJSONLD returns the deserialization method for the
// "JSONLDIdProperty" non-functional property in the vocabulary
// "JSONLD"
DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
// DeserializeImagePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsImageProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
// DeserializeInReplyToPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsInReplyToProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
// DeserializeLikesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLikesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
// DeserializeLocationPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLocationProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
// DeserializeMediaTypePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsMediaTypeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
// DeserializeNamePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsNameProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
// DeserializeObjectPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsObjectProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
// DeserializePreviewPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsPreviewProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
// DeserializePublishedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsPublishedProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
// DeserializeRepliesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsRepliesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
// DeserializeSensitivePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSensitiveProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
// DeserializeSharesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSharesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
// DeserializeSourcePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSourceProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
// DeserializeStartTimePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsStartTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
// DeserializeSummaryPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSummaryProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
// DeserializeTagPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsTagProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"
DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
// DeserializeUpdatedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsUpdatedProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
// DeserializeUrlPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsUrlProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
}
// jsonldContexter is a private interface to determine the JSON-LD contexts and
// aliases needed for functional and non-functional properties. It is a helper
// interface for this implementation.
type jsonldContexter interface {
// JSONLDContext returns the JSONLD URIs required in the context string
// for this property and the specific values that are set. The value
// in the map is the alias used to import the property's value or
// values.
JSONLDContext() map[string]string
}
// SetManager sets the manager package-global variable. For internal use only, do
// not use as part of Application behavior. Must be called at golang init time.
func SetManager(m privateManager) {
mgr = m
}
// SetTypePropertyConstructor sets the "type" property's constructor in the
// package-global variable. For internal use only, do not use as part of
// Application behavior. Must be called at golang init time. Permits
// ActivityStreams types to correctly set their "type" property at
// construction time, so users don't have to remember to do so each time. It
// is dependency injected so other go-fed compatible implementations could
// inject their own type.
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
typePropertyConstructor = f
}

View File

@@ -0,0 +1,17 @@
// Code generated by astool. DO NOT EDIT.
// Package typelibrary contains the implementation for the Library type. All
// applications are strongly encouraged to use the interface instead of this
// concrete definition. The interfaces allow applications to consume only the
// types and properties needed and be independent of the go-fed implementation
// if another alternative implementation is created. This package is
// code-generated and subject to the same license as the go-fed tool used to
// generate it.
//
// This package is independent of other types' and properties' implementations
// by having a Manager injected into it to act as a factory for the concrete
// implementations. The implementations have been generated into their own
// separate subpackages for each vocabulary.
//
// Strongly consider using the interfaces instead of this package.
package typelibrary

View File

@@ -0,0 +1,179 @@
// Code generated by astool. DO NOT EDIT.
package typelibrary
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
var mgr privateManager
var typePropertyConstructor func() vocab.JSONLDTypeProperty
// privateManager abstracts the code-generated manager that provides access to
// concrete implementations.
type privateManager interface {
// DeserializeAltitudePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsAltitudeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
// DeserializeAttachmentPropertyActivityStreams returns the
// deserialization method for the "ActivityStreamsAttachmentProperty"
// non-functional property in the vocabulary "ActivityStreams"
DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
// DeserializeAttributedToPropertyActivityStreams returns the
// deserialization method for the
// "ActivityStreamsAttributedToProperty" non-functional property in
// the vocabulary "ActivityStreams"
DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
// DeserializeAudiencePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsAudienceProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
// DeserializeBccPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsBccProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
// DeserializeBtoPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsBtoProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
// DeserializeCcPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsCcProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
// DeserializeContentPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsContentProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
// DeserializeContextPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsContextProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
// DeserializeDurationPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsDurationProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
// DeserializeEndTimePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsEndTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
// DeserializeIconPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsIconProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
// DeserializeIdPropertyJSONLD returns the deserialization method for the
// "JSONLDIdProperty" non-functional property in the vocabulary
// "JSONLD"
DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
// DeserializeImagePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsImageProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
// DeserializeInReplyToPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsInReplyToProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
// DeserializeLikesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLikesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
// DeserializeLocationPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLocationProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
// DeserializeMediaTypePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsMediaTypeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
// DeserializeNamePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsNameProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
// DeserializeObjectPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsObjectProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
// DeserializePreviewPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsPreviewProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
// DeserializePublishedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsPublishedProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
// DeserializeRepliesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsRepliesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
// DeserializeSensitivePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSensitiveProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
// DeserializeSharesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSharesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
// DeserializeSourcePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSourceProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
// DeserializeStartTimePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsStartTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
// DeserializeSummaryPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSummaryProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
// DeserializeTagPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsTagProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"
DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
// DeserializeUpdatedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsUpdatedProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
// DeserializeUrlPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsUrlProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
}
// jsonldContexter is a private interface to determine the JSON-LD contexts and
// aliases needed for functional and non-functional properties. It is a helper
// interface for this implementation.
type jsonldContexter interface {
// JSONLDContext returns the JSONLD URIs required in the context string
// for this property and the specific values that are set. The value
// in the map is the alias used to import the property's value or
// values.
JSONLDContext() map[string]string
}
// SetManager sets the manager package-global variable. For internal use only, do
// not use as part of Application behavior. Must be called at golang init time.
func SetManager(m privateManager) {
mgr = m
}
// SetTypePropertyConstructor sets the "type" property's constructor in the
// package-global variable. For internal use only, do not use as part of
// Application behavior. Must be called at golang init time. Permits
// ActivityStreams types to correctly set their "type" property at
// construction time, so users don't have to remember to do so each time. It
// is dependency injected so other go-fed compatible implementations could
// inject their own type.
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
typePropertyConstructor = f
}

View File

@@ -0,0 +1,17 @@
// Code generated by astool. DO NOT EDIT.
// Package typetrack contains the implementation for the Track type. All
// applications are strongly encouraged to use the interface instead of this
// concrete definition. The interfaces allow applications to consume only the
// types and properties needed and be independent of the go-fed implementation
// if another alternative implementation is created. This package is
// code-generated and subject to the same license as the go-fed tool used to
// generate it.
//
// This package is independent of other types' and properties' implementations
// by having a Manager injected into it to act as a factory for the concrete
// implementations. The implementations have been generated into their own
// separate subpackages for each vocabulary.
//
// Strongly consider using the interfaces instead of this package.
package typetrack

View File

@@ -0,0 +1,179 @@
// Code generated by astool. DO NOT EDIT.
package typetrack
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
var mgr privateManager
var typePropertyConstructor func() vocab.JSONLDTypeProperty
// privateManager abstracts the code-generated manager that provides access to
// concrete implementations.
type privateManager interface {
// DeserializeAltitudePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsAltitudeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
// DeserializeAttachmentPropertyActivityStreams returns the
// deserialization method for the "ActivityStreamsAttachmentProperty"
// non-functional property in the vocabulary "ActivityStreams"
DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
// DeserializeAttributedToPropertyActivityStreams returns the
// deserialization method for the
// "ActivityStreamsAttributedToProperty" non-functional property in
// the vocabulary "ActivityStreams"
DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
// DeserializeAudiencePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsAudienceProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
// DeserializeBccPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsBccProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
// DeserializeBtoPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsBtoProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
// DeserializeCcPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsCcProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
// DeserializeContentPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsContentProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
// DeserializeContextPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsContextProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
// DeserializeDurationPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsDurationProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
// DeserializeEndTimePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsEndTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsGeneratorProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
// DeserializeIconPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsIconProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
// DeserializeIdPropertyJSONLD returns the deserialization method for the
// "JSONLDIdProperty" non-functional property in the vocabulary
// "JSONLD"
DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
// DeserializeImagePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsImageProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
// DeserializeInReplyToPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsInReplyToProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
// DeserializeLikesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLikesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
// DeserializeLocationPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsLocationProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
// DeserializeMediaTypePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsMediaTypeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
// DeserializeNamePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsNameProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
// DeserializeObjectPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsObjectProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
// DeserializePreviewPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsPreviewProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
// DeserializePublishedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsPublishedProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
// DeserializeRepliesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsRepliesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
// DeserializeSensitivePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSensitiveProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
// DeserializeSharesPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSharesProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
// DeserializeSourcePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSourceProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
// DeserializeStartTimePropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsStartTimeProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
// DeserializeSummaryPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsSummaryProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
// DeserializeTagPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsTagProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"
DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
// DeserializeUpdatedPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsUpdatedProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
// DeserializeUrlPropertyActivityStreams returns the deserialization
// method for the "ActivityStreamsUrlProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
}
// jsonldContexter is a private interface to determine the JSON-LD contexts and
// aliases needed for functional and non-functional properties. It is a helper
// interface for this implementation.
type jsonldContexter interface {
// JSONLDContext returns the JSONLD URIs required in the context string
// for this property and the specific values that are set. The value
// in the map is the alias used to import the property's value or
// values.
JSONLDContext() map[string]string
}
// SetManager sets the manager package-global variable. For internal use only, do
// not use as part of Application behavior. Must be called at golang init time.
func SetManager(m privateManager) {
mgr = m
}
// SetTypePropertyConstructor sets the "type" property's constructor in the
// package-global variable. For internal use only, do not use as part of
// Application behavior. Must be called at golang init time. Permits
// ActivityStreams types to correctly set their "type" property at
// construction time, so users don't have to remember to do so each time. It
// is dependency injected so other go-fed compatible implementations could
// inject their own type.
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
typePropertyConstructor = f
}

View File

@@ -179,7 +179,7 @@ func DeserializeHashtag(m map[string]interface{}, aliasMap map[string]string) (*
// HashtagIsDisjointWith returns true if the other provided type is disjoint with
// the Hashtag type.
func HashtagIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Accept", "Activity", "Add", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"}
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true

View File

@@ -14,9 +14,9 @@ const (
// only applicable to go-fed at code-generation time.
jsonLDContext = "@context"
asNS = "https://www.w3.org/ns/activitystreams"
tootNS = "http://joinmastodon.org/ns"
schemaNS = "http://schema.org"
asNS = "https://www.w3.org/ns/activitystreams"
tootNS = "http://joinmastodon.org/ns"
schemaNS = "http://schema.org"
)
// Map of inlines @context entries that may need to be added

View File

@@ -225,6 +225,22 @@ type ActivityStreamsActorPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -492,6 +508,22 @@ type ActivityStreamsActorPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -709,6 +741,18 @@ type ActivityStreamsActorPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -996,6 +1040,22 @@ type ActivityStreamsActorProperty interface {
// the property "actor". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "actor". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "actor". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "actor". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "actor". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "actor". Invalidates iterators
// that are traversing using Prev.
@@ -1267,6 +1327,22 @@ type ActivityStreamsActorProperty interface {
// for a property "actor". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "actor". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "actor". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "actor". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "actor". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "actor". Existing elements at
// that index and higher are shifted back once. Invalidates all
@@ -1494,6 +1570,18 @@ type ActivityStreamsActorProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "actor". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "actor". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "actor". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "actor". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "actor". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "actor". Invalidates all
// iterators.
@@ -1749,6 +1837,22 @@ type ActivityStreamsActorProperty interface {
// for the property "actor". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "actor". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "actor". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "actor". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "actor". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "actor". Panics if the index
// is out of bounds. Invalidates all iterators.

View File

@@ -225,6 +225,22 @@ type ActivityStreamsAnyOfPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -492,6 +508,22 @@ type ActivityStreamsAnyOfPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -709,6 +741,18 @@ type ActivityStreamsAnyOfPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -975,6 +1019,22 @@ type ActivityStreamsAnyOfProperty interface {
// the property "anyOf". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "anyOf". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "anyOf". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "anyOf". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "anyOf". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "anyOf". Invalidates iterators
// that are traversing using Prev.
@@ -1246,6 +1306,22 @@ type ActivityStreamsAnyOfProperty interface {
// for a property "anyOf". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "anyOf". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "anyOf". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "anyOf". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "anyOf". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "anyOf". Existing elements at
// that index and higher are shifted back once. Invalidates all
@@ -1473,6 +1549,18 @@ type ActivityStreamsAnyOfProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "anyOf". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "anyOf". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "anyOf". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "anyOf". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "anyOf". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "anyOf". Invalidates all
// iterators.
@@ -1728,6 +1816,22 @@ type ActivityStreamsAnyOfProperty interface {
// for the property "anyOf". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "anyOf". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "anyOf". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "anyOf". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "anyOf". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "anyOf". Panics if the index
// is out of bounds. Invalidates all iterators.

View File

@@ -225,6 +225,22 @@ type ActivityStreamsAttachmentPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -492,6 +508,22 @@ type ActivityStreamsAttachmentPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -709,6 +741,18 @@ type ActivityStreamsAttachmentPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -970,6 +1014,22 @@ type ActivityStreamsAttachmentProperty interface {
// the property "attachment". Invalidates iterators that are
// traversing using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "attachment". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "attachment". Invalidates iterators that are
// traversing using Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "attachment". Invalidates iterators that are
// traversing using Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "attachment". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "attachment". Invalidates
// iterators that are traversing using Prev.
@@ -1246,6 +1306,22 @@ type ActivityStreamsAttachmentProperty interface {
// for a property "attachment". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "attachment". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "attachment". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "attachment". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "attachment". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "attachment". Existing elements
// at that index and higher are shifted back once. Invalidates all
@@ -1481,6 +1557,18 @@ type ActivityStreamsAttachmentProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "attachment". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "attachment". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "attachment". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "attachment". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "attachment". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "attachment". Invalidates all
// iterators.
@@ -1738,6 +1826,22 @@ type ActivityStreamsAttachmentProperty interface {
// for the property "attachment". Panics if the index is out of
// bounds. Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "attachment". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "attachment". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "attachment". Panics if the index is out of
// bounds. Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "attachment". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "attachment". Panics if the
// index is out of bounds. Invalidates all iterators.

View File

@@ -225,6 +225,22 @@ type ActivityStreamsAttributedToPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -492,6 +508,22 @@ type ActivityStreamsAttributedToPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -709,6 +741,18 @@ type ActivityStreamsAttributedToPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -987,6 +1031,22 @@ type ActivityStreamsAttributedToProperty interface {
// the property "attributedTo". Invalidates iterators that are
// traversing using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "attributedTo". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "attributedTo". Invalidates iterators that are
// traversing using Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "attributedTo". Invalidates iterators that are
// traversing using Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "attributedTo". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "attributedTo". Invalidates
// iterators that are traversing using Prev.
@@ -1263,6 +1323,22 @@ type ActivityStreamsAttributedToProperty interface {
// for a property "attributedTo". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "attributedTo". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "attributedTo". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "attributedTo". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "attributedTo". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "attributedTo". Existing
// elements at that index and higher are shifted back once.
@@ -1498,6 +1574,18 @@ type ActivityStreamsAttributedToProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "attributedTo". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "attributedTo". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "attributedTo". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "attributedTo". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "attributedTo". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "attributedTo". Invalidates all
// iterators.
@@ -1755,6 +1843,22 @@ type ActivityStreamsAttributedToProperty interface {
// for the property "attributedTo". Panics if the index is out of
// bounds. Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "attributedTo". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "attributedTo". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "attributedTo". Panics if the index is out of
// bounds. Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "attributedTo". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "attributedTo". Panics if the
// index is out of bounds. Invalidates all iterators.

View File

@@ -225,6 +225,22 @@ type ActivityStreamsAudiencePropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -492,6 +508,22 @@ type ActivityStreamsAudiencePropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -709,6 +741,18 @@ type ActivityStreamsAudiencePropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -972,6 +1016,22 @@ type ActivityStreamsAudienceProperty interface {
// the property "audience". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "audience". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "audience". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "audience". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "audience". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "audience". Invalidates
// iterators that are traversing using Prev.
@@ -1248,6 +1308,22 @@ type ActivityStreamsAudienceProperty interface {
// for a property "audience". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "audience". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "audience". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "audience". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "audience". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "audience". Existing elements at
// that index and higher are shifted back once. Invalidates all
@@ -1482,6 +1558,18 @@ type ActivityStreamsAudienceProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "audience". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "audience". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "audience". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "audience". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "audience". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "audience". Invalidates all
// iterators.
@@ -1739,6 +1827,22 @@ type ActivityStreamsAudienceProperty interface {
// for the property "audience". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "audience". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "audience". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "audience". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "audience". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "audience". Panics if the
// index is out of bounds. Invalidates all iterators.

View File

@@ -225,6 +225,22 @@ type ActivityStreamsBccPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -492,6 +508,22 @@ type ActivityStreamsBccPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -709,6 +741,18 @@ type ActivityStreamsBccPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -968,6 +1012,22 @@ type ActivityStreamsBccProperty interface {
// the property "bcc". Invalidates iterators that are traversing using
// Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "bcc". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "bcc". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "bcc". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "bcc". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "bcc". Invalidates iterators
// that are traversing using Prev.
@@ -1236,6 +1296,22 @@ type ActivityStreamsBccProperty interface {
// for a property "bcc". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "bcc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "bcc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "bcc". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "bcc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "bcc". Existing elements at that
// index and higher are shifted back once. Invalidates all iterators.
@@ -1462,6 +1538,18 @@ type ActivityStreamsBccProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "bcc". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "bcc". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "bcc". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "bcc". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "bcc". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "bcc". Invalidates all
// iterators.
@@ -1717,6 +1805,22 @@ type ActivityStreamsBccProperty interface {
// for the property "bcc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "bcc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "bcc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "bcc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "bcc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "bcc". Panics if the index is
// out of bounds. Invalidates all iterators.

View File

@@ -225,6 +225,22 @@ type ActivityStreamsBtoPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -492,6 +508,22 @@ type ActivityStreamsBtoPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -709,6 +741,18 @@ type ActivityStreamsBtoPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -968,6 +1012,22 @@ type ActivityStreamsBtoProperty interface {
// the property "bto". Invalidates iterators that are traversing using
// Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "bto". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "bto". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "bto". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "bto". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "bto". Invalidates iterators
// that are traversing using Prev.
@@ -1236,6 +1296,22 @@ type ActivityStreamsBtoProperty interface {
// for a property "bto". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "bto". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "bto". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "bto". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "bto". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "bto". Existing elements at that
// index and higher are shifted back once. Invalidates all iterators.
@@ -1462,6 +1538,18 @@ type ActivityStreamsBtoProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "bto". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "bto". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "bto". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "bto". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "bto". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "bto". Invalidates all
// iterators.
@@ -1717,6 +1805,22 @@ type ActivityStreamsBtoProperty interface {
// for the property "bto". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "bto". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "bto". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "bto". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "bto". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "bto". Panics if the index is
// out of bounds. Invalidates all iterators.

View File

@@ -225,6 +225,22 @@ type ActivityStreamsCcPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -492,6 +508,22 @@ type ActivityStreamsCcPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -709,6 +741,18 @@ type ActivityStreamsCcPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -968,6 +1012,20 @@ type ActivityStreamsCcProperty interface {
// the property "cc". Invalidates iterators that are traversing using
// Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "cc". Invalidates iterators that are traversing using Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "cc". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "cc". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "cc". Invalidates iterators that are traversing using Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "cc". Invalidates iterators that
// are traversing using Prev.
@@ -1234,6 +1292,22 @@ type ActivityStreamsCcProperty interface {
// for a property "cc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "cc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "cc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "cc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "cc". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "cc". Existing elements at that
// index and higher are shifted back once. Invalidates all iterators.
@@ -1459,6 +1533,18 @@ type ActivityStreamsCcProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "cc". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "cc". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "cc". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "cc". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "cc". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "cc". Invalidates all iterators.
PrependGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -1713,6 +1799,22 @@ type ActivityStreamsCcProperty interface {
// for the property "cc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "cc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "cc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "cc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "cc". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "cc". Panics if the index is
// out of bounds. Invalidates all iterators.

View File

@@ -228,6 +228,22 @@ type ActivityStreamsClosedPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -503,6 +519,22 @@ type ActivityStreamsClosedPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -728,6 +760,18 @@ type ActivityStreamsClosedPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -989,6 +1033,22 @@ type ActivityStreamsClosedProperty interface {
// the property "closed". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "closed". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "closed". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "closed". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "closed". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "closed". Invalidates iterators
// that are traversing using Prev.
@@ -1268,6 +1328,22 @@ type ActivityStreamsClosedProperty interface {
// for a property "closed". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "closed". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "closed". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "closed". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "closed". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "closed". Existing elements at
// that index and higher are shifted back once. Invalidates all
@@ -1503,6 +1579,18 @@ type ActivityStreamsClosedProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "closed". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "closed". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "closed". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "closed". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "closed". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "closed". Invalidates all
// iterators.
@@ -1764,6 +1852,22 @@ type ActivityStreamsClosedProperty interface {
// for the property "closed". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "closed". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "closed". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "closed". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "closed". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "closed". Panics if the index
// is out of bounds. Invalidates all iterators.

View File

@@ -225,6 +225,22 @@ type ActivityStreamsContextPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -492,6 +508,22 @@ type ActivityStreamsContextPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -709,6 +741,18 @@ type ActivityStreamsContextPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -982,6 +1026,22 @@ type ActivityStreamsContextProperty interface {
// the property "context". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "context". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "context". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "context". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "context". Invalidates iterators that are traversing using
// Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "context". Invalidates iterators
// that are traversing using Prev.
@@ -1253,6 +1313,22 @@ type ActivityStreamsContextProperty interface {
// for a property "context". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "context". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "context". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "context". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "context". Existing elements at that index and higher are
// shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "context". Existing elements at
// that index and higher are shifted back once. Invalidates all
@@ -1484,6 +1560,18 @@ type ActivityStreamsContextProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "context". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "context". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "context". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "context". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "context". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "context". Invalidates all
// iterators.
@@ -1741,6 +1829,22 @@ type ActivityStreamsContextProperty interface {
// for the property "context". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "context". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "context". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "context". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "context". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "context". Panics if the index
// is out of bounds. Invalidates all iterators.

View File

@@ -232,6 +232,22 @@ type ActivityStreamsDescribesProperty interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -488,6 +504,22 @@ type ActivityStreamsDescribesProperty interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -696,6 +728,18 @@ type ActivityStreamsDescribesProperty interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)

View File

@@ -217,6 +217,22 @@ type ActivityStreamsFormerTypePropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -477,6 +493,22 @@ type ActivityStreamsFormerTypePropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -688,6 +720,18 @@ type ActivityStreamsFormerTypePropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -937,6 +981,22 @@ type ActivityStreamsFormerTypeProperty interface {
// the property "formerType". Invalidates iterators that are
// traversing using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "formerType". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "formerType". Invalidates iterators that are
// traversing using Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "formerType". Invalidates iterators that are
// traversing using Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "formerType". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "formerType". Invalidates
// iterators that are traversing using Prev.
@@ -1205,6 +1265,22 @@ type ActivityStreamsFormerTypeProperty interface {
// for a property "formerType". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "formerType". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "formerType". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "formerType". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "formerType". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "formerType". Existing elements
// at that index and higher are shifted back once. Invalidates all
@@ -1434,6 +1510,18 @@ type ActivityStreamsFormerTypeProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "formerType". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "formerType". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "formerType". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "formerType". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "formerType". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "formerType". Invalidates all
// iterators.
@@ -1683,6 +1771,22 @@ type ActivityStreamsFormerTypeProperty interface {
// for the property "formerType". Panics if the index is out of
// bounds. Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "formerType". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "formerType". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "formerType". Panics if the index is out of
// bounds. Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "formerType". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "formerType". Panics if the
// index is out of bounds. Invalidates all iterators.

View File

@@ -225,6 +225,22 @@ type ActivityStreamsGeneratorPropertyIterator interface {
// IsActivityStreamsView returns false, GetActivityStreamsView will
// return an arbitrary value.
GetActivityStreamsView() ActivityStreamsView
// GetFunkwhaleAlbum returns the value of this property. When
// IsFunkwhaleAlbum returns false, GetFunkwhaleAlbum will return an
// arbitrary value.
GetFunkwhaleAlbum() FunkwhaleAlbum
// GetFunkwhaleArtist returns the value of this property. When
// IsFunkwhaleArtist returns false, GetFunkwhaleArtist will return an
// arbitrary value.
GetFunkwhaleArtist() FunkwhaleArtist
// GetFunkwhaleLibrary returns the value of this property. When
// IsFunkwhaleLibrary returns false, GetFunkwhaleLibrary will return
// an arbitrary value.
GetFunkwhaleLibrary() FunkwhaleLibrary
// GetFunkwhaleTrack returns the value of this property. When
// IsFunkwhaleTrack returns false, GetFunkwhaleTrack will return an
// arbitrary value.
GetFunkwhaleTrack() FunkwhaleTrack
// GetGoToSocialAnnounceApproval returns the value of this property. When
// IsGoToSocialAnnounceApproval returns false,
// GetGoToSocialAnnounceApproval will return an arbitrary value.
@@ -492,6 +508,22 @@ type ActivityStreamsGeneratorPropertyIterator interface {
// "View". When true, use the GetActivityStreamsView and
// SetActivityStreamsView methods to access and set this property.
IsActivityStreamsView() bool
// IsFunkwhaleAlbum returns true if this property has a type of "Album".
// When true, use the GetFunkwhaleAlbum and SetFunkwhaleAlbum methods
// to access and set this property.
IsFunkwhaleAlbum() bool
// IsFunkwhaleArtist returns true if this property has a type of "Artist".
// When true, use the GetFunkwhaleArtist and SetFunkwhaleArtist
// methods to access and set this property.
IsFunkwhaleArtist() bool
// IsFunkwhaleLibrary returns true if this property has a type of
// "Library". When true, use the GetFunkwhaleLibrary and
// SetFunkwhaleLibrary methods to access and set this property.
IsFunkwhaleLibrary() bool
// IsFunkwhaleTrack returns true if this property has a type of "Track".
// When true, use the GetFunkwhaleTrack and SetFunkwhaleTrack methods
// to access and set this property.
IsFunkwhaleTrack() bool
// IsGoToSocialAnnounceApproval returns true if this property has a type
// of "AnnounceApproval". When true, use the
// GetGoToSocialAnnounceApproval and SetGoToSocialAnnounceApproval
@@ -709,6 +741,18 @@ type ActivityStreamsGeneratorPropertyIterator interface {
// SetActivityStreamsView sets the value of this property. Calling
// IsActivityStreamsView afterwards returns true.
SetActivityStreamsView(v ActivityStreamsView)
// SetFunkwhaleAlbum sets the value of this property. Calling
// IsFunkwhaleAlbum afterwards returns true.
SetFunkwhaleAlbum(v FunkwhaleAlbum)
// SetFunkwhaleArtist sets the value of this property. Calling
// IsFunkwhaleArtist afterwards returns true.
SetFunkwhaleArtist(v FunkwhaleArtist)
// SetFunkwhaleLibrary sets the value of this property. Calling
// IsFunkwhaleLibrary afterwards returns true.
SetFunkwhaleLibrary(v FunkwhaleLibrary)
// SetFunkwhaleTrack sets the value of this property. Calling
// IsFunkwhaleTrack afterwards returns true.
SetFunkwhaleTrack(v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets the value of this property. Calling
// IsGoToSocialAnnounceApproval afterwards returns true.
SetGoToSocialAnnounceApproval(v GoToSocialAnnounceApproval)
@@ -968,6 +1012,22 @@ type ActivityStreamsGeneratorProperty interface {
// the property "generator". Invalidates iterators that are traversing
// using Prev.
AppendActivityStreamsView(v ActivityStreamsView)
// AppendFunkwhaleAlbum appends a Album value to the back of a list of the
// property "generator". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleAlbum(v FunkwhaleAlbum)
// AppendFunkwhaleArtist appends a Artist value to the back of a list of
// the property "generator". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleArtist(v FunkwhaleArtist)
// AppendFunkwhaleLibrary appends a Library value to the back of a list of
// the property "generator". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleLibrary(v FunkwhaleLibrary)
// AppendFunkwhaleTrack appends a Track value to the back of a list of the
// property "generator". Invalidates iterators that are traversing
// using Prev.
AppendFunkwhaleTrack(v FunkwhaleTrack)
// AppendGoToSocialAnnounceApproval appends a AnnounceApproval value to
// the back of a list of the property "generator". Invalidates
// iterators that are traversing using Prev.
@@ -1244,6 +1304,22 @@ type ActivityStreamsGeneratorProperty interface {
// for a property "generator". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertActivityStreamsView(idx int, v ActivityStreamsView)
// InsertFunkwhaleAlbum inserts a Album value at the specified index for a
// property "generator". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// InsertFunkwhaleArtist inserts a Artist value at the specified index for
// a property "generator". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleArtist(idx int, v FunkwhaleArtist)
// InsertFunkwhaleLibrary inserts a Library value at the specified index
// for a property "generator". Existing elements at that index and
// higher are shifted back once. Invalidates all iterators.
InsertFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// InsertFunkwhaleTrack inserts a Track value at the specified index for a
// property "generator". Existing elements at that index and higher
// are shifted back once. Invalidates all iterators.
InsertFunkwhaleTrack(idx int, v FunkwhaleTrack)
// InsertGoToSocialAnnounceApproval inserts a AnnounceApproval value at
// the specified index for a property "generator". Existing elements
// at that index and higher are shifted back once. Invalidates all
@@ -1479,6 +1555,18 @@ type ActivityStreamsGeneratorProperty interface {
// PrependActivityStreamsView prepends a View value to the front of a list
// of the property "generator". Invalidates all iterators.
PrependActivityStreamsView(v ActivityStreamsView)
// PrependFunkwhaleAlbum prepends a Album value to the front of a list of
// the property "generator". Invalidates all iterators.
PrependFunkwhaleAlbum(v FunkwhaleAlbum)
// PrependFunkwhaleArtist prepends a Artist value to the front of a list
// of the property "generator". Invalidates all iterators.
PrependFunkwhaleArtist(v FunkwhaleArtist)
// PrependFunkwhaleLibrary prepends a Library value to the front of a list
// of the property "generator". Invalidates all iterators.
PrependFunkwhaleLibrary(v FunkwhaleLibrary)
// PrependFunkwhaleTrack prepends a Track value to the front of a list of
// the property "generator". Invalidates all iterators.
PrependFunkwhaleTrack(v FunkwhaleTrack)
// PrependGoToSocialAnnounceApproval prepends a AnnounceApproval value to
// the front of a list of the property "generator". Invalidates all
// iterators.
@@ -1736,6 +1824,22 @@ type ActivityStreamsGeneratorProperty interface {
// for the property "generator". Panics if the index is out of bounds.
// Invalidates all iterators.
SetActivityStreamsView(idx int, v ActivityStreamsView)
// SetFunkwhaleAlbum sets a Album value to be at the specified index for
// the property "generator". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleAlbum(idx int, v FunkwhaleAlbum)
// SetFunkwhaleArtist sets a Artist value to be at the specified index for
// the property "generator". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleArtist(idx int, v FunkwhaleArtist)
// SetFunkwhaleLibrary sets a Library value to be at the specified index
// for the property "generator". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleLibrary(idx int, v FunkwhaleLibrary)
// SetFunkwhaleTrack sets a Track value to be at the specified index for
// the property "generator". Panics if the index is out of bounds.
// Invalidates all iterators.
SetFunkwhaleTrack(idx int, v FunkwhaleTrack)
// SetGoToSocialAnnounceApproval sets a AnnounceApproval value to be at
// the specified index for the property "generator". Panics if the
// index is out of bounds. Invalidates all iterators.

Some files were not shown because too many files have changed in this diff Show More