mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[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:
2
go.mod
2
go.mod
@@ -28,7 +28,7 @@ require (
|
||||
codeberg.org/gruf/go-sched v1.2.4
|
||||
codeberg.org/gruf/go-storage v0.2.0
|
||||
codeberg.org/gruf/go-structr v0.9.0
|
||||
codeberg.org/superseriousbusiness/activity v1.12.0-gts
|
||||
codeberg.org/superseriousbusiness/activity v1.13.0-gts
|
||||
codeberg.org/superseriousbusiness/exif-terminator v0.10.0
|
||||
codeberg.org/superseriousbusiness/httpsig v1.3.0-SSB
|
||||
codeberg.org/superseriousbusiness/oauth2/v4 v4.7.0-SSB
|
||||
|
4
go.sum
generated
4
go.sum
generated
@@ -40,8 +40,8 @@ codeberg.org/gruf/go-storage v0.2.0 h1:mKj3Lx6AavEkuXXtxqPhdq+akW9YwrnP16yQBF7K5
|
||||
codeberg.org/gruf/go-storage v0.2.0/go.mod h1:o3GzMDE5QNUaRnm/daUzFqvuAaC4utlgXDXYO79sWKU=
|
||||
codeberg.org/gruf/go-structr v0.9.0 h1:UYw8igp3I4UBnlsRyDR2AbF3g7NPEP7HBrQs1I15218=
|
||||
codeberg.org/gruf/go-structr v0.9.0/go.mod h1:mUvBvn4q1iM/I+d3Fj1w/gxGUU/Ve9GpiNo6dPmBJnk=
|
||||
codeberg.org/superseriousbusiness/activity v1.12.0-gts h1:frNGTENLmOIQHKfOw/jj3UVj/GjHBljDx+CFAAK+m6Q=
|
||||
codeberg.org/superseriousbusiness/activity v1.12.0-gts/go.mod h1:enxU1Lva4OcK6b/NBXscoHSEgEMsKJvdHrQFifQxp4o=
|
||||
codeberg.org/superseriousbusiness/activity v1.13.0-gts h1:4WZLc/SNt+Vt5x2UjL2n6V5dHlIL9ECudUPx8Ld5rxw=
|
||||
codeberg.org/superseriousbusiness/activity v1.13.0-gts/go.mod h1:enxU1Lva4OcK6b/NBXscoHSEgEMsKJvdHrQFifQxp4o=
|
||||
codeberg.org/superseriousbusiness/exif-terminator v0.10.0 h1:FiLX/AK07tzceS36I+kOP2aEH+aytjPSIlFoYePMEyg=
|
||||
codeberg.org/superseriousbusiness/exif-terminator v0.10.0/go.mod h1:c/mCytx/+fisOZeVXtjCpXld/SeZb3VsD1vj3oPAihA=
|
||||
codeberg.org/superseriousbusiness/go-jpeg-image-structure/v2 v2.1.0-SSB h1:v2shEkOPgydTL0n44EFPsDT9dsEP7KRG85aPnojCYkI=
|
||||
|
@@ -98,10 +98,17 @@ const (
|
||||
// that we don't *yet* know what type of Object something is.
|
||||
ObjectUnknown = "Unknown"
|
||||
|
||||
// Extensions and unofficial additions.
|
||||
/* Extensions and unofficial additions */
|
||||
|
||||
/* GtS stuff */
|
||||
|
||||
ObjectLikeApproval = "LikeApproval"
|
||||
ObjectReplyApproval = "ReplyApproval"
|
||||
ObjectAnnounceApproval = "AnnounceApproval"
|
||||
|
||||
/* Funkwhale stuff */
|
||||
|
||||
ObjectAlbum = "Album"
|
||||
)
|
||||
|
||||
// isActivity returns whether AS type name is of an Activity (NOT IntransitiveActivity).
|
||||
|
@@ -1078,7 +1078,14 @@ func ExtractInteractionPolicy(
|
||||
statusable Statusable,
|
||||
owner *gtsmodel.Account,
|
||||
) *gtsmodel.InteractionPolicy {
|
||||
policyProp := statusable.GetGoToSocialInteractionPolicy()
|
||||
ipa, ok := statusable.(InteractionPolicyAware)
|
||||
if !ok {
|
||||
// Not a type with interaction
|
||||
// policy properties settable.
|
||||
return nil
|
||||
}
|
||||
|
||||
policyProp := ipa.GetGoToSocialInteractionPolicy()
|
||||
if policyProp == nil || policyProp.Len() != 1 {
|
||||
return nil
|
||||
}
|
||||
|
@@ -76,7 +76,8 @@ func IsStatusable(typeName string) bool {
|
||||
ObjectEvent,
|
||||
ObjectPlace,
|
||||
ObjectProfile,
|
||||
ActivityQuestion:
|
||||
ActivityQuestion,
|
||||
ObjectAlbum:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
@@ -226,11 +227,13 @@ type Statusable interface {
|
||||
WithTo
|
||||
WithCc
|
||||
WithSensitive
|
||||
WithConversation
|
||||
WithContent
|
||||
WithAttachment
|
||||
WithTag
|
||||
WithReplies
|
||||
}
|
||||
|
||||
type InteractionPolicyAware interface {
|
||||
WithInteractionPolicy
|
||||
WithApprovedBy
|
||||
}
|
||||
@@ -589,10 +592,6 @@ type WithSensitive interface {
|
||||
SetActivityStreamsSensitive(vocab.ActivityStreamsSensitiveProperty)
|
||||
}
|
||||
|
||||
// WithConversation ...
|
||||
type WithConversation interface { // TODO
|
||||
}
|
||||
|
||||
// WithContent represents an activity with ActivityStreamsContentProperty
|
||||
type WithContent interface {
|
||||
GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
|
||||
|
@@ -80,6 +80,56 @@ func (suite *ResolveTestSuite) TestResolveNonAPJSONAsAccountable() {
|
||||
suite.Nil(accountable)
|
||||
}
|
||||
|
||||
func (suite *ResolveTestSuite) TestResolveBandwagonAlbumAsStatusable() {
|
||||
b := []byte(`{
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1",
|
||||
{
|
||||
"discoverable": "toot:discoverable",
|
||||
"indexable": "toot:indexable",
|
||||
"toot": "https://joinmastodon.org/ns#"
|
||||
},
|
||||
"https://funkwhale.audio/ns"
|
||||
],
|
||||
"artists": [
|
||||
{
|
||||
"id": "https://bandwagon.fm/@67a0a0808121f77ed3466870",
|
||||
"name": "Luka Prinčič",
|
||||
"type": "Artist"
|
||||
}
|
||||
],
|
||||
"attachment": [
|
||||
{
|
||||
"mediaType": "image/webp",
|
||||
"name": "image",
|
||||
"type": "Document",
|
||||
"url": "https://bandwagon.fm/67a0a219f050061c8b4ce427/attachments/67a0a21bf050061c8b4ce429"
|
||||
}
|
||||
],
|
||||
"attributedTo": "https://bandwagon.fm/@67a0a0808121f77ed3466870",
|
||||
"content": "... a transgenre mutation, a fluid entity, jagged pop, electro-funk, techno-cabaret, a schlager, and soft alternative, queer to the core, satire and tragedy, sharp and fun indulgence for the dance of bodies and brains, activism and hedonism, which would all like to steal your attention.\r\n\r\nDRAGX̶FUNK is pronounced /dɹæɡɑːfʌŋk/.\r\n\r\n---\r\n\r\n## Buy digital\r\n💳 [Stripe](https://buy.stripe.com/6oE8x52iG1Kq5pKeV3)\r\n\r\n---\r\n\r\n## Buy dl/merch\r\n🎵 [Bandcamp](https://lukaprincic.bandcamp.com/album/dragx-funk) \r\n\r\n---\r\n\r\n## More:\r\n🌐 [prin.lu](https://prin.lu/music/241205_dragx-funk/) \r\n👉 [kamizdat.si](https://kamizdat.si/releases/dragx-funk-2/)\r\n",
|
||||
"context": "https://bandwagon.fm/67a0a219f050061c8b4ce427",
|
||||
"id": "https://bandwagon.fm/67a0a219f050061c8b4ce427",
|
||||
"library": "https://bandwagon.fm/67a0a219f050061c8b4ce427/pub/children",
|
||||
"license": "CC-BY-NC-SA",
|
||||
"name": "DRAGX̶FUNK",
|
||||
"published": "2025-03-17T11:40:53Z",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"tracks": "https://bandwagon.fm/67a0a219f050061c8b4ce427/pub/children",
|
||||
"type": "Album",
|
||||
"url": "https://bandwagon.fm/67a0a219f050061c8b4ce427"
|
||||
}`)
|
||||
|
||||
statusable, err := ap.ResolveStatusable(
|
||||
context.Background(), io.NopCloser(bytes.NewReader(b)),
|
||||
)
|
||||
suite.NoError(err)
|
||||
suite.NotNil(statusable)
|
||||
}
|
||||
|
||||
func TestResolveTestSuite(t *testing.T) {
|
||||
suite.Run(t, &ResolveTestSuite{})
|
||||
}
|
||||
|
@@ -153,7 +153,9 @@ func serializeStatusable(t vocab.Type, includeContext bool) (map[string]interfac
|
||||
|
||||
NormalizeOutgoingAttachmentProp(statusable, data)
|
||||
NormalizeOutgoingContentProp(statusable, data)
|
||||
NormalizeOutgoingInteractionPolicyProp(statusable, data)
|
||||
if ipa, ok := statusable.(InteractionPolicyAware); ok {
|
||||
NormalizeOutgoingInteractionPolicyProp(ipa, data)
|
||||
}
|
||||
|
||||
return data, nil
|
||||
}
|
||||
|
@@ -434,9 +434,10 @@ func (c *Converter) ASStatusToStatus(ctx context.Context, statusable ap.Statusab
|
||||
return nil, gtserror.SetMalformed(err)
|
||||
}
|
||||
|
||||
// Status was sent to us or dereffed
|
||||
// by us so it must be federated.
|
||||
// Status was sent to us or dereffed by
|
||||
// us so it must be federated and not local.
|
||||
status.Federated = util.Ptr(true)
|
||||
status.Local = util.Ptr(false)
|
||||
|
||||
// Derive interaction policy for this status.
|
||||
status.InteractionPolicy = ap.ExtractInteractionPolicy(
|
||||
@@ -446,9 +447,11 @@ func (c *Converter) ASStatusToStatus(ctx context.Context, statusable ap.Statusab
|
||||
|
||||
// Set approvedByURI if present,
|
||||
// for later dereferencing.
|
||||
approvedByURI := ap.GetApprovedBy(statusable)
|
||||
if approvedByURI != nil {
|
||||
status.ApprovedByURI = approvedByURI.String()
|
||||
if ipa, ok := statusable.(ap.InteractionPolicyAware); ok {
|
||||
approvedByURI := ap.GetApprovedBy(ipa)
|
||||
if approvedByURI != nil {
|
||||
status.ApprovedByURI = approvedByURI.String()
|
||||
}
|
||||
}
|
||||
|
||||
// Assume not pending approval; this may
|
||||
|
@@ -21,7 +21,6 @@ import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"testing"
|
||||
|
||||
@@ -224,8 +223,7 @@ func (suite *ASToInternalTestSuite) TestParseOwncastService() {
|
||||
|
||||
b, err := json.Marshal(apiAcct)
|
||||
suite.NoError(err)
|
||||
|
||||
fmt.Printf("\n\n\n%s\n\n\n", string(b))
|
||||
suite.NotNil(b)
|
||||
}
|
||||
|
||||
func (suite *ASToInternalTestSuite) TestParseBookwyrmStatus() {
|
||||
@@ -282,6 +280,65 @@ func (suite *ASToInternalTestSuite) TestParseBookwyrmStatus() {
|
||||
suite.Len(status.Attachments, 1)
|
||||
}
|
||||
|
||||
func (suite *ASToInternalTestSuite) TestParseBandwagonAlbum() {
|
||||
authorAccount := suite.testAccounts["remote_account_1"]
|
||||
|
||||
raw := `{
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1",
|
||||
{
|
||||
"discoverable": "toot:discoverable",
|
||||
"indexable": "toot:indexable",
|
||||
"toot": "https://joinmastodon.org/ns#"
|
||||
},
|
||||
"https://funkwhale.audio/ns"
|
||||
],
|
||||
"artists": [
|
||||
{
|
||||
"id": "https://bandwagon.fm/@67a0a0808121f77ed3466870",
|
||||
"name": "Luka Prinčič",
|
||||
"type": "Artist"
|
||||
}
|
||||
],
|
||||
"attachment": [
|
||||
{
|
||||
"mediaType": "image/webp",
|
||||
"name": "image",
|
||||
"type": "Document",
|
||||
"url": "https://bandwagon.fm/67a0a219f050061c8b4ce427/attachments/67a0a21bf050061c8b4ce429"
|
||||
}
|
||||
],
|
||||
"attributedTo": "` + authorAccount.URI + `",
|
||||
"content": "... a transgenre mutation, a fluid entity, jagged pop, electro-funk, techno-cabaret, a schlager, and soft alternative, queer to the core, satire and tragedy, sharp and fun indulgence for the dance of bodies and brains, activism and hedonism, which would all like to steal your attention.\r\n\r\nDRAGX̶FUNK is pronounced /dɹæɡɑːfʌŋk/.\r\n\r\n---\r\n\r\n## Buy digital\r\n💳 [Stripe](https://buy.stripe.com/6oE8x52iG1Kq5pKeV3)\r\n\r\n---\r\n\r\n## Buy dl/merch\r\n🎵 [Bandcamp](https://lukaprincic.bandcamp.com/album/dragx-funk) \r\n\r\n---\r\n\r\n## More:\r\n🌐 [prin.lu](https://prin.lu/music/241205_dragx-funk/) \r\n👉 [kamizdat.si](https://kamizdat.si/releases/dragx-funk-2/)\r\n",
|
||||
"context": "https://bandwagon.fm/67a0a219f050061c8b4ce427",
|
||||
"id": "https://bandwagon.fm/67a0a219f050061c8b4ce427",
|
||||
"library": "https://bandwagon.fm/67a0a219f050061c8b4ce427/pub/children",
|
||||
"license": "CC-BY-NC-SA",
|
||||
"name": "DRAGX̶FUNK",
|
||||
"published": "2025-03-17T11:40:53Z",
|
||||
"to": [
|
||||
"https://www.w3.org/ns/activitystreams#Public"
|
||||
],
|
||||
"tracks": "https://bandwagon.fm/67a0a219f050061c8b4ce427/pub/children",
|
||||
"type": "Album",
|
||||
"url": "https://bandwagon.fm/67a0a219f050061c8b4ce427"
|
||||
}`
|
||||
|
||||
t := suite.jsonToType(raw)
|
||||
asArticle, ok := t.(ap.Statusable)
|
||||
if !ok {
|
||||
suite.FailNow("type not coercible")
|
||||
}
|
||||
|
||||
s, err := suite.typeconverter.ASStatusToStatus(context.Background(), asArticle)
|
||||
if err != nil {
|
||||
suite.FailNow(err.Error())
|
||||
}
|
||||
suite.NotNil(s)
|
||||
suite.NoError(err)
|
||||
}
|
||||
|
||||
func (suite *ASToInternalTestSuite) TestParseFlag1() {
|
||||
reportedAccount := suite.testAccounts["local_account_1"]
|
||||
reportingAccount := suite.testAccounts["remote_account_1"]
|
||||
|
@@ -705,35 +705,38 @@ func (c *Converter) StatusToAS(ctx context.Context, s *gtsmodel.Status) (ap.Stat
|
||||
status.SetActivityStreamsSensitive(sensitiveProp)
|
||||
|
||||
// interactionPolicy
|
||||
var p *gtsmodel.InteractionPolicy
|
||||
if s.InteractionPolicy != nil {
|
||||
// Use InteractionPolicy
|
||||
// set on the status.
|
||||
p = s.InteractionPolicy
|
||||
} else {
|
||||
// Fall back to default policy
|
||||
// for the status's visibility.
|
||||
p = gtsmodel.DefaultInteractionPolicyFor(s.Visibility)
|
||||
}
|
||||
policy, err := c.InteractionPolicyToASInteractionPolicy(ctx, p, s)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error creating interactionPolicy: %w", err)
|
||||
}
|
||||
|
||||
policyProp := streams.NewGoToSocialInteractionPolicyProperty()
|
||||
policyProp.AppendGoToSocialInteractionPolicy(policy)
|
||||
status.SetGoToSocialInteractionPolicy(policyProp)
|
||||
|
||||
// Parse + set approvedBy.
|
||||
if s.ApprovedByURI != "" {
|
||||
approvedBy, err := url.Parse(s.ApprovedByURI)
|
||||
if ipa, ok := status.(ap.InteractionPolicyAware); ok {
|
||||
var p *gtsmodel.InteractionPolicy
|
||||
if s.InteractionPolicy != nil {
|
||||
// Use InteractionPolicy
|
||||
// set on the status.
|
||||
p = s.InteractionPolicy
|
||||
} else {
|
||||
// Fall back to default policy
|
||||
// for the status's visibility.
|
||||
p = gtsmodel.DefaultInteractionPolicyFor(s.Visibility)
|
||||
}
|
||||
policy, err := c.InteractionPolicyToASInteractionPolicy(ctx, p, s)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error parsing approvedBy: %w", err)
|
||||
return nil, fmt.Errorf("error creating interactionPolicy: %w", err)
|
||||
}
|
||||
|
||||
approvedByProp := streams.NewGoToSocialApprovedByProperty()
|
||||
approvedByProp.Set(approvedBy)
|
||||
status.SetGoToSocialApprovedBy(approvedByProp)
|
||||
// Set interaction policy.
|
||||
policyProp := streams.NewGoToSocialInteractionPolicyProperty()
|
||||
policyProp.AppendGoToSocialInteractionPolicy(policy)
|
||||
ipa.SetGoToSocialInteractionPolicy(policyProp)
|
||||
|
||||
// Parse + set approvedBy.
|
||||
if s.ApprovedByURI != "" {
|
||||
approvedBy, err := url.Parse(s.ApprovedByURI)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error parsing approvedBy: %w", err)
|
||||
}
|
||||
|
||||
approvedByProp := streams.NewGoToSocialApprovedByProperty()
|
||||
approvedByProp.Set(approvedBy)
|
||||
ipa.SetGoToSocialApprovedBy(approvedByProp)
|
||||
}
|
||||
}
|
||||
|
||||
return status, nil
|
||||
|
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go
generated
vendored
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go
generated
vendored
@@ -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"
|
||||
|
||||
|
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go
generated
vendored
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go
generated
vendored
@@ -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)
|
||||
|
59
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go
generated
vendored
59
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go
generated
vendored
@@ -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 {
|
||||
|
52
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go
generated
vendored
52
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go
generated
vendored
@@ -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"
|
||||
|
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_disjoint.go
generated
vendored
Normal file
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_disjoint.go
generated
vendored
Normal 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)
|
||||
}
|
39
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extendedby.go
generated
vendored
Normal file
39
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extendedby.go
generated
vendored
Normal 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)
|
||||
}
|
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extends.go
generated
vendored
Normal file
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_extends.go
generated
vendored
Normal 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)
|
||||
}
|
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_isorextends.go
generated
vendored
Normal file
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_isorextends.go
generated
vendored
Normal 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)
|
||||
}
|
31
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_type_constructors.go
generated
vendored
Normal file
31
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_funkwhale_type_constructors.go
generated
vendored
Normal 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()
|
||||
}
|
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
generated
vendored
12
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
generated
vendored
@@ -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
|
||||
|
@@ -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 {
|
||||
|
44
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go
generated
vendored
44
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go
generated
vendored
@@ -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 {
|
||||
|
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_doc.go
generated
vendored
Normal 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
|
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_pkg.go
generated
vendored
Normal file
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_pkg.go
generated
vendored
Normal 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
|
||||
}
|
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go
generated
vendored
Normal file
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_album/gen_type_funkwhale_album.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_doc.go
generated
vendored
Normal 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
|
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_pkg.go
generated
vendored
Normal file
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_pkg.go
generated
vendored
Normal 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
|
||||
}
|
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go
generated
vendored
Normal file
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_artist/gen_type_funkwhale_artist.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_doc.go
generated
vendored
Normal 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
|
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_pkg.go
generated
vendored
Normal file
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_pkg.go
generated
vendored
Normal 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
|
||||
}
|
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go
generated
vendored
Normal file
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_library/gen_type_funkwhale_library.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_doc.go
generated
vendored
Normal 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
|
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_pkg.go
generated
vendored
Normal file
179
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_pkg.go
generated
vendored
Normal 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
|
||||
}
|
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go
generated
vendored
Normal file
1639
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/funkwhale/type_track/gen_type_funkwhale_track.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
6
vendor/codeberg.org/superseriousbusiness/activity/streams/util.go
generated
vendored
6
vendor/codeberg.org/superseriousbusiness/activity/streams/util.go
generated
vendored
@@ -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
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user