mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] Update activity
to v1.14.0 (#4038)
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.6
|
||||
codeberg.org/superseriousbusiness/activity v1.13.0-gts
|
||||
codeberg.org/superseriousbusiness/activity v1.14.0
|
||||
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.6 h1:FSbJ1A0ubTQB82rC0K4o6qyiqrDGH1t9ivttm8Zy64o=
|
||||
codeberg.org/gruf/go-structr v0.9.6/go.mod h1:9k5hYztZ4PsBS+m1v5hUTeFiVUBTLF5VA7d9cd1OEMs=
|
||||
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/activity v1.14.0 h1:z+jBjAIane9+Oqu6vO+tNvvNoji+OLU8KYDJ+R+ih+I=
|
||||
codeberg.org/superseriousbusiness/activity v1.14.0/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=
|
||||
|
42
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go
generated
vendored
42
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_consts.go
generated
vendored
@@ -20,6 +20,12 @@ var ActivityStreamsAnnounceName string = "Announce"
|
||||
// GoToSocialAnnounceApprovalName is the string literal of the name for the AnnounceApproval type in the GoToSocial vocabulary.
|
||||
var GoToSocialAnnounceApprovalName string = "AnnounceApproval"
|
||||
|
||||
// GoToSocialAnnounceAuthorizationName is the string literal of the name for the AnnounceAuthorization type in the GoToSocial vocabulary.
|
||||
var GoToSocialAnnounceAuthorizationName string = "AnnounceAuthorization"
|
||||
|
||||
// GoToSocialAnnounceRequestName is the string literal of the name for the AnnounceRequest type in the GoToSocial vocabulary.
|
||||
var GoToSocialAnnounceRequestName string = "AnnounceRequest"
|
||||
|
||||
// ActivityStreamsApplicationName is the string literal of the name for the Application type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsApplicationName string = "Application"
|
||||
|
||||
@@ -44,6 +50,9 @@ var GoToSocialCanAnnounceName string = "CanAnnounce"
|
||||
// GoToSocialCanLikeName is the string literal of the name for the CanLike type in the GoToSocial vocabulary.
|
||||
var GoToSocialCanLikeName string = "CanLike"
|
||||
|
||||
// GoToSocialCanQuoteName is the string literal of the name for the CanQuote type in the GoToSocial vocabulary.
|
||||
var GoToSocialCanQuoteName string = "CanQuote"
|
||||
|
||||
// GoToSocialCanReplyName is the string literal of the name for the CanReply type in the GoToSocial vocabulary.
|
||||
var GoToSocialCanReplyName string = "CanReply"
|
||||
|
||||
@@ -119,6 +128,12 @@ var ActivityStreamsLikeName string = "Like"
|
||||
// GoToSocialLikeApprovalName is the string literal of the name for the LikeApproval type in the GoToSocial vocabulary.
|
||||
var GoToSocialLikeApprovalName string = "LikeApproval"
|
||||
|
||||
// GoToSocialLikeAuthorizationName is the string literal of the name for the LikeAuthorization type in the GoToSocial vocabulary.
|
||||
var GoToSocialLikeAuthorizationName string = "LikeAuthorization"
|
||||
|
||||
// GoToSocialLikeRequestName is the string literal of the name for the LikeRequest type in the GoToSocial vocabulary.
|
||||
var GoToSocialLikeRequestName string = "LikeRequest"
|
||||
|
||||
// ActivityStreamsLinkName is the string literal of the name for the Link type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsLinkName string = "Link"
|
||||
|
||||
@@ -185,6 +200,12 @@ var ActivityStreamsRemoveName string = "Remove"
|
||||
// GoToSocialReplyApprovalName is the string literal of the name for the ReplyApproval type in the GoToSocial vocabulary.
|
||||
var GoToSocialReplyApprovalName string = "ReplyApproval"
|
||||
|
||||
// GoToSocialReplyAuthorizationName is the string literal of the name for the ReplyAuthorization type in the GoToSocial vocabulary.
|
||||
var GoToSocialReplyAuthorizationName string = "ReplyAuthorization"
|
||||
|
||||
// GoToSocialReplyRequestName is the string literal of the name for the ReplyRequest type in the GoToSocial vocabulary.
|
||||
var GoToSocialReplyRequestName string = "ReplyRequest"
|
||||
|
||||
// ActivityStreamsServiceName is the string literal of the name for the Service type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsServiceName string = "Service"
|
||||
|
||||
@@ -248,6 +269,9 @@ var ActivityStreamsAttributedToPropertyName string = "attributedTo"
|
||||
// ActivityStreamsAudiencePropertyName is the string literal of the name for the audience property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsAudiencePropertyName string = "audience"
|
||||
|
||||
// GoToSocialAutomaticApprovalPropertyName is the string literal of the name for the automaticApproval property in the GoToSocial vocabulary.
|
||||
var GoToSocialAutomaticApprovalPropertyName string = "automaticApproval"
|
||||
|
||||
// ActivityStreamsBccPropertyName is the string literal of the name for the bcc property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsBccPropertyName string = "bcc"
|
||||
|
||||
@@ -263,6 +287,9 @@ var GoToSocialCanAnnouncePropertyName string = "canAnnounce"
|
||||
// GoToSocialCanLikePropertyName is the string literal of the name for the canLike property in the GoToSocial vocabulary.
|
||||
var GoToSocialCanLikePropertyName string = "canLike"
|
||||
|
||||
// GoToSocialCanQuotePropertyName is the string literal of the name for the canQuote property in the GoToSocial vocabulary.
|
||||
var GoToSocialCanQuotePropertyName string = "canQuote"
|
||||
|
||||
// GoToSocialCanReplyPropertyName is the string literal of the name for the canReply property in the GoToSocial vocabulary.
|
||||
var GoToSocialCanReplyPropertyName string = "canReply"
|
||||
|
||||
@@ -308,6 +335,9 @@ var TootFeaturedPropertyName string = "featured"
|
||||
// ActivityStreamsFirstPropertyName is the string literal of the name for the first property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsFirstPropertyName string = "first"
|
||||
|
||||
// TootFocalPointPropertyName is the string literal of the name for the focalPoint property in the Toot vocabulary.
|
||||
var TootFocalPointPropertyName string = "focalPoint"
|
||||
|
||||
// ActivityStreamsFollowersPropertyName is the string literal of the name for the followers property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsFollowersPropertyName string = "followers"
|
||||
|
||||
@@ -341,12 +371,21 @@ var ActivityStreamsInReplyToPropertyName string = "inReplyTo"
|
||||
// ActivityStreamsInboxPropertyName is the string literal of the name for the inbox property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsInboxPropertyName string = "inbox"
|
||||
|
||||
// TootIndexablePropertyName is the string literal of the name for the indexable property in the Toot vocabulary.
|
||||
var TootIndexablePropertyName string = "indexable"
|
||||
|
||||
// ActivityStreamsInstrumentPropertyName is the string literal of the name for the instrument property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsInstrumentPropertyName string = "instrument"
|
||||
|
||||
// GoToSocialInteractingObjectPropertyName is the string literal of the name for the interactingObject property in the GoToSocial vocabulary.
|
||||
var GoToSocialInteractingObjectPropertyName string = "interactingObject"
|
||||
|
||||
// GoToSocialInteractionPolicyPropertyName is the string literal of the name for the interactionPolicy property in the GoToSocial vocabulary.
|
||||
var GoToSocialInteractionPolicyPropertyName string = "interactionPolicy"
|
||||
|
||||
// GoToSocialInteractionTargetPropertyName is the string literal of the name for the interactionTarget property in the GoToSocial vocabulary.
|
||||
var GoToSocialInteractionTargetPropertyName string = "interactionTarget"
|
||||
|
||||
// ActivityStreamsItemsPropertyName is the string literal of the name for the items property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsItemsPropertyName string = "items"
|
||||
|
||||
@@ -368,6 +407,9 @@ var ActivityStreamsLocationPropertyName string = "location"
|
||||
// ActivityStreamsLongitudePropertyName is the string literal of the name for the longitude property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsLongitudePropertyName string = "longitude"
|
||||
|
||||
// GoToSocialManualApprovalPropertyName is the string literal of the name for the manualApproval property in the GoToSocial vocabulary.
|
||||
var GoToSocialManualApprovalPropertyName string = "manualApproval"
|
||||
|
||||
// ActivityStreamsManuallyApprovesFollowersPropertyName is the string literal of the name for the manuallyApprovesFollowers property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsManuallyApprovesFollowersPropertyName string = "manuallyApprovesFollowers"
|
||||
|
||||
|
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go
generated
vendored
35
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_init.go
generated
vendored
@@ -142,22 +142,36 @@ import (
|
||||
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"
|
||||
propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval"
|
||||
propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce"
|
||||
propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike"
|
||||
propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote"
|
||||
propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply"
|
||||
propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject"
|
||||
propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy"
|
||||
propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget"
|
||||
propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval"
|
||||
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
|
||||
typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
|
||||
typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
|
||||
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
|
||||
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
|
||||
typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
|
||||
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
|
||||
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
|
||||
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
|
||||
typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
|
||||
typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
|
||||
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
|
||||
typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
|
||||
typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
|
||||
propertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value"
|
||||
typepropertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue"
|
||||
propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
|
||||
propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable"
|
||||
propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured"
|
||||
propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint"
|
||||
propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable"
|
||||
propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm"
|
||||
propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
|
||||
propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
|
||||
@@ -322,22 +336,36 @@ func init() {
|
||||
propertyalways.SetManager(mgr)
|
||||
propertyapprovalrequired.SetManager(mgr)
|
||||
propertyapprovedby.SetManager(mgr)
|
||||
propertyautomaticapproval.SetManager(mgr)
|
||||
propertycanannounce.SetManager(mgr)
|
||||
propertycanlike.SetManager(mgr)
|
||||
propertycanquote.SetManager(mgr)
|
||||
propertycanreply.SetManager(mgr)
|
||||
propertyinteractingobject.SetManager(mgr)
|
||||
propertyinteractionpolicy.SetManager(mgr)
|
||||
propertyinteractiontarget.SetManager(mgr)
|
||||
propertymanualapproval.SetManager(mgr)
|
||||
typeannounceapproval.SetManager(mgr)
|
||||
typeannounceauthorization.SetManager(mgr)
|
||||
typeannouncerequest.SetManager(mgr)
|
||||
typecanannounce.SetManager(mgr)
|
||||
typecanlike.SetManager(mgr)
|
||||
typecanquote.SetManager(mgr)
|
||||
typecanreply.SetManager(mgr)
|
||||
typeinteractionpolicy.SetManager(mgr)
|
||||
typelikeapproval.SetManager(mgr)
|
||||
typelikeauthorization.SetManager(mgr)
|
||||
typelikerequest.SetManager(mgr)
|
||||
typereplyapproval.SetManager(mgr)
|
||||
typereplyauthorization.SetManager(mgr)
|
||||
typereplyrequest.SetManager(mgr)
|
||||
propertyvalue.SetManager(mgr)
|
||||
typepropertyvalue.SetManager(mgr)
|
||||
propertyblurhash.SetManager(mgr)
|
||||
propertydiscoverable.SetManager(mgr)
|
||||
propertyfeatured.SetManager(mgr)
|
||||
propertyfocalpoint.SetManager(mgr)
|
||||
propertyindexable.SetManager(mgr)
|
||||
propertysignaturealgorithm.SetManager(mgr)
|
||||
propertysignaturevalue.SetManager(mgr)
|
||||
propertyvoterscount.SetManager(mgr)
|
||||
@@ -408,12 +436,19 @@ func init() {
|
||||
typelibrary.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typetrack.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeannounceapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeannounceauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeannouncerequest.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typecanannounce.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typecanlike.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typecanquote.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typecanreply.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeinteractionpolicy.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typelikeapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typelikeauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typelikerequest.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typereplyapproval.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typereplyauthorization.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typereplyrequest.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typepropertyvalue.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
|
91
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go
generated
vendored
91
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_json_resolver.go
generated
vendored
@@ -43,6 +43,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceApproval) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceAuthorization) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceRequest) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsApplication) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsArrive) error:
|
||||
@@ -59,6 +63,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialCanLike) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialCanQuote) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialCanReply) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCollection) error:
|
||||
@@ -109,6 +115,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeApproval) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeAuthorization) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeRequest) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsLink) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsListen) error:
|
||||
@@ -153,6 +163,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialReplyApproval) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialReplyAuthorization) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialReplyRequest) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsService) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTentativeAccept) error:
|
||||
@@ -354,6 +368,28 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == GoToSocialAlias+"AnnounceAuthorization" {
|
||||
v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceAuthorization) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == GoToSocialAlias+"AnnounceRequest" {
|
||||
v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceRequest) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Application" {
|
||||
v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
@@ -442,6 +478,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == GoToSocialAlias+"CanQuote" {
|
||||
v, err := mgr.DeserializeCanQuoteGoToSocial()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialCanQuote) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == GoToSocialAlias+"CanReply" {
|
||||
v, err := mgr.DeserializeCanReplyGoToSocial()(m, aliasMap)
|
||||
if err != nil {
|
||||
@@ -717,6 +764,28 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == GoToSocialAlias+"LikeAuthorization" {
|
||||
v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeAuthorization) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == GoToSocialAlias+"LikeRequest" {
|
||||
v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeRequest) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Link" {
|
||||
v, err := mgr.DeserializeLinkActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
@@ -959,6 +1028,28 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == GoToSocialAlias+"ReplyAuthorization" {
|
||||
v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyAuthorization) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == GoToSocialAlias+"ReplyRequest" {
|
||||
v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyRequest) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Service" {
|
||||
v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
193
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go
generated
vendored
193
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_manager.go
generated
vendored
@@ -142,17 +142,29 @@ import (
|
||||
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"
|
||||
propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval"
|
||||
propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce"
|
||||
propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike"
|
||||
propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote"
|
||||
propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply"
|
||||
propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject"
|
||||
propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy"
|
||||
propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget"
|
||||
propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval"
|
||||
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
|
||||
typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
|
||||
typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
|
||||
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
|
||||
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
|
||||
typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
|
||||
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
|
||||
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
|
||||
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
|
||||
typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
|
||||
typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
|
||||
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
|
||||
typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
|
||||
typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
|
||||
propertyid "codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_id"
|
||||
propertytype "codeberg.org/superseriousbusiness/activity/streams/impl/jsonld/property_type"
|
||||
propertyvalue "codeberg.org/superseriousbusiness/activity/streams/impl/schema/property_value"
|
||||
@@ -160,6 +172,8 @@ import (
|
||||
propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
|
||||
propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable"
|
||||
propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured"
|
||||
propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint"
|
||||
propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable"
|
||||
propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm"
|
||||
propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
|
||||
propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
|
||||
@@ -321,6 +335,32 @@ func (this Manager) DeserializeAnnounceApprovalGoToSocial() func(map[string]inte
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceAuthorization" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
func (this Manager) DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAnnounceAuthorization, error) {
|
||||
i, err := typeannounceauthorization.DeserializeAnnounceAuthorization(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method for the
|
||||
// "GoToSocialAnnounceRequest" non-functional property in the vocabulary
|
||||
// "GoToSocial"
|
||||
func (this Manager) DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAnnounceRequest, error) {
|
||||
i, err := typeannouncerequest.DeserializeAnnounceRequest(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeAnyOfPropertyActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsAnyOfProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
@@ -463,6 +503,19 @@ func (this Manager) DeserializeAudioActivityStreams() func(map[string]interface{
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeAutomaticApprovalPropertyGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAutomaticApprovalProperty" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
func (this Manager) DeserializeAutomaticApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) {
|
||||
i, err := propertyautomaticapproval.DeserializeAutomaticApprovalProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeBccPropertyActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsBccProperty" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -565,6 +618,31 @@ func (this Manager) DeserializeCanLikePropertyGoToSocial() func(map[string]inter
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeCanQuoteGoToSocial returns the deserialization method for the
|
||||
// "GoToSocialCanQuote" non-functional property in the vocabulary "GoToSocial"
|
||||
func (this Manager) DeserializeCanQuoteGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuote, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialCanQuote, error) {
|
||||
i, err := typecanquote.DeserializeCanQuote(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeCanQuotePropertyGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialCanQuoteProperty" non-functional property in the vocabulary
|
||||
// "GoToSocial"
|
||||
func (this Manager) DeserializeCanQuotePropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuoteProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialCanQuoteProperty, error) {
|
||||
i, err := propertycanquote.DeserializeCanQuoteProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeCanReplyGoToSocial returns the deserialization method for the
|
||||
// "GoToSocialCanReply" non-functional property in the vocabulary "GoToSocial"
|
||||
func (this Manager) DeserializeCanReplyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanReply, error) {
|
||||
@@ -886,6 +964,18 @@ func (this Manager) DeserializeFlagActivityStreams() func(map[string]interface{}
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method for the
|
||||
// "TootFocalPointProperty" non-functional property in the vocabulary "Toot"
|
||||
func (this Manager) DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.TootFocalPointProperty, error) {
|
||||
i, err := propertyfocalpoint.DeserializeFocalPointProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeFollowActivityStreams returns the deserialization method for the
|
||||
// "ActivityStreamsFollow" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -1117,6 +1207,18 @@ func (this Manager) DeserializeInboxPropertyActivityStreams() func(map[string]in
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for the
|
||||
// "TootIndexableProperty" non-functional property in the vocabulary "Toot"
|
||||
func (this Manager) DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.TootIndexableProperty, error) {
|
||||
i, err := propertyindexable.DeserializeIndexableProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeInstrumentPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsInstrumentProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
@@ -1130,6 +1232,19 @@ func (this Manager) DeserializeInstrumentPropertyActivityStreams() func(map[stri
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeInteractingObjectPropertyGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialInteractingObjectProperty" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
func (this Manager) DeserializeInteractingObjectPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) {
|
||||
i, err := propertyinteractingobject.DeserializeInteractingObjectProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeInteractionPolicyGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialInteractionPolicy" non-functional property in the vocabulary
|
||||
// "GoToSocial"
|
||||
@@ -1156,6 +1271,19 @@ func (this Manager) DeserializeInteractionPolicyPropertyGoToSocial() func(map[st
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeInteractionTargetPropertyGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialInteractionTargetProperty" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
func (this Manager) DeserializeInteractionTargetPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) {
|
||||
i, err := propertyinteractiontarget.DeserializeInteractionTargetProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeIntransitiveActivityActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsIntransitiveActivity" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
@@ -1285,6 +1413,32 @@ func (this Manager) DeserializeLikeApprovalGoToSocial() func(map[string]interfac
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeAuthorization" non-functional property in the vocabulary
|
||||
// "GoToSocial"
|
||||
func (this Manager) DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialLikeAuthorization, error) {
|
||||
i, err := typelikeauthorization.DeserializeLikeAuthorization(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for the
|
||||
// "GoToSocialLikeRequest" non-functional property in the vocabulary
|
||||
// "GoToSocial"
|
||||
func (this Manager) DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialLikeRequest, error) {
|
||||
i, err := typelikerequest.DeserializeLikeRequest(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLikedProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
@@ -1363,6 +1517,19 @@ func (this Manager) DeserializeLongitudePropertyActivityStreams() func(map[strin
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeManualApprovalPropertyGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialManualApprovalProperty" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
func (this Manager) DeserializeManualApprovalPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialManualApprovalProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialManualApprovalProperty, error) {
|
||||
i, err := propertymanualapproval.DeserializeManualApprovalProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeManuallyApprovesFollowersPropertyActivityStreams returns the
|
||||
// deserialization method for the
|
||||
// "ActivityStreamsManuallyApprovesFollowersProperty" non-functional property
|
||||
@@ -1909,6 +2076,32 @@ func (this Manager) DeserializeReplyApprovalGoToSocial() func(map[string]interfa
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialReplyAuthorization" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
func (this Manager) DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialReplyAuthorization, error) {
|
||||
i, err := typereplyauthorization.DeserializeReplyAuthorization(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method for the
|
||||
// "GoToSocialReplyRequest" non-functional property in the vocabulary
|
||||
// "GoToSocial"
|
||||
func (this Manager) DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialReplyRequest, error) {
|
||||
i, err := typereplyrequest.DeserializeReplyRequest(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeResultPropertyActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsResultProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
49
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go
generated
vendored
49
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_disjoint.go
generated
vendored
@@ -4,12 +4,19 @@ package streams
|
||||
|
||||
import (
|
||||
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
|
||||
typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
|
||||
typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
|
||||
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
|
||||
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
|
||||
typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
|
||||
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
|
||||
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
|
||||
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
|
||||
typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
|
||||
typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
|
||||
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
|
||||
typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
|
||||
typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
@@ -19,6 +26,18 @@ func GoToSocialAnnounceApprovalIsDisjointWith(other vocab.Type) bool {
|
||||
return typeannounceapproval.AnnounceApprovalIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// GoToSocialAnnounceAuthorizationIsDisjointWith returns true if
|
||||
// AnnounceAuthorization is disjoint with the other's type.
|
||||
func GoToSocialAnnounceAuthorizationIsDisjointWith(other vocab.Type) bool {
|
||||
return typeannounceauthorization.AnnounceAuthorizationIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// GoToSocialAnnounceRequestIsDisjointWith returns true if AnnounceRequest is
|
||||
// disjoint with the other's type.
|
||||
func GoToSocialAnnounceRequestIsDisjointWith(other vocab.Type) bool {
|
||||
return typeannouncerequest.AnnounceRequestIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// GoToSocialCanAnnounceIsDisjointWith returns true if CanAnnounce is disjoint
|
||||
// with the other's type.
|
||||
func GoToSocialCanAnnounceIsDisjointWith(other vocab.Type) bool {
|
||||
@@ -31,6 +50,12 @@ func GoToSocialCanLikeIsDisjointWith(other vocab.Type) bool {
|
||||
return typecanlike.CanLikeIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// GoToSocialCanQuoteIsDisjointWith returns true if CanQuote is disjoint with the
|
||||
// other's type.
|
||||
func GoToSocialCanQuoteIsDisjointWith(other vocab.Type) bool {
|
||||
return typecanquote.CanQuoteIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// GoToSocialCanReplyIsDisjointWith returns true if CanReply is disjoint with the
|
||||
// other's type.
|
||||
func GoToSocialCanReplyIsDisjointWith(other vocab.Type) bool {
|
||||
@@ -49,8 +74,32 @@ func GoToSocialLikeApprovalIsDisjointWith(other vocab.Type) bool {
|
||||
return typelikeapproval.LikeApprovalIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// GoToSocialLikeAuthorizationIsDisjointWith returns true if LikeAuthorization is
|
||||
// disjoint with the other's type.
|
||||
func GoToSocialLikeAuthorizationIsDisjointWith(other vocab.Type) bool {
|
||||
return typelikeauthorization.LikeAuthorizationIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// GoToSocialLikeRequestIsDisjointWith returns true if LikeRequest is disjoint
|
||||
// with the other's type.
|
||||
func GoToSocialLikeRequestIsDisjointWith(other vocab.Type) bool {
|
||||
return typelikerequest.LikeRequestIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// GoToSocialReplyApprovalIsDisjointWith returns true if ReplyApproval is disjoint
|
||||
// with the other's type.
|
||||
func GoToSocialReplyApprovalIsDisjointWith(other vocab.Type) bool {
|
||||
return typereplyapproval.ReplyApprovalIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// GoToSocialReplyAuthorizationIsDisjointWith returns true if ReplyAuthorization
|
||||
// is disjoint with the other's type.
|
||||
func GoToSocialReplyAuthorizationIsDisjointWith(other vocab.Type) bool {
|
||||
return typereplyauthorization.ReplyAuthorizationIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// GoToSocialReplyRequestIsDisjointWith returns true if ReplyRequest is disjoint
|
||||
// with the other's type.
|
||||
func GoToSocialReplyRequestIsDisjointWith(other vocab.Type) bool {
|
||||
return typereplyrequest.ReplyRequestIsDisjointWith(other)
|
||||
}
|
||||
|
@@ -4,12 +4,19 @@ package streams
|
||||
|
||||
import (
|
||||
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
|
||||
typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
|
||||
typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
|
||||
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
|
||||
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
|
||||
typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
|
||||
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
|
||||
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
|
||||
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
|
||||
typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
|
||||
typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
|
||||
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
|
||||
typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
|
||||
typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
@@ -20,6 +27,20 @@ func GoToSocialAnnounceApprovalIsExtendedBy(other vocab.Type) bool {
|
||||
return typeannounceapproval.AnnounceApprovalIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// GoToSocialAnnounceAuthorizationIsExtendedBy returns true if the other's type
|
||||
// extends from AnnounceAuthorization. Note that it returns false if the types
|
||||
// are the same; see the "IsOrExtends" variant instead.
|
||||
func GoToSocialAnnounceAuthorizationIsExtendedBy(other vocab.Type) bool {
|
||||
return typeannounceauthorization.AnnounceAuthorizationIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// GoToSocialAnnounceRequestIsExtendedBy returns true if the other's type extends
|
||||
// from AnnounceRequest. Note that it returns false if the types are the same;
|
||||
// see the "IsOrExtends" variant instead.
|
||||
func GoToSocialAnnounceRequestIsExtendedBy(other vocab.Type) bool {
|
||||
return typeannouncerequest.AnnounceRequestIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// GoToSocialCanAnnounceIsExtendedBy returns true if the other's type extends from
|
||||
// CanAnnounce. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
@@ -34,6 +55,13 @@ func GoToSocialCanLikeIsExtendedBy(other vocab.Type) bool {
|
||||
return typecanlike.CanLikeIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// GoToSocialCanQuoteIsExtendedBy returns true if the other's type extends from
|
||||
// CanQuote. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func GoToSocialCanQuoteIsExtendedBy(other vocab.Type) bool {
|
||||
return typecanquote.CanQuoteIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// GoToSocialCanReplyIsExtendedBy returns true if the other's type extends from
|
||||
// CanReply. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
@@ -55,9 +83,37 @@ func GoToSocialLikeApprovalIsExtendedBy(other vocab.Type) bool {
|
||||
return typelikeapproval.LikeApprovalIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// GoToSocialLikeAuthorizationIsExtendedBy returns true if the other's type
|
||||
// extends from LikeAuthorization. Note that it returns false if the types are
|
||||
// the same; see the "IsOrExtends" variant instead.
|
||||
func GoToSocialLikeAuthorizationIsExtendedBy(other vocab.Type) bool {
|
||||
return typelikeauthorization.LikeAuthorizationIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// GoToSocialLikeRequestIsExtendedBy returns true if the other's type extends from
|
||||
// LikeRequest. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func GoToSocialLikeRequestIsExtendedBy(other vocab.Type) bool {
|
||||
return typelikerequest.LikeRequestIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// GoToSocialReplyApprovalIsExtendedBy returns true if the other's type extends
|
||||
// from ReplyApproval. Note that it returns false if the types are the same;
|
||||
// see the "IsOrExtends" variant instead.
|
||||
func GoToSocialReplyApprovalIsExtendedBy(other vocab.Type) bool {
|
||||
return typereplyapproval.ReplyApprovalIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// GoToSocialReplyAuthorizationIsExtendedBy returns true if the other's type
|
||||
// extends from ReplyAuthorization. Note that it returns false if the types
|
||||
// are the same; see the "IsOrExtends" variant instead.
|
||||
func GoToSocialReplyAuthorizationIsExtendedBy(other vocab.Type) bool {
|
||||
return typereplyauthorization.ReplyAuthorizationIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// GoToSocialReplyRequestIsExtendedBy returns true if the other's type extends
|
||||
// from ReplyRequest. Note that it returns false if the types are the same;
|
||||
// see the "IsOrExtends" variant instead.
|
||||
func GoToSocialReplyRequestIsExtendedBy(other vocab.Type) bool {
|
||||
return typereplyrequest.ReplyRequestIsExtendedBy(other)
|
||||
}
|
||||
|
49
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
generated
vendored
49
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_pkg_gotosocial_extends.go
generated
vendored
@@ -4,12 +4,19 @@ package streams
|
||||
|
||||
import (
|
||||
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
|
||||
typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
|
||||
typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
|
||||
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
|
||||
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
|
||||
typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
|
||||
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
|
||||
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
|
||||
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
|
||||
typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
|
||||
typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
|
||||
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
|
||||
typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
|
||||
typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
@@ -19,6 +26,18 @@ func GoToSocialGoToSocialAnnounceApprovalExtends(other vocab.Type) bool {
|
||||
return typeannounceapproval.GoToSocialAnnounceApprovalExtends(other)
|
||||
}
|
||||
|
||||
// GoToSocialGoToSocialAnnounceAuthorizationExtends returns true if
|
||||
// AnnounceAuthorization extends from the other's type.
|
||||
func GoToSocialGoToSocialAnnounceAuthorizationExtends(other vocab.Type) bool {
|
||||
return typeannounceauthorization.GoToSocialAnnounceAuthorizationExtends(other)
|
||||
}
|
||||
|
||||
// GoToSocialGoToSocialAnnounceRequestExtends returns true if AnnounceRequest
|
||||
// extends from the other's type.
|
||||
func GoToSocialGoToSocialAnnounceRequestExtends(other vocab.Type) bool {
|
||||
return typeannouncerequest.GoToSocialAnnounceRequestExtends(other)
|
||||
}
|
||||
|
||||
// GoToSocialGoToSocialCanAnnounceExtends returns true if CanAnnounce extends from
|
||||
// the other's type.
|
||||
func GoToSocialGoToSocialCanAnnounceExtends(other vocab.Type) bool {
|
||||
@@ -31,6 +50,12 @@ func GoToSocialGoToSocialCanLikeExtends(other vocab.Type) bool {
|
||||
return typecanlike.GoToSocialCanLikeExtends(other)
|
||||
}
|
||||
|
||||
// GoToSocialGoToSocialCanQuoteExtends returns true if CanQuote extends from the
|
||||
// other's type.
|
||||
func GoToSocialGoToSocialCanQuoteExtends(other vocab.Type) bool {
|
||||
return typecanquote.GoToSocialCanQuoteExtends(other)
|
||||
}
|
||||
|
||||
// GoToSocialGoToSocialCanReplyExtends returns true if CanReply extends from the
|
||||
// other's type.
|
||||
func GoToSocialGoToSocialCanReplyExtends(other vocab.Type) bool {
|
||||
@@ -49,8 +74,32 @@ func GoToSocialGoToSocialLikeApprovalExtends(other vocab.Type) bool {
|
||||
return typelikeapproval.GoToSocialLikeApprovalExtends(other)
|
||||
}
|
||||
|
||||
// GoToSocialGoToSocialLikeAuthorizationExtends returns true if LikeAuthorization
|
||||
// extends from the other's type.
|
||||
func GoToSocialGoToSocialLikeAuthorizationExtends(other vocab.Type) bool {
|
||||
return typelikeauthorization.GoToSocialLikeAuthorizationExtends(other)
|
||||
}
|
||||
|
||||
// GoToSocialGoToSocialLikeRequestExtends returns true if LikeRequest extends from
|
||||
// the other's type.
|
||||
func GoToSocialGoToSocialLikeRequestExtends(other vocab.Type) bool {
|
||||
return typelikerequest.GoToSocialLikeRequestExtends(other)
|
||||
}
|
||||
|
||||
// GoToSocialGoToSocialReplyApprovalExtends returns true if ReplyApproval extends
|
||||
// from the other's type.
|
||||
func GoToSocialGoToSocialReplyApprovalExtends(other vocab.Type) bool {
|
||||
return typereplyapproval.GoToSocialReplyApprovalExtends(other)
|
||||
}
|
||||
|
||||
// GoToSocialGoToSocialReplyAuthorizationExtends returns true if
|
||||
// ReplyAuthorization extends from the other's type.
|
||||
func GoToSocialGoToSocialReplyAuthorizationExtends(other vocab.Type) bool {
|
||||
return typereplyauthorization.GoToSocialReplyAuthorizationExtends(other)
|
||||
}
|
||||
|
||||
// GoToSocialGoToSocialReplyRequestExtends returns true if ReplyRequest extends
|
||||
// from the other's type.
|
||||
func GoToSocialGoToSocialReplyRequestExtends(other vocab.Type) bool {
|
||||
return typereplyrequest.GoToSocialReplyRequestExtends(other)
|
||||
}
|
||||
|
@@ -4,12 +4,19 @@ package streams
|
||||
|
||||
import (
|
||||
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
|
||||
typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
|
||||
typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
|
||||
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
|
||||
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
|
||||
typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
|
||||
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
|
||||
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
|
||||
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
|
||||
typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
|
||||
typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
|
||||
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
|
||||
typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
|
||||
typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
@@ -19,6 +26,19 @@ func IsOrExtendsGoToSocialAnnounceApproval(other vocab.Type) bool {
|
||||
return typeannounceapproval.IsOrExtendsAnnounceApproval(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsGoToSocialAnnounceAuthorization returns true if the other provided
|
||||
// type is the AnnounceAuthorization type or extends from the
|
||||
// AnnounceAuthorization type.
|
||||
func IsOrExtendsGoToSocialAnnounceAuthorization(other vocab.Type) bool {
|
||||
return typeannounceauthorization.IsOrExtendsAnnounceAuthorization(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsGoToSocialAnnounceRequest returns true if the other provided type is
|
||||
// the AnnounceRequest type or extends from the AnnounceRequest type.
|
||||
func IsOrExtendsGoToSocialAnnounceRequest(other vocab.Type) bool {
|
||||
return typeannouncerequest.IsOrExtendsAnnounceRequest(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsGoToSocialCanAnnounce returns true if the other provided type is the
|
||||
// CanAnnounce type or extends from the CanAnnounce type.
|
||||
func IsOrExtendsGoToSocialCanAnnounce(other vocab.Type) bool {
|
||||
@@ -31,6 +51,12 @@ func IsOrExtendsGoToSocialCanLike(other vocab.Type) bool {
|
||||
return typecanlike.IsOrExtendsCanLike(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsGoToSocialCanQuote returns true if the other provided type is the
|
||||
// CanQuote type or extends from the CanQuote type.
|
||||
func IsOrExtendsGoToSocialCanQuote(other vocab.Type) bool {
|
||||
return typecanquote.IsOrExtendsCanQuote(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsGoToSocialCanReply returns true if the other provided type is the
|
||||
// CanReply type or extends from the CanReply type.
|
||||
func IsOrExtendsGoToSocialCanReply(other vocab.Type) bool {
|
||||
@@ -49,8 +75,32 @@ func IsOrExtendsGoToSocialLikeApproval(other vocab.Type) bool {
|
||||
return typelikeapproval.IsOrExtendsLikeApproval(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsGoToSocialLikeAuthorization returns true if the other provided type
|
||||
// is the LikeAuthorization type or extends from the LikeAuthorization type.
|
||||
func IsOrExtendsGoToSocialLikeAuthorization(other vocab.Type) bool {
|
||||
return typelikeauthorization.IsOrExtendsLikeAuthorization(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsGoToSocialLikeRequest returns true if the other provided type is the
|
||||
// LikeRequest type or extends from the LikeRequest type.
|
||||
func IsOrExtendsGoToSocialLikeRequest(other vocab.Type) bool {
|
||||
return typelikerequest.IsOrExtendsLikeRequest(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsGoToSocialReplyApproval returns true if the other provided type is
|
||||
// the ReplyApproval type or extends from the ReplyApproval type.
|
||||
func IsOrExtendsGoToSocialReplyApproval(other vocab.Type) bool {
|
||||
return typereplyapproval.IsOrExtendsReplyApproval(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsGoToSocialReplyAuthorization returns true if the other provided type
|
||||
// is the ReplyAuthorization type or extends from the ReplyAuthorization type.
|
||||
func IsOrExtendsGoToSocialReplyAuthorization(other vocab.Type) bool {
|
||||
return typereplyauthorization.IsOrExtendsReplyAuthorization(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsGoToSocialReplyRequest returns true if the other provided type is
|
||||
// the ReplyRequest type or extends from the ReplyRequest type.
|
||||
func IsOrExtendsGoToSocialReplyRequest(other vocab.Type) bool {
|
||||
return typereplyrequest.IsOrExtendsReplyRequest(other)
|
||||
}
|
||||
|
@@ -6,10 +6,15 @@ import (
|
||||
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"
|
||||
propertyautomaticapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval"
|
||||
propertycanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canannounce"
|
||||
propertycanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike"
|
||||
propertycanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote"
|
||||
propertycanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply"
|
||||
propertyinteractingobject "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject"
|
||||
propertyinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy"
|
||||
propertyinteractiontarget "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget"
|
||||
propertymanualapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
@@ -30,6 +35,12 @@ func NewGoToSocialApprovedByProperty() vocab.GoToSocialApprovedByProperty {
|
||||
return propertyapprovedby.NewGoToSocialApprovedByProperty()
|
||||
}
|
||||
|
||||
// NewGoToSocialGoToSocialAutomaticApprovalProperty creates a new
|
||||
// GoToSocialAutomaticApprovalProperty
|
||||
func NewGoToSocialAutomaticApprovalProperty() vocab.GoToSocialAutomaticApprovalProperty {
|
||||
return propertyautomaticapproval.NewGoToSocialAutomaticApprovalProperty()
|
||||
}
|
||||
|
||||
// NewGoToSocialGoToSocialCanAnnounceProperty creates a new
|
||||
// GoToSocialCanAnnounceProperty
|
||||
func NewGoToSocialCanAnnounceProperty() vocab.GoToSocialCanAnnounceProperty {
|
||||
@@ -41,13 +52,36 @@ func NewGoToSocialCanLikeProperty() vocab.GoToSocialCanLikeProperty {
|
||||
return propertycanlike.NewGoToSocialCanLikeProperty()
|
||||
}
|
||||
|
||||
// NewGoToSocialGoToSocialCanQuoteProperty creates a new GoToSocialCanQuoteProperty
|
||||
func NewGoToSocialCanQuoteProperty() vocab.GoToSocialCanQuoteProperty {
|
||||
return propertycanquote.NewGoToSocialCanQuoteProperty()
|
||||
}
|
||||
|
||||
// NewGoToSocialGoToSocialCanReplyProperty creates a new GoToSocialCanReplyProperty
|
||||
func NewGoToSocialCanReplyProperty() vocab.GoToSocialCanReplyProperty {
|
||||
return propertycanreply.NewGoToSocialCanReplyProperty()
|
||||
}
|
||||
|
||||
// NewGoToSocialGoToSocialInteractingObjectProperty creates a new
|
||||
// GoToSocialInteractingObjectProperty
|
||||
func NewGoToSocialInteractingObjectProperty() vocab.GoToSocialInteractingObjectProperty {
|
||||
return propertyinteractingobject.NewGoToSocialInteractingObjectProperty()
|
||||
}
|
||||
|
||||
// NewGoToSocialGoToSocialInteractionPolicyProperty creates a new
|
||||
// GoToSocialInteractionPolicyProperty
|
||||
func NewGoToSocialInteractionPolicyProperty() vocab.GoToSocialInteractionPolicyProperty {
|
||||
return propertyinteractionpolicy.NewGoToSocialInteractionPolicyProperty()
|
||||
}
|
||||
|
||||
// NewGoToSocialGoToSocialInteractionTargetProperty creates a new
|
||||
// GoToSocialInteractionTargetProperty
|
||||
func NewGoToSocialInteractionTargetProperty() vocab.GoToSocialInteractionTargetProperty {
|
||||
return propertyinteractiontarget.NewGoToSocialInteractionTargetProperty()
|
||||
}
|
||||
|
||||
// NewGoToSocialGoToSocialManualApprovalProperty creates a new
|
||||
// GoToSocialManualApprovalProperty
|
||||
func NewGoToSocialManualApprovalProperty() vocab.GoToSocialManualApprovalProperty {
|
||||
return propertymanualapproval.NewGoToSocialManualApprovalProperty()
|
||||
}
|
||||
|
@@ -4,12 +4,19 @@ package streams
|
||||
|
||||
import (
|
||||
typeannounceapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
|
||||
typeannounceauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization"
|
||||
typeannouncerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announcerequest"
|
||||
typecanannounce "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
|
||||
typecanlike "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
|
||||
typecanquote "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canquote"
|
||||
typecanreply "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
|
||||
typeinteractionpolicy "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
|
||||
typelikeapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
|
||||
typelikeauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likeauthorization"
|
||||
typelikerequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_likerequest"
|
||||
typereplyapproval "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
|
||||
typereplyauthorization "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyauthorization"
|
||||
typereplyrequest "codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_replyrequest"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
@@ -18,6 +25,16 @@ func NewGoToSocialAnnounceApproval() vocab.GoToSocialAnnounceApproval {
|
||||
return typeannounceapproval.NewGoToSocialAnnounceApproval()
|
||||
}
|
||||
|
||||
// NewGoToSocialAnnounceAuthorization creates a new GoToSocialAnnounceAuthorization
|
||||
func NewGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
|
||||
return typeannounceauthorization.NewGoToSocialAnnounceAuthorization()
|
||||
}
|
||||
|
||||
// NewGoToSocialAnnounceRequest creates a new GoToSocialAnnounceRequest
|
||||
func NewGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
|
||||
return typeannouncerequest.NewGoToSocialAnnounceRequest()
|
||||
}
|
||||
|
||||
// NewGoToSocialCanAnnounce creates a new GoToSocialCanAnnounce
|
||||
func NewGoToSocialCanAnnounce() vocab.GoToSocialCanAnnounce {
|
||||
return typecanannounce.NewGoToSocialCanAnnounce()
|
||||
@@ -28,6 +45,11 @@ func NewGoToSocialCanLike() vocab.GoToSocialCanLike {
|
||||
return typecanlike.NewGoToSocialCanLike()
|
||||
}
|
||||
|
||||
// NewGoToSocialCanQuote creates a new GoToSocialCanQuote
|
||||
func NewGoToSocialCanQuote() vocab.GoToSocialCanQuote {
|
||||
return typecanquote.NewGoToSocialCanQuote()
|
||||
}
|
||||
|
||||
// NewGoToSocialCanReply creates a new GoToSocialCanReply
|
||||
func NewGoToSocialCanReply() vocab.GoToSocialCanReply {
|
||||
return typecanreply.NewGoToSocialCanReply()
|
||||
@@ -43,7 +65,27 @@ func NewGoToSocialLikeApproval() vocab.GoToSocialLikeApproval {
|
||||
return typelikeapproval.NewGoToSocialLikeApproval()
|
||||
}
|
||||
|
||||
// NewGoToSocialLikeAuthorization creates a new GoToSocialLikeAuthorization
|
||||
func NewGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
|
||||
return typelikeauthorization.NewGoToSocialLikeAuthorization()
|
||||
}
|
||||
|
||||
// NewGoToSocialLikeRequest creates a new GoToSocialLikeRequest
|
||||
func NewGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
|
||||
return typelikerequest.NewGoToSocialLikeRequest()
|
||||
}
|
||||
|
||||
// NewGoToSocialReplyApproval creates a new GoToSocialReplyApproval
|
||||
func NewGoToSocialReplyApproval() vocab.GoToSocialReplyApproval {
|
||||
return typereplyapproval.NewGoToSocialReplyApproval()
|
||||
}
|
||||
|
||||
// NewGoToSocialReplyAuthorization creates a new GoToSocialReplyAuthorization
|
||||
func NewGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
|
||||
return typereplyauthorization.NewGoToSocialReplyAuthorization()
|
||||
}
|
||||
|
||||
// NewGoToSocialReplyRequest creates a new GoToSocialReplyRequest
|
||||
func NewGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
|
||||
return typereplyrequest.NewGoToSocialReplyRequest()
|
||||
}
|
||||
|
@@ -6,6 +6,8 @@ import (
|
||||
propertyblurhash "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
|
||||
propertydiscoverable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_discoverable"
|
||||
propertyfeatured "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_featured"
|
||||
propertyfocalpoint "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_focalpoint"
|
||||
propertyindexable "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_indexable"
|
||||
propertysignaturealgorithm "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturealgorithm"
|
||||
propertysignaturevalue "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
|
||||
propertyvoterscount "codeberg.org/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
|
||||
@@ -27,6 +29,16 @@ func NewTootFeaturedProperty() vocab.TootFeaturedProperty {
|
||||
return propertyfeatured.NewTootFeaturedProperty()
|
||||
}
|
||||
|
||||
// NewTootTootFocalPointProperty creates a new TootFocalPointProperty
|
||||
func NewTootFocalPointProperty() vocab.TootFocalPointProperty {
|
||||
return propertyfocalpoint.NewTootFocalPointProperty()
|
||||
}
|
||||
|
||||
// NewTootTootIndexableProperty creates a new TootIndexableProperty
|
||||
func NewTootIndexableProperty() vocab.TootIndexableProperty {
|
||||
return propertyindexable.NewTootIndexableProperty()
|
||||
}
|
||||
|
||||
// NewTootTootSignatureAlgorithmProperty creates a new
|
||||
// TootSignatureAlgorithmProperty
|
||||
func NewTootSignatureAlgorithmProperty() vocab.TootSignatureAlgorithmProperty {
|
||||
|
21
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
generated
vendored
21
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
generated
vendored
@@ -64,6 +64,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
||||
}, func(ctx context.Context, i vocab.GoToSocialAnnounceApproval) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.GoToSocialAnnounceAuthorization) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.GoToSocialAnnounceRequest) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsApplication) error {
|
||||
t = i
|
||||
return nil
|
||||
@@ -88,6 +94,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
||||
}, func(ctx context.Context, i vocab.GoToSocialCanLike) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.GoToSocialCanQuote) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.GoToSocialCanReply) error {
|
||||
t = i
|
||||
return nil
|
||||
@@ -163,6 +172,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
||||
}, func(ctx context.Context, i vocab.GoToSocialLikeApproval) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.GoToSocialLikeAuthorization) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.GoToSocialLikeRequest) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsLink) error {
|
||||
t = i
|
||||
return nil
|
||||
@@ -229,6 +244,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
||||
}, func(ctx context.Context, i vocab.GoToSocialReplyApproval) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.GoToSocialReplyAuthorization) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.GoToSocialReplyRequest) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsService) error {
|
||||
t = i
|
||||
return nil
|
||||
|
@@ -41,6 +41,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceApproval) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceAuthorization) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceRequest) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsApplication) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsArrive) (bool, error):
|
||||
@@ -57,6 +61,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialCanLike) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialCanQuote) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialCanReply) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCollection) (bool, error):
|
||||
@@ -107,6 +113,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeApproval) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeAuthorization) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeRequest) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsLink) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsListen) (bool, error):
|
||||
@@ -151,6 +161,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialReplyApproval) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialReplyAuthorization) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialReplyRequest) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsService) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTentativeAccept) (bool, error):
|
||||
@@ -256,6 +270,28 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
||||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "AnnounceAuthorization" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialAnnounceAuthorization) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.GoToSocialAnnounceAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "AnnounceRequest" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialAnnounceRequest) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.GoToSocialAnnounceRequest); 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() == "Application" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsApplication) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsApplication); ok {
|
||||
@@ -344,6 +380,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
||||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "CanQuote" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialCanQuote) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.GoToSocialCanQuote); 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://gotosocial.org/ns" && o.GetTypeName() == "CanReply" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialCanReply) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.GoToSocialCanReply); ok {
|
||||
@@ -619,6 +666,28 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
||||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "LikeAuthorization" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialLikeAuthorization) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.GoToSocialLikeAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "LikeRequest" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialLikeRequest) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.GoToSocialLikeRequest); 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() == "Link" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsLink) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsLink); ok {
|
||||
@@ -861,6 +930,28 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
||||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "ReplyAuthorization" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialReplyAuthorization) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.GoToSocialReplyAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "ReplyRequest" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.GoToSocialReplyRequest) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.GoToSocialReplyRequest); 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() == "Service" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsService) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsService); ok {
|
||||
|
77
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go
generated
vendored
77
vendor/codeberg.org/superseriousbusiness/activity/streams/gen_type_resolver.go
generated
vendored
@@ -40,6 +40,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceApproval) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceAuthorization) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialAnnounceRequest) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsApplication) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsArrive) error:
|
||||
@@ -56,6 +60,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialCanLike) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialCanQuote) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialCanReply) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCollection) error:
|
||||
@@ -106,6 +112,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeApproval) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeAuthorization) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialLikeRequest) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsLink) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsListen) error:
|
||||
@@ -150,6 +160,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialReplyApproval) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialReplyAuthorization) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.GoToSocialReplyRequest) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsService) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTentativeAccept) error:
|
||||
@@ -239,6 +253,24 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
||||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "AnnounceAuthorization" {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceAuthorization) error); ok {
|
||||
if v, ok := o.(vocab.GoToSocialAnnounceAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "AnnounceRequest" {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialAnnounceRequest) error); ok {
|
||||
if v, ok := o.(vocab.GoToSocialAnnounceRequest); 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() == "Application" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsApplication) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsApplication); ok {
|
||||
@@ -311,6 +343,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
||||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "CanQuote" {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialCanQuote) error); ok {
|
||||
if v, ok := o.(vocab.GoToSocialCanQuote); 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://gotosocial.org/ns" && o.GetTypeName() == "CanReply" {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialCanReply) error); ok {
|
||||
if v, ok := o.(vocab.GoToSocialCanReply); ok {
|
||||
@@ -536,6 +577,24 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
||||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "LikeAuthorization" {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeAuthorization) error); ok {
|
||||
if v, ok := o.(vocab.GoToSocialLikeAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "LikeRequest" {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialLikeRequest) error); ok {
|
||||
if v, ok := o.(vocab.GoToSocialLikeRequest); 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() == "Link" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsLink) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsLink); ok {
|
||||
@@ -734,6 +793,24 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
||||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://gotosocial.org/ns" && o.GetTypeName() == "ReplyAuthorization" {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyAuthorization) error); ok {
|
||||
if v, ok := o.(vocab.GoToSocialReplyAuthorization); 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://gotosocial.org/ns" && o.GetTypeName() == "ReplyRequest" {
|
||||
if fn, ok := i.(func(context.Context, vocab.GoToSocialReplyRequest) error); ok {
|
||||
if v, ok := o.(vocab.GoToSocialReplyRequest); 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() == "Service" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsService) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsService); ok {
|
||||
|
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -140,6 +148,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeListenActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsListen" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
@@ -217,6 +233,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@@ -21,6 +21,8 @@ type ActivityStreamsDescribesProperty struct {
|
||||
funkwhaleAlbumMember vocab.FunkwhaleAlbum
|
||||
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
|
||||
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
|
||||
gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
|
||||
gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
|
||||
activitystreamsApplicationMember vocab.ActivityStreamsApplication
|
||||
activitystreamsArriveMember vocab.ActivityStreamsArrive
|
||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
@@ -48,6 +50,8 @@ type ActivityStreamsDescribesProperty struct {
|
||||
funkwhaleLibraryMember vocab.FunkwhaleLibrary
|
||||
activitystreamsLikeMember vocab.ActivityStreamsLike
|
||||
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
|
||||
gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
|
||||
gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
|
||||
activitystreamsListenMember vocab.ActivityStreamsListen
|
||||
activitystreamsMoveMember vocab.ActivityStreamsMove
|
||||
activitystreamsNoteMember vocab.ActivityStreamsNote
|
||||
@@ -66,6 +70,8 @@ type ActivityStreamsDescribesProperty struct {
|
||||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
|
||||
gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
|
||||
gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
|
||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
@@ -151,6 +157,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
||||
gotosocialAnnounceApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsApplicationMember: v,
|
||||
@@ -313,6 +331,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
||||
gotosocialLikeApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsListenMember: v,
|
||||
@@ -421,6 +451,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
||||
gotosocialReplyApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsServiceMember: v,
|
||||
@@ -507,6 +549,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
||||
this.funkwhaleAlbumMember = nil
|
||||
this.activitystreamsAnnounceMember = nil
|
||||
this.gotosocialAnnounceApprovalMember = nil
|
||||
this.gotosocialAnnounceAuthorizationMember = nil
|
||||
this.gotosocialAnnounceRequestMember = nil
|
||||
this.activitystreamsApplicationMember = nil
|
||||
this.activitystreamsArriveMember = nil
|
||||
this.activitystreamsArticleMember = nil
|
||||
@@ -534,6 +578,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
||||
this.funkwhaleLibraryMember = nil
|
||||
this.activitystreamsLikeMember = nil
|
||||
this.gotosocialLikeApprovalMember = nil
|
||||
this.gotosocialLikeAuthorizationMember = nil
|
||||
this.gotosocialLikeRequestMember = nil
|
||||
this.activitystreamsListenMember = nil
|
||||
this.activitystreamsMoveMember = nil
|
||||
this.activitystreamsNoteMember = nil
|
||||
@@ -552,6 +598,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
||||
this.activitystreamsRelationshipMember = nil
|
||||
this.activitystreamsRemoveMember = nil
|
||||
this.gotosocialReplyApprovalMember = nil
|
||||
this.gotosocialReplyAuthorizationMember = nil
|
||||
this.gotosocialReplyRequestMember = nil
|
||||
this.activitystreamsServiceMember = nil
|
||||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
@@ -961,6 +1009,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceApproval() voc
|
||||
return this.gotosocialAnnounceApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceAuthorization returns the value of this property. When
|
||||
// IsGoToSocialAnnounceAuthorization returns false,
|
||||
// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
|
||||
return this.gotosocialAnnounceAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceRequest returns the value of this property. When
|
||||
// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
|
||||
return this.gotosocialAnnounceRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeApproval returns the value of this property. When
|
||||
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
|
||||
// return an arbitrary value.
|
||||
@@ -968,6 +1030,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeApproval() vocab.G
|
||||
return this.gotosocialLikeApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeAuthorization returns the value of this property. When
|
||||
// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
|
||||
return this.gotosocialLikeAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeRequest returns the value of this property. When
|
||||
// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
|
||||
// an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
|
||||
return this.gotosocialLikeRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyApproval returns the value of this property. When
|
||||
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
|
||||
// return an arbitrary value.
|
||||
@@ -975,6 +1051,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyApproval() vocab.
|
||||
return this.gotosocialReplyApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyAuthorization returns the value of this property. When
|
||||
// IsGoToSocialReplyAuthorization returns false,
|
||||
// GetGoToSocialReplyAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
|
||||
return this.gotosocialReplyAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyRequest returns the value of this property. When
|
||||
// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
|
||||
return this.gotosocialReplyRequestMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL {
|
||||
@@ -1025,6 +1115,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest()
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication()
|
||||
}
|
||||
@@ -1106,6 +1202,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval()
|
||||
}
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest()
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen()
|
||||
}
|
||||
@@ -1160,6 +1262,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval()
|
||||
}
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
@@ -1203,6 +1311,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
||||
this.IsFunkwhaleAlbum() ||
|
||||
this.IsActivityStreamsAnnounce() ||
|
||||
this.IsGoToSocialAnnounceApproval() ||
|
||||
this.IsGoToSocialAnnounceAuthorization() ||
|
||||
this.IsGoToSocialAnnounceRequest() ||
|
||||
this.IsActivityStreamsApplication() ||
|
||||
this.IsActivityStreamsArrive() ||
|
||||
this.IsActivityStreamsArticle() ||
|
||||
@@ -1230,6 +1340,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
||||
this.IsFunkwhaleLibrary() ||
|
||||
this.IsActivityStreamsLike() ||
|
||||
this.IsGoToSocialLikeApproval() ||
|
||||
this.IsGoToSocialLikeAuthorization() ||
|
||||
this.IsGoToSocialLikeRequest() ||
|
||||
this.IsActivityStreamsListen() ||
|
||||
this.IsActivityStreamsMove() ||
|
||||
this.IsActivityStreamsNote() ||
|
||||
@@ -1248,6 +1360,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
||||
this.IsActivityStreamsRelationship() ||
|
||||
this.IsActivityStreamsRemove() ||
|
||||
this.IsGoToSocialReplyApproval() ||
|
||||
this.IsGoToSocialReplyAuthorization() ||
|
||||
this.IsGoToSocialReplyRequest() ||
|
||||
this.IsActivityStreamsService() ||
|
||||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
@@ -1665,6 +1779,21 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceApproval() bool
|
||||
return this.gotosocialAnnounceApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
|
||||
// "AnnounceAuthorization". When true, use the
|
||||
// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
|
||||
// methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceAuthorization() bool {
|
||||
return this.gotosocialAnnounceAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceRequest returns true if this property has a type of
|
||||
// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
|
||||
// SetGoToSocialAnnounceRequest methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceRequest() bool {
|
||||
return this.gotosocialAnnounceRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeApproval returns true if this property has a type of
|
||||
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
|
||||
// SetGoToSocialLikeApproval methods to access and set this property.
|
||||
@@ -1672,6 +1801,20 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeApproval() bool {
|
||||
return this.gotosocialLikeApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeAuthorization returns true if this property has a type of
|
||||
// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
|
||||
// SetGoToSocialLikeAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeAuthorization() bool {
|
||||
return this.gotosocialLikeAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeRequest returns true if this property has a type of
|
||||
// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
|
||||
// SetGoToSocialLikeRequest methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeRequest() bool {
|
||||
return this.gotosocialLikeRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyApproval returns true if this property has a type of
|
||||
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
|
||||
// SetGoToSocialReplyApproval methods to access and set this property.
|
||||
@@ -1679,6 +1822,20 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyApproval() bool {
|
||||
return this.gotosocialReplyApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyAuthorization returns true if this property has a type of
|
||||
// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
|
||||
// and SetGoToSocialReplyAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyAuthorization() bool {
|
||||
return this.gotosocialReplyAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyRequest returns true if this property has a type of
|
||||
// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
|
||||
// SetGoToSocialReplyRequest methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyRequest() bool {
|
||||
return this.gotosocialReplyRequestMember != nil
|
||||
}
|
||||
|
||||
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
|
||||
// to access and set this property
|
||||
func (this ActivityStreamsDescribesProperty) IsIRI() bool {
|
||||
@@ -1725,6 +1882,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
||||
child = this.GetActivityStreamsAnnounce().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
child = this.GetActivityStreamsApplication().JSONLDContext()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
@@ -1779,6 +1940,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
||||
child = this.GetActivityStreamsLike().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
child = this.GetGoToSocialLikeApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
child = this.GetGoToSocialLikeRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
child = this.GetActivityStreamsListen().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMove() {
|
||||
@@ -1815,6 +1980,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
||||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
child = this.GetGoToSocialReplyApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
child = this.GetGoToSocialReplyRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
child = this.GetActivityStreamsService().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
@@ -1872,171 +2041,189 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return 6
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return 7
|
||||
}
|
||||
if this.IsActivityStreamsArrive() {
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return 8
|
||||
}
|
||||
if this.IsActivityStreamsArticle() {
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return 9
|
||||
}
|
||||
if this.IsFunkwhaleArtist() {
|
||||
if this.IsActivityStreamsArrive() {
|
||||
return 10
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
if this.IsActivityStreamsArticle() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsBlock() {
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsBlock() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 18
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 23
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
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.IsFunkwhaleLibrary() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 32
|
||||
}
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 44
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 47
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 50
|
||||
}
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 53
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return 55
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 58
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 61
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return 62
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 63
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 64
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 65
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 66
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 67
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
@@ -2068,6 +2255,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
||||
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
@@ -2122,6 +2313,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
||||
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
|
||||
} else if this.IsActivityStreamsMove() {
|
||||
@@ -2158,6 +2353,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
||||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
@@ -2212,6 +2411,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
||||
return this.GetActivityStreamsAnnounce().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().Serialize()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().Serialize()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
@@ -2266,6 +2469,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
||||
return this.GetActivityStreamsLike().Serialize()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().Serialize()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().Serialize()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().Serialize()
|
||||
} else if this.IsActivityStreamsMove() {
|
||||
@@ -2302,6 +2509,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
||||
return this.GetActivityStreamsRemove().Serialize()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().Serialize()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().Serialize()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
@@ -2727,6 +2938,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceApproval(v vo
|
||||
this.gotosocialAnnounceApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceRequest sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceRequest afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeApproval sets the value of this property. Calling
|
||||
// IsGoToSocialLikeApproval afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
|
||||
@@ -2734,6 +2959,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab.
|
||||
this.gotosocialLikeApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialLikeAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeRequest sets the value of this property. Calling
|
||||
// IsGoToSocialLikeRequest afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyApproval sets the value of this property. Calling
|
||||
// IsGoToSocialReplyApproval afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
|
||||
@@ -2741,6 +2980,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab
|
||||
this.gotosocialReplyApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialReplyAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyRequest sets the value of this property. Calling
|
||||
// IsGoToSocialReplyRequest afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyRequestMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) {
|
||||
this.Clear()
|
||||
@@ -2799,6 +3052,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
||||
this.SetGoToSocialAnnounceApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
|
||||
this.SetGoToSocialAnnounceAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
|
||||
this.SetGoToSocialAnnounceRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
|
||||
this.SetActivityStreamsApplication(v)
|
||||
return nil
|
||||
@@ -2907,6 +3168,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
||||
this.SetGoToSocialLikeApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
|
||||
this.SetGoToSocialLikeAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
|
||||
this.SetGoToSocialLikeRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsListen); ok {
|
||||
this.SetActivityStreamsListen(v)
|
||||
return nil
|
||||
@@ -2979,6 +3248,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
||||
this.SetGoToSocialReplyApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
|
||||
this.SetGoToSocialReplyAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
|
||||
this.SetGoToSocialReplyRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||
this.SetActivityStreamsService(v)
|
||||
return nil
|
||||
|
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -140,6 +148,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeListenActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsListen" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
@@ -217,6 +233,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -140,6 +148,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeListenActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsListen" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
@@ -217,6 +233,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@@ -22,6 +22,8 @@ type ActivityStreamsSourceProperty struct {
|
||||
funkwhaleAlbumMember vocab.FunkwhaleAlbum
|
||||
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
|
||||
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
|
||||
gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
|
||||
gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
|
||||
activitystreamsApplicationMember vocab.ActivityStreamsApplication
|
||||
activitystreamsArriveMember vocab.ActivityStreamsArrive
|
||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
@@ -50,6 +52,8 @@ type ActivityStreamsSourceProperty struct {
|
||||
funkwhaleLibraryMember vocab.FunkwhaleLibrary
|
||||
activitystreamsLikeMember vocab.ActivityStreamsLike
|
||||
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
|
||||
gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
|
||||
gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
|
||||
activitystreamsListenMember vocab.ActivityStreamsListen
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
activitystreamsMoveMember vocab.ActivityStreamsMove
|
||||
@@ -69,6 +73,8 @@ type ActivityStreamsSourceProperty struct {
|
||||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
|
||||
gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
|
||||
gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
|
||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
@@ -160,6 +166,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
||||
gotosocialAnnounceApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsApplicationMember: v,
|
||||
@@ -328,6 +346,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
||||
gotosocialLikeApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsListenMember: v,
|
||||
@@ -442,6 +472,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
||||
gotosocialReplyApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsServiceMember: v,
|
||||
@@ -529,6 +571,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
||||
this.funkwhaleAlbumMember = nil
|
||||
this.activitystreamsAnnounceMember = nil
|
||||
this.gotosocialAnnounceApprovalMember = nil
|
||||
this.gotosocialAnnounceAuthorizationMember = nil
|
||||
this.gotosocialAnnounceRequestMember = nil
|
||||
this.activitystreamsApplicationMember = nil
|
||||
this.activitystreamsArriveMember = nil
|
||||
this.activitystreamsArticleMember = nil
|
||||
@@ -557,6 +601,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
||||
this.funkwhaleLibraryMember = nil
|
||||
this.activitystreamsLikeMember = nil
|
||||
this.gotosocialLikeApprovalMember = nil
|
||||
this.gotosocialLikeAuthorizationMember = nil
|
||||
this.gotosocialLikeRequestMember = nil
|
||||
this.activitystreamsListenMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.activitystreamsMoveMember = nil
|
||||
@@ -576,6 +622,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
||||
this.activitystreamsRelationshipMember = nil
|
||||
this.activitystreamsRemoveMember = nil
|
||||
this.gotosocialReplyApprovalMember = nil
|
||||
this.gotosocialReplyAuthorizationMember = nil
|
||||
this.gotosocialReplyRequestMember = nil
|
||||
this.activitystreamsServiceMember = nil
|
||||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
@@ -999,6 +1047,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceApproval() vocab.
|
||||
return this.gotosocialAnnounceApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceAuthorization returns the value of this property. When
|
||||
// IsGoToSocialAnnounceAuthorization returns false,
|
||||
// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
|
||||
return this.gotosocialAnnounceAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceRequest returns the value of this property. When
|
||||
// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
|
||||
return this.gotosocialAnnounceRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeApproval returns the value of this property. When
|
||||
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
|
||||
// return an arbitrary value.
|
||||
@@ -1006,6 +1068,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialLikeApproval() vocab.GoTo
|
||||
return this.gotosocialLikeApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeAuthorization returns the value of this property. When
|
||||
// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
|
||||
return this.gotosocialLikeAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeRequest returns the value of this property. When
|
||||
// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
|
||||
// an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
|
||||
return this.gotosocialLikeRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyApproval returns the value of this property. When
|
||||
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
|
||||
// return an arbitrary value.
|
||||
@@ -1013,6 +1089,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialReplyApproval() vocab.GoT
|
||||
return this.gotosocialReplyApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyAuthorization returns the value of this property. When
|
||||
// IsGoToSocialReplyAuthorization returns false,
|
||||
// GetGoToSocialReplyAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
|
||||
return this.gotosocialReplyAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyRequest returns the value of this property. When
|
||||
// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
|
||||
return this.gotosocialReplyRequestMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetIRI() *url.URL {
|
||||
@@ -1072,6 +1162,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest()
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication()
|
||||
}
|
||||
@@ -1156,6 +1252,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval()
|
||||
}
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest()
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen()
|
||||
}
|
||||
@@ -1213,6 +1315,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval()
|
||||
}
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
@@ -1257,6 +1365,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
||||
this.IsFunkwhaleAlbum() ||
|
||||
this.IsActivityStreamsAnnounce() ||
|
||||
this.IsGoToSocialAnnounceApproval() ||
|
||||
this.IsGoToSocialAnnounceAuthorization() ||
|
||||
this.IsGoToSocialAnnounceRequest() ||
|
||||
this.IsActivityStreamsApplication() ||
|
||||
this.IsActivityStreamsArrive() ||
|
||||
this.IsActivityStreamsArticle() ||
|
||||
@@ -1285,6 +1395,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
||||
this.IsFunkwhaleLibrary() ||
|
||||
this.IsActivityStreamsLike() ||
|
||||
this.IsGoToSocialLikeApproval() ||
|
||||
this.IsGoToSocialLikeAuthorization() ||
|
||||
this.IsGoToSocialLikeRequest() ||
|
||||
this.IsActivityStreamsListen() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.IsActivityStreamsMove() ||
|
||||
@@ -1304,6 +1416,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
||||
this.IsActivityStreamsRelationship() ||
|
||||
this.IsActivityStreamsRemove() ||
|
||||
this.IsGoToSocialReplyApproval() ||
|
||||
this.IsGoToSocialReplyAuthorization() ||
|
||||
this.IsGoToSocialReplyRequest() ||
|
||||
this.IsActivityStreamsService() ||
|
||||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
@@ -1735,6 +1849,21 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceApproval() bool {
|
||||
return this.gotosocialAnnounceApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
|
||||
// "AnnounceAuthorization". When true, use the
|
||||
// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
|
||||
// methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceAuthorization() bool {
|
||||
return this.gotosocialAnnounceAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceRequest returns true if this property has a type of
|
||||
// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
|
||||
// SetGoToSocialAnnounceRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceRequest() bool {
|
||||
return this.gotosocialAnnounceRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeApproval returns true if this property has a type of
|
||||
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
|
||||
// SetGoToSocialLikeApproval methods to access and set this property.
|
||||
@@ -1742,6 +1871,20 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialLikeApproval() bool {
|
||||
return this.gotosocialLikeApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeAuthorization returns true if this property has a type of
|
||||
// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
|
||||
// SetGoToSocialLikeAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialLikeAuthorization() bool {
|
||||
return this.gotosocialLikeAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeRequest returns true if this property has a type of
|
||||
// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
|
||||
// SetGoToSocialLikeRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialLikeRequest() bool {
|
||||
return this.gotosocialLikeRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyApproval returns true if this property has a type of
|
||||
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
|
||||
// SetGoToSocialReplyApproval methods to access and set this property.
|
||||
@@ -1749,6 +1892,20 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialReplyApproval() bool {
|
||||
return this.gotosocialReplyApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyAuthorization returns true if this property has a type of
|
||||
// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
|
||||
// and SetGoToSocialReplyAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialReplyAuthorization() bool {
|
||||
return this.gotosocialReplyAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyRequest returns true if this property has a type of
|
||||
// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
|
||||
// SetGoToSocialReplyRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialReplyRequest() bool {
|
||||
return this.gotosocialReplyRequestMember != nil
|
||||
}
|
||||
|
||||
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
|
||||
// to access and set this property
|
||||
func (this ActivityStreamsSourceProperty) IsIRI() bool {
|
||||
@@ -1804,6 +1961,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
||||
child = this.GetActivityStreamsAnnounce().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
child = this.GetActivityStreamsApplication().JSONLDContext()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
@@ -1860,6 +2021,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
||||
child = this.GetActivityStreamsLike().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
child = this.GetGoToSocialLikeApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
child = this.GetGoToSocialLikeRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
child = this.GetActivityStreamsListen().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
@@ -1898,6 +2063,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
||||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
child = this.GetGoToSocialReplyApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
child = this.GetGoToSocialReplyRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
child = this.GetActivityStreamsService().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
@@ -1958,177 +2127,195 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return 7
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return 8
|
||||
}
|
||||
if this.IsActivityStreamsArrive() {
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return 9
|
||||
}
|
||||
if this.IsActivityStreamsArticle() {
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return 10
|
||||
}
|
||||
if this.IsFunkwhaleArtist() {
|
||||
if this.IsActivityStreamsArrive() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
if this.IsActivityStreamsArticle() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsBlock() {
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsBlock() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 19
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 23
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 24
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 25
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsTootHashtag() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 32
|
||||
}
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 34
|
||||
}
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 44
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 47
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 50
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 53
|
||||
}
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 55
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return 58
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 61
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 62
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 63
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 64
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return 65
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 66
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 67
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 68
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 69
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 70
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
@@ -2162,6 +2349,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
||||
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
@@ -2218,6 +2409,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
||||
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
@@ -2256,6 +2451,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
||||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
@@ -2312,6 +2511,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
||||
return this.GetActivityStreamsAnnounce().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().Serialize()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().Serialize()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
@@ -2368,6 +2571,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
||||
return this.GetActivityStreamsLike().Serialize()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().Serialize()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().Serialize()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
@@ -2406,6 +2613,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
||||
return this.GetActivityStreamsRemove().Serialize()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().Serialize()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().Serialize()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
@@ -2845,6 +3056,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceApproval(v vocab
|
||||
this.gotosocialAnnounceApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceRequest sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeApproval sets the value of this property. Calling
|
||||
// IsGoToSocialLikeApproval afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
|
||||
@@ -2852,6 +3077,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoT
|
||||
this.gotosocialLikeApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialLikeAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeRequest sets the value of this property. Calling
|
||||
// IsGoToSocialLikeRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyApproval sets the value of this property. Calling
|
||||
// IsGoToSocialReplyApproval afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
|
||||
@@ -2859,6 +3098,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.Go
|
||||
this.gotosocialReplyApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialReplyAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyRequest sets the value of this property. Calling
|
||||
// IsGoToSocialReplyRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyRequestMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) {
|
||||
this.Clear()
|
||||
@@ -2928,6 +3181,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
||||
this.SetGoToSocialAnnounceApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
|
||||
this.SetGoToSocialAnnounceAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
|
||||
this.SetGoToSocialAnnounceRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
|
||||
this.SetActivityStreamsApplication(v)
|
||||
return nil
|
||||
@@ -3040,6 +3301,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
||||
this.SetGoToSocialLikeApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
|
||||
this.SetGoToSocialLikeAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
|
||||
this.SetGoToSocialLikeRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsListen); ok {
|
||||
this.SetActivityStreamsListen(v)
|
||||
return nil
|
||||
@@ -3116,6 +3385,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
||||
this.SetGoToSocialReplyApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
|
||||
this.SetGoToSocialReplyAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
|
||||
this.SetGoToSocialReplyRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||
this.SetActivityStreamsService(v)
|
||||
return nil
|
||||
|
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@@ -22,6 +22,8 @@ type ActivityStreamsSubjectProperty struct {
|
||||
funkwhaleAlbumMember vocab.FunkwhaleAlbum
|
||||
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
|
||||
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
|
||||
gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
|
||||
gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
|
||||
activitystreamsApplicationMember vocab.ActivityStreamsApplication
|
||||
activitystreamsArriveMember vocab.ActivityStreamsArrive
|
||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
@@ -50,6 +52,8 @@ type ActivityStreamsSubjectProperty struct {
|
||||
funkwhaleLibraryMember vocab.FunkwhaleLibrary
|
||||
activitystreamsLikeMember vocab.ActivityStreamsLike
|
||||
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
|
||||
gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
|
||||
gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
|
||||
activitystreamsListenMember vocab.ActivityStreamsListen
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
activitystreamsMoveMember vocab.ActivityStreamsMove
|
||||
@@ -69,6 +73,8 @@ type ActivityStreamsSubjectProperty struct {
|
||||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
|
||||
gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
|
||||
gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
|
||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
@@ -160,6 +166,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
||||
gotosocialAnnounceApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsApplicationMember: v,
|
||||
@@ -328,6 +346,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
||||
gotosocialLikeApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsListenMember: v,
|
||||
@@ -442,6 +472,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
||||
gotosocialReplyApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsServiceMember: v,
|
||||
@@ -529,6 +571,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
||||
this.funkwhaleAlbumMember = nil
|
||||
this.activitystreamsAnnounceMember = nil
|
||||
this.gotosocialAnnounceApprovalMember = nil
|
||||
this.gotosocialAnnounceAuthorizationMember = nil
|
||||
this.gotosocialAnnounceRequestMember = nil
|
||||
this.activitystreamsApplicationMember = nil
|
||||
this.activitystreamsArriveMember = nil
|
||||
this.activitystreamsArticleMember = nil
|
||||
@@ -557,6 +601,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
||||
this.funkwhaleLibraryMember = nil
|
||||
this.activitystreamsLikeMember = nil
|
||||
this.gotosocialLikeApprovalMember = nil
|
||||
this.gotosocialLikeAuthorizationMember = nil
|
||||
this.gotosocialLikeRequestMember = nil
|
||||
this.activitystreamsListenMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.activitystreamsMoveMember = nil
|
||||
@@ -576,6 +622,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
||||
this.activitystreamsRelationshipMember = nil
|
||||
this.activitystreamsRemoveMember = nil
|
||||
this.gotosocialReplyApprovalMember = nil
|
||||
this.gotosocialReplyAuthorizationMember = nil
|
||||
this.gotosocialReplyRequestMember = nil
|
||||
this.activitystreamsServiceMember = nil
|
||||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
@@ -999,6 +1047,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceApproval() vocab
|
||||
return this.gotosocialAnnounceApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceAuthorization returns the value of this property. When
|
||||
// IsGoToSocialAnnounceAuthorization returns false,
|
||||
// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
|
||||
return this.gotosocialAnnounceAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceRequest returns the value of this property. When
|
||||
// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
|
||||
return this.gotosocialAnnounceRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeApproval returns the value of this property. When
|
||||
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
|
||||
// return an arbitrary value.
|
||||
@@ -1006,6 +1068,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeApproval() vocab.GoT
|
||||
return this.gotosocialLikeApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeAuthorization returns the value of this property. When
|
||||
// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
|
||||
return this.gotosocialLikeAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeRequest returns the value of this property. When
|
||||
// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
|
||||
// an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
|
||||
return this.gotosocialLikeRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyApproval returns the value of this property. When
|
||||
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
|
||||
// return an arbitrary value.
|
||||
@@ -1013,6 +1089,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyApproval() vocab.Go
|
||||
return this.gotosocialReplyApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyAuthorization returns the value of this property. When
|
||||
// IsGoToSocialReplyAuthorization returns false,
|
||||
// GetGoToSocialReplyAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
|
||||
return this.gotosocialReplyAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyRequest returns the value of this property. When
|
||||
// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
|
||||
return this.gotosocialReplyRequestMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL {
|
||||
@@ -1072,6 +1162,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest()
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication()
|
||||
}
|
||||
@@ -1156,6 +1252,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval()
|
||||
}
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest()
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen()
|
||||
}
|
||||
@@ -1213,6 +1315,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval()
|
||||
}
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
@@ -1257,6 +1365,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
||||
this.IsFunkwhaleAlbum() ||
|
||||
this.IsActivityStreamsAnnounce() ||
|
||||
this.IsGoToSocialAnnounceApproval() ||
|
||||
this.IsGoToSocialAnnounceAuthorization() ||
|
||||
this.IsGoToSocialAnnounceRequest() ||
|
||||
this.IsActivityStreamsApplication() ||
|
||||
this.IsActivityStreamsArrive() ||
|
||||
this.IsActivityStreamsArticle() ||
|
||||
@@ -1285,6 +1395,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
||||
this.IsFunkwhaleLibrary() ||
|
||||
this.IsActivityStreamsLike() ||
|
||||
this.IsGoToSocialLikeApproval() ||
|
||||
this.IsGoToSocialLikeAuthorization() ||
|
||||
this.IsGoToSocialLikeRequest() ||
|
||||
this.IsActivityStreamsListen() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.IsActivityStreamsMove() ||
|
||||
@@ -1304,6 +1416,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
||||
this.IsActivityStreamsRelationship() ||
|
||||
this.IsActivityStreamsRemove() ||
|
||||
this.IsGoToSocialReplyApproval() ||
|
||||
this.IsGoToSocialReplyAuthorization() ||
|
||||
this.IsGoToSocialReplyRequest() ||
|
||||
this.IsActivityStreamsService() ||
|
||||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
@@ -1735,6 +1849,21 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceApproval() bool {
|
||||
return this.gotosocialAnnounceApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
|
||||
// "AnnounceAuthorization". When true, use the
|
||||
// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
|
||||
// methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceAuthorization() bool {
|
||||
return this.gotosocialAnnounceAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceRequest returns true if this property has a type of
|
||||
// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
|
||||
// SetGoToSocialAnnounceRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceRequest() bool {
|
||||
return this.gotosocialAnnounceRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeApproval returns true if this property has a type of
|
||||
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
|
||||
// SetGoToSocialLikeApproval methods to access and set this property.
|
||||
@@ -1742,6 +1871,20 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeApproval() bool {
|
||||
return this.gotosocialLikeApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeAuthorization returns true if this property has a type of
|
||||
// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
|
||||
// SetGoToSocialLikeAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeAuthorization() bool {
|
||||
return this.gotosocialLikeAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeRequest returns true if this property has a type of
|
||||
// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
|
||||
// SetGoToSocialLikeRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeRequest() bool {
|
||||
return this.gotosocialLikeRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyApproval returns true if this property has a type of
|
||||
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
|
||||
// SetGoToSocialReplyApproval methods to access and set this property.
|
||||
@@ -1749,6 +1892,20 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyApproval() bool {
|
||||
return this.gotosocialReplyApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyAuthorization returns true if this property has a type of
|
||||
// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
|
||||
// and SetGoToSocialReplyAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyAuthorization() bool {
|
||||
return this.gotosocialReplyAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyRequest returns true if this property has a type of
|
||||
// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
|
||||
// SetGoToSocialReplyRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyRequest() bool {
|
||||
return this.gotosocialReplyRequestMember != nil
|
||||
}
|
||||
|
||||
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
|
||||
// to access and set this property
|
||||
func (this ActivityStreamsSubjectProperty) IsIRI() bool {
|
||||
@@ -1804,6 +1961,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
||||
child = this.GetActivityStreamsAnnounce().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
child = this.GetActivityStreamsApplication().JSONLDContext()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
@@ -1860,6 +2021,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
||||
child = this.GetActivityStreamsLike().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
child = this.GetGoToSocialLikeApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
child = this.GetGoToSocialLikeRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
child = this.GetActivityStreamsListen().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
@@ -1898,6 +2063,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
||||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
child = this.GetGoToSocialReplyApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
child = this.GetGoToSocialReplyRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
child = this.GetActivityStreamsService().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
@@ -1958,177 +2127,195 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
|
||||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return 7
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return 8
|
||||
}
|
||||
if this.IsActivityStreamsArrive() {
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return 9
|
||||
}
|
||||
if this.IsActivityStreamsArticle() {
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return 10
|
||||
}
|
||||
if this.IsFunkwhaleArtist() {
|
||||
if this.IsActivityStreamsArrive() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
if this.IsActivityStreamsArticle() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsBlock() {
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsBlock() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 19
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 23
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 24
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 25
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsTootHashtag() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 32
|
||||
}
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 34
|
||||
}
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 44
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 47
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 50
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 53
|
||||
}
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 55
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return 58
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 61
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 62
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 63
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 64
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return 65
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 66
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 67
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 68
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 69
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 70
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
@@ -2162,6 +2349,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
||||
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
@@ -2218,6 +2409,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
||||
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
@@ -2256,6 +2451,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
||||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
@@ -2312,6 +2511,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
||||
return this.GetActivityStreamsAnnounce().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().Serialize()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().Serialize()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
@@ -2368,6 +2571,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
||||
return this.GetActivityStreamsLike().Serialize()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().Serialize()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().Serialize()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
@@ -2406,6 +2613,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
||||
return this.GetActivityStreamsRemove().Serialize()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().Serialize()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().Serialize()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
@@ -2845,6 +3056,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceApproval(v voca
|
||||
this.gotosocialAnnounceApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceRequest sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeApproval sets the value of this property. Calling
|
||||
// IsGoToSocialLikeApproval afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
|
||||
@@ -2852,6 +3077,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.Go
|
||||
this.gotosocialLikeApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialLikeAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeRequest sets the value of this property. Calling
|
||||
// IsGoToSocialLikeRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyApproval sets the value of this property. Calling
|
||||
// IsGoToSocialReplyApproval afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
|
||||
@@ -2859,6 +3098,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.G
|
||||
this.gotosocialReplyApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialReplyAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyRequest sets the value of this property. Calling
|
||||
// IsGoToSocialReplyRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyRequestMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) {
|
||||
this.Clear()
|
||||
@@ -2928,6 +3181,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
||||
this.SetGoToSocialAnnounceApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
|
||||
this.SetGoToSocialAnnounceAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
|
||||
this.SetGoToSocialAnnounceRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
|
||||
this.SetActivityStreamsApplication(v)
|
||||
return nil
|
||||
@@ -3040,6 +3301,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
||||
this.SetGoToSocialLikeApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
|
||||
this.SetGoToSocialLikeAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
|
||||
this.SetGoToSocialLikeRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsListen); ok {
|
||||
this.SetActivityStreamsListen(v)
|
||||
return nil
|
||||
@@ -3116,6 +3385,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
||||
this.SetGoToSocialReplyApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
|
||||
this.SetGoToSocialReplyAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
|
||||
this.SetGoToSocialReplyRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||
this.SetActivityStreamsService(v)
|
||||
return nil
|
||||
|
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -33,6 +33,14 @@ type privateManager interface {
|
||||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
@@ -143,6 +151,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
@@ -228,6 +244,14 @@ type privateManager interface {
|
||||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -88,7 +88,7 @@ func ActivityIsDisjointWith(other vocab.Type) bool {
|
||||
// Activity type. Note that it returns false if the types are the same; see
|
||||
// the "IsOrExtendsActivity" variant instead.
|
||||
func ActivityIsExtendedBy(other vocab.Type) bool {
|
||||
extensions := []string{"Accept", "Add", "Announce", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
|
||||
extensions := []string{"Accept", "Add", "Announce", "AnnounceRequest", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeRequest", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "ReplyRequest", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
|
||||
for _, ext := range extensions {
|
||||
if ext == other.GetTypeName() {
|
||||
return true
|
||||
|
@@ -104,6 +104,10 @@ type privateManager interface {
|
||||
// method for the "ActivityStreamsInboxProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for
|
||||
// the "TootIndexableProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
@@ -40,6 +40,7 @@ type ActivityStreamsApplication struct {
|
||||
ActivityStreamsImage vocab.ActivityStreamsImageProperty
|
||||
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
|
||||
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
|
||||
TootIndexable vocab.TootIndexableProperty
|
||||
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
|
||||
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
|
||||
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
|
||||
@@ -253,6 +254,11 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsInbox = p
|
||||
}
|
||||
if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootIndexable = p
|
||||
}
|
||||
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
@@ -431,6 +437,8 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
|
||||
continue
|
||||
} else if k == "inbox" {
|
||||
continue
|
||||
} else if k == "indexable" {
|
||||
continue
|
||||
} else if k == "liked" {
|
||||
continue
|
||||
} else if k == "likes" {
|
||||
@@ -793,6 +801,12 @@ func (this ActivityStreamsApplication) GetTootFeatured() vocab.TootFeaturedPrope
|
||||
return this.TootFeatured
|
||||
}
|
||||
|
||||
// GetTootIndexable returns the "indexable" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsApplication) GetTootIndexable() vocab.TootIndexableProperty {
|
||||
return this.TootIndexable
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsApplication) GetTypeName() string {
|
||||
return "Application"
|
||||
@@ -847,6 +861,7 @@ func (this ActivityStreamsApplication) JSONLDContext() map[string]string {
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
|
||||
m = this.helperJSONLDContext(this.TootIndexable, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
|
||||
@@ -1202,6 +1217,20 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "indexable"
|
||||
if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
return true
|
||||
} else if rhs.LessThan(lhs) {
|
||||
return false
|
||||
}
|
||||
} else if lhs == nil && rhs != nil {
|
||||
// Nil is less than anything else
|
||||
return true
|
||||
} else if rhs != nil && rhs == nil {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "liked"
|
||||
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
@@ -1759,6 +1788,14 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro
|
||||
m[this.ActivityStreamsInbox.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "indexable"
|
||||
if this.TootIndexable != nil {
|
||||
if i, err := this.TootIndexable.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootIndexable.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "liked"
|
||||
if this.ActivityStreamsLiked != nil {
|
||||
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
|
||||
@@ -2209,6 +2246,11 @@ func (this *ActivityStreamsApplication) SetTootFeatured(i vocab.TootFeaturedProp
|
||||
this.TootFeatured = i
|
||||
}
|
||||
|
||||
// SetTootIndexable sets the "indexable" property.
|
||||
func (this *ActivityStreamsApplication) SetTootIndexable(i vocab.TootIndexableProperty) {
|
||||
this.TootIndexable = i
|
||||
}
|
||||
|
||||
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
|
||||
func (this *ActivityStreamsApplication) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
|
||||
this.W3IDSecurityV1PublicKey = i
|
||||
|
@@ -64,6 +64,10 @@ type privateManager interface {
|
||||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method
|
||||
// for the "TootFocalPointProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
@@ -35,6 +35,7 @@ type ActivityStreamsAudio struct {
|
||||
ActivityStreamsContext vocab.ActivityStreamsContextProperty
|
||||
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
|
||||
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
|
||||
TootFocalPoint vocab.TootFocalPointProperty
|
||||
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
|
||||
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
|
||||
JSONLDId vocab.JSONLDIdProperty
|
||||
@@ -197,6 +198,11 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsEndTime = p
|
||||
}
|
||||
if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootFocalPoint = p
|
||||
}
|
||||
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
@@ -350,6 +356,8 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
||||
continue
|
||||
} else if k == "endTime" {
|
||||
continue
|
||||
} else if k == "focalPoint" {
|
||||
continue
|
||||
} else if k == "generator" {
|
||||
continue
|
||||
} else if k == "icon" {
|
||||
@@ -648,6 +656,12 @@ func (this ActivityStreamsAudio) GetTootBlurhash() vocab.TootBlurhashProperty {
|
||||
return this.TootBlurhash
|
||||
}
|
||||
|
||||
// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsAudio) GetTootFocalPoint() vocab.TootFocalPointProperty {
|
||||
return this.TootFocalPoint
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsAudio) GetTypeName() string {
|
||||
return "Audio"
|
||||
@@ -686,6 +700,7 @@ func (this ActivityStreamsAudio) JSONLDContext() map[string]string {
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
|
||||
m = this.helperJSONLDContext(this.TootFocalPoint, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
|
||||
m = this.helperJSONLDContext(this.JSONLDId, m)
|
||||
@@ -900,6 +915,20 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "focalPoint"
|
||||
if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
return true
|
||||
} else if rhs.LessThan(lhs) {
|
||||
return false
|
||||
}
|
||||
} else if lhs == nil && rhs != nil {
|
||||
// Nil is less than anything else
|
||||
return true
|
||||
} else if rhs != nil && rhs == nil {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "generator"
|
||||
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
@@ -1363,6 +1392,14 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) {
|
||||
m[this.ActivityStreamsEndTime.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "focalPoint"
|
||||
if this.TootFocalPoint != nil {
|
||||
if i, err := this.TootFocalPoint.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootFocalPoint.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "generator"
|
||||
if this.ActivityStreamsGenerator != nil {
|
||||
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
|
||||
@@ -1754,6 +1791,11 @@ func (this *ActivityStreamsAudio) SetTootBlurhash(i vocab.TootBlurhashProperty)
|
||||
this.TootBlurhash = i
|
||||
}
|
||||
|
||||
// SetTootFocalPoint sets the "focalPoint" property.
|
||||
func (this *ActivityStreamsAudio) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
|
||||
this.TootFocalPoint = i
|
||||
}
|
||||
|
||||
// VocabularyURI returns the vocabulary's URI as a string.
|
||||
func (this ActivityStreamsAudio) VocabularyURI() string {
|
||||
return "https://www.w3.org/ns/activitystreams"
|
||||
|
@@ -64,6 +64,10 @@ type privateManager interface {
|
||||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method
|
||||
// for the "TootFocalPointProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
@@ -31,6 +31,7 @@ type ActivityStreamsDocument struct {
|
||||
ActivityStreamsContext vocab.ActivityStreamsContextProperty
|
||||
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
|
||||
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
|
||||
TootFocalPoint vocab.TootFocalPointProperty
|
||||
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
|
||||
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
|
||||
JSONLDId vocab.JSONLDIdProperty
|
||||
@@ -173,6 +174,11 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) (
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsEndTime = p
|
||||
}
|
||||
if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootFocalPoint = p
|
||||
}
|
||||
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
@@ -326,6 +332,8 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) (
|
||||
continue
|
||||
} else if k == "endTime" {
|
||||
continue
|
||||
} else if k == "focalPoint" {
|
||||
continue
|
||||
} else if k == "generator" {
|
||||
continue
|
||||
} else if k == "icon" {
|
||||
@@ -649,6 +657,12 @@ func (this ActivityStreamsDocument) GetTootBlurhash() vocab.TootBlurhashProperty
|
||||
return this.TootBlurhash
|
||||
}
|
||||
|
||||
// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsDocument) GetTootFocalPoint() vocab.TootFocalPointProperty {
|
||||
return this.TootFocalPoint
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsDocument) GetTypeName() string {
|
||||
return "Document"
|
||||
@@ -687,6 +701,7 @@ func (this ActivityStreamsDocument) JSONLDContext() map[string]string {
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
|
||||
m = this.helperJSONLDContext(this.TootFocalPoint, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
|
||||
m = this.helperJSONLDContext(this.JSONLDId, m)
|
||||
@@ -901,6 +916,20 @@ func (this ActivityStreamsDocument) LessThan(o vocab.ActivityStreamsDocument) bo
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "focalPoint"
|
||||
if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
return true
|
||||
} else if rhs.LessThan(lhs) {
|
||||
return false
|
||||
}
|
||||
} else if lhs == nil && rhs != nil {
|
||||
// Nil is less than anything else
|
||||
return true
|
||||
} else if rhs != nil && rhs == nil {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "generator"
|
||||
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
@@ -1364,6 +1393,14 @@ func (this ActivityStreamsDocument) Serialize() (map[string]interface{}, error)
|
||||
m[this.ActivityStreamsEndTime.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "focalPoint"
|
||||
if this.TootFocalPoint != nil {
|
||||
if i, err := this.TootFocalPoint.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootFocalPoint.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "generator"
|
||||
if this.ActivityStreamsGenerator != nil {
|
||||
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
|
||||
@@ -1755,6 +1792,11 @@ func (this *ActivityStreamsDocument) SetTootBlurhash(i vocab.TootBlurhashPropert
|
||||
this.TootBlurhash = i
|
||||
}
|
||||
|
||||
// SetTootFocalPoint sets the "focalPoint" property.
|
||||
func (this *ActivityStreamsDocument) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
|
||||
this.TootFocalPoint = i
|
||||
}
|
||||
|
||||
// VocabularyURI returns the vocabulary's URI as a string.
|
||||
func (this ActivityStreamsDocument) VocabularyURI() string {
|
||||
return "https://www.w3.org/ns/activitystreams"
|
||||
|
@@ -104,6 +104,10 @@ type privateManager interface {
|
||||
// method for the "ActivityStreamsInboxProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for
|
||||
// the "TootIndexableProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
@@ -40,6 +40,7 @@ type ActivityStreamsGroup struct {
|
||||
ActivityStreamsImage vocab.ActivityStreamsImageProperty
|
||||
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
|
||||
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
|
||||
TootIndexable vocab.TootIndexableProperty
|
||||
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
|
||||
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
|
||||
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
|
||||
@@ -233,6 +234,11 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsInbox = p
|
||||
}
|
||||
if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootIndexable = p
|
||||
}
|
||||
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
@@ -411,6 +417,8 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
||||
continue
|
||||
} else if k == "inbox" {
|
||||
continue
|
||||
} else if k == "indexable" {
|
||||
continue
|
||||
} else if k == "liked" {
|
||||
continue
|
||||
} else if k == "likes" {
|
||||
@@ -793,6 +801,12 @@ func (this ActivityStreamsGroup) GetTootFeatured() vocab.TootFeaturedProperty {
|
||||
return this.TootFeatured
|
||||
}
|
||||
|
||||
// GetTootIndexable returns the "indexable" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsGroup) GetTootIndexable() vocab.TootIndexableProperty {
|
||||
return this.TootIndexable
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsGroup) GetTypeName() string {
|
||||
return "Group"
|
||||
@@ -847,6 +861,7 @@ func (this ActivityStreamsGroup) JSONLDContext() map[string]string {
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
|
||||
m = this.helperJSONLDContext(this.TootIndexable, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
|
||||
@@ -1202,6 +1217,20 @@ func (this ActivityStreamsGroup) LessThan(o vocab.ActivityStreamsGroup) bool {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "indexable"
|
||||
if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
return true
|
||||
} else if rhs.LessThan(lhs) {
|
||||
return false
|
||||
}
|
||||
} else if lhs == nil && rhs != nil {
|
||||
// Nil is less than anything else
|
||||
return true
|
||||
} else if rhs != nil && rhs == nil {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "liked"
|
||||
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
@@ -1759,6 +1788,14 @@ func (this ActivityStreamsGroup) Serialize() (map[string]interface{}, error) {
|
||||
m[this.ActivityStreamsInbox.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "indexable"
|
||||
if this.TootIndexable != nil {
|
||||
if i, err := this.TootIndexable.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootIndexable.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "liked"
|
||||
if this.ActivityStreamsLiked != nil {
|
||||
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
|
||||
@@ -2209,6 +2246,11 @@ func (this *ActivityStreamsGroup) SetTootFeatured(i vocab.TootFeaturedProperty)
|
||||
this.TootFeatured = i
|
||||
}
|
||||
|
||||
// SetTootIndexable sets the "indexable" property.
|
||||
func (this *ActivityStreamsGroup) SetTootIndexable(i vocab.TootIndexableProperty) {
|
||||
this.TootIndexable = i
|
||||
}
|
||||
|
||||
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
|
||||
func (this *ActivityStreamsGroup) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
|
||||
this.W3IDSecurityV1PublicKey = i
|
||||
|
@@ -64,6 +64,10 @@ type privateManager interface {
|
||||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method
|
||||
// for the "TootFocalPointProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
@@ -42,6 +42,7 @@ type ActivityStreamsImage struct {
|
||||
ActivityStreamsContext vocab.ActivityStreamsContextProperty
|
||||
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
|
||||
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
|
||||
TootFocalPoint vocab.TootFocalPointProperty
|
||||
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
|
||||
ActivityStreamsHeight vocab.ActivityStreamsHeightProperty
|
||||
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
|
||||
@@ -186,6 +187,11 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsEndTime = p
|
||||
}
|
||||
if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootFocalPoint = p
|
||||
}
|
||||
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
@@ -349,6 +355,8 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
||||
continue
|
||||
} else if k == "endTime" {
|
||||
continue
|
||||
} else if k == "focalPoint" {
|
||||
continue
|
||||
} else if k == "generator" {
|
||||
continue
|
||||
} else if k == "height" {
|
||||
@@ -683,6 +691,12 @@ func (this ActivityStreamsImage) GetTootBlurhash() vocab.TootBlurhashProperty {
|
||||
return this.TootBlurhash
|
||||
}
|
||||
|
||||
// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsImage) GetTootFocalPoint() vocab.TootFocalPointProperty {
|
||||
return this.TootFocalPoint
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsImage) GetTypeName() string {
|
||||
return "Image"
|
||||
@@ -721,6 +735,7 @@ func (this ActivityStreamsImage) JSONLDContext() map[string]string {
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
|
||||
m = this.helperJSONLDContext(this.TootFocalPoint, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsHeight, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
|
||||
@@ -937,6 +952,20 @@ func (this ActivityStreamsImage) LessThan(o vocab.ActivityStreamsImage) bool {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "focalPoint"
|
||||
if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
return true
|
||||
} else if rhs.LessThan(lhs) {
|
||||
return false
|
||||
}
|
||||
} else if lhs == nil && rhs != nil {
|
||||
// Nil is less than anything else
|
||||
return true
|
||||
} else if rhs != nil && rhs == nil {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "generator"
|
||||
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
@@ -1428,6 +1457,14 @@ func (this ActivityStreamsImage) Serialize() (map[string]interface{}, error) {
|
||||
m[this.ActivityStreamsEndTime.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "focalPoint"
|
||||
if this.TootFocalPoint != nil {
|
||||
if i, err := this.TootFocalPoint.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootFocalPoint.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "generator"
|
||||
if this.ActivityStreamsGenerator != nil {
|
||||
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
|
||||
@@ -1845,6 +1882,11 @@ func (this *ActivityStreamsImage) SetTootBlurhash(i vocab.TootBlurhashProperty)
|
||||
this.TootBlurhash = i
|
||||
}
|
||||
|
||||
// SetTootFocalPoint sets the "focalPoint" property.
|
||||
func (this *ActivityStreamsImage) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
|
||||
this.TootFocalPoint = i
|
||||
}
|
||||
|
||||
// VocabularyURI returns the vocabulary's URI as a string.
|
||||
func (this ActivityStreamsImage) VocabularyURI() string {
|
||||
return "https://www.w3.org/ns/activitystreams"
|
||||
|
@@ -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", "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"}
|
||||
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "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", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "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", "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"}
|
||||
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "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", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "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", "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"}
|
||||
extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "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", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
|
||||
for _, ext := range extensions {
|
||||
if ext == other.GetTypeName() {
|
||||
return true
|
||||
|
@@ -104,6 +104,10 @@ type privateManager interface {
|
||||
// method for the "ActivityStreamsInboxProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for
|
||||
// the "TootIndexableProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
@@ -40,6 +40,7 @@ type ActivityStreamsOrganization struct {
|
||||
ActivityStreamsImage vocab.ActivityStreamsImageProperty
|
||||
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
|
||||
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
|
||||
TootIndexable vocab.TootIndexableProperty
|
||||
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
|
||||
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
|
||||
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
|
||||
@@ -233,6 +234,11 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsInbox = p
|
||||
}
|
||||
if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootIndexable = p
|
||||
}
|
||||
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
@@ -411,6 +417,8 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin
|
||||
continue
|
||||
} else if k == "inbox" {
|
||||
continue
|
||||
} else if k == "indexable" {
|
||||
continue
|
||||
} else if k == "liked" {
|
||||
continue
|
||||
} else if k == "likes" {
|
||||
@@ -793,6 +801,12 @@ func (this ActivityStreamsOrganization) GetTootFeatured() vocab.TootFeaturedProp
|
||||
return this.TootFeatured
|
||||
}
|
||||
|
||||
// GetTootIndexable returns the "indexable" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsOrganization) GetTootIndexable() vocab.TootIndexableProperty {
|
||||
return this.TootIndexable
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsOrganization) GetTypeName() string {
|
||||
return "Organization"
|
||||
@@ -847,6 +861,7 @@ func (this ActivityStreamsOrganization) JSONLDContext() map[string]string {
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
|
||||
m = this.helperJSONLDContext(this.TootIndexable, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
|
||||
@@ -1202,6 +1217,20 @@ func (this ActivityStreamsOrganization) LessThan(o vocab.ActivityStreamsOrganiza
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "indexable"
|
||||
if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
return true
|
||||
} else if rhs.LessThan(lhs) {
|
||||
return false
|
||||
}
|
||||
} else if lhs == nil && rhs != nil {
|
||||
// Nil is less than anything else
|
||||
return true
|
||||
} else if rhs != nil && rhs == nil {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "liked"
|
||||
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
@@ -1759,6 +1788,14 @@ func (this ActivityStreamsOrganization) Serialize() (map[string]interface{}, err
|
||||
m[this.ActivityStreamsInbox.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "indexable"
|
||||
if this.TootIndexable != nil {
|
||||
if i, err := this.TootIndexable.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootIndexable.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "liked"
|
||||
if this.ActivityStreamsLiked != nil {
|
||||
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
|
||||
@@ -2209,6 +2246,11 @@ func (this *ActivityStreamsOrganization) SetTootFeatured(i vocab.TootFeaturedPro
|
||||
this.TootFeatured = i
|
||||
}
|
||||
|
||||
// SetTootIndexable sets the "indexable" property.
|
||||
func (this *ActivityStreamsOrganization) SetTootIndexable(i vocab.TootIndexableProperty) {
|
||||
this.TootIndexable = i
|
||||
}
|
||||
|
||||
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
|
||||
func (this *ActivityStreamsOrganization) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
|
||||
this.W3IDSecurityV1PublicKey = i
|
||||
|
@@ -64,6 +64,10 @@ type privateManager interface {
|
||||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method
|
||||
// for the "TootFocalPointProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
@@ -31,6 +31,7 @@ type ActivityStreamsPage struct {
|
||||
ActivityStreamsContext vocab.ActivityStreamsContextProperty
|
||||
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
|
||||
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
|
||||
TootFocalPoint vocab.TootFocalPointProperty
|
||||
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
|
||||
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
|
||||
JSONLDId vocab.JSONLDIdProperty
|
||||
@@ -173,6 +174,11 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsEndTime = p
|
||||
}
|
||||
if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootFocalPoint = p
|
||||
}
|
||||
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
@@ -326,6 +332,8 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act
|
||||
continue
|
||||
} else if k == "endTime" {
|
||||
continue
|
||||
} else if k == "focalPoint" {
|
||||
continue
|
||||
} else if k == "generator" {
|
||||
continue
|
||||
} else if k == "icon" {
|
||||
@@ -644,6 +652,12 @@ func (this ActivityStreamsPage) GetTootBlurhash() vocab.TootBlurhashProperty {
|
||||
return this.TootBlurhash
|
||||
}
|
||||
|
||||
// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsPage) GetTootFocalPoint() vocab.TootFocalPointProperty {
|
||||
return this.TootFocalPoint
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsPage) GetTypeName() string {
|
||||
return "Page"
|
||||
@@ -682,6 +696,7 @@ func (this ActivityStreamsPage) JSONLDContext() map[string]string {
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
|
||||
m = this.helperJSONLDContext(this.TootFocalPoint, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
|
||||
m = this.helperJSONLDContext(this.JSONLDId, m)
|
||||
@@ -896,6 +911,20 @@ func (this ActivityStreamsPage) LessThan(o vocab.ActivityStreamsPage) bool {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "focalPoint"
|
||||
if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
return true
|
||||
} else if rhs.LessThan(lhs) {
|
||||
return false
|
||||
}
|
||||
} else if lhs == nil && rhs != nil {
|
||||
// Nil is less than anything else
|
||||
return true
|
||||
} else if rhs != nil && rhs == nil {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "generator"
|
||||
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
@@ -1359,6 +1388,14 @@ func (this ActivityStreamsPage) Serialize() (map[string]interface{}, error) {
|
||||
m[this.ActivityStreamsEndTime.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "focalPoint"
|
||||
if this.TootFocalPoint != nil {
|
||||
if i, err := this.TootFocalPoint.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootFocalPoint.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "generator"
|
||||
if this.ActivityStreamsGenerator != nil {
|
||||
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
|
||||
@@ -1750,6 +1787,11 @@ func (this *ActivityStreamsPage) SetTootBlurhash(i vocab.TootBlurhashProperty) {
|
||||
this.TootBlurhash = i
|
||||
}
|
||||
|
||||
// SetTootFocalPoint sets the "focalPoint" property.
|
||||
func (this *ActivityStreamsPage) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
|
||||
this.TootFocalPoint = i
|
||||
}
|
||||
|
||||
// VocabularyURI returns the vocabulary's URI as a string.
|
||||
func (this ActivityStreamsPage) VocabularyURI() string {
|
||||
return "https://www.w3.org/ns/activitystreams"
|
||||
|
@@ -104,6 +104,10 @@ type privateManager interface {
|
||||
// method for the "ActivityStreamsInboxProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for
|
||||
// the "TootIndexableProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
@@ -40,6 +40,7 @@ type ActivityStreamsPerson struct {
|
||||
ActivityStreamsImage vocab.ActivityStreamsImageProperty
|
||||
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
|
||||
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
|
||||
TootIndexable vocab.TootIndexableProperty
|
||||
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
|
||||
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
|
||||
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
|
||||
@@ -233,6 +234,11 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsInbox = p
|
||||
}
|
||||
if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootIndexable = p
|
||||
}
|
||||
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
@@ -411,6 +417,8 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A
|
||||
continue
|
||||
} else if k == "inbox" {
|
||||
continue
|
||||
} else if k == "indexable" {
|
||||
continue
|
||||
} else if k == "liked" {
|
||||
continue
|
||||
} else if k == "likes" {
|
||||
@@ -793,6 +801,12 @@ func (this ActivityStreamsPerson) GetTootFeatured() vocab.TootFeaturedProperty {
|
||||
return this.TootFeatured
|
||||
}
|
||||
|
||||
// GetTootIndexable returns the "indexable" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsPerson) GetTootIndexable() vocab.TootIndexableProperty {
|
||||
return this.TootIndexable
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsPerson) GetTypeName() string {
|
||||
return "Person"
|
||||
@@ -847,6 +861,7 @@ func (this ActivityStreamsPerson) JSONLDContext() map[string]string {
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
|
||||
m = this.helperJSONLDContext(this.TootIndexable, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
|
||||
@@ -1202,6 +1217,20 @@ func (this ActivityStreamsPerson) LessThan(o vocab.ActivityStreamsPerson) bool {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "indexable"
|
||||
if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
return true
|
||||
} else if rhs.LessThan(lhs) {
|
||||
return false
|
||||
}
|
||||
} else if lhs == nil && rhs != nil {
|
||||
// Nil is less than anything else
|
||||
return true
|
||||
} else if rhs != nil && rhs == nil {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "liked"
|
||||
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
@@ -1759,6 +1788,14 @@ func (this ActivityStreamsPerson) Serialize() (map[string]interface{}, error) {
|
||||
m[this.ActivityStreamsInbox.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "indexable"
|
||||
if this.TootIndexable != nil {
|
||||
if i, err := this.TootIndexable.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootIndexable.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "liked"
|
||||
if this.ActivityStreamsLiked != nil {
|
||||
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
|
||||
@@ -2209,6 +2246,11 @@ func (this *ActivityStreamsPerson) SetTootFeatured(i vocab.TootFeaturedProperty)
|
||||
this.TootFeatured = i
|
||||
}
|
||||
|
||||
// SetTootIndexable sets the "indexable" property.
|
||||
func (this *ActivityStreamsPerson) SetTootIndexable(i vocab.TootIndexableProperty) {
|
||||
this.TootIndexable = i
|
||||
}
|
||||
|
||||
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
|
||||
func (this *ActivityStreamsPerson) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
|
||||
this.W3IDSecurityV1PublicKey = i
|
||||
|
@@ -104,6 +104,10 @@ type privateManager interface {
|
||||
// method for the "ActivityStreamsInboxProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for
|
||||
// the "TootIndexableProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
@@ -40,6 +40,7 @@ type ActivityStreamsService struct {
|
||||
ActivityStreamsImage vocab.ActivityStreamsImageProperty
|
||||
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
|
||||
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
|
||||
TootIndexable vocab.TootIndexableProperty
|
||||
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
|
||||
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
|
||||
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
|
||||
@@ -233,6 +234,11 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (*
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsInbox = p
|
||||
}
|
||||
if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootIndexable = p
|
||||
}
|
||||
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
@@ -411,6 +417,8 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (*
|
||||
continue
|
||||
} else if k == "inbox" {
|
||||
continue
|
||||
} else if k == "indexable" {
|
||||
continue
|
||||
} else if k == "liked" {
|
||||
continue
|
||||
} else if k == "likes" {
|
||||
@@ -793,6 +801,12 @@ func (this ActivityStreamsService) GetTootFeatured() vocab.TootFeaturedProperty
|
||||
return this.TootFeatured
|
||||
}
|
||||
|
||||
// GetTootIndexable returns the "indexable" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsService) GetTootIndexable() vocab.TootIndexableProperty {
|
||||
return this.TootIndexable
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsService) GetTypeName() string {
|
||||
return "Service"
|
||||
@@ -847,6 +861,7 @@ func (this ActivityStreamsService) JSONLDContext() map[string]string {
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
|
||||
m = this.helperJSONLDContext(this.TootIndexable, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
|
||||
@@ -1202,6 +1217,20 @@ func (this ActivityStreamsService) LessThan(o vocab.ActivityStreamsService) bool
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "indexable"
|
||||
if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
return true
|
||||
} else if rhs.LessThan(lhs) {
|
||||
return false
|
||||
}
|
||||
} else if lhs == nil && rhs != nil {
|
||||
// Nil is less than anything else
|
||||
return true
|
||||
} else if rhs != nil && rhs == nil {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "liked"
|
||||
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
@@ -1759,6 +1788,14 @@ func (this ActivityStreamsService) Serialize() (map[string]interface{}, error) {
|
||||
m[this.ActivityStreamsInbox.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "indexable"
|
||||
if this.TootIndexable != nil {
|
||||
if i, err := this.TootIndexable.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootIndexable.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "liked"
|
||||
if this.ActivityStreamsLiked != nil {
|
||||
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
|
||||
@@ -2209,6 +2246,11 @@ func (this *ActivityStreamsService) SetTootFeatured(i vocab.TootFeaturedProperty
|
||||
this.TootFeatured = i
|
||||
}
|
||||
|
||||
// SetTootIndexable sets the "indexable" property.
|
||||
func (this *ActivityStreamsService) SetTootIndexable(i vocab.TootIndexableProperty) {
|
||||
this.TootIndexable = i
|
||||
}
|
||||
|
||||
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
|
||||
func (this *ActivityStreamsService) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
|
||||
this.W3IDSecurityV1PublicKey = i
|
||||
|
@@ -64,6 +64,10 @@ type privateManager interface {
|
||||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method
|
||||
// for the "TootFocalPointProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
@@ -32,6 +32,7 @@ type ActivityStreamsVideo struct {
|
||||
ActivityStreamsContext vocab.ActivityStreamsContextProperty
|
||||
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
|
||||
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
|
||||
TootFocalPoint vocab.TootFocalPointProperty
|
||||
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
|
||||
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
|
||||
JSONLDId vocab.JSONLDIdProperty
|
||||
@@ -174,6 +175,11 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsEndTime = p
|
||||
}
|
||||
if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootFocalPoint = p
|
||||
}
|
||||
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
@@ -327,6 +333,8 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
||||
continue
|
||||
} else if k == "endTime" {
|
||||
continue
|
||||
} else if k == "focalPoint" {
|
||||
continue
|
||||
} else if k == "generator" {
|
||||
continue
|
||||
} else if k == "icon" {
|
||||
@@ -645,6 +653,12 @@ func (this ActivityStreamsVideo) GetTootBlurhash() vocab.TootBlurhashProperty {
|
||||
return this.TootBlurhash
|
||||
}
|
||||
|
||||
// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsVideo) GetTootFocalPoint() vocab.TootFocalPointProperty {
|
||||
return this.TootFocalPoint
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsVideo) GetTypeName() string {
|
||||
return "Video"
|
||||
@@ -683,6 +697,7 @@ func (this ActivityStreamsVideo) JSONLDContext() map[string]string {
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
|
||||
m = this.helperJSONLDContext(this.TootFocalPoint, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
|
||||
m = this.helperJSONLDContext(this.JSONLDId, m)
|
||||
@@ -897,6 +912,20 @@ func (this ActivityStreamsVideo) LessThan(o vocab.ActivityStreamsVideo) bool {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "focalPoint"
|
||||
if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
return true
|
||||
} else if rhs.LessThan(lhs) {
|
||||
return false
|
||||
}
|
||||
} else if lhs == nil && rhs != nil {
|
||||
// Nil is less than anything else
|
||||
return true
|
||||
} else if rhs != nil && rhs == nil {
|
||||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "generator"
|
||||
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
@@ -1360,6 +1389,14 @@ func (this ActivityStreamsVideo) Serialize() (map[string]interface{}, error) {
|
||||
m[this.ActivityStreamsEndTime.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "focalPoint"
|
||||
if this.TootFocalPoint != nil {
|
||||
if i, err := this.TootFocalPoint.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootFocalPoint.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "generator"
|
||||
if this.ActivityStreamsGenerator != nil {
|
||||
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
|
||||
@@ -1751,6 +1788,11 @@ func (this *ActivityStreamsVideo) SetTootBlurhash(i vocab.TootBlurhashProperty)
|
||||
this.TootBlurhash = i
|
||||
}
|
||||
|
||||
// SetTootFocalPoint sets the "focalPoint" property.
|
||||
func (this *ActivityStreamsVideo) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
|
||||
this.TootFocalPoint = i
|
||||
}
|
||||
|
||||
// VocabularyURI returns the vocabulary's URI as a string.
|
||||
func (this ActivityStreamsVideo) VocabularyURI() string {
|
||||
return "https://www.w3.org/ns/activitystreams"
|
||||
|
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package propertyautomaticapproval contains the implementation for the
|
||||
// automaticApproval property. 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 propertyautomaticapproval
|
15
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go
generated
vendored
Normal file
15
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertyautomaticapproval
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface{}
|
||||
|
||||
// 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
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user