mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-27 09:30:29 +00:00
[chore] Update activity dependency (#2031)
This commit is contained in:
parent
e747c14685
commit
cf4bd700fb
405 changed files with 7566 additions and 86024 deletions
2
go.mod
2
go.mod
|
@ -42,7 +42,7 @@ require (
|
|||
github.com/spf13/cobra v1.7.0
|
||||
github.com/spf13/viper v1.16.0
|
||||
github.com/stretchr/testify v1.8.4
|
||||
github.com/superseriousbusiness/activity v1.3.0-gts
|
||||
github.com/superseriousbusiness/activity v1.4.0-gts
|
||||
github.com/superseriousbusiness/exif-terminator v0.5.0
|
||||
github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8
|
||||
github.com/tdewolff/minify/v2 v2.12.7
|
||||
|
|
4
go.sum
4
go.sum
|
@ -552,8 +552,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
|
|||
github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8=
|
||||
github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
|
||||
github.com/sunfish-shogi/bufseekio v0.0.0-20210207115823-a4185644b365/go.mod h1:dEzdXgvImkQ3WLI+0KQpmEx8T/C/ma9KeS3AfmU899I=
|
||||
github.com/superseriousbusiness/activity v1.3.0-gts h1:59H3gQIIUK5xefloMmBKCRbl/YUJFzWcy1Qx4zEZkS4=
|
||||
github.com/superseriousbusiness/activity v1.3.0-gts/go.mod h1:AZw0Xb4Oju8rmaJCZ21gc5CPg47MmNgyac+Hx5jo8VM=
|
||||
github.com/superseriousbusiness/activity v1.4.0-gts h1:9r95sYy80tuGWWpDDNlLwa/k6dKZdyP/k+rhVA+VjdQ=
|
||||
github.com/superseriousbusiness/activity v1.4.0-gts/go.mod h1:AZw0Xb4Oju8rmaJCZ21gc5CPg47MmNgyac+Hx5jo8VM=
|
||||
github.com/superseriousbusiness/exif-terminator v0.5.0 h1:57SO/geyaOl2v/lJSQLVcQbdghpyFuK8ZTtaHL81fUQ=
|
||||
github.com/superseriousbusiness/exif-terminator v0.5.0/go.mod h1:d5IkskXco/3XRXzOrI73uGYn+wahJEqPlQSSqn6jxSw=
|
||||
github.com/superseriousbusiness/go-jpeg-image-structure/v2 v2.0.0-20220321154430-d89a106fdabe h1:ksl2oCx/Qo8sNDc3Grb8WGKBM9nkvhCm25uvlT86azE=
|
||||
|
|
78
vendor/github.com/superseriousbusiness/activity/streams/gen_consts.go
generated
vendored
78
vendor/github.com/superseriousbusiness/activity/streams/gen_consts.go
generated
vendored
|
@ -29,18 +29,12 @@ var ActivityStreamsAudioName string = "Audio"
|
|||
// ActivityStreamsBlockName is the string literal of the name for the Block type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsBlockName string = "Block"
|
||||
|
||||
// ForgeFedBranchName is the string literal of the name for the Branch type in the ForgeFed vocabulary.
|
||||
var ForgeFedBranchName string = "Branch"
|
||||
|
||||
// ActivityStreamsCollectionName is the string literal of the name for the Collection type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsCollectionName string = "Collection"
|
||||
|
||||
// ActivityStreamsCollectionPageName is the string literal of the name for the CollectionPage type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsCollectionPageName string = "CollectionPage"
|
||||
|
||||
// ForgeFedCommitName is the string literal of the name for the Commit type in the ForgeFed vocabulary.
|
||||
var ForgeFedCommitName string = "Commit"
|
||||
|
||||
// ActivityStreamsCreateName is the string literal of the name for the Create type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsCreateName string = "Create"
|
||||
|
||||
|
@ -71,6 +65,9 @@ var ActivityStreamsFollowName string = "Follow"
|
|||
// ActivityStreamsGroupName is the string literal of the name for the Group type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsGroupName string = "Group"
|
||||
|
||||
// TootHashtagName is the string literal of the name for the Hashtag type in the Toot vocabulary.
|
||||
var TootHashtagName string = "Hashtag"
|
||||
|
||||
// TootIdentityProofName is the string literal of the name for the IdentityProof type in the Toot vocabulary.
|
||||
var TootIdentityProofName string = "IdentityProof"
|
||||
|
||||
|
@ -143,9 +140,6 @@ var SchemaPropertyValueName string = "PropertyValue"
|
|||
// W3IDSecurityV1PublicKeyName is the string literal of the name for the PublicKey type in the W3IDSecurityV1 vocabulary.
|
||||
var W3IDSecurityV1PublicKeyName string = "PublicKey"
|
||||
|
||||
// ForgeFedPushName is the string literal of the name for the Push type in the ForgeFed vocabulary.
|
||||
var ForgeFedPushName string = "Push"
|
||||
|
||||
// ActivityStreamsQuestionName is the string literal of the name for the Question type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsQuestionName string = "Question"
|
||||
|
||||
|
@ -161,9 +155,6 @@ var ActivityStreamsRelationshipName string = "Relationship"
|
|||
// ActivityStreamsRemoveName is the string literal of the name for the Remove type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsRemoveName string = "Remove"
|
||||
|
||||
// ForgeFedRepositoryName is the string literal of the name for the Repository type in the ForgeFed vocabulary.
|
||||
var ForgeFedRepositoryName string = "Repository"
|
||||
|
||||
// ActivityStreamsServiceName is the string literal of the name for the Service type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsServiceName string = "Service"
|
||||
|
||||
|
@ -173,12 +164,6 @@ var ActivityStreamsTentativeAcceptName string = "TentativeAccept"
|
|||
// ActivityStreamsTentativeRejectName is the string literal of the name for the TentativeReject type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsTentativeRejectName string = "TentativeReject"
|
||||
|
||||
// ForgeFedTicketName is the string literal of the name for the Ticket type in the ForgeFed vocabulary.
|
||||
var ForgeFedTicketName string = "Ticket"
|
||||
|
||||
// ForgeFedTicketDependencyName is the string literal of the name for the TicketDependency type in the ForgeFed vocabulary.
|
||||
var ForgeFedTicketDependencyName string = "TicketDependency"
|
||||
|
||||
// ActivityStreamsTombstoneName is the string literal of the name for the Tombstone type in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsTombstoneName string = "Tombstone"
|
||||
|
||||
|
@ -209,9 +194,6 @@ var ActivityStreamsAltitudePropertyName string = "altitude"
|
|||
// ActivityStreamsAnyOfPropertyName is the string literal of the name for the anyOf property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsAnyOfPropertyName string = "anyOf"
|
||||
|
||||
// ForgeFedAssignedToPropertyName is the string literal of the name for the assignedTo property in the ForgeFed vocabulary.
|
||||
var ForgeFedAssignedToPropertyName string = "assignedTo"
|
||||
|
||||
// ActivityStreamsAttachmentPropertyName is the string literal of the name for the attachment property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsAttachmentPropertyName string = "attachment"
|
||||
|
||||
|
@ -236,12 +218,6 @@ var ActivityStreamsCcPropertyName string = "cc"
|
|||
// ActivityStreamsClosedPropertyName is the string literal of the name for the closed property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsClosedPropertyName string = "closed"
|
||||
|
||||
// ForgeFedCommittedPropertyName is the string literal of the name for the committed property in the ForgeFed vocabulary.
|
||||
var ForgeFedCommittedPropertyName string = "committed"
|
||||
|
||||
// ForgeFedCommittedByPropertyName is the string literal of the name for the committedBy property in the ForgeFed vocabulary.
|
||||
var ForgeFedCommittedByPropertyName string = "committedBy"
|
||||
|
||||
// ActivityStreamsContentPropertyName is the string literal of the name for the content property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsContentPropertyName string = "content"
|
||||
|
||||
|
@ -257,33 +233,15 @@ var ActivityStreamsCurrentPropertyName string = "current"
|
|||
// ActivityStreamsDeletedPropertyName is the string literal of the name for the deleted property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsDeletedPropertyName string = "deleted"
|
||||
|
||||
// ForgeFedDependantsPropertyName is the string literal of the name for the dependants property in the ForgeFed vocabulary.
|
||||
var ForgeFedDependantsPropertyName string = "dependants"
|
||||
|
||||
// ForgeFedDependedByPropertyName is the string literal of the name for the dependedBy property in the ForgeFed vocabulary.
|
||||
var ForgeFedDependedByPropertyName string = "dependedBy"
|
||||
|
||||
// ForgeFedDependenciesPropertyName is the string literal of the name for the dependencies property in the ForgeFed vocabulary.
|
||||
var ForgeFedDependenciesPropertyName string = "dependencies"
|
||||
|
||||
// ForgeFedDependsOnPropertyName is the string literal of the name for the dependsOn property in the ForgeFed vocabulary.
|
||||
var ForgeFedDependsOnPropertyName string = "dependsOn"
|
||||
|
||||
// ActivityStreamsDescribesPropertyName is the string literal of the name for the describes property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsDescribesPropertyName string = "describes"
|
||||
|
||||
// ForgeFedDescriptionPropertyName is the string literal of the name for the description property in the ForgeFed vocabulary.
|
||||
var ForgeFedDescriptionPropertyName string = "description"
|
||||
|
||||
// TootDiscoverablePropertyName is the string literal of the name for the discoverable property in the Toot vocabulary.
|
||||
var TootDiscoverablePropertyName string = "discoverable"
|
||||
|
||||
// ActivityStreamsDurationPropertyName is the string literal of the name for the duration property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsDurationPropertyName string = "duration"
|
||||
|
||||
// ForgeFedEarlyItemsPropertyName is the string literal of the name for the earlyItems property in the ForgeFed vocabulary.
|
||||
var ForgeFedEarlyItemsPropertyName string = "earlyItems"
|
||||
|
||||
// ActivityStreamsEndTimePropertyName is the string literal of the name for the endTime property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsEndTimePropertyName string = "endTime"
|
||||
|
||||
|
@ -293,15 +251,6 @@ var ActivityStreamsEndpointsPropertyName string = "endpoints"
|
|||
// TootFeaturedPropertyName is the string literal of the name for the featured property in the Toot vocabulary.
|
||||
var TootFeaturedPropertyName string = "featured"
|
||||
|
||||
// ForgeFedFilesAddedPropertyName is the string literal of the name for the filesAdded property in the ForgeFed vocabulary.
|
||||
var ForgeFedFilesAddedPropertyName string = "filesAdded"
|
||||
|
||||
// ForgeFedFilesModifiedPropertyName is the string literal of the name for the filesModified property in the ForgeFed vocabulary.
|
||||
var ForgeFedFilesModifiedPropertyName string = "filesModified"
|
||||
|
||||
// ForgeFedFilesRemovedPropertyName is the string literal of the name for the filesRemoved property in the ForgeFed vocabulary.
|
||||
var ForgeFedFilesRemovedPropertyName string = "filesRemoved"
|
||||
|
||||
// ActivityStreamsFirstPropertyName is the string literal of the name for the first property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsFirstPropertyName string = "first"
|
||||
|
||||
|
@ -311,18 +260,12 @@ var ActivityStreamsFollowersPropertyName string = "followers"
|
|||
// ActivityStreamsFollowingPropertyName is the string literal of the name for the following property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsFollowingPropertyName string = "following"
|
||||
|
||||
// ForgeFedForksPropertyName is the string literal of the name for the forks property in the ForgeFed vocabulary.
|
||||
var ForgeFedForksPropertyName string = "forks"
|
||||
|
||||
// ActivityStreamsFormerTypePropertyName is the string literal of the name for the formerType property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsFormerTypePropertyName string = "formerType"
|
||||
|
||||
// ActivityStreamsGeneratorPropertyName is the string literal of the name for the generator property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsGeneratorPropertyName string = "generator"
|
||||
|
||||
// ForgeFedHashPropertyName is the string literal of the name for the hash property in the ForgeFed vocabulary.
|
||||
var ForgeFedHashPropertyName string = "hash"
|
||||
|
||||
// ActivityStreamsHeightPropertyName is the string literal of the name for the height property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsHeightPropertyName string = "height"
|
||||
|
||||
|
@ -347,9 +290,6 @@ var ActivityStreamsInboxPropertyName string = "inbox"
|
|||
// ActivityStreamsInstrumentPropertyName is the string literal of the name for the instrument property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsInstrumentPropertyName string = "instrument"
|
||||
|
||||
// ForgeFedIsResolvedPropertyName is the string literal of the name for the isResolved property in the ForgeFed vocabulary.
|
||||
var ForgeFedIsResolvedPropertyName string = "isResolved"
|
||||
|
||||
// ActivityStreamsItemsPropertyName is the string literal of the name for the items property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsItemsPropertyName string = "items"
|
||||
|
||||
|
@ -431,9 +371,6 @@ var ActivityStreamsPublishedPropertyName string = "published"
|
|||
// ActivityStreamsRadiusPropertyName is the string literal of the name for the radius property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsRadiusPropertyName string = "radius"
|
||||
|
||||
// ForgeFedRefPropertyName is the string literal of the name for the ref property in the ForgeFed vocabulary.
|
||||
var ForgeFedRefPropertyName string = "ref"
|
||||
|
||||
// ActivityStreamsRelPropertyName is the string literal of the name for the rel property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsRelPropertyName string = "rel"
|
||||
|
||||
|
@ -488,21 +425,12 @@ var ActivityStreamsTagPropertyName string = "tag"
|
|||
// ActivityStreamsTargetPropertyName is the string literal of the name for the target property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsTargetPropertyName string = "target"
|
||||
|
||||
// ForgeFedTeamPropertyName is the string literal of the name for the team property in the ForgeFed vocabulary.
|
||||
var ForgeFedTeamPropertyName string = "team"
|
||||
|
||||
// ForgeFedTicketsTrackedByPropertyName is the string literal of the name for the ticketsTrackedBy property in the ForgeFed vocabulary.
|
||||
var ForgeFedTicketsTrackedByPropertyName string = "ticketsTrackedBy"
|
||||
|
||||
// ActivityStreamsToPropertyName is the string literal of the name for the to property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsToPropertyName string = "to"
|
||||
|
||||
// ActivityStreamsTotalItemsPropertyName is the string literal of the name for the totalItems property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsTotalItemsPropertyName string = "totalItems"
|
||||
|
||||
// ForgeFedTracksTicketsForPropertyName is the string literal of the name for the tracksTicketsFor property in the ForgeFed vocabulary.
|
||||
var ForgeFedTracksTicketsForPropertyName string = "tracksTicketsFor"
|
||||
|
||||
// ActivityStreamsUnitsPropertyName is the string literal of the name for the units property in the ActivityStreams vocabulary.
|
||||
var ActivityStreamsUnitsPropertyName string = "units"
|
||||
|
||||
|
|
59
vendor/github.com/superseriousbusiness/activity/streams/gen_init.go
generated
vendored
59
vendor/github.com/superseriousbusiness/activity/streams/gen_init.go
generated
vendored
|
@ -133,31 +133,6 @@ import (
|
|||
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
|
||||
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
|
||||
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
|
||||
propertyassignedto "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto"
|
||||
propertycommitted "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed"
|
||||
propertycommittedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby"
|
||||
propertydependants "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants"
|
||||
propertydependedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby"
|
||||
propertydependencies "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies"
|
||||
propertydependson "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson"
|
||||
propertydescription "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description"
|
||||
propertyearlyitems "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems"
|
||||
propertyfilesadded "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded"
|
||||
propertyfilesmodified "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified"
|
||||
propertyfilesremoved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved"
|
||||
propertyforks "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks"
|
||||
propertyhash "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash"
|
||||
propertyisresolved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved"
|
||||
propertyref "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref"
|
||||
propertyteam "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team"
|
||||
propertyticketstrackedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby"
|
||||
propertytracksticketsfor "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor"
|
||||
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
|
||||
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
|
||||
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
|
||||
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
|
||||
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
|
||||
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
|
||||
propertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/property_value"
|
||||
typepropertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue"
|
||||
propertyblurhash "github.com/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
|
||||
|
@ -167,6 +142,7 @@ import (
|
|||
propertysignaturevalue "github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
|
||||
propertyvoterscount "github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
|
||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
||||
typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag"
|
||||
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||
propertyowner "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner"
|
||||
propertypublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey"
|
||||
|
@ -317,31 +293,6 @@ func init() {
|
|||
typeupdate.SetManager(mgr)
|
||||
typevideo.SetManager(mgr)
|
||||
typeview.SetManager(mgr)
|
||||
propertyassignedto.SetManager(mgr)
|
||||
propertycommitted.SetManager(mgr)
|
||||
propertycommittedby.SetManager(mgr)
|
||||
propertydependants.SetManager(mgr)
|
||||
propertydependedby.SetManager(mgr)
|
||||
propertydependencies.SetManager(mgr)
|
||||
propertydependson.SetManager(mgr)
|
||||
propertydescription.SetManager(mgr)
|
||||
propertyearlyitems.SetManager(mgr)
|
||||
propertyfilesadded.SetManager(mgr)
|
||||
propertyfilesmodified.SetManager(mgr)
|
||||
propertyfilesremoved.SetManager(mgr)
|
||||
propertyforks.SetManager(mgr)
|
||||
propertyhash.SetManager(mgr)
|
||||
propertyisresolved.SetManager(mgr)
|
||||
propertyref.SetManager(mgr)
|
||||
propertyteam.SetManager(mgr)
|
||||
propertyticketstrackedby.SetManager(mgr)
|
||||
propertytracksticketsfor.SetManager(mgr)
|
||||
typebranch.SetManager(mgr)
|
||||
typecommit.SetManager(mgr)
|
||||
typepush.SetManager(mgr)
|
||||
typerepository.SetManager(mgr)
|
||||
typeticket.SetManager(mgr)
|
||||
typeticketdependency.SetManager(mgr)
|
||||
propertyvalue.SetManager(mgr)
|
||||
typepropertyvalue.SetManager(mgr)
|
||||
propertyblurhash.SetManager(mgr)
|
||||
|
@ -351,6 +302,7 @@ func init() {
|
|||
propertysignaturevalue.SetManager(mgr)
|
||||
propertyvoterscount.SetManager(mgr)
|
||||
typeemoji.SetManager(mgr)
|
||||
typehashtag.SetManager(mgr)
|
||||
typeidentityproof.SetManager(mgr)
|
||||
propertyowner.SetManager(mgr)
|
||||
propertypublickey.SetManager(mgr)
|
||||
|
@ -411,14 +363,9 @@ func init() {
|
|||
typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeview.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typebranch.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typecommit.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typepush.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typerepository.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeticket.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeticketdependency.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typepropertyvalue.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
}
|
||||
|
|
98
vendor/github.com/superseriousbusiness/activity/streams/gen_json_resolver.go
generated
vendored
98
vendor/github.com/superseriousbusiness/activity/streams/gen_json_resolver.go
generated
vendored
|
@ -49,14 +49,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsBlock) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedBranch) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCollection) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCollectionPage) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedCommit) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCreate) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsDelete) error:
|
||||
|
@ -77,6 +73,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsGroup) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.TootHashtag) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.TootIdentityProof) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsIgnore) error:
|
||||
|
@ -125,8 +123,6 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.W3IDSecurityV1PublicKey) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedPush) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsQuestion) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsRead) error:
|
||||
|
@ -137,18 +133,12 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsRemove) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedRepository) 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:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTentativeReject) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedTicket) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedTicketDependency) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTombstone) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTravel) error:
|
||||
|
@ -240,13 +230,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
if len(ActivityStreamsAlias) > 0 {
|
||||
ActivityStreamsAlias += ":"
|
||||
}
|
||||
ForgeFedAlias, ok := aliasMap["https://forgefed.peers.community/ns"]
|
||||
if !ok {
|
||||
ForgeFedAlias = aliasMap["http://forgefed.peers.community/ns"]
|
||||
}
|
||||
if len(ForgeFedAlias) > 0 {
|
||||
ForgeFedAlias += ":"
|
||||
}
|
||||
TootAlias, ok := aliasMap["https://joinmastodon.org/ns"]
|
||||
if !ok {
|
||||
TootAlias = aliasMap["http://joinmastodon.org/ns"]
|
||||
|
@ -368,17 +351,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ForgeFedAlias+"Branch" {
|
||||
v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedBranch) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Collection" {
|
||||
v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
@ -401,17 +373,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ForgeFedAlias+"Commit" {
|
||||
v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedCommit) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Create" {
|
||||
v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
@ -522,6 +483,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == TootAlias+"Hashtag" {
|
||||
v, err := mgr.DeserializeHashtagToot()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.TootHashtag) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == TootAlias+"IdentityProof" {
|
||||
v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
@ -786,17 +758,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ForgeFedAlias+"Push" {
|
||||
v, err := mgr.DeserializePushForgeFed()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedPush) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Question" {
|
||||
v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
@ -852,17 +813,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ForgeFedAlias+"Repository" {
|
||||
v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedRepository) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Service" {
|
||||
v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
@ -896,28 +846,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
|||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ForgeFedAlias+"Ticket" {
|
||||
v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedTicket) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ForgeFedAlias+"TicketDependency" {
|
||||
v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
for _, i := range this.callbacks {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedTicketDependency) error); ok {
|
||||
return fn(ctx, v)
|
||||
}
|
||||
}
|
||||
return ErrNoCallbackMatch
|
||||
} else if typeString == ActivityStreamsAlias+"Tombstone" {
|
||||
v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap)
|
||||
if err != nil {
|
||||
|
|
340
vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
generated
vendored
340
vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
generated
vendored
|
@ -133,31 +133,6 @@ import (
|
|||
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
|
||||
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
|
||||
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
|
||||
propertyassignedto "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto"
|
||||
propertycommitted "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed"
|
||||
propertycommittedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby"
|
||||
propertydependants "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants"
|
||||
propertydependedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby"
|
||||
propertydependencies "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies"
|
||||
propertydependson "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson"
|
||||
propertydescription "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description"
|
||||
propertyearlyitems "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems"
|
||||
propertyfilesadded "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded"
|
||||
propertyfilesmodified "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified"
|
||||
propertyfilesremoved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved"
|
||||
propertyforks "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks"
|
||||
propertyhash "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash"
|
||||
propertyisresolved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved"
|
||||
propertyref "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref"
|
||||
propertyteam "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team"
|
||||
propertyticketstrackedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby"
|
||||
propertytracksticketsfor "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor"
|
||||
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
|
||||
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
|
||||
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
|
||||
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
|
||||
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
|
||||
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
|
||||
propertyid "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_id"
|
||||
propertytype "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_type"
|
||||
propertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/property_value"
|
||||
|
@ -169,6 +144,7 @@ import (
|
|||
propertysignaturevalue "github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
|
||||
propertyvoterscount "github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
|
||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
||||
typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag"
|
||||
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||
propertyowner "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner"
|
||||
propertypublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey"
|
||||
|
@ -326,19 +302,6 @@ func (this Manager) DeserializeArticleActivityStreams() func(map[string]interfac
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeAssignedToPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedAssignedToProperty" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeAssignedToPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedAssignedToProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedAssignedToProperty, error) {
|
||||
i, err := propertyassignedto.DeserializeAssignedToProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeAttachmentPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsAttachmentProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -429,18 +392,6 @@ func (this Manager) DeserializeBlurhashPropertyToot() func(map[string]interface{
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedBranch, error) {
|
||||
i, err := typebranch.DeserializeBranch(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeBtoPropertyActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsBtoProperty" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
@ -506,44 +457,6 @@ func (this Manager) DeserializeCollectionPageActivityStreams() func(map[string]i
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedCommit, error) {
|
||||
i, err := typecommit.DeserializeCommit(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeCommittedByPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedCommittedByProperty" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeCommittedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommittedByProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedCommittedByProperty, error) {
|
||||
i, err := propertycommittedby.DeserializeCommittedByProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeCommittedPropertyForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommittedProperty" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeCommittedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommittedProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedCommittedProperty, error) {
|
||||
i, err := propertycommitted.DeserializeCommittedProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeContentPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsContentProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -622,58 +535,6 @@ func (this Manager) DeserializeDeletedPropertyActivityStreams() func(map[string]
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeDependantsPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedDependantsProperty" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeDependantsPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependantsProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependantsProperty, error) {
|
||||
i, err := propertydependants.DeserializeDependantsProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeDependedByPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedDependedByProperty" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeDependedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependedByProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependedByProperty, error) {
|
||||
i, err := propertydependedby.DeserializeDependedByProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeDependenciesPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedDependenciesProperty" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeDependenciesPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependenciesProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependenciesProperty, error) {
|
||||
i, err := propertydependencies.DeserializeDependenciesProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeDependsOnPropertyForgeFed returns the deserialization method for the
|
||||
// "ForgeFedDependsOnProperty" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeDependsOnPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependsOnProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependsOnProperty, error) {
|
||||
i, err := propertydependson.DeserializeDependsOnProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeDescribesPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsDescribesProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -687,19 +548,6 @@ func (this Manager) DeserializeDescribesPropertyActivityStreams() func(map[strin
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeDescriptionPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedDescriptionProperty" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeDescriptionPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDescriptionProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDescriptionProperty, error) {
|
||||
i, err := propertydescription.DeserializeDescriptionProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeDiscoverablePropertyToot returns the deserialization method for the
|
||||
// "TootDiscoverableProperty" non-functional property in the vocabulary "Toot"
|
||||
func (this Manager) DeserializeDiscoverablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootDiscoverableProperty, error) {
|
||||
|
@ -751,19 +599,6 @@ func (this Manager) DeserializeDurationPropertyActivityStreams() func(map[string
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeEarlyItemsPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedEarlyItemsProperty" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeEarlyItemsPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedEarlyItemsProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedEarlyItemsProperty, error) {
|
||||
i, err := propertyearlyitems.DeserializeEarlyItemsProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeEmojiToot returns the deserialization method for the "TootEmoji"
|
||||
// non-functional property in the vocabulary "Toot"
|
||||
func (this Manager) DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error) {
|
||||
|
@ -840,45 +675,6 @@ func (this Manager) DeserializeFeaturedPropertyToot() func(map[string]interface{
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeFilesAddedPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedFilesAddedProperty" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeFilesAddedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesAddedProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesAddedProperty, error) {
|
||||
i, err := propertyfilesadded.DeserializeFilesAddedProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeFilesModifiedPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedFilesModifiedProperty" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeFilesModifiedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesModifiedProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesModifiedProperty, error) {
|
||||
i, err := propertyfilesmodified.DeserializeFilesModifiedProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeFilesRemovedPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedFilesRemovedProperty" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeFilesRemovedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesRemovedProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesRemovedProperty, error) {
|
||||
i, err := propertyfilesremoved.DeserializeFilesRemovedProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeFirstPropertyActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsFirstProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -944,18 +740,6 @@ func (this Manager) DeserializeFollowingPropertyActivityStreams() func(map[strin
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeForksPropertyForgeFed returns the deserialization method for the
|
||||
// "ForgeFedForksProperty" non-functional property in the vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeForksPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedForksProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedForksProperty, error) {
|
||||
i, err := propertyforks.DeserializeForksProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeFormerTypePropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsFormerTypeProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -995,11 +779,11 @@ func (this Manager) DeserializeGroupActivityStreams() func(map[string]interface{
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeHashPropertyForgeFed returns the deserialization method for the
|
||||
// "ForgeFedHashProperty" non-functional property in the vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeHashPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedHashProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedHashProperty, error) {
|
||||
i, err := propertyhash.DeserializeHashProperty(m, aliasMap)
|
||||
// DeserializeHashtagToot returns the deserialization method for the "TootHashtag"
|
||||
// non-functional property in the vocabulary "Toot"
|
||||
func (this Manager) DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.TootHashtag, error) {
|
||||
i, err := typehashtag.DeserializeHashtag(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
|
@ -1187,19 +971,6 @@ func (this Manager) DeserializeInviteActivityStreams() func(map[string]interface
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeIsResolvedPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedIsResolvedProperty" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeIsResolvedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedIsResolvedProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedIsResolvedProperty, error) {
|
||||
i, err := propertyisresolved.DeserializeIsResolvedProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeItemsPropertyActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsItemsProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -1759,18 +1530,6 @@ func (this Manager) DeserializePublishedPropertyActivityStreams() func(map[strin
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedPush, error) {
|
||||
i, err := typepush.DeserializePush(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method for the
|
||||
// "ActivityStreamsQuestion" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
@ -1810,18 +1569,6 @@ func (this Manager) DeserializeReadActivityStreams() func(map[string]interface{}
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeRefPropertyForgeFed returns the deserialization method for the
|
||||
// "ForgeFedRefProperty" non-functional property in the vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeRefPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRefProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedRefProperty, error) {
|
||||
i, err := propertyref.DeserializeRefProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeRejectActivityStreams returns the deserialization method for the
|
||||
// "ActivityStreamsReject" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
@ -1900,18 +1647,6 @@ func (this Manager) DeserializeRepliesPropertyActivityStreams() func(map[string]
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for the
|
||||
// "ForgeFedRepository" non-functional property in the vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedRepository, error) {
|
||||
i, err := typerepository.DeserializeRepository(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"
|
||||
|
@ -2107,18 +1842,6 @@ func (this Manager) DeserializeTargetPropertyActivityStreams() func(map[string]i
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeTeamPropertyForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTeamProperty" non-functional property in the vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTeamProperty, error) {
|
||||
i, err := propertyteam.DeserializeTeamProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeTentativeAcceptActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTentativeAccept" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -2145,44 +1868,6 @@ func (this Manager) DeserializeTentativeRejectActivityStreams() func(map[string]
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicketDependency" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
func (this Manager) DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTicketDependency, error) {
|
||||
i, err := typeticketdependency.DeserializeTicketDependency(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTicket, error) {
|
||||
i, err := typeticket.DeserializeTicket(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketsTrackedByProperty" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error) {
|
||||
i, err := propertyticketstrackedby.DeserializeTicketsTrackedByProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeToPropertyActivityStreams returns the deserialization method for the
|
||||
// "ActivityStreamsToProperty" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
@ -2222,19 +1907,6 @@ func (this Manager) DeserializeTotalItemsPropertyActivityStreams() func(map[stri
|
|||
}
|
||||
}
|
||||
|
||||
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTracksTicketsForProperty" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
func (this Manager) DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) {
|
||||
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) {
|
||||
i, err := propertytracksticketsfor.DeserializeTracksTicketsForProperty(m, aliasMap)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeTravelActivityStreams returns the deserialization method for the
|
||||
// "ActivityStreamsTravel" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
49
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_disjoint.go
generated
vendored
49
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_disjoint.go
generated
vendored
|
@ -1,49 +0,0 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
|
||||
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
|
||||
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
|
||||
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
|
||||
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
|
||||
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// ForgeFedBranchIsDisjointWith returns true if Branch is disjoint with the
|
||||
// other's type.
|
||||
func ForgeFedBranchIsDisjointWith(other vocab.Type) bool {
|
||||
return typebranch.BranchIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// ForgeFedCommitIsDisjointWith returns true if Commit is disjoint with the
|
||||
// other's type.
|
||||
func ForgeFedCommitIsDisjointWith(other vocab.Type) bool {
|
||||
return typecommit.CommitIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// ForgeFedPushIsDisjointWith returns true if Push is disjoint with the other's
|
||||
// type.
|
||||
func ForgeFedPushIsDisjointWith(other vocab.Type) bool {
|
||||
return typepush.PushIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// ForgeFedRepositoryIsDisjointWith returns true if Repository is disjoint with
|
||||
// the other's type.
|
||||
func ForgeFedRepositoryIsDisjointWith(other vocab.Type) bool {
|
||||
return typerepository.RepositoryIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// ForgeFedTicketIsDisjointWith returns true if Ticket is disjoint with the
|
||||
// other's type.
|
||||
func ForgeFedTicketIsDisjointWith(other vocab.Type) bool {
|
||||
return typeticket.TicketIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// ForgeFedTicketDependencyIsDisjointWith returns true if TicketDependency is
|
||||
// disjoint with the other's type.
|
||||
func ForgeFedTicketDependencyIsDisjointWith(other vocab.Type) bool {
|
||||
return typeticketdependency.TicketDependencyIsDisjointWith(other)
|
||||
}
|
55
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extendedby.go
generated
vendored
55
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extendedby.go
generated
vendored
|
@ -1,55 +0,0 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
|
||||
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
|
||||
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
|
||||
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
|
||||
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
|
||||
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// ForgeFedBranchIsExtendedBy returns true if the other's type extends from
|
||||
// Branch. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func ForgeFedBranchIsExtendedBy(other vocab.Type) bool {
|
||||
return typebranch.BranchIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// ForgeFedCommitIsExtendedBy returns true if the other's type extends from
|
||||
// Commit. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func ForgeFedCommitIsExtendedBy(other vocab.Type) bool {
|
||||
return typecommit.CommitIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// ForgeFedPushIsExtendedBy returns true if the other's type extends from Push.
|
||||
// Note that it returns false if the types are the same; see the "IsOrExtends"
|
||||
// variant instead.
|
||||
func ForgeFedPushIsExtendedBy(other vocab.Type) bool {
|
||||
return typepush.PushIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// ForgeFedRepositoryIsExtendedBy returns true if the other's type extends from
|
||||
// Repository. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func ForgeFedRepositoryIsExtendedBy(other vocab.Type) bool {
|
||||
return typerepository.RepositoryIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// ForgeFedTicketIsExtendedBy returns true if the other's type extends from
|
||||
// Ticket. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func ForgeFedTicketIsExtendedBy(other vocab.Type) bool {
|
||||
return typeticket.TicketIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// ForgeFedTicketDependencyIsExtendedBy returns true if the other's type extends
|
||||
// from TicketDependency. Note that it returns false if the types are the
|
||||
// same; see the "IsOrExtends" variant instead.
|
||||
func ForgeFedTicketDependencyIsExtendedBy(other vocab.Type) bool {
|
||||
return typeticketdependency.TicketDependencyIsExtendedBy(other)
|
||||
}
|
48
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extends.go
generated
vendored
48
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extends.go
generated
vendored
|
@ -1,48 +0,0 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
|
||||
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
|
||||
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
|
||||
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
|
||||
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
|
||||
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// ForgeFedForgeFedBranchExtends returns true if Branch extends from the other's
|
||||
// type.
|
||||
func ForgeFedForgeFedBranchExtends(other vocab.Type) bool {
|
||||
return typebranch.ForgeFedBranchExtends(other)
|
||||
}
|
||||
|
||||
// ForgeFedForgeFedCommitExtends returns true if Commit extends from the other's
|
||||
// type.
|
||||
func ForgeFedForgeFedCommitExtends(other vocab.Type) bool {
|
||||
return typecommit.ForgeFedCommitExtends(other)
|
||||
}
|
||||
|
||||
// ForgeFedForgeFedPushExtends returns true if Push extends from the other's type.
|
||||
func ForgeFedForgeFedPushExtends(other vocab.Type) bool {
|
||||
return typepush.ForgeFedPushExtends(other)
|
||||
}
|
||||
|
||||
// ForgeFedForgeFedRepositoryExtends returns true if Repository extends from the
|
||||
// other's type.
|
||||
func ForgeFedForgeFedRepositoryExtends(other vocab.Type) bool {
|
||||
return typerepository.ForgeFedRepositoryExtends(other)
|
||||
}
|
||||
|
||||
// ForgeFedForgeFedTicketExtends returns true if Ticket extends from the other's
|
||||
// type.
|
||||
func ForgeFedForgeFedTicketExtends(other vocab.Type) bool {
|
||||
return typeticket.ForgeFedTicketExtends(other)
|
||||
}
|
||||
|
||||
// ForgeFedForgeFedTicketDependencyExtends returns true if TicketDependency
|
||||
// extends from the other's type.
|
||||
func ForgeFedForgeFedTicketDependencyExtends(other vocab.Type) bool {
|
||||
return typeticketdependency.ForgeFedTicketDependencyExtends(other)
|
||||
}
|
49
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_isorextends.go
generated
vendored
49
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_isorextends.go
generated
vendored
|
@ -1,49 +0,0 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
|
||||
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
|
||||
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
|
||||
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
|
||||
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
|
||||
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// IsOrExtendsForgeFedBranch returns true if the other provided type is the Branch
|
||||
// type or extends from the Branch type.
|
||||
func IsOrExtendsForgeFedBranch(other vocab.Type) bool {
|
||||
return typebranch.IsOrExtendsBranch(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsForgeFedCommit returns true if the other provided type is the Commit
|
||||
// type or extends from the Commit type.
|
||||
func IsOrExtendsForgeFedCommit(other vocab.Type) bool {
|
||||
return typecommit.IsOrExtendsCommit(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsForgeFedPush returns true if the other provided type is the Push
|
||||
// type or extends from the Push type.
|
||||
func IsOrExtendsForgeFedPush(other vocab.Type) bool {
|
||||
return typepush.IsOrExtendsPush(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsForgeFedRepository returns true if the other provided type is the
|
||||
// Repository type or extends from the Repository type.
|
||||
func IsOrExtendsForgeFedRepository(other vocab.Type) bool {
|
||||
return typerepository.IsOrExtendsRepository(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsForgeFedTicket returns true if the other provided type is the Ticket
|
||||
// type or extends from the Ticket type.
|
||||
func IsOrExtendsForgeFedTicket(other vocab.Type) bool {
|
||||
return typeticket.IsOrExtendsTicket(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsForgeFedTicketDependency returns true if the other provided type is
|
||||
// the TicketDependency type or extends from the TicketDependency type.
|
||||
func IsOrExtendsForgeFedTicketDependency(other vocab.Type) bool {
|
||||
return typeticketdependency.IsOrExtendsTicketDependency(other)
|
||||
}
|
|
@ -1,126 +0,0 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
propertyassignedto "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto"
|
||||
propertycommitted "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed"
|
||||
propertycommittedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby"
|
||||
propertydependants "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants"
|
||||
propertydependedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby"
|
||||
propertydependencies "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies"
|
||||
propertydependson "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson"
|
||||
propertydescription "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description"
|
||||
propertyearlyitems "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems"
|
||||
propertyfilesadded "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded"
|
||||
propertyfilesmodified "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified"
|
||||
propertyfilesremoved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved"
|
||||
propertyforks "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks"
|
||||
propertyhash "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash"
|
||||
propertyisresolved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved"
|
||||
propertyref "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref"
|
||||
propertyteam "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team"
|
||||
propertyticketstrackedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby"
|
||||
propertytracksticketsfor "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// NewForgeFedForgeFedAssignedToProperty creates a new ForgeFedAssignedToProperty
|
||||
func NewForgeFedAssignedToProperty() vocab.ForgeFedAssignedToProperty {
|
||||
return propertyassignedto.NewForgeFedAssignedToProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedCommittedProperty creates a new ForgeFedCommittedProperty
|
||||
func NewForgeFedCommittedProperty() vocab.ForgeFedCommittedProperty {
|
||||
return propertycommitted.NewForgeFedCommittedProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedCommittedByProperty creates a new ForgeFedCommittedByProperty
|
||||
func NewForgeFedCommittedByProperty() vocab.ForgeFedCommittedByProperty {
|
||||
return propertycommittedby.NewForgeFedCommittedByProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedDependantsProperty creates a new ForgeFedDependantsProperty
|
||||
func NewForgeFedDependantsProperty() vocab.ForgeFedDependantsProperty {
|
||||
return propertydependants.NewForgeFedDependantsProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedDependedByProperty creates a new ForgeFedDependedByProperty
|
||||
func NewForgeFedDependedByProperty() vocab.ForgeFedDependedByProperty {
|
||||
return propertydependedby.NewForgeFedDependedByProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedDependenciesProperty creates a new
|
||||
// ForgeFedDependenciesProperty
|
||||
func NewForgeFedDependenciesProperty() vocab.ForgeFedDependenciesProperty {
|
||||
return propertydependencies.NewForgeFedDependenciesProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedDependsOnProperty creates a new ForgeFedDependsOnProperty
|
||||
func NewForgeFedDependsOnProperty() vocab.ForgeFedDependsOnProperty {
|
||||
return propertydependson.NewForgeFedDependsOnProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedDescriptionProperty creates a new ForgeFedDescriptionProperty
|
||||
func NewForgeFedDescriptionProperty() vocab.ForgeFedDescriptionProperty {
|
||||
return propertydescription.NewForgeFedDescriptionProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedEarlyItemsProperty creates a new ForgeFedEarlyItemsProperty
|
||||
func NewForgeFedEarlyItemsProperty() vocab.ForgeFedEarlyItemsProperty {
|
||||
return propertyearlyitems.NewForgeFedEarlyItemsProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedFilesAddedProperty creates a new ForgeFedFilesAddedProperty
|
||||
func NewForgeFedFilesAddedProperty() vocab.ForgeFedFilesAddedProperty {
|
||||
return propertyfilesadded.NewForgeFedFilesAddedProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedFilesModifiedProperty creates a new
|
||||
// ForgeFedFilesModifiedProperty
|
||||
func NewForgeFedFilesModifiedProperty() vocab.ForgeFedFilesModifiedProperty {
|
||||
return propertyfilesmodified.NewForgeFedFilesModifiedProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedFilesRemovedProperty creates a new
|
||||
// ForgeFedFilesRemovedProperty
|
||||
func NewForgeFedFilesRemovedProperty() vocab.ForgeFedFilesRemovedProperty {
|
||||
return propertyfilesremoved.NewForgeFedFilesRemovedProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedForksProperty creates a new ForgeFedForksProperty
|
||||
func NewForgeFedForksProperty() vocab.ForgeFedForksProperty {
|
||||
return propertyforks.NewForgeFedForksProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedHashProperty creates a new ForgeFedHashProperty
|
||||
func NewForgeFedHashProperty() vocab.ForgeFedHashProperty {
|
||||
return propertyhash.NewForgeFedHashProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedIsResolvedProperty creates a new ForgeFedIsResolvedProperty
|
||||
func NewForgeFedIsResolvedProperty() vocab.ForgeFedIsResolvedProperty {
|
||||
return propertyisresolved.NewForgeFedIsResolvedProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedRefProperty creates a new ForgeFedRefProperty
|
||||
func NewForgeFedRefProperty() vocab.ForgeFedRefProperty {
|
||||
return propertyref.NewForgeFedRefProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedTeamProperty creates a new ForgeFedTeamProperty
|
||||
func NewForgeFedTeamProperty() vocab.ForgeFedTeamProperty {
|
||||
return propertyteam.NewForgeFedTeamProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedTicketsTrackedByProperty creates a new
|
||||
// ForgeFedTicketsTrackedByProperty
|
||||
func NewForgeFedTicketsTrackedByProperty() vocab.ForgeFedTicketsTrackedByProperty {
|
||||
return propertyticketstrackedby.NewForgeFedTicketsTrackedByProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedTracksTicketsForProperty creates a new
|
||||
// ForgeFedTracksTicketsForProperty
|
||||
func NewForgeFedTracksTicketsForProperty() vocab.ForgeFedTracksTicketsForProperty {
|
||||
return propertytracksticketsfor.NewForgeFedTracksTicketsForProperty()
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch"
|
||||
typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit"
|
||||
typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push"
|
||||
typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository"
|
||||
typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket"
|
||||
typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// NewForgeFedBranch creates a new ForgeFedBranch
|
||||
func NewForgeFedBranch() vocab.ForgeFedBranch {
|
||||
return typebranch.NewForgeFedBranch()
|
||||
}
|
||||
|
||||
// NewForgeFedCommit creates a new ForgeFedCommit
|
||||
func NewForgeFedCommit() vocab.ForgeFedCommit {
|
||||
return typecommit.NewForgeFedCommit()
|
||||
}
|
||||
|
||||
// NewForgeFedPush creates a new ForgeFedPush
|
||||
func NewForgeFedPush() vocab.ForgeFedPush {
|
||||
return typepush.NewForgeFedPush()
|
||||
}
|
||||
|
||||
// NewForgeFedRepository creates a new ForgeFedRepository
|
||||
func NewForgeFedRepository() vocab.ForgeFedRepository {
|
||||
return typerepository.NewForgeFedRepository()
|
||||
}
|
||||
|
||||
// NewForgeFedTicket creates a new ForgeFedTicket
|
||||
func NewForgeFedTicket() vocab.ForgeFedTicket {
|
||||
return typeticket.NewForgeFedTicket()
|
||||
}
|
||||
|
||||
// NewForgeFedTicketDependency creates a new ForgeFedTicketDependency
|
||||
func NewForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
|
||||
return typeticketdependency.NewForgeFedTicketDependency()
|
||||
}
|
7
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_disjoint.go
generated
vendored
7
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_disjoint.go
generated
vendored
|
@ -4,6 +4,7 @@ package streams
|
|||
|
||||
import (
|
||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
||||
typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag"
|
||||
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
@ -13,6 +14,12 @@ func TootEmojiIsDisjointWith(other vocab.Type) bool {
|
|||
return typeemoji.EmojiIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// TootHashtagIsDisjointWith returns true if Hashtag is disjoint with the other's
|
||||
// type.
|
||||
func TootHashtagIsDisjointWith(other vocab.Type) bool {
|
||||
return typehashtag.HashtagIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// TootIdentityProofIsDisjointWith returns true if IdentityProof is disjoint with
|
||||
// the other's type.
|
||||
func TootIdentityProofIsDisjointWith(other vocab.Type) bool {
|
||||
|
|
8
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extendedby.go
generated
vendored
8
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extendedby.go
generated
vendored
|
@ -4,6 +4,7 @@ package streams
|
|||
|
||||
import (
|
||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
||||
typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag"
|
||||
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
@ -15,6 +16,13 @@ func TootEmojiIsExtendedBy(other vocab.Type) bool {
|
|||
return typeemoji.EmojiIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// TootHashtagIsExtendedBy returns true if the other's type extends from Hashtag.
|
||||
// Note that it returns false if the types are the same; see the "IsOrExtends"
|
||||
// variant instead.
|
||||
func TootHashtagIsExtendedBy(other vocab.Type) bool {
|
||||
return typehashtag.HashtagIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// TootIdentityProofIsExtendedBy returns true if the other's type extends from
|
||||
// IdentityProof. Note that it returns false if the types are the same; see
|
||||
// the "IsOrExtends" variant instead.
|
||||
|
|
6
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extends.go
generated
vendored
6
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extends.go
generated
vendored
|
@ -4,6 +4,7 @@ package streams
|
|||
|
||||
import (
|
||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
||||
typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag"
|
||||
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
@ -13,6 +14,11 @@ func TootTootEmojiExtends(other vocab.Type) bool {
|
|||
return typeemoji.TootEmojiExtends(other)
|
||||
}
|
||||
|
||||
// TootTootHashtagExtends returns true if Hashtag extends from the other's type.
|
||||
func TootTootHashtagExtends(other vocab.Type) bool {
|
||||
return typehashtag.TootHashtagExtends(other)
|
||||
}
|
||||
|
||||
// TootTootIdentityProofExtends returns true if IdentityProof extends from the
|
||||
// other's type.
|
||||
func TootTootIdentityProofExtends(other vocab.Type) bool {
|
||||
|
|
7
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_isorextends.go
generated
vendored
7
vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_isorextends.go
generated
vendored
|
@ -4,6 +4,7 @@ package streams
|
|||
|
||||
import (
|
||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
||||
typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag"
|
||||
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
@ -14,6 +15,12 @@ func IsOrExtendsTootEmoji(other vocab.Type) bool {
|
|||
return typeemoji.IsOrExtendsEmoji(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsTootHashtag returns true if the other provided type is the Hashtag
|
||||
// type or extends from the Hashtag type.
|
||||
func IsOrExtendsTootHashtag(other vocab.Type) bool {
|
||||
return typehashtag.IsOrExtendsHashtag(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsTootIdentityProof returns true if the other provided type is the
|
||||
// IdentityProof type or extends from the IdentityProof type.
|
||||
func IsOrExtendsTootIdentityProof(other vocab.Type) bool {
|
||||
|
|
|
@ -4,6 +4,7 @@ package streams
|
|||
|
||||
import (
|
||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
||||
typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag"
|
||||
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||
)
|
||||
|
@ -13,6 +14,11 @@ func NewTootEmoji() vocab.TootEmoji {
|
|||
return typeemoji.NewTootEmoji()
|
||||
}
|
||||
|
||||
// NewTootHashtag creates a new TootHashtag
|
||||
func NewTootHashtag() vocab.TootHashtag {
|
||||
return typehashtag.NewTootHashtag()
|
||||
}
|
||||
|
||||
// NewTootIdentityProof creates a new TootIdentityProof
|
||||
func NewTootIdentityProof() vocab.TootIdentityProof {
|
||||
return typeidentityproof.NewTootIdentityProof()
|
||||
|
|
21
vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go
generated
vendored
21
vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go
generated
vendored
|
@ -73,18 +73,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
|||
}, func(ctx context.Context, i vocab.ActivityStreamsBlock) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ForgeFedBranch) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsCollection) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsCollectionPage) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ForgeFedCommit) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsCreate) error {
|
||||
t = i
|
||||
return nil
|
||||
|
@ -115,6 +109,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
|||
}, func(ctx context.Context, i vocab.ActivityStreamsGroup) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.TootHashtag) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.TootIdentityProof) error {
|
||||
t = i
|
||||
return nil
|
||||
|
@ -187,9 +184,6 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
|||
}, func(ctx context.Context, i vocab.W3IDSecurityV1PublicKey) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ForgeFedPush) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsQuestion) error {
|
||||
t = i
|
||||
return nil
|
||||
|
@ -205,9 +199,6 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
|||
}, func(ctx context.Context, i vocab.ActivityStreamsRemove) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ForgeFedRepository) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsService) error {
|
||||
t = i
|
||||
return nil
|
||||
|
@ -217,12 +208,6 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
|
|||
}, func(ctx context.Context, i vocab.ActivityStreamsTentativeReject) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ForgeFedTicket) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ForgeFedTicketDependency) error {
|
||||
t = i
|
||||
return nil
|
||||
}, func(ctx context.Context, i vocab.ActivityStreamsTombstone) error {
|
||||
t = i
|
||||
return nil
|
||||
|
|
91
vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go
generated
vendored
91
vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go
generated
vendored
|
@ -47,14 +47,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
|||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsBlock) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedBranch) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCollection) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCollectionPage) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedCommit) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCreate) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsDelete) (bool, error):
|
||||
|
@ -75,6 +71,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
|||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsGroup) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.TootHashtag) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.TootIdentityProof) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsIgnore) (bool, error):
|
||||
|
@ -123,8 +121,6 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
|||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.W3IDSecurityV1PublicKey) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedPush) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsQuestion) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsRead) (bool, error):
|
||||
|
@ -135,18 +131,12 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
|
|||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsRemove) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedRepository) (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):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTentativeReject) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedTicket) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedTicketDependency) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTombstone) (bool, error):
|
||||
// Do nothing, this predicate has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTravel) (bool, error):
|
||||
|
@ -277,17 +267,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
|||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Branch" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedBranch) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ForgeFedBranch); 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() == "Collection" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsCollection) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsCollection); ok {
|
||||
|
@ -310,17 +289,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
|||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Commit" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedCommit) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ForgeFedCommit); 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() == "Create" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsCreate) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsCreate); ok {
|
||||
|
@ -431,6 +399,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
|||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "http://joinmastodon.org/ns" && o.GetTypeName() == "Hashtag" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.TootHashtag) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.TootHashtag); 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() == "http://joinmastodon.org/ns" && o.GetTypeName() == "IdentityProof" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.TootIdentityProof) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.TootIdentityProof); ok {
|
||||
|
@ -695,17 +674,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
|||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Push" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedPush) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ForgeFedPush); 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() == "Question" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsQuestion) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsQuestion); ok {
|
||||
|
@ -761,17 +729,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
|||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Repository" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedRepository) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ForgeFedRepository); 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 {
|
||||
|
@ -805,28 +762,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
|||
} else {
|
||||
return false, ErrPredicateUnmatched
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Ticket" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedTicket) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ForgeFedTicket); 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://forgefed.peers.community/ns" && o.GetTypeName() == "TicketDependency" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedTicketDependency) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ForgeFedTicketDependency); 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() == "Tombstone" {
|
||||
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsTombstone) (bool, error)); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsTombstone); ok {
|
||||
|
|
77
vendor/github.com/superseriousbusiness/activity/streams/gen_type_resolver.go
generated
vendored
77
vendor/github.com/superseriousbusiness/activity/streams/gen_type_resolver.go
generated
vendored
|
@ -46,14 +46,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsBlock) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedBranch) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCollection) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCollectionPage) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedCommit) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsCreate) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsDelete) error:
|
||||
|
@ -74,6 +70,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsGroup) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.TootHashtag) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.TootIdentityProof) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsIgnore) error:
|
||||
|
@ -122,8 +120,6 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.W3IDSecurityV1PublicKey) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedPush) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsQuestion) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsRead) error:
|
||||
|
@ -134,18 +130,12 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
|||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsRemove) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedRepository) 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:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTentativeReject) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedTicket) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ForgeFedTicketDependency) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTombstone) error:
|
||||
// Do nothing, this callback has a correct signature.
|
||||
case func(context.Context, vocab.ActivityStreamsTravel) error:
|
||||
|
@ -254,15 +244,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
|||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Branch" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedBranch) error); ok {
|
||||
if v, ok := o.(vocab.ForgeFedBranch); 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() == "Collection" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsCollection) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsCollection); ok {
|
||||
|
@ -281,15 +262,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
|||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Commit" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedCommit) error); ok {
|
||||
if v, ok := o.(vocab.ForgeFedCommit); 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() == "Create" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsCreate) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsCreate); ok {
|
||||
|
@ -380,6 +352,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
|||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "http://joinmastodon.org/ns" && o.GetTypeName() == "Hashtag" {
|
||||
if fn, ok := i.(func(context.Context, vocab.TootHashtag) error); ok {
|
||||
if v, ok := o.(vocab.TootHashtag); 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() == "http://joinmastodon.org/ns" && o.GetTypeName() == "IdentityProof" {
|
||||
if fn, ok := i.(func(context.Context, vocab.TootIdentityProof) error); ok {
|
||||
if v, ok := o.(vocab.TootIdentityProof); ok {
|
||||
|
@ -596,15 +577,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
|||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Push" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedPush) error); ok {
|
||||
if v, ok := o.(vocab.ForgeFedPush); 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() == "Question" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsQuestion) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsQuestion); ok {
|
||||
|
@ -650,15 +622,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
|||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Repository" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedRepository) error); ok {
|
||||
if v, ok := o.(vocab.ForgeFedRepository); 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 {
|
||||
|
@ -686,24 +649,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
|||
return errCannotTypeAssertType
|
||||
}
|
||||
}
|
||||
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Ticket" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedTicket) error); ok {
|
||||
if v, ok := o.(vocab.ForgeFedTicket); 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://forgefed.peers.community/ns" && o.GetTypeName() == "TicketDependency" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ForgeFedTicketDependency) error); ok {
|
||||
if v, ok := o.(vocab.ForgeFedTicketDependency); 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() == "Tombstone" {
|
||||
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsTombstone) error); ok {
|
||||
if v, ok := o.(vocab.ActivityStreamsTombstone); ok {
|
||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -13,6 +13,9 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
|
@ -16,6 +16,7 @@ import (
|
|||
type ActivityStreamsCurrentProperty struct {
|
||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||
unknown interface{}
|
||||
|
@ -63,6 +64,12 @@ func DeserializeCurrentProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsCurrentProperty{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsCurrentProperty{
|
||||
activitystreamsMentionMember: v,
|
||||
|
@ -96,6 +103,7 @@ func NewActivityStreamsCurrentProperty() *ActivityStreamsCurrentProperty {
|
|||
func (this *ActivityStreamsCurrentProperty) Clear() {
|
||||
this.activitystreamsCollectionPageMember = nil
|
||||
this.activitystreamsLinkMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.activitystreamsOrderedCollectionPageMember = nil
|
||||
this.unknown = nil
|
||||
|
@ -136,6 +144,12 @@ func (this ActivityStreamsCurrentProperty) GetIRI() *url.URL {
|
|||
return this.iri
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsCurrentProperty) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetType returns the value in this property as a Type. Returns nil if the value
|
||||
// is not an ActivityStreams type, such as an IRI or another value.
|
||||
func (this ActivityStreamsCurrentProperty) GetType() vocab.Type {
|
||||
|
@ -145,6 +159,9 @@ func (this ActivityStreamsCurrentProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention()
|
||||
}
|
||||
|
@ -159,6 +176,7 @@ func (this ActivityStreamsCurrentProperty) GetType() vocab.Type {
|
|||
func (this ActivityStreamsCurrentProperty) HasAny() bool {
|
||||
return this.IsActivityStreamsCollectionPage() ||
|
||||
this.IsActivityStreamsLink() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||
this.iri != nil
|
||||
|
@ -200,6 +218,13 @@ func (this ActivityStreamsCurrentProperty) IsIRI() bool {
|
|||
return this.iri != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsCurrentProperty) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// JSONLDContext returns the JSONLD URIs required in the context string for this
|
||||
// property and the specific values that are set. The value in the map is the
|
||||
// alias used to import the property's value or values.
|
||||
|
@ -210,6 +235,8 @@ func (this ActivityStreamsCurrentProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -236,12 +263,15 @@ func (this ActivityStreamsCurrentProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return 1
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsTootHashtag() {
|
||||
return 2
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 3
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 4
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -263,6 +293,8 @@ func (this ActivityStreamsCurrentProperty) LessThan(o vocab.ActivityStreamsCurre
|
|||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -291,6 +323,8 @@ func (this ActivityStreamsCurrentProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().Serialize()
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -335,6 +369,13 @@ func (this *ActivityStreamsCurrentProperty) SetIRI(v *url.URL) {
|
|||
this.iri = v
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsCurrentProperty) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.Clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetType attempts to set the property for the arbitrary type. Returns an error
|
||||
// if it is not a valid type to set on this property.
|
||||
func (this *ActivityStreamsCurrentProperty) SetType(t vocab.Type) error {
|
||||
|
@ -346,6 +387,10 @@ func (this *ActivityStreamsCurrentProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLink(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||
this.SetActivityStreamsMention(v)
|
||||
return nil
|
||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -181,9 +173,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -204,10 +193,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -220,14 +205,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
@ -24,10 +24,8 @@ type ActivityStreamsDescribesProperty struct {
|
|||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
||||
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
||||
forgefedBranchMember vocab.ForgeFedBranch
|
||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||
forgefedCommitMember vocab.ForgeFedCommit
|
||||
activitystreamsCreateMember vocab.ActivityStreamsCreate
|
||||
activitystreamsDeleteMember vocab.ActivityStreamsDelete
|
||||
activitystreamsDislikeMember vocab.ActivityStreamsDislike
|
||||
|
@ -57,18 +55,14 @@ type ActivityStreamsDescribesProperty struct {
|
|||
activitystreamsPlaceMember vocab.ActivityStreamsPlace
|
||||
activitystreamsProfileMember vocab.ActivityStreamsProfile
|
||||
schemaPropertyValueMember vocab.SchemaPropertyValue
|
||||
forgefedPushMember vocab.ForgeFedPush
|
||||
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
|
||||
activitystreamsReadMember vocab.ActivityStreamsRead
|
||||
activitystreamsRejectMember vocab.ActivityStreamsReject
|
||||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||
forgefedRepositoryMember vocab.ForgeFedRepository
|
||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
forgefedTicketMember vocab.ForgeFedTicket
|
||||
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
|
||||
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
||||
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
||||
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
||||
|
@ -168,12 +162,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
forgefedBranchMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsCollectionMember: v,
|
||||
|
@ -186,12 +174,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
forgefedCommitMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsCreateMember: v,
|
||||
|
@ -366,12 +348,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
schemaPropertyValueMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
forgefedPushMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsQuestionMember: v,
|
||||
|
@ -402,12 +378,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
forgefedRepositoryMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsServiceMember: v,
|
||||
|
@ -426,18 +396,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
forgefedTicketMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
forgefedTicketDependencyMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsTombstoneMember: v,
|
||||
|
@ -503,10 +461,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
|||
this.activitystreamsArticleMember = nil
|
||||
this.activitystreamsAudioMember = nil
|
||||
this.activitystreamsBlockMember = nil
|
||||
this.forgefedBranchMember = nil
|
||||
this.activitystreamsCollectionMember = nil
|
||||
this.activitystreamsCollectionPageMember = nil
|
||||
this.forgefedCommitMember = nil
|
||||
this.activitystreamsCreateMember = nil
|
||||
this.activitystreamsDeleteMember = nil
|
||||
this.activitystreamsDislikeMember = nil
|
||||
|
@ -536,18 +492,14 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
|||
this.activitystreamsPlaceMember = nil
|
||||
this.activitystreamsProfileMember = nil
|
||||
this.schemaPropertyValueMember = nil
|
||||
this.forgefedPushMember = nil
|
||||
this.activitystreamsQuestionMember = nil
|
||||
this.activitystreamsReadMember = nil
|
||||
this.activitystreamsRejectMember = nil
|
||||
this.activitystreamsRelationshipMember = nil
|
||||
this.activitystreamsRemoveMember = nil
|
||||
this.forgefedRepositoryMember = nil
|
||||
this.activitystreamsServiceMember = nil
|
||||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
this.forgefedTicketMember = nil
|
||||
this.forgefedTicketDependencyMember = nil
|
||||
this.activitystreamsTombstoneMember = nil
|
||||
this.activitystreamsTravelMember = nil
|
||||
this.activitystreamsUndoMember = nil
|
||||
|
@ -922,44 +874,6 @@ func (this ActivityStreamsDescribesProperty) GetActivityStreamsView() vocab.Acti
|
|||
return this.activitystreamsViewMember
|
||||
}
|
||||
|
||||
// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch
|
||||
// returns false, GetForgeFedBranch will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetForgeFedBranch() vocab.ForgeFedBranch {
|
||||
return this.forgefedBranchMember
|
||||
}
|
||||
|
||||
// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit
|
||||
// returns false, GetForgeFedCommit will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetForgeFedCommit() vocab.ForgeFedCommit {
|
||||
return this.forgefedCommitMember
|
||||
}
|
||||
|
||||
// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns
|
||||
// false, GetForgeFedPush will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetForgeFedPush() vocab.ForgeFedPush {
|
||||
return this.forgefedPushMember
|
||||
}
|
||||
|
||||
// GetForgeFedRepository returns the value of this property. When
|
||||
// IsForgeFedRepository returns false, GetForgeFedRepository will return an
|
||||
// arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetForgeFedRepository() vocab.ForgeFedRepository {
|
||||
return this.forgefedRepositoryMember
|
||||
}
|
||||
|
||||
// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket
|
||||
// returns false, GetForgeFedTicket will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetForgeFedTicket() vocab.ForgeFedTicket {
|
||||
return this.forgefedTicketMember
|
||||
}
|
||||
|
||||
// GetForgeFedTicketDependency returns the value of this property. When
|
||||
// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
|
||||
return this.forgefedTicketDependencyMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL {
|
||||
|
@ -1019,18 +933,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsBlock() {
|
||||
return this.GetActivityStreamsBlock()
|
||||
}
|
||||
if this.IsForgeFedBranch() {
|
||||
return this.GetForgeFedBranch()
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return this.GetActivityStreamsCollection()
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage()
|
||||
}
|
||||
if this.IsForgeFedCommit() {
|
||||
return this.GetForgeFedCommit()
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return this.GetActivityStreamsCreate()
|
||||
}
|
||||
|
@ -1118,9 +1026,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsSchemaPropertyValue() {
|
||||
return this.GetSchemaPropertyValue()
|
||||
}
|
||||
if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush()
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion()
|
||||
}
|
||||
|
@ -1136,9 +1041,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove()
|
||||
}
|
||||
if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
|
@ -1148,12 +1050,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsTentativeReject() {
|
||||
return this.GetActivityStreamsTentativeReject()
|
||||
}
|
||||
if this.IsForgeFedTicket() {
|
||||
return this.GetForgeFedTicket()
|
||||
}
|
||||
if this.IsForgeFedTicketDependency() {
|
||||
return this.GetForgeFedTicketDependency()
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone()
|
||||
}
|
||||
|
@ -1188,10 +1084,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
|||
this.IsActivityStreamsArticle() ||
|
||||
this.IsActivityStreamsAudio() ||
|
||||
this.IsActivityStreamsBlock() ||
|
||||
this.IsForgeFedBranch() ||
|
||||
this.IsActivityStreamsCollection() ||
|
||||
this.IsActivityStreamsCollectionPage() ||
|
||||
this.IsForgeFedCommit() ||
|
||||
this.IsActivityStreamsCreate() ||
|
||||
this.IsActivityStreamsDelete() ||
|
||||
this.IsActivityStreamsDislike() ||
|
||||
|
@ -1221,18 +1115,14 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
|||
this.IsActivityStreamsPlace() ||
|
||||
this.IsActivityStreamsProfile() ||
|
||||
this.IsSchemaPropertyValue() ||
|
||||
this.IsForgeFedPush() ||
|
||||
this.IsActivityStreamsQuestion() ||
|
||||
this.IsActivityStreamsRead() ||
|
||||
this.IsActivityStreamsReject() ||
|
||||
this.IsActivityStreamsRelationship() ||
|
||||
this.IsActivityStreamsRemove() ||
|
||||
this.IsForgeFedRepository() ||
|
||||
this.IsActivityStreamsService() ||
|
||||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
this.IsForgeFedTicket() ||
|
||||
this.IsForgeFedTicketDependency() ||
|
||||
this.IsActivityStreamsTombstone() ||
|
||||
this.IsActivityStreamsTravel() ||
|
||||
this.IsActivityStreamsUndo() ||
|
||||
|
@ -1611,48 +1501,6 @@ func (this ActivityStreamsDescribesProperty) IsActivityStreamsView() bool {
|
|||
return this.activitystreamsViewMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedBranch returns true if this property has a type of "Branch". When
|
||||
// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsForgeFedBranch() bool {
|
||||
return this.forgefedBranchMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedCommit returns true if this property has a type of "Commit". When
|
||||
// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsForgeFedCommit() bool {
|
||||
return this.forgefedCommitMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedPush returns true if this property has a type of "Push". When true,
|
||||
// use the GetForgeFedPush and SetForgeFedPush methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsDescribesProperty) IsForgeFedPush() bool {
|
||||
return this.forgefedPushMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedRepository returns true if this property has a type of "Repository".
|
||||
// When true, use the GetForgeFedRepository and SetForgeFedRepository methods
|
||||
// to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsForgeFedRepository() bool {
|
||||
return this.forgefedRepositoryMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedTicket returns true if this property has a type of "Ticket". When
|
||||
// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsForgeFedTicket() bool {
|
||||
return this.forgefedTicketMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedTicketDependency returns true if this property has a type of
|
||||
// "TicketDependency". When true, use the GetForgeFedTicketDependency and
|
||||
// SetForgeFedTicketDependency methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsForgeFedTicketDependency() bool {
|
||||
return this.forgefedTicketDependencyMember != 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 {
|
||||
|
@ -1705,14 +1553,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsAudio().JSONLDContext()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
child = this.GetActivityStreamsBlock().JSONLDContext()
|
||||
} else if this.IsForgeFedBranch() {
|
||||
child = this.GetForgeFedBranch().JSONLDContext()
|
||||
} else if this.IsActivityStreamsCollection() {
|
||||
child = this.GetActivityStreamsCollection().JSONLDContext()
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||
} else if this.IsForgeFedCommit() {
|
||||
child = this.GetForgeFedCommit().JSONLDContext()
|
||||
} else if this.IsActivityStreamsCreate() {
|
||||
child = this.GetActivityStreamsCreate().JSONLDContext()
|
||||
} else if this.IsActivityStreamsDelete() {
|
||||
|
@ -1771,8 +1615,6 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsProfile().JSONLDContext()
|
||||
} else if this.IsSchemaPropertyValue() {
|
||||
child = this.GetSchemaPropertyValue().JSONLDContext()
|
||||
} else if this.IsForgeFedPush() {
|
||||
child = this.GetForgeFedPush().JSONLDContext()
|
||||
} else if this.IsActivityStreamsQuestion() {
|
||||
child = this.GetActivityStreamsQuestion().JSONLDContext()
|
||||
} else if this.IsActivityStreamsRead() {
|
||||
|
@ -1783,18 +1625,12 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsRelationship().JSONLDContext()
|
||||
} else if this.IsActivityStreamsRemove() {
|
||||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||
} else if this.IsForgeFedRepository() {
|
||||
child = this.GetForgeFedRepository().JSONLDContext()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
child = this.GetActivityStreamsService().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeReject() {
|
||||
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
||||
} else if this.IsForgeFedTicket() {
|
||||
child = this.GetForgeFedTicket().JSONLDContext()
|
||||
} else if this.IsForgeFedTicketDependency() {
|
||||
child = this.GetForgeFedTicketDependency().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
|
@ -1853,158 +1689,140 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsBlock() {
|
||||
return 9
|
||||
}
|
||||
if this.IsForgeFedBranch() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 10
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 12
|
||||
}
|
||||
if this.IsForgeFedCommit() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsTootEmoji() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 17
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 22
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 23
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 25
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 32
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 41
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 42
|
||||
}
|
||||
if this.IsForgeFedPush() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 44
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 47
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 48
|
||||
}
|
||||
if this.IsForgeFedRepository() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 50
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 52
|
||||
}
|
||||
if this.IsForgeFedTicket() {
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 53
|
||||
}
|
||||
if this.IsForgeFedTicketDependency() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 55
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 58
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 60
|
||||
return 54
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
|
@ -2043,14 +1861,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
|||
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
|
||||
} else if this.IsForgeFedBranch() {
|
||||
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
|
||||
} else if this.IsActivityStreamsCollection() {
|
||||
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||
} else if this.IsForgeFedCommit() {
|
||||
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
|
||||
} else if this.IsActivityStreamsCreate() {
|
||||
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
|
||||
} else if this.IsActivityStreamsDelete() {
|
||||
|
@ -2109,8 +1923,6 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
|||
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
|
||||
} else if this.IsSchemaPropertyValue() {
|
||||
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
|
||||
} else if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
|
||||
} else if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
|
||||
} else if this.IsActivityStreamsRead() {
|
||||
|
@ -2121,18 +1933,12 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
|||
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
|
||||
} else if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||
} else if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
|
||||
} else if this.IsActivityStreamsTentativeReject() {
|
||||
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
|
||||
} else if this.IsForgeFedTicket() {
|
||||
return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket())
|
||||
} else if this.IsForgeFedTicketDependency() {
|
||||
return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency())
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
|
@ -2185,14 +1991,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsAudio().Serialize()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
return this.GetActivityStreamsBlock().Serialize()
|
||||
} else if this.IsForgeFedBranch() {
|
||||
return this.GetForgeFedBranch().Serialize()
|
||||
} else if this.IsActivityStreamsCollection() {
|
||||
return this.GetActivityStreamsCollection().Serialize()
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||
} else if this.IsForgeFedCommit() {
|
||||
return this.GetForgeFedCommit().Serialize()
|
||||
} else if this.IsActivityStreamsCreate() {
|
||||
return this.GetActivityStreamsCreate().Serialize()
|
||||
} else if this.IsActivityStreamsDelete() {
|
||||
|
@ -2251,8 +2053,6 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsProfile().Serialize()
|
||||
} else if this.IsSchemaPropertyValue() {
|
||||
return this.GetSchemaPropertyValue().Serialize()
|
||||
} else if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush().Serialize()
|
||||
} else if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion().Serialize()
|
||||
} else if this.IsActivityStreamsRead() {
|
||||
|
@ -2263,18 +2063,12 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsRelationship().Serialize()
|
||||
} else if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove().Serialize()
|
||||
} else if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository().Serialize()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
return this.GetActivityStreamsTentativeAccept().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeReject() {
|
||||
return this.GetActivityStreamsTentativeReject().Serialize()
|
||||
} else if this.IsForgeFedTicket() {
|
||||
return this.GetForgeFedTicket().Serialize()
|
||||
} else if this.IsForgeFedTicketDependency() {
|
||||
return this.GetForgeFedTicketDependency().Serialize()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().Serialize()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
|
@ -2657,48 +2451,6 @@ func (this *ActivityStreamsDescribesProperty) SetActivityStreamsView(v vocab.Act
|
|||
this.activitystreamsViewMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) {
|
||||
this.Clear()
|
||||
this.forgefedBranchMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) {
|
||||
this.Clear()
|
||||
this.forgefedCommitMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetForgeFedPush(v vocab.ForgeFedPush) {
|
||||
this.Clear()
|
||||
this.forgefedPushMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedRepository sets the value of this property. Calling
|
||||
// IsForgeFedRepository afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) {
|
||||
this.Clear()
|
||||
this.forgefedRepositoryMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) {
|
||||
this.Clear()
|
||||
this.forgefedTicketMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedTicketDependency sets the value of this property. Calling
|
||||
// IsForgeFedTicketDependency afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
|
||||
this.Clear()
|
||||
this.forgefedTicketDependencyMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) {
|
||||
this.Clear()
|
||||
|
@ -2769,10 +2521,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsBlock(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedBranch); ok {
|
||||
this.SetForgeFedBranch(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
|
||||
this.SetActivityStreamsCollection(v)
|
||||
return nil
|
||||
|
@ -2781,10 +2529,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsCollectionPage(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedCommit); ok {
|
||||
this.SetForgeFedCommit(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
|
||||
this.SetActivityStreamsCreate(v)
|
||||
return nil
|
||||
|
@ -2901,10 +2645,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetSchemaPropertyValue(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedPush); ok {
|
||||
this.SetForgeFedPush(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
|
||||
this.SetActivityStreamsQuestion(v)
|
||||
return nil
|
||||
|
@ -2925,10 +2665,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsRemove(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedRepository); ok {
|
||||
this.SetForgeFedRepository(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||
this.SetActivityStreamsService(v)
|
||||
return nil
|
||||
|
@ -2941,14 +2677,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsTentativeReject(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedTicket); ok {
|
||||
this.SetForgeFedTicket(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedTicketDependency); ok {
|
||||
this.SetForgeFedTicketDependency(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
|
||||
this.SetActivityStreamsTombstone(v)
|
||||
return nil
|
||||
|
|
|
@ -13,6 +13,9 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
|
@ -16,6 +16,7 @@ import (
|
|||
type ActivityStreamsFirstProperty struct {
|
||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||
unknown interface{}
|
||||
|
@ -63,6 +64,12 @@ func DeserializeFirstProperty(m map[string]interface{}, aliasMap map[string]stri
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsFirstProperty{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsFirstProperty{
|
||||
activitystreamsMentionMember: v,
|
||||
|
@ -96,6 +103,7 @@ func NewActivityStreamsFirstProperty() *ActivityStreamsFirstProperty {
|
|||
func (this *ActivityStreamsFirstProperty) Clear() {
|
||||
this.activitystreamsCollectionPageMember = nil
|
||||
this.activitystreamsLinkMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.activitystreamsOrderedCollectionPageMember = nil
|
||||
this.unknown = nil
|
||||
|
@ -136,6 +144,12 @@ func (this ActivityStreamsFirstProperty) GetIRI() *url.URL {
|
|||
return this.iri
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsFirstProperty) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetType returns the value in this property as a Type. Returns nil if the value
|
||||
// is not an ActivityStreams type, such as an IRI or another value.
|
||||
func (this ActivityStreamsFirstProperty) GetType() vocab.Type {
|
||||
|
@ -145,6 +159,9 @@ func (this ActivityStreamsFirstProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention()
|
||||
}
|
||||
|
@ -159,6 +176,7 @@ func (this ActivityStreamsFirstProperty) GetType() vocab.Type {
|
|||
func (this ActivityStreamsFirstProperty) HasAny() bool {
|
||||
return this.IsActivityStreamsCollectionPage() ||
|
||||
this.IsActivityStreamsLink() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||
this.iri != nil
|
||||
|
@ -200,6 +218,13 @@ func (this ActivityStreamsFirstProperty) IsIRI() bool {
|
|||
return this.iri != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsFirstProperty) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// JSONLDContext returns the JSONLD URIs required in the context string for this
|
||||
// property and the specific values that are set. The value in the map is the
|
||||
// alias used to import the property's value or values.
|
||||
|
@ -210,6 +235,8 @@ func (this ActivityStreamsFirstProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -236,12 +263,15 @@ func (this ActivityStreamsFirstProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return 1
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsTootHashtag() {
|
||||
return 2
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 3
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 4
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -263,6 +293,8 @@ func (this ActivityStreamsFirstProperty) LessThan(o vocab.ActivityStreamsFirstPr
|
|||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -291,6 +323,8 @@ func (this ActivityStreamsFirstProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().Serialize()
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -335,6 +369,13 @@ func (this *ActivityStreamsFirstProperty) SetIRI(v *url.URL) {
|
|||
this.iri = v
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsFirstProperty) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.Clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetType attempts to set the property for the arbitrary type. Returns an error
|
||||
// if it is not a valid type to set on this property.
|
||||
func (this *ActivityStreamsFirstProperty) SetType(t vocab.Type) error {
|
||||
|
@ -346,6 +387,10 @@ func (this *ActivityStreamsFirstProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLink(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||
this.SetActivityStreamsMention(v)
|
||||
return nil
|
||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -181,9 +173,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -204,10 +193,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -220,14 +205,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -9,6 +9,9 @@ var mgr privateManager
|
|||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface {
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeImageActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsImage" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
@ -16,6 +16,7 @@ import (
|
|||
type ActivityStreamsIconPropertyIterator struct {
|
||||
activitystreamsImageMember vocab.ActivityStreamsImage
|
||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
unknown interface{}
|
||||
iri *url.URL
|
||||
|
@ -62,6 +63,12 @@ func deserializeActivityStreamsIconPropertyIterator(i interface{}, aliasMap map[
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsIconPropertyIterator{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsIconPropertyIterator{
|
||||
activitystreamsMentionMember: v,
|
||||
|
@ -104,6 +111,12 @@ func (this ActivityStreamsIconPropertyIterator) GetIRI() *url.URL {
|
|||
return this.iri
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsIconPropertyIterator) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetType returns the value in this property as a Type. Returns nil if the value
|
||||
// is not an ActivityStreams type, such as an IRI or another value.
|
||||
func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type {
|
||||
|
@ -113,6 +126,9 @@ func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention()
|
||||
}
|
||||
|
@ -124,6 +140,7 @@ func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type {
|
|||
func (this ActivityStreamsIconPropertyIterator) HasAny() bool {
|
||||
return this.IsActivityStreamsImage() ||
|
||||
this.IsActivityStreamsLink() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.iri != nil
|
||||
}
|
||||
|
@ -155,6 +172,13 @@ func (this ActivityStreamsIconPropertyIterator) IsIRI() bool {
|
|||
return this.iri != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsIconPropertyIterator) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// JSONLDContext returns the JSONLD URIs required in the context string for this
|
||||
// property and the specific values that are set. The value in the map is the
|
||||
// alias used to import the property's value or values.
|
||||
|
@ -165,6 +189,8 @@ func (this ActivityStreamsIconPropertyIterator) JSONLDContext() map[string]strin
|
|||
child = this.GetActivityStreamsImage().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||
}
|
||||
|
@ -189,9 +215,12 @@ func (this ActivityStreamsIconPropertyIterator) KindIndex() int {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return 1
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsTootHashtag() {
|
||||
return 2
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 3
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -213,6 +242,8 @@ func (this ActivityStreamsIconPropertyIterator) LessThan(o vocab.ActivityStreams
|
|||
return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage())
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||
} else if this.IsIRI() {
|
||||
|
@ -275,6 +306,13 @@ func (this *ActivityStreamsIconPropertyIterator) SetIRI(v *url.URL) {
|
|||
this.iri = v
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsIconPropertyIterator) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetType attempts to set the property for the arbitrary type. Returns an error
|
||||
// if it is not a valid type to set on this property.
|
||||
func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error {
|
||||
|
@ -286,6 +324,10 @@ func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLink(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||
this.SetActivityStreamsMention(v)
|
||||
return nil
|
||||
|
@ -299,6 +341,7 @@ func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error {
|
|||
func (this *ActivityStreamsIconPropertyIterator) clear() {
|
||||
this.activitystreamsImageMember = nil
|
||||
this.activitystreamsLinkMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.unknown = nil
|
||||
this.iri = nil
|
||||
|
@ -313,6 +356,8 @@ func (this ActivityStreamsIconPropertyIterator) serialize() (interface{}, error)
|
|||
return this.GetActivityStreamsImage().Serialize()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().Serialize()
|
||||
} else if this.IsIRI() {
|
||||
|
@ -419,6 +464,17 @@ func (this *ActivityStreamsIconProperty) AppendIRI(v *url.URL) {
|
|||
})
|
||||
}
|
||||
|
||||
// AppendTootHashtag appends a Hashtag value to the back of a list of the property
|
||||
// "icon". Invalidates iterators that are traversing using Prev.
|
||||
func (this *ActivityStreamsIconProperty) AppendTootHashtag(v vocab.TootHashtag) {
|
||||
this.properties = append(this.properties, &ActivityStreamsIconPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||
// property "icon". Invalidates iterators that are traversing using Prev.
|
||||
// Returns an error if the type is not a valid one to set for this property.
|
||||
|
@ -532,6 +588,23 @@ func (this *ActivityStreamsIconProperty) InsertIRI(idx int, v *url.URL) {
|
|||
}
|
||||
}
|
||||
|
||||
// InsertTootHashtag inserts a Hashtag value at the specified index for a property
|
||||
// "icon". Existing elements at that index and higher are shifted back once.
|
||||
// Invalidates all iterators.
|
||||
func (this *ActivityStreamsIconProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &ActivityStreamsIconPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||
// property "icon". Invalidates all iterators. Returns an error if the type is
|
||||
// not a valid one to set for this property.
|
||||
|
@ -602,6 +675,10 @@ func (this ActivityStreamsIconProperty) Less(i, j int) bool {
|
|||
rhs := this.properties[j].GetActivityStreamsLink()
|
||||
return lhs.LessThan(rhs)
|
||||
} else if idx1 == 2 {
|
||||
lhs := this.properties[i].GetTootHashtag()
|
||||
rhs := this.properties[j].GetTootHashtag()
|
||||
return lhs.LessThan(rhs)
|
||||
} else if idx1 == 3 {
|
||||
lhs := this.properties[i].GetActivityStreamsMention()
|
||||
rhs := this.properties[j].GetActivityStreamsMention()
|
||||
return lhs.LessThan(rhs)
|
||||
|
@ -699,6 +776,20 @@ func (this *ActivityStreamsIconProperty) PrependIRI(v *url.URL) {
|
|||
}
|
||||
}
|
||||
|
||||
// PrependTootHashtag prepends a Hashtag value to the front of a list of the
|
||||
// property "icon". Invalidates all iterators.
|
||||
func (this *ActivityStreamsIconProperty) PrependTootHashtag(v vocab.TootHashtag) {
|
||||
this.properties = append([]*ActivityStreamsIconPropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||
// property "icon". Invalidates all iterators. Returns an error if the type is
|
||||
// not a valid one to set for this property.
|
||||
|
@ -802,6 +893,19 @@ func (this *ActivityStreamsIconProperty) SetIRI(idx int, v *url.URL) {
|
|||
}
|
||||
}
|
||||
|
||||
// SetTootHashtag sets a Hashtag value to be at the specified index for the
|
||||
// property "icon". Panics if the index is out of bounds. Invalidates all
|
||||
// iterators.
|
||||
func (this *ActivityStreamsIconProperty) SetTootHashtag(idx int, v vocab.TootHashtag) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &ActivityStreamsIconPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// SetType sets an arbitrary type value to the specified index of the property
|
||||
// "icon". Invalidates all iterators. Returns an error if the type is not a
|
||||
// valid one to set for this property. Panics if the index is out of bounds.
|
||||
|
|
|
@ -9,6 +9,9 @@ var mgr privateManager
|
|||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface {
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeImageActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsImage" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
@ -16,6 +16,7 @@ import (
|
|||
type ActivityStreamsImagePropertyIterator struct {
|
||||
activitystreamsImageMember vocab.ActivityStreamsImage
|
||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
unknown interface{}
|
||||
iri *url.URL
|
||||
|
@ -62,6 +63,12 @@ func deserializeActivityStreamsImagePropertyIterator(i interface{}, aliasMap map
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsImagePropertyIterator{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsImagePropertyIterator{
|
||||
activitystreamsMentionMember: v,
|
||||
|
@ -104,6 +111,12 @@ func (this ActivityStreamsImagePropertyIterator) GetIRI() *url.URL {
|
|||
return this.iri
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsImagePropertyIterator) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetType returns the value in this property as a Type. Returns nil if the value
|
||||
// is not an ActivityStreams type, such as an IRI or another value.
|
||||
func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type {
|
||||
|
@ -113,6 +126,9 @@ func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention()
|
||||
}
|
||||
|
@ -124,6 +140,7 @@ func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type {
|
|||
func (this ActivityStreamsImagePropertyIterator) HasAny() bool {
|
||||
return this.IsActivityStreamsImage() ||
|
||||
this.IsActivityStreamsLink() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.iri != nil
|
||||
}
|
||||
|
@ -155,6 +172,13 @@ func (this ActivityStreamsImagePropertyIterator) IsIRI() bool {
|
|||
return this.iri != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsImagePropertyIterator) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// JSONLDContext returns the JSONLD URIs required in the context string for this
|
||||
// property and the specific values that are set. The value in the map is the
|
||||
// alias used to import the property's value or values.
|
||||
|
@ -165,6 +189,8 @@ func (this ActivityStreamsImagePropertyIterator) JSONLDContext() map[string]stri
|
|||
child = this.GetActivityStreamsImage().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||
}
|
||||
|
@ -189,9 +215,12 @@ func (this ActivityStreamsImagePropertyIterator) KindIndex() int {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return 1
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsTootHashtag() {
|
||||
return 2
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 3
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -213,6 +242,8 @@ func (this ActivityStreamsImagePropertyIterator) LessThan(o vocab.ActivityStream
|
|||
return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage())
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||
} else if this.IsIRI() {
|
||||
|
@ -275,6 +306,13 @@ func (this *ActivityStreamsImagePropertyIterator) SetIRI(v *url.URL) {
|
|||
this.iri = v
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsImagePropertyIterator) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetType attempts to set the property for the arbitrary type. Returns an error
|
||||
// if it is not a valid type to set on this property.
|
||||
func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error {
|
||||
|
@ -286,6 +324,10 @@ func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLink(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||
this.SetActivityStreamsMention(v)
|
||||
return nil
|
||||
|
@ -299,6 +341,7 @@ func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error {
|
|||
func (this *ActivityStreamsImagePropertyIterator) clear() {
|
||||
this.activitystreamsImageMember = nil
|
||||
this.activitystreamsLinkMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.unknown = nil
|
||||
this.iri = nil
|
||||
|
@ -313,6 +356,8 @@ func (this ActivityStreamsImagePropertyIterator) serialize() (interface{}, error
|
|||
return this.GetActivityStreamsImage().Serialize()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().Serialize()
|
||||
} else if this.IsIRI() {
|
||||
|
@ -419,6 +464,17 @@ func (this *ActivityStreamsImageProperty) AppendIRI(v *url.URL) {
|
|||
})
|
||||
}
|
||||
|
||||
// AppendTootHashtag appends a Hashtag value to the back of a list of the property
|
||||
// "image". Invalidates iterators that are traversing using Prev.
|
||||
func (this *ActivityStreamsImageProperty) AppendTootHashtag(v vocab.TootHashtag) {
|
||||
this.properties = append(this.properties, &ActivityStreamsImagePropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||
// property "image". Invalidates iterators that are traversing using Prev.
|
||||
// Returns an error if the type is not a valid one to set for this property.
|
||||
|
@ -532,6 +588,23 @@ func (this *ActivityStreamsImageProperty) InsertIRI(idx int, v *url.URL) {
|
|||
}
|
||||
}
|
||||
|
||||
// InsertTootHashtag inserts a Hashtag value at the specified index for a property
|
||||
// "image". Existing elements at that index and higher are shifted back once.
|
||||
// Invalidates all iterators.
|
||||
func (this *ActivityStreamsImageProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &ActivityStreamsImagePropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||
// property "image". Invalidates all iterators. Returns an error if the type
|
||||
// is not a valid one to set for this property.
|
||||
|
@ -602,6 +675,10 @@ func (this ActivityStreamsImageProperty) Less(i, j int) bool {
|
|||
rhs := this.properties[j].GetActivityStreamsLink()
|
||||
return lhs.LessThan(rhs)
|
||||
} else if idx1 == 2 {
|
||||
lhs := this.properties[i].GetTootHashtag()
|
||||
rhs := this.properties[j].GetTootHashtag()
|
||||
return lhs.LessThan(rhs)
|
||||
} else if idx1 == 3 {
|
||||
lhs := this.properties[i].GetActivityStreamsMention()
|
||||
rhs := this.properties[j].GetActivityStreamsMention()
|
||||
return lhs.LessThan(rhs)
|
||||
|
@ -699,6 +776,20 @@ func (this *ActivityStreamsImageProperty) PrependIRI(v *url.URL) {
|
|||
}
|
||||
}
|
||||
|
||||
// PrependTootHashtag prepends a Hashtag value to the front of a list of the
|
||||
// property "image". Invalidates all iterators.
|
||||
func (this *ActivityStreamsImageProperty) PrependTootHashtag(v vocab.TootHashtag) {
|
||||
this.properties = append([]*ActivityStreamsImagePropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||
// property "image". Invalidates all iterators. Returns an error if the type
|
||||
// is not a valid one to set for this property.
|
||||
|
@ -802,6 +893,19 @@ func (this *ActivityStreamsImageProperty) SetIRI(idx int, v *url.URL) {
|
|||
}
|
||||
}
|
||||
|
||||
// SetTootHashtag sets a Hashtag value to be at the specified index for the
|
||||
// property "image". Panics if the index is out of bounds. Invalidates all
|
||||
// iterators.
|
||||
func (this *ActivityStreamsImageProperty) SetTootHashtag(idx int, v vocab.TootHashtag) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &ActivityStreamsImagePropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// SetType sets an arbitrary type value to the specified index of the property
|
||||
// "image". Invalidates all iterators. Returns an error if the type is not a
|
||||
// valid one to set for this property. Panics if the index is out of bounds.
|
||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -13,6 +13,9 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
|
@ -16,6 +16,7 @@ import (
|
|||
type ActivityStreamsLastProperty struct {
|
||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||
unknown interface{}
|
||||
|
@ -63,6 +64,12 @@ func DeserializeLastProperty(m map[string]interface{}, aliasMap map[string]strin
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsLastProperty{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsLastProperty{
|
||||
activitystreamsMentionMember: v,
|
||||
|
@ -96,6 +103,7 @@ func NewActivityStreamsLastProperty() *ActivityStreamsLastProperty {
|
|||
func (this *ActivityStreamsLastProperty) Clear() {
|
||||
this.activitystreamsCollectionPageMember = nil
|
||||
this.activitystreamsLinkMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.activitystreamsOrderedCollectionPageMember = nil
|
||||
this.unknown = nil
|
||||
|
@ -136,6 +144,12 @@ func (this ActivityStreamsLastProperty) GetIRI() *url.URL {
|
|||
return this.iri
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsLastProperty) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetType returns the value in this property as a Type. Returns nil if the value
|
||||
// is not an ActivityStreams type, such as an IRI or another value.
|
||||
func (this ActivityStreamsLastProperty) GetType() vocab.Type {
|
||||
|
@ -145,6 +159,9 @@ func (this ActivityStreamsLastProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention()
|
||||
}
|
||||
|
@ -159,6 +176,7 @@ func (this ActivityStreamsLastProperty) GetType() vocab.Type {
|
|||
func (this ActivityStreamsLastProperty) HasAny() bool {
|
||||
return this.IsActivityStreamsCollectionPage() ||
|
||||
this.IsActivityStreamsLink() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||
this.iri != nil
|
||||
|
@ -200,6 +218,13 @@ func (this ActivityStreamsLastProperty) IsIRI() bool {
|
|||
return this.iri != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsLastProperty) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// JSONLDContext returns the JSONLD URIs required in the context string for this
|
||||
// property and the specific values that are set. The value in the map is the
|
||||
// alias used to import the property's value or values.
|
||||
|
@ -210,6 +235,8 @@ func (this ActivityStreamsLastProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -236,12 +263,15 @@ func (this ActivityStreamsLastProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return 1
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsTootHashtag() {
|
||||
return 2
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 3
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 4
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -263,6 +293,8 @@ func (this ActivityStreamsLastProperty) LessThan(o vocab.ActivityStreamsLastProp
|
|||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -291,6 +323,8 @@ func (this ActivityStreamsLastProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().Serialize()
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -335,6 +369,13 @@ func (this *ActivityStreamsLastProperty) SetIRI(v *url.URL) {
|
|||
this.iri = v
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsLastProperty) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.Clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetType attempts to set the property for the arbitrary type. Returns an error
|
||||
// if it is not a valid type to set on this property.
|
||||
func (this *ActivityStreamsLastProperty) SetType(t vocab.Type) error {
|
||||
|
@ -346,6 +387,10 @@ func (this *ActivityStreamsLastProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLink(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||
this.SetActivityStreamsMention(v)
|
||||
return nil
|
||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -13,6 +13,9 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
|
@ -16,6 +16,7 @@ import (
|
|||
type ActivityStreamsNextProperty struct {
|
||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||
unknown interface{}
|
||||
|
@ -63,6 +64,12 @@ func DeserializeNextProperty(m map[string]interface{}, aliasMap map[string]strin
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsNextProperty{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsNextProperty{
|
||||
activitystreamsMentionMember: v,
|
||||
|
@ -96,6 +103,7 @@ func NewActivityStreamsNextProperty() *ActivityStreamsNextProperty {
|
|||
func (this *ActivityStreamsNextProperty) Clear() {
|
||||
this.activitystreamsCollectionPageMember = nil
|
||||
this.activitystreamsLinkMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.activitystreamsOrderedCollectionPageMember = nil
|
||||
this.unknown = nil
|
||||
|
@ -136,6 +144,12 @@ func (this ActivityStreamsNextProperty) GetIRI() *url.URL {
|
|||
return this.iri
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsNextProperty) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetType returns the value in this property as a Type. Returns nil if the value
|
||||
// is not an ActivityStreams type, such as an IRI or another value.
|
||||
func (this ActivityStreamsNextProperty) GetType() vocab.Type {
|
||||
|
@ -145,6 +159,9 @@ func (this ActivityStreamsNextProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention()
|
||||
}
|
||||
|
@ -159,6 +176,7 @@ func (this ActivityStreamsNextProperty) GetType() vocab.Type {
|
|||
func (this ActivityStreamsNextProperty) HasAny() bool {
|
||||
return this.IsActivityStreamsCollectionPage() ||
|
||||
this.IsActivityStreamsLink() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||
this.iri != nil
|
||||
|
@ -200,6 +218,13 @@ func (this ActivityStreamsNextProperty) IsIRI() bool {
|
|||
return this.iri != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsNextProperty) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// JSONLDContext returns the JSONLD URIs required in the context string for this
|
||||
// property and the specific values that are set. The value in the map is the
|
||||
// alias used to import the property's value or values.
|
||||
|
@ -210,6 +235,8 @@ func (this ActivityStreamsNextProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -236,12 +263,15 @@ func (this ActivityStreamsNextProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return 1
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsTootHashtag() {
|
||||
return 2
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 3
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 4
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -263,6 +293,8 @@ func (this ActivityStreamsNextProperty) LessThan(o vocab.ActivityStreamsNextProp
|
|||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -291,6 +323,8 @@ func (this ActivityStreamsNextProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().Serialize()
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -335,6 +369,13 @@ func (this *ActivityStreamsNextProperty) SetIRI(v *url.URL) {
|
|||
this.iri = v
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsNextProperty) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.Clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetType attempts to set the property for the arbitrary type. Returns an error
|
||||
// if it is not a valid type to set on this property.
|
||||
func (this *ActivityStreamsNextProperty) SetType(t vocab.Type) error {
|
||||
|
@ -346,6 +387,10 @@ func (this *ActivityStreamsNextProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLink(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||
this.SetActivityStreamsMention(v)
|
||||
return nil
|
||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -17,6 +17,9 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
|
@ -17,6 +17,7 @@ type ActivityStreamsPartOfProperty struct {
|
|||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection
|
||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||
|
@ -71,6 +72,12 @@ func DeserializePartOfProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsPartOfProperty{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsPartOfProperty{
|
||||
activitystreamsMentionMember: v,
|
||||
|
@ -111,6 +118,7 @@ func (this *ActivityStreamsPartOfProperty) Clear() {
|
|||
this.activitystreamsLinkMember = nil
|
||||
this.activitystreamsCollectionMember = nil
|
||||
this.activitystreamsCollectionPageMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.activitystreamsOrderedCollectionMember = nil
|
||||
this.activitystreamsOrderedCollectionPageMember = nil
|
||||
|
@ -166,6 +174,12 @@ func (this ActivityStreamsPartOfProperty) GetIRI() *url.URL {
|
|||
return this.iri
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsPartOfProperty) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetType returns the value in this property as a Type. Returns nil if the value
|
||||
// is not an ActivityStreams type, such as an IRI or another value.
|
||||
func (this ActivityStreamsPartOfProperty) GetType() vocab.Type {
|
||||
|
@ -178,6 +192,9 @@ func (this ActivityStreamsPartOfProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention()
|
||||
}
|
||||
|
@ -196,6 +213,7 @@ func (this ActivityStreamsPartOfProperty) HasAny() bool {
|
|||
return this.IsActivityStreamsLink() ||
|
||||
this.IsActivityStreamsCollection() ||
|
||||
this.IsActivityStreamsCollectionPage() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.IsActivityStreamsOrderedCollection() ||
|
||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||
|
@ -253,6 +271,13 @@ func (this ActivityStreamsPartOfProperty) IsIRI() bool {
|
|||
return this.iri != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsPartOfProperty) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// JSONLDContext returns the JSONLD URIs required in the context string for this
|
||||
// property and the specific values that are set. The value in the map is the
|
||||
// alias used to import the property's value or values.
|
||||
|
@ -265,6 +290,8 @@ func (this ActivityStreamsPartOfProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsCollection().JSONLDContext()
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||
} else if this.IsActivityStreamsOrderedCollection() {
|
||||
|
@ -296,15 +323,18 @@ func (this ActivityStreamsPartOfProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 2
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsTootHashtag() {
|
||||
return 3
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 4
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 5
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 6
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -328,6 +358,8 @@ func (this ActivityStreamsPartOfProperty) LessThan(o vocab.ActivityStreamsPartOf
|
|||
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||
} else if this.IsActivityStreamsOrderedCollection() {
|
||||
|
@ -360,6 +392,8 @@ func (this ActivityStreamsPartOfProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsCollection().Serialize()
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().Serialize()
|
||||
} else if this.IsActivityStreamsOrderedCollection() {
|
||||
|
@ -420,6 +454,13 @@ func (this *ActivityStreamsPartOfProperty) SetIRI(v *url.URL) {
|
|||
this.iri = v
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsPartOfProperty) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.Clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetType attempts to set the property for the arbitrary type. Returns an error
|
||||
// if it is not a valid type to set on this property.
|
||||
func (this *ActivityStreamsPartOfProperty) SetType(t vocab.Type) error {
|
||||
|
@ -435,6 +476,10 @@ func (this *ActivityStreamsPartOfProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsCollectionPage(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||
this.SetActivityStreamsMention(v)
|
||||
return nil
|
||||
|
|
|
@ -13,6 +13,9 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
|
@ -16,6 +16,7 @@ import (
|
|||
type ActivityStreamsPrevProperty struct {
|
||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||
unknown interface{}
|
||||
|
@ -63,6 +64,12 @@ func DeserializePrevProperty(m map[string]interface{}, aliasMap map[string]strin
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsPrevProperty{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsPrevProperty{
|
||||
activitystreamsMentionMember: v,
|
||||
|
@ -96,6 +103,7 @@ func NewActivityStreamsPrevProperty() *ActivityStreamsPrevProperty {
|
|||
func (this *ActivityStreamsPrevProperty) Clear() {
|
||||
this.activitystreamsCollectionPageMember = nil
|
||||
this.activitystreamsLinkMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.activitystreamsOrderedCollectionPageMember = nil
|
||||
this.unknown = nil
|
||||
|
@ -136,6 +144,12 @@ func (this ActivityStreamsPrevProperty) GetIRI() *url.URL {
|
|||
return this.iri
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsPrevProperty) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetType returns the value in this property as a Type. Returns nil if the value
|
||||
// is not an ActivityStreams type, such as an IRI or another value.
|
||||
func (this ActivityStreamsPrevProperty) GetType() vocab.Type {
|
||||
|
@ -145,6 +159,9 @@ func (this ActivityStreamsPrevProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention()
|
||||
}
|
||||
|
@ -159,6 +176,7 @@ func (this ActivityStreamsPrevProperty) GetType() vocab.Type {
|
|||
func (this ActivityStreamsPrevProperty) HasAny() bool {
|
||||
return this.IsActivityStreamsCollectionPage() ||
|
||||
this.IsActivityStreamsLink() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||
this.iri != nil
|
||||
|
@ -200,6 +218,13 @@ func (this ActivityStreamsPrevProperty) IsIRI() bool {
|
|||
return this.iri != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsPrevProperty) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// JSONLDContext returns the JSONLD URIs required in the context string for this
|
||||
// property and the specific values that are set. The value in the map is the
|
||||
// alias used to import the property's value or values.
|
||||
|
@ -210,6 +235,8 @@ func (this ActivityStreamsPrevProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -236,12 +263,15 @@ func (this ActivityStreamsPrevProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return 1
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsTootHashtag() {
|
||||
return 2
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 3
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 4
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -263,6 +293,8 @@ func (this ActivityStreamsPrevProperty) LessThan(o vocab.ActivityStreamsPrevProp
|
|||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -291,6 +323,8 @@ func (this ActivityStreamsPrevProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().Serialize()
|
||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
|
@ -335,6 +369,13 @@ func (this *ActivityStreamsPrevProperty) SetIRI(v *url.URL) {
|
|||
this.iri = v
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsPrevProperty) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.Clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetType attempts to set the property for the arbitrary type. Returns an error
|
||||
// if it is not a valid type to set on this property.
|
||||
func (this *ActivityStreamsPrevProperty) SetType(t vocab.Type) error {
|
||||
|
@ -346,6 +387,10 @@ func (this *ActivityStreamsPrevProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLink(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||
this.SetActivityStreamsMention(v)
|
||||
return nil
|
||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -181,9 +173,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -204,10 +193,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -220,14 +205,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
@ -25,10 +25,8 @@ type ActivityStreamsSourceProperty struct {
|
|||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
||||
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
||||
forgefedBranchMember vocab.ForgeFedBranch
|
||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||
forgefedCommitMember vocab.ForgeFedCommit
|
||||
activitystreamsCreateMember vocab.ActivityStreamsCreate
|
||||
activitystreamsDeleteMember vocab.ActivityStreamsDelete
|
||||
activitystreamsDislikeMember vocab.ActivityStreamsDislike
|
||||
|
@ -38,6 +36,7 @@ type ActivityStreamsSourceProperty struct {
|
|||
activitystreamsFlagMember vocab.ActivityStreamsFlag
|
||||
activitystreamsFollowMember vocab.ActivityStreamsFollow
|
||||
activitystreamsGroupMember vocab.ActivityStreamsGroup
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
tootIdentityProofMember vocab.TootIdentityProof
|
||||
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
|
||||
activitystreamsImageMember vocab.ActivityStreamsImage
|
||||
|
@ -59,18 +58,14 @@ type ActivityStreamsSourceProperty struct {
|
|||
activitystreamsPlaceMember vocab.ActivityStreamsPlace
|
||||
activitystreamsProfileMember vocab.ActivityStreamsProfile
|
||||
schemaPropertyValueMember vocab.SchemaPropertyValue
|
||||
forgefedPushMember vocab.ForgeFedPush
|
||||
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
|
||||
activitystreamsReadMember vocab.ActivityStreamsRead
|
||||
activitystreamsRejectMember vocab.ActivityStreamsReject
|
||||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||
forgefedRepositoryMember vocab.ForgeFedRepository
|
||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
forgefedTicketMember vocab.ForgeFedTicket
|
||||
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
|
||||
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
||||
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
||||
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
||||
|
@ -176,12 +171,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
forgefedBranchMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsCollectionMember: v,
|
||||
|
@ -194,12 +183,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
forgefedCommitMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsCreateMember: v,
|
||||
|
@ -254,6 +237,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
|
@ -380,12 +369,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
schemaPropertyValueMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
forgefedPushMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsQuestionMember: v,
|
||||
|
@ -416,12 +399,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
forgefedRepositoryMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsServiceMember: v,
|
||||
|
@ -440,18 +417,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
forgefedTicketMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
forgefedTicketDependencyMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsTombstoneMember: v,
|
||||
|
@ -518,10 +483,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
|||
this.activitystreamsArticleMember = nil
|
||||
this.activitystreamsAudioMember = nil
|
||||
this.activitystreamsBlockMember = nil
|
||||
this.forgefedBranchMember = nil
|
||||
this.activitystreamsCollectionMember = nil
|
||||
this.activitystreamsCollectionPageMember = nil
|
||||
this.forgefedCommitMember = nil
|
||||
this.activitystreamsCreateMember = nil
|
||||
this.activitystreamsDeleteMember = nil
|
||||
this.activitystreamsDislikeMember = nil
|
||||
|
@ -531,6 +494,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
|||
this.activitystreamsFlagMember = nil
|
||||
this.activitystreamsFollowMember = nil
|
||||
this.activitystreamsGroupMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.tootIdentityProofMember = nil
|
||||
this.activitystreamsIgnoreMember = nil
|
||||
this.activitystreamsImageMember = nil
|
||||
|
@ -552,18 +516,14 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
|||
this.activitystreamsPlaceMember = nil
|
||||
this.activitystreamsProfileMember = nil
|
||||
this.schemaPropertyValueMember = nil
|
||||
this.forgefedPushMember = nil
|
||||
this.activitystreamsQuestionMember = nil
|
||||
this.activitystreamsReadMember = nil
|
||||
this.activitystreamsRejectMember = nil
|
||||
this.activitystreamsRelationshipMember = nil
|
||||
this.activitystreamsRemoveMember = nil
|
||||
this.forgefedRepositoryMember = nil
|
||||
this.activitystreamsServiceMember = nil
|
||||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
this.forgefedTicketMember = nil
|
||||
this.forgefedTicketDependencyMember = nil
|
||||
this.activitystreamsTombstoneMember = nil
|
||||
this.activitystreamsTravelMember = nil
|
||||
this.activitystreamsUndoMember = nil
|
||||
|
@ -952,44 +912,6 @@ func (this ActivityStreamsSourceProperty) GetActivityStreamsView() vocab.Activit
|
|||
return this.activitystreamsViewMember
|
||||
}
|
||||
|
||||
// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch
|
||||
// returns false, GetForgeFedBranch will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetForgeFedBranch() vocab.ForgeFedBranch {
|
||||
return this.forgefedBranchMember
|
||||
}
|
||||
|
||||
// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit
|
||||
// returns false, GetForgeFedCommit will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetForgeFedCommit() vocab.ForgeFedCommit {
|
||||
return this.forgefedCommitMember
|
||||
}
|
||||
|
||||
// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns
|
||||
// false, GetForgeFedPush will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetForgeFedPush() vocab.ForgeFedPush {
|
||||
return this.forgefedPushMember
|
||||
}
|
||||
|
||||
// GetForgeFedRepository returns the value of this property. When
|
||||
// IsForgeFedRepository returns false, GetForgeFedRepository will return an
|
||||
// arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetForgeFedRepository() vocab.ForgeFedRepository {
|
||||
return this.forgefedRepositoryMember
|
||||
}
|
||||
|
||||
// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket
|
||||
// returns false, GetForgeFedTicket will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetForgeFedTicket() vocab.ForgeFedTicket {
|
||||
return this.forgefedTicketMember
|
||||
}
|
||||
|
||||
// GetForgeFedTicketDependency returns the value of this property. When
|
||||
// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
|
||||
return this.forgefedTicketDependencyMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetIRI() *url.URL {
|
||||
|
@ -1009,6 +931,12 @@ func (this ActivityStreamsSourceProperty) GetTootEmoji() vocab.TootEmoji {
|
|||
return this.tootEmojiMember
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetTootIdentityProof returns the value of this property. When
|
||||
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
|
||||
// arbitrary value.
|
||||
|
@ -1052,18 +980,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsBlock() {
|
||||
return this.GetActivityStreamsBlock()
|
||||
}
|
||||
if this.IsForgeFedBranch() {
|
||||
return this.GetForgeFedBranch()
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return this.GetActivityStreamsCollection()
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage()
|
||||
}
|
||||
if this.IsForgeFedCommit() {
|
||||
return this.GetForgeFedCommit()
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return this.GetActivityStreamsCreate()
|
||||
}
|
||||
|
@ -1091,6 +1013,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsGroup() {
|
||||
return this.GetActivityStreamsGroup()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
return this.GetTootIdentityProof()
|
||||
}
|
||||
|
@ -1154,9 +1079,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsSchemaPropertyValue() {
|
||||
return this.GetSchemaPropertyValue()
|
||||
}
|
||||
if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush()
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion()
|
||||
}
|
||||
|
@ -1172,9 +1094,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove()
|
||||
}
|
||||
if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
|
@ -1184,12 +1103,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsTentativeReject() {
|
||||
return this.GetActivityStreamsTentativeReject()
|
||||
}
|
||||
if this.IsForgeFedTicket() {
|
||||
return this.GetForgeFedTicket()
|
||||
}
|
||||
if this.IsForgeFedTicketDependency() {
|
||||
return this.GetForgeFedTicketDependency()
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone()
|
||||
}
|
||||
|
@ -1225,10 +1138,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
|||
this.IsActivityStreamsArticle() ||
|
||||
this.IsActivityStreamsAudio() ||
|
||||
this.IsActivityStreamsBlock() ||
|
||||
this.IsForgeFedBranch() ||
|
||||
this.IsActivityStreamsCollection() ||
|
||||
this.IsActivityStreamsCollectionPage() ||
|
||||
this.IsForgeFedCommit() ||
|
||||
this.IsActivityStreamsCreate() ||
|
||||
this.IsActivityStreamsDelete() ||
|
||||
this.IsActivityStreamsDislike() ||
|
||||
|
@ -1238,6 +1149,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
|||
this.IsActivityStreamsFlag() ||
|
||||
this.IsActivityStreamsFollow() ||
|
||||
this.IsActivityStreamsGroup() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsTootIdentityProof() ||
|
||||
this.IsActivityStreamsIgnore() ||
|
||||
this.IsActivityStreamsImage() ||
|
||||
|
@ -1259,18 +1171,14 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
|||
this.IsActivityStreamsPlace() ||
|
||||
this.IsActivityStreamsProfile() ||
|
||||
this.IsSchemaPropertyValue() ||
|
||||
this.IsForgeFedPush() ||
|
||||
this.IsActivityStreamsQuestion() ||
|
||||
this.IsActivityStreamsRead() ||
|
||||
this.IsActivityStreamsReject() ||
|
||||
this.IsActivityStreamsRelationship() ||
|
||||
this.IsActivityStreamsRemove() ||
|
||||
this.IsForgeFedRepository() ||
|
||||
this.IsActivityStreamsService() ||
|
||||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
this.IsForgeFedTicket() ||
|
||||
this.IsForgeFedTicketDependency() ||
|
||||
this.IsActivityStreamsTombstone() ||
|
||||
this.IsActivityStreamsTravel() ||
|
||||
this.IsActivityStreamsUndo() ||
|
||||
|
@ -1663,48 +1571,6 @@ func (this ActivityStreamsSourceProperty) IsActivityStreamsView() bool {
|
|||
return this.activitystreamsViewMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedBranch returns true if this property has a type of "Branch". When
|
||||
// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsForgeFedBranch() bool {
|
||||
return this.forgefedBranchMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedCommit returns true if this property has a type of "Commit". When
|
||||
// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsForgeFedCommit() bool {
|
||||
return this.forgefedCommitMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedPush returns true if this property has a type of "Push". When true,
|
||||
// use the GetForgeFedPush and SetForgeFedPush methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsSourceProperty) IsForgeFedPush() bool {
|
||||
return this.forgefedPushMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedRepository returns true if this property has a type of "Repository".
|
||||
// When true, use the GetForgeFedRepository and SetForgeFedRepository methods
|
||||
// to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsForgeFedRepository() bool {
|
||||
return this.forgefedRepositoryMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedTicket returns true if this property has a type of "Ticket". When
|
||||
// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsForgeFedTicket() bool {
|
||||
return this.forgefedTicketMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedTicketDependency returns true if this property has a type of
|
||||
// "TicketDependency". When true, use the GetForgeFedTicketDependency and
|
||||
// SetForgeFedTicketDependency methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsForgeFedTicketDependency() bool {
|
||||
return this.forgefedTicketDependencyMember != 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 {
|
||||
|
@ -1724,6 +1590,13 @@ func (this ActivityStreamsSourceProperty) IsTootEmoji() bool {
|
|||
return this.tootEmojiMember != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsSourceProperty) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// IsTootIdentityProof returns true if this property has a type of
|
||||
// "IdentityProof". When true, use the GetTootIdentityProof and
|
||||
// SetTootIdentityProof methods to access and set this property.
|
||||
|
@ -1759,14 +1632,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsAudio().JSONLDContext()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
child = this.GetActivityStreamsBlock().JSONLDContext()
|
||||
} else if this.IsForgeFedBranch() {
|
||||
child = this.GetForgeFedBranch().JSONLDContext()
|
||||
} else if this.IsActivityStreamsCollection() {
|
||||
child = this.GetActivityStreamsCollection().JSONLDContext()
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||
} else if this.IsForgeFedCommit() {
|
||||
child = this.GetForgeFedCommit().JSONLDContext()
|
||||
} else if this.IsActivityStreamsCreate() {
|
||||
child = this.GetActivityStreamsCreate().JSONLDContext()
|
||||
} else if this.IsActivityStreamsDelete() {
|
||||
|
@ -1785,6 +1654,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsFollow().JSONLDContext()
|
||||
} else if this.IsActivityStreamsGroup() {
|
||||
child = this.GetActivityStreamsGroup().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsTootIdentityProof() {
|
||||
child = this.GetTootIdentityProof().JSONLDContext()
|
||||
} else if this.IsActivityStreamsIgnore() {
|
||||
|
@ -1827,8 +1698,6 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsProfile().JSONLDContext()
|
||||
} else if this.IsSchemaPropertyValue() {
|
||||
child = this.GetSchemaPropertyValue().JSONLDContext()
|
||||
} else if this.IsForgeFedPush() {
|
||||
child = this.GetForgeFedPush().JSONLDContext()
|
||||
} else if this.IsActivityStreamsQuestion() {
|
||||
child = this.GetActivityStreamsQuestion().JSONLDContext()
|
||||
} else if this.IsActivityStreamsRead() {
|
||||
|
@ -1839,18 +1708,12 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsRelationship().JSONLDContext()
|
||||
} else if this.IsActivityStreamsRemove() {
|
||||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||
} else if this.IsForgeFedRepository() {
|
||||
child = this.GetForgeFedRepository().JSONLDContext()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
child = this.GetActivityStreamsService().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeReject() {
|
||||
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
||||
} else if this.IsForgeFedTicket() {
|
||||
child = this.GetForgeFedTicket().JSONLDContext()
|
||||
} else if this.IsForgeFedTicketDependency() {
|
||||
child = this.GetForgeFedTicketDependency().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
|
@ -1912,161 +1775,146 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsBlock() {
|
||||
return 10
|
||||
}
|
||||
if this.IsForgeFedBranch() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 13
|
||||
}
|
||||
if this.IsForgeFedCommit() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsTootEmoji() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 18
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsTootHashtag() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 23
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 25
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 32
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 43
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 44
|
||||
}
|
||||
if this.IsForgeFedPush() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 47
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 50
|
||||
}
|
||||
if this.IsForgeFedRepository() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 53
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 54
|
||||
}
|
||||
if this.IsForgeFedTicket() {
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 55
|
||||
}
|
||||
if this.IsForgeFedTicketDependency() {
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 58
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 61
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 62
|
||||
return 57
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
|
@ -2107,14 +1955,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
|
||||
} else if this.IsForgeFedBranch() {
|
||||
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
|
||||
} else if this.IsActivityStreamsCollection() {
|
||||
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||
} else if this.IsForgeFedCommit() {
|
||||
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
|
||||
} else if this.IsActivityStreamsCreate() {
|
||||
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
|
||||
} else if this.IsActivityStreamsDelete() {
|
||||
|
@ -2133,6 +1977,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
|
||||
} else if this.IsActivityStreamsGroup() {
|
||||
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsTootIdentityProof() {
|
||||
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
|
||||
} else if this.IsActivityStreamsIgnore() {
|
||||
|
@ -2175,8 +2021,6 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
|
||||
} else if this.IsSchemaPropertyValue() {
|
||||
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
|
||||
} else if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
|
||||
} else if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
|
||||
} else if this.IsActivityStreamsRead() {
|
||||
|
@ -2187,18 +2031,12 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
|
||||
} else if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||
} else if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
|
||||
} else if this.IsActivityStreamsTentativeReject() {
|
||||
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
|
||||
} else if this.IsForgeFedTicket() {
|
||||
return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket())
|
||||
} else if this.IsForgeFedTicketDependency() {
|
||||
return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency())
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
|
@ -2253,14 +2091,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsAudio().Serialize()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
return this.GetActivityStreamsBlock().Serialize()
|
||||
} else if this.IsForgeFedBranch() {
|
||||
return this.GetForgeFedBranch().Serialize()
|
||||
} else if this.IsActivityStreamsCollection() {
|
||||
return this.GetActivityStreamsCollection().Serialize()
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||
} else if this.IsForgeFedCommit() {
|
||||
return this.GetForgeFedCommit().Serialize()
|
||||
} else if this.IsActivityStreamsCreate() {
|
||||
return this.GetActivityStreamsCreate().Serialize()
|
||||
} else if this.IsActivityStreamsDelete() {
|
||||
|
@ -2279,6 +2113,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsFollow().Serialize()
|
||||
} else if this.IsActivityStreamsGroup() {
|
||||
return this.GetActivityStreamsGroup().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsTootIdentityProof() {
|
||||
return this.GetTootIdentityProof().Serialize()
|
||||
} else if this.IsActivityStreamsIgnore() {
|
||||
|
@ -2321,8 +2157,6 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsProfile().Serialize()
|
||||
} else if this.IsSchemaPropertyValue() {
|
||||
return this.GetSchemaPropertyValue().Serialize()
|
||||
} else if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush().Serialize()
|
||||
} else if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion().Serialize()
|
||||
} else if this.IsActivityStreamsRead() {
|
||||
|
@ -2333,18 +2167,12 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsRelationship().Serialize()
|
||||
} else if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove().Serialize()
|
||||
} else if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository().Serialize()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
return this.GetActivityStreamsTentativeAccept().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeReject() {
|
||||
return this.GetActivityStreamsTentativeReject().Serialize()
|
||||
} else if this.IsForgeFedTicket() {
|
||||
return this.GetForgeFedTicket().Serialize()
|
||||
} else if this.IsForgeFedTicketDependency() {
|
||||
return this.GetForgeFedTicketDependency().Serialize()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().Serialize()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
|
@ -2741,48 +2569,6 @@ func (this *ActivityStreamsSourceProperty) SetActivityStreamsView(v vocab.Activi
|
|||
this.activitystreamsViewMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) {
|
||||
this.Clear()
|
||||
this.forgefedBranchMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) {
|
||||
this.Clear()
|
||||
this.forgefedCommitMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetForgeFedPush(v vocab.ForgeFedPush) {
|
||||
this.Clear()
|
||||
this.forgefedPushMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedRepository sets the value of this property. Calling
|
||||
// IsForgeFedRepository afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) {
|
||||
this.Clear()
|
||||
this.forgefedRepositoryMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) {
|
||||
this.Clear()
|
||||
this.forgefedTicketMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedTicketDependency sets the value of this property. Calling
|
||||
// IsForgeFedTicketDependency afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
|
||||
this.Clear()
|
||||
this.forgefedTicketDependencyMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) {
|
||||
this.Clear()
|
||||
|
@ -2803,6 +2589,13 @@ func (this *ActivityStreamsSourceProperty) SetTootEmoji(v vocab.TootEmoji) {
|
|||
this.tootEmojiMember = v
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.Clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetTootIdentityProof sets the value of this property. Calling
|
||||
// IsTootIdentityProof afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
|
||||
|
@ -2857,10 +2650,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsBlock(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedBranch); ok {
|
||||
this.SetForgeFedBranch(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
|
||||
this.SetActivityStreamsCollection(v)
|
||||
return nil
|
||||
|
@ -2869,10 +2658,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsCollectionPage(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedCommit); ok {
|
||||
this.SetForgeFedCommit(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
|
||||
this.SetActivityStreamsCreate(v)
|
||||
return nil
|
||||
|
@ -2909,6 +2694,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsGroup(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootIdentityProof); ok {
|
||||
this.SetTootIdentityProof(v)
|
||||
return nil
|
||||
|
@ -2993,10 +2782,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetSchemaPropertyValue(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedPush); ok {
|
||||
this.SetForgeFedPush(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
|
||||
this.SetActivityStreamsQuestion(v)
|
||||
return nil
|
||||
|
@ -3017,10 +2802,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsRemove(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedRepository); ok {
|
||||
this.SetForgeFedRepository(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||
this.SetActivityStreamsService(v)
|
||||
return nil
|
||||
|
@ -3033,14 +2814,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsTentativeReject(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedTicket); ok {
|
||||
this.SetForgeFedTicket(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedTicketDependency); ok {
|
||||
this.SetForgeFedTicketDependency(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
|
||||
this.SetActivityStreamsTombstone(v)
|
||||
return nil
|
||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
@ -25,10 +25,8 @@ type ActivityStreamsSubjectProperty struct {
|
|||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
||||
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
||||
forgefedBranchMember vocab.ForgeFedBranch
|
||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||
forgefedCommitMember vocab.ForgeFedCommit
|
||||
activitystreamsCreateMember vocab.ActivityStreamsCreate
|
||||
activitystreamsDeleteMember vocab.ActivityStreamsDelete
|
||||
activitystreamsDislikeMember vocab.ActivityStreamsDislike
|
||||
|
@ -38,6 +36,7 @@ type ActivityStreamsSubjectProperty struct {
|
|||
activitystreamsFlagMember vocab.ActivityStreamsFlag
|
||||
activitystreamsFollowMember vocab.ActivityStreamsFollow
|
||||
activitystreamsGroupMember vocab.ActivityStreamsGroup
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
tootIdentityProofMember vocab.TootIdentityProof
|
||||
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
|
||||
activitystreamsImageMember vocab.ActivityStreamsImage
|
||||
|
@ -59,18 +58,14 @@ type ActivityStreamsSubjectProperty struct {
|
|||
activitystreamsPlaceMember vocab.ActivityStreamsPlace
|
||||
activitystreamsProfileMember vocab.ActivityStreamsProfile
|
||||
schemaPropertyValueMember vocab.SchemaPropertyValue
|
||||
forgefedPushMember vocab.ForgeFedPush
|
||||
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
|
||||
activitystreamsReadMember vocab.ActivityStreamsRead
|
||||
activitystreamsRejectMember vocab.ActivityStreamsReject
|
||||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||
forgefedRepositoryMember vocab.ForgeFedRepository
|
||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
forgefedTicketMember vocab.ForgeFedTicket
|
||||
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
|
||||
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
||||
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
||||
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
||||
|
@ -176,12 +171,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
forgefedBranchMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsCollectionMember: v,
|
||||
|
@ -194,12 +183,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
forgefedCommitMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsCreateMember: v,
|
||||
|
@ -254,6 +237,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
|
@ -380,12 +369,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
schemaPropertyValueMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
forgefedPushMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsQuestionMember: v,
|
||||
|
@ -416,12 +399,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
forgefedRepositoryMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsServiceMember: v,
|
||||
|
@ -440,18 +417,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
forgefedTicketMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
forgefedTicketDependencyMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsTombstoneMember: v,
|
||||
|
@ -518,10 +483,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
|||
this.activitystreamsArticleMember = nil
|
||||
this.activitystreamsAudioMember = nil
|
||||
this.activitystreamsBlockMember = nil
|
||||
this.forgefedBranchMember = nil
|
||||
this.activitystreamsCollectionMember = nil
|
||||
this.activitystreamsCollectionPageMember = nil
|
||||
this.forgefedCommitMember = nil
|
||||
this.activitystreamsCreateMember = nil
|
||||
this.activitystreamsDeleteMember = nil
|
||||
this.activitystreamsDislikeMember = nil
|
||||
|
@ -531,6 +494,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
|||
this.activitystreamsFlagMember = nil
|
||||
this.activitystreamsFollowMember = nil
|
||||
this.activitystreamsGroupMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.tootIdentityProofMember = nil
|
||||
this.activitystreamsIgnoreMember = nil
|
||||
this.activitystreamsImageMember = nil
|
||||
|
@ -552,18 +516,14 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
|||
this.activitystreamsPlaceMember = nil
|
||||
this.activitystreamsProfileMember = nil
|
||||
this.schemaPropertyValueMember = nil
|
||||
this.forgefedPushMember = nil
|
||||
this.activitystreamsQuestionMember = nil
|
||||
this.activitystreamsReadMember = nil
|
||||
this.activitystreamsRejectMember = nil
|
||||
this.activitystreamsRelationshipMember = nil
|
||||
this.activitystreamsRemoveMember = nil
|
||||
this.forgefedRepositoryMember = nil
|
||||
this.activitystreamsServiceMember = nil
|
||||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
this.forgefedTicketMember = nil
|
||||
this.forgefedTicketDependencyMember = nil
|
||||
this.activitystreamsTombstoneMember = nil
|
||||
this.activitystreamsTravelMember = nil
|
||||
this.activitystreamsUndoMember = nil
|
||||
|
@ -952,44 +912,6 @@ func (this ActivityStreamsSubjectProperty) GetActivityStreamsView() vocab.Activi
|
|||
return this.activitystreamsViewMember
|
||||
}
|
||||
|
||||
// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch
|
||||
// returns false, GetForgeFedBranch will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetForgeFedBranch() vocab.ForgeFedBranch {
|
||||
return this.forgefedBranchMember
|
||||
}
|
||||
|
||||
// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit
|
||||
// returns false, GetForgeFedCommit will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetForgeFedCommit() vocab.ForgeFedCommit {
|
||||
return this.forgefedCommitMember
|
||||
}
|
||||
|
||||
// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns
|
||||
// false, GetForgeFedPush will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetForgeFedPush() vocab.ForgeFedPush {
|
||||
return this.forgefedPushMember
|
||||
}
|
||||
|
||||
// GetForgeFedRepository returns the value of this property. When
|
||||
// IsForgeFedRepository returns false, GetForgeFedRepository will return an
|
||||
// arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetForgeFedRepository() vocab.ForgeFedRepository {
|
||||
return this.forgefedRepositoryMember
|
||||
}
|
||||
|
||||
// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket
|
||||
// returns false, GetForgeFedTicket will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetForgeFedTicket() vocab.ForgeFedTicket {
|
||||
return this.forgefedTicketMember
|
||||
}
|
||||
|
||||
// GetForgeFedTicketDependency returns the value of this property. When
|
||||
// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
|
||||
return this.forgefedTicketDependencyMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL {
|
||||
|
@ -1009,6 +931,12 @@ func (this ActivityStreamsSubjectProperty) GetTootEmoji() vocab.TootEmoji {
|
|||
return this.tootEmojiMember
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetTootIdentityProof returns the value of this property. When
|
||||
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
|
||||
// arbitrary value.
|
||||
|
@ -1052,18 +980,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsBlock() {
|
||||
return this.GetActivityStreamsBlock()
|
||||
}
|
||||
if this.IsForgeFedBranch() {
|
||||
return this.GetForgeFedBranch()
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return this.GetActivityStreamsCollection()
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage()
|
||||
}
|
||||
if this.IsForgeFedCommit() {
|
||||
return this.GetForgeFedCommit()
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return this.GetActivityStreamsCreate()
|
||||
}
|
||||
|
@ -1091,6 +1013,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsGroup() {
|
||||
return this.GetActivityStreamsGroup()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
return this.GetTootIdentityProof()
|
||||
}
|
||||
|
@ -1154,9 +1079,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsSchemaPropertyValue() {
|
||||
return this.GetSchemaPropertyValue()
|
||||
}
|
||||
if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush()
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion()
|
||||
}
|
||||
|
@ -1172,9 +1094,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove()
|
||||
}
|
||||
if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
|
@ -1184,12 +1103,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsTentativeReject() {
|
||||
return this.GetActivityStreamsTentativeReject()
|
||||
}
|
||||
if this.IsForgeFedTicket() {
|
||||
return this.GetForgeFedTicket()
|
||||
}
|
||||
if this.IsForgeFedTicketDependency() {
|
||||
return this.GetForgeFedTicketDependency()
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone()
|
||||
}
|
||||
|
@ -1225,10 +1138,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
|||
this.IsActivityStreamsArticle() ||
|
||||
this.IsActivityStreamsAudio() ||
|
||||
this.IsActivityStreamsBlock() ||
|
||||
this.IsForgeFedBranch() ||
|
||||
this.IsActivityStreamsCollection() ||
|
||||
this.IsActivityStreamsCollectionPage() ||
|
||||
this.IsForgeFedCommit() ||
|
||||
this.IsActivityStreamsCreate() ||
|
||||
this.IsActivityStreamsDelete() ||
|
||||
this.IsActivityStreamsDislike() ||
|
||||
|
@ -1238,6 +1149,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
|||
this.IsActivityStreamsFlag() ||
|
||||
this.IsActivityStreamsFollow() ||
|
||||
this.IsActivityStreamsGroup() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsTootIdentityProof() ||
|
||||
this.IsActivityStreamsIgnore() ||
|
||||
this.IsActivityStreamsImage() ||
|
||||
|
@ -1259,18 +1171,14 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
|||
this.IsActivityStreamsPlace() ||
|
||||
this.IsActivityStreamsProfile() ||
|
||||
this.IsSchemaPropertyValue() ||
|
||||
this.IsForgeFedPush() ||
|
||||
this.IsActivityStreamsQuestion() ||
|
||||
this.IsActivityStreamsRead() ||
|
||||
this.IsActivityStreamsReject() ||
|
||||
this.IsActivityStreamsRelationship() ||
|
||||
this.IsActivityStreamsRemove() ||
|
||||
this.IsForgeFedRepository() ||
|
||||
this.IsActivityStreamsService() ||
|
||||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
this.IsForgeFedTicket() ||
|
||||
this.IsForgeFedTicketDependency() ||
|
||||
this.IsActivityStreamsTombstone() ||
|
||||
this.IsActivityStreamsTravel() ||
|
||||
this.IsActivityStreamsUndo() ||
|
||||
|
@ -1663,48 +1571,6 @@ func (this ActivityStreamsSubjectProperty) IsActivityStreamsView() bool {
|
|||
return this.activitystreamsViewMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedBranch returns true if this property has a type of "Branch". When
|
||||
// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsForgeFedBranch() bool {
|
||||
return this.forgefedBranchMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedCommit returns true if this property has a type of "Commit". When
|
||||
// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsForgeFedCommit() bool {
|
||||
return this.forgefedCommitMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedPush returns true if this property has a type of "Push". When true,
|
||||
// use the GetForgeFedPush and SetForgeFedPush methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsSubjectProperty) IsForgeFedPush() bool {
|
||||
return this.forgefedPushMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedRepository returns true if this property has a type of "Repository".
|
||||
// When true, use the GetForgeFedRepository and SetForgeFedRepository methods
|
||||
// to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsForgeFedRepository() bool {
|
||||
return this.forgefedRepositoryMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedTicket returns true if this property has a type of "Ticket". When
|
||||
// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and
|
||||
// set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsForgeFedTicket() bool {
|
||||
return this.forgefedTicketMember != nil
|
||||
}
|
||||
|
||||
// IsForgeFedTicketDependency returns true if this property has a type of
|
||||
// "TicketDependency". When true, use the GetForgeFedTicketDependency and
|
||||
// SetForgeFedTicketDependency methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsForgeFedTicketDependency() bool {
|
||||
return this.forgefedTicketDependencyMember != 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 {
|
||||
|
@ -1724,6 +1590,13 @@ func (this ActivityStreamsSubjectProperty) IsTootEmoji() bool {
|
|||
return this.tootEmojiMember != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsSubjectProperty) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// IsTootIdentityProof returns true if this property has a type of
|
||||
// "IdentityProof". When true, use the GetTootIdentityProof and
|
||||
// SetTootIdentityProof methods to access and set this property.
|
||||
|
@ -1759,14 +1632,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsAudio().JSONLDContext()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
child = this.GetActivityStreamsBlock().JSONLDContext()
|
||||
} else if this.IsForgeFedBranch() {
|
||||
child = this.GetForgeFedBranch().JSONLDContext()
|
||||
} else if this.IsActivityStreamsCollection() {
|
||||
child = this.GetActivityStreamsCollection().JSONLDContext()
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||
} else if this.IsForgeFedCommit() {
|
||||
child = this.GetForgeFedCommit().JSONLDContext()
|
||||
} else if this.IsActivityStreamsCreate() {
|
||||
child = this.GetActivityStreamsCreate().JSONLDContext()
|
||||
} else if this.IsActivityStreamsDelete() {
|
||||
|
@ -1785,6 +1654,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsFollow().JSONLDContext()
|
||||
} else if this.IsActivityStreamsGroup() {
|
||||
child = this.GetActivityStreamsGroup().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsTootIdentityProof() {
|
||||
child = this.GetTootIdentityProof().JSONLDContext()
|
||||
} else if this.IsActivityStreamsIgnore() {
|
||||
|
@ -1827,8 +1698,6 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsProfile().JSONLDContext()
|
||||
} else if this.IsSchemaPropertyValue() {
|
||||
child = this.GetSchemaPropertyValue().JSONLDContext()
|
||||
} else if this.IsForgeFedPush() {
|
||||
child = this.GetForgeFedPush().JSONLDContext()
|
||||
} else if this.IsActivityStreamsQuestion() {
|
||||
child = this.GetActivityStreamsQuestion().JSONLDContext()
|
||||
} else if this.IsActivityStreamsRead() {
|
||||
|
@ -1839,18 +1708,12 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsRelationship().JSONLDContext()
|
||||
} else if this.IsActivityStreamsRemove() {
|
||||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||
} else if this.IsForgeFedRepository() {
|
||||
child = this.GetForgeFedRepository().JSONLDContext()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
child = this.GetActivityStreamsService().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeReject() {
|
||||
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
||||
} else if this.IsForgeFedTicket() {
|
||||
child = this.GetForgeFedTicket().JSONLDContext()
|
||||
} else if this.IsForgeFedTicketDependency() {
|
||||
child = this.GetForgeFedTicketDependency().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
|
@ -1912,161 +1775,146 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsBlock() {
|
||||
return 10
|
||||
}
|
||||
if this.IsForgeFedBranch() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 13
|
||||
}
|
||||
if this.IsForgeFedCommit() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsTootEmoji() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 18
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsTootHashtag() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 23
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 25
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 32
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 43
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 44
|
||||
}
|
||||
if this.IsForgeFedPush() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 47
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 50
|
||||
}
|
||||
if this.IsForgeFedRepository() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 53
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 54
|
||||
}
|
||||
if this.IsForgeFedTicket() {
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 55
|
||||
}
|
||||
if this.IsForgeFedTicketDependency() {
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 58
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 61
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 62
|
||||
return 57
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
|
@ -2107,14 +1955,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
|
||||
} else if this.IsForgeFedBranch() {
|
||||
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
|
||||
} else if this.IsActivityStreamsCollection() {
|
||||
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||
} else if this.IsForgeFedCommit() {
|
||||
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
|
||||
} else if this.IsActivityStreamsCreate() {
|
||||
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
|
||||
} else if this.IsActivityStreamsDelete() {
|
||||
|
@ -2133,6 +1977,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
|
||||
} else if this.IsActivityStreamsGroup() {
|
||||
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsTootIdentityProof() {
|
||||
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
|
||||
} else if this.IsActivityStreamsIgnore() {
|
||||
|
@ -2175,8 +2021,6 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
|
||||
} else if this.IsSchemaPropertyValue() {
|
||||
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
|
||||
} else if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
|
||||
} else if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
|
||||
} else if this.IsActivityStreamsRead() {
|
||||
|
@ -2187,18 +2031,12 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
|
||||
} else if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||
} else if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
|
||||
} else if this.IsActivityStreamsTentativeReject() {
|
||||
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
|
||||
} else if this.IsForgeFedTicket() {
|
||||
return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket())
|
||||
} else if this.IsForgeFedTicketDependency() {
|
||||
return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency())
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
|
@ -2253,14 +2091,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsAudio().Serialize()
|
||||
} else if this.IsActivityStreamsBlock() {
|
||||
return this.GetActivityStreamsBlock().Serialize()
|
||||
} else if this.IsForgeFedBranch() {
|
||||
return this.GetForgeFedBranch().Serialize()
|
||||
} else if this.IsActivityStreamsCollection() {
|
||||
return this.GetActivityStreamsCollection().Serialize()
|
||||
} else if this.IsActivityStreamsCollectionPage() {
|
||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||
} else if this.IsForgeFedCommit() {
|
||||
return this.GetForgeFedCommit().Serialize()
|
||||
} else if this.IsActivityStreamsCreate() {
|
||||
return this.GetActivityStreamsCreate().Serialize()
|
||||
} else if this.IsActivityStreamsDelete() {
|
||||
|
@ -2279,6 +2113,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsFollow().Serialize()
|
||||
} else if this.IsActivityStreamsGroup() {
|
||||
return this.GetActivityStreamsGroup().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsTootIdentityProof() {
|
||||
return this.GetTootIdentityProof().Serialize()
|
||||
} else if this.IsActivityStreamsIgnore() {
|
||||
|
@ -2321,8 +2157,6 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsProfile().Serialize()
|
||||
} else if this.IsSchemaPropertyValue() {
|
||||
return this.GetSchemaPropertyValue().Serialize()
|
||||
} else if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush().Serialize()
|
||||
} else if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion().Serialize()
|
||||
} else if this.IsActivityStreamsRead() {
|
||||
|
@ -2333,18 +2167,12 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsRelationship().Serialize()
|
||||
} else if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove().Serialize()
|
||||
} else if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository().Serialize()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
return this.GetActivityStreamsTentativeAccept().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeReject() {
|
||||
return this.GetActivityStreamsTentativeReject().Serialize()
|
||||
} else if this.IsForgeFedTicket() {
|
||||
return this.GetForgeFedTicket().Serialize()
|
||||
} else if this.IsForgeFedTicketDependency() {
|
||||
return this.GetForgeFedTicketDependency().Serialize()
|
||||
} else if this.IsActivityStreamsTombstone() {
|
||||
return this.GetActivityStreamsTombstone().Serialize()
|
||||
} else if this.IsActivityStreamsTravel() {
|
||||
|
@ -2741,48 +2569,6 @@ func (this *ActivityStreamsSubjectProperty) SetActivityStreamsView(v vocab.Activ
|
|||
this.activitystreamsViewMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) {
|
||||
this.Clear()
|
||||
this.forgefedBranchMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) {
|
||||
this.Clear()
|
||||
this.forgefedCommitMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetForgeFedPush(v vocab.ForgeFedPush) {
|
||||
this.Clear()
|
||||
this.forgefedPushMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedRepository sets the value of this property. Calling
|
||||
// IsForgeFedRepository afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) {
|
||||
this.Clear()
|
||||
this.forgefedRepositoryMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) {
|
||||
this.Clear()
|
||||
this.forgefedTicketMember = v
|
||||
}
|
||||
|
||||
// SetForgeFedTicketDependency sets the value of this property. Calling
|
||||
// IsForgeFedTicketDependency afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
|
||||
this.Clear()
|
||||
this.forgefedTicketDependencyMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) {
|
||||
this.Clear()
|
||||
|
@ -2803,6 +2589,13 @@ func (this *ActivityStreamsSubjectProperty) SetTootEmoji(v vocab.TootEmoji) {
|
|||
this.tootEmojiMember = v
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.Clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetTootIdentityProof sets the value of this property. Calling
|
||||
// IsTootIdentityProof afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
|
||||
|
@ -2857,10 +2650,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsBlock(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedBranch); ok {
|
||||
this.SetForgeFedBranch(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
|
||||
this.SetActivityStreamsCollection(v)
|
||||
return nil
|
||||
|
@ -2869,10 +2658,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsCollectionPage(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedCommit); ok {
|
||||
this.SetForgeFedCommit(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
|
||||
this.SetActivityStreamsCreate(v)
|
||||
return nil
|
||||
|
@ -2909,6 +2694,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsGroup(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootIdentityProof); ok {
|
||||
this.SetTootIdentityProof(v)
|
||||
return nil
|
||||
|
@ -2993,10 +2782,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetSchemaPropertyValue(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedPush); ok {
|
||||
this.SetForgeFedPush(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
|
||||
this.SetActivityStreamsQuestion(v)
|
||||
return nil
|
||||
|
@ -3017,10 +2802,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsRemove(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedRepository); ok {
|
||||
this.SetForgeFedRepository(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||
this.SetActivityStreamsService(v)
|
||||
return nil
|
||||
|
@ -3033,14 +2814,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsTentativeReject(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedTicket); ok {
|
||||
this.SetForgeFedTicket(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ForgeFedTicketDependency); ok {
|
||||
this.SetForgeFedTicketDependency(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
|
||||
this.SetActivityStreamsTombstone(v)
|
||||
return nil
|
||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsBlock" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
||||
// DeserializeBranchForgeFed returns the deserialization method for the
|
||||
// "ForgeFedBranch" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
|
||||
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCollection" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
||||
// DeserializeCommitForgeFed returns the deserialization method for the
|
||||
// "ForgeFedCommit" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
|
||||
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsCreate" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
|||
// the "ActivityStreamsGroup" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
||||
|
@ -189,9 +184,6 @@ type privateManager interface {
|
|||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||
// "Schema"
|
||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
||||
// DeserializePushForgeFed returns the deserialization method for the
|
||||
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
|
||||
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
|
||||
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
|||
// the "ActivityStreamsRemove" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
||||
// DeserializeRepositoryForgeFed returns the deserialization method for
|
||||
// the "ForgeFedRepository" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -9,6 +9,9 @@ var mgr privateManager
|
|||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface {
|
||||
// DeserializeHashtagToot returns the deserialization method for the
|
||||
// "TootHashtag" non-functional property in the vocabulary "Toot"
|
||||
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
|
@ -17,6 +17,7 @@ import (
|
|||
type ActivityStreamsUrlPropertyIterator struct {
|
||||
xmlschemaAnyURIMember *url.URL
|
||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||
tootHashtagMember vocab.TootHashtag
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
unknown interface{}
|
||||
alias string
|
||||
|
@ -43,6 +44,12 @@ func deserializeActivityStreamsUrlPropertyIterator(i interface{}, aliasMap map[s
|
|||
alias: alias,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsUrlPropertyIterator{
|
||||
alias: alias,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsUrlPropertyIterator{
|
||||
activitystreamsMentionMember: v,
|
||||
|
@ -85,12 +92,21 @@ func (this ActivityStreamsUrlPropertyIterator) GetIRI() *url.URL {
|
|||
return this.xmlschemaAnyURIMember
|
||||
}
|
||||
|
||||
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
|
||||
// false, GetTootHashtag will return an arbitrary value.
|
||||
func (this ActivityStreamsUrlPropertyIterator) GetTootHashtag() vocab.TootHashtag {
|
||||
return this.tootHashtagMember
|
||||
}
|
||||
|
||||
// GetType returns the value in this property as a Type. Returns nil if the value
|
||||
// is not an ActivityStreams type, such as an IRI or another value.
|
||||
func (this ActivityStreamsUrlPropertyIterator) GetType() vocab.Type {
|
||||
if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink()
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag()
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention()
|
||||
}
|
||||
|
@ -108,6 +124,7 @@ func (this ActivityStreamsUrlPropertyIterator) GetXMLSchemaAnyURI() *url.URL {
|
|||
func (this ActivityStreamsUrlPropertyIterator) HasAny() bool {
|
||||
return this.IsXMLSchemaAnyURI() ||
|
||||
this.IsActivityStreamsLink() ||
|
||||
this.IsTootHashtag() ||
|
||||
this.IsActivityStreamsMention()
|
||||
}
|
||||
|
||||
|
@ -131,6 +148,13 @@ func (this ActivityStreamsUrlPropertyIterator) IsIRI() bool {
|
|||
return this.xmlschemaAnyURIMember != nil
|
||||
}
|
||||
|
||||
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
|
||||
// use the GetTootHashtag and SetTootHashtag methods to access and set this
|
||||
// property.
|
||||
func (this ActivityStreamsUrlPropertyIterator) IsTootHashtag() bool {
|
||||
return this.tootHashtagMember != nil
|
||||
}
|
||||
|
||||
// IsXMLSchemaAnyURI returns true if this property has a type of "anyURI". When
|
||||
// true, use the GetXMLSchemaAnyURI and SetXMLSchemaAnyURI methods to access
|
||||
// and set this property.
|
||||
|
@ -146,6 +170,8 @@ func (this ActivityStreamsUrlPropertyIterator) JSONLDContext() map[string]string
|
|||
var child map[string]string
|
||||
if this.IsActivityStreamsLink() {
|
||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||
} else if this.IsTootHashtag() {
|
||||
child = this.GetTootHashtag().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||
}
|
||||
|
@ -170,9 +196,12 @@ func (this ActivityStreamsUrlPropertyIterator) KindIndex() int {
|
|||
if this.IsActivityStreamsLink() {
|
||||
return 1
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsTootHashtag() {
|
||||
return 2
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 3
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -194,6 +223,8 @@ func (this ActivityStreamsUrlPropertyIterator) LessThan(o vocab.ActivityStreamsU
|
|||
return anyuri.LessAnyURI(this.GetXMLSchemaAnyURI(), o.GetXMLSchemaAnyURI())
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||
}
|
||||
|
@ -247,6 +278,13 @@ func (this *ActivityStreamsUrlPropertyIterator) SetIRI(v *url.URL) {
|
|||
this.SetXMLSchemaAnyURI(v)
|
||||
}
|
||||
|
||||
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
|
||||
// afterwards returns true.
|
||||
func (this *ActivityStreamsUrlPropertyIterator) SetTootHashtag(v vocab.TootHashtag) {
|
||||
this.clear()
|
||||
this.tootHashtagMember = v
|
||||
}
|
||||
|
||||
// SetType attempts to set the property for the arbitrary type. Returns an error
|
||||
// if it is not a valid type to set on this property.
|
||||
func (this *ActivityStreamsUrlPropertyIterator) SetType(t vocab.Type) error {
|
||||
|
@ -254,6 +292,10 @@ func (this *ActivityStreamsUrlPropertyIterator) SetType(t vocab.Type) error {
|
|||
this.SetActivityStreamsLink(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.TootHashtag); ok {
|
||||
this.SetTootHashtag(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||
this.SetActivityStreamsMention(v)
|
||||
return nil
|
||||
|
@ -274,6 +316,7 @@ func (this *ActivityStreamsUrlPropertyIterator) SetXMLSchemaAnyURI(v *url.URL) {
|
|||
func (this *ActivityStreamsUrlPropertyIterator) clear() {
|
||||
this.xmlschemaAnyURIMember = nil
|
||||
this.activitystreamsLinkMember = nil
|
||||
this.tootHashtagMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.unknown = nil
|
||||
}
|
||||
|
@ -287,6 +330,8 @@ func (this ActivityStreamsUrlPropertyIterator) serialize() (interface{}, error)
|
|||
return anyuri.SerializeAnyURI(this.GetXMLSchemaAnyURI())
|
||||
} else if this.IsActivityStreamsLink() {
|
||||
return this.GetActivityStreamsLink().Serialize()
|
||||
} else if this.IsTootHashtag() {
|
||||
return this.GetTootHashtag().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
return this.GetActivityStreamsMention().Serialize()
|
||||
}
|
||||
|
@ -380,6 +425,17 @@ func (this *ActivityStreamsUrlProperty) AppendIRI(v *url.URL) {
|
|||
})
|
||||
}
|
||||
|
||||
// AppendTootHashtag appends a Hashtag value to the back of a list of the property
|
||||
// "url". Invalidates iterators that are traversing using Prev.
|
||||
func (this *ActivityStreamsUrlProperty) AppendTootHashtag(v vocab.TootHashtag) {
|
||||
this.properties = append(this.properties, &ActivityStreamsUrlPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||
// property "url". Invalidates iterators that are traversing using Prev.
|
||||
// Returns an error if the type is not a valid one to set for this property.
|
||||
|
@ -487,6 +543,23 @@ func (this *ActivityStreamsUrlProperty) InsertIRI(idx int, v *url.URL) {
|
|||
}
|
||||
}
|
||||
|
||||
// InsertTootHashtag inserts a Hashtag value at the specified index for a property
|
||||
// "url". Existing elements at that index and higher are shifted back once.
|
||||
// Invalidates all iterators.
|
||||
func (this *ActivityStreamsUrlProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &ActivityStreamsUrlPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||
// property "url". Invalidates all iterators. Returns an error if the type is
|
||||
// not a valid one to set for this property.
|
||||
|
@ -574,6 +647,10 @@ func (this ActivityStreamsUrlProperty) Less(i, j int) bool {
|
|||
rhs := this.properties[j].GetActivityStreamsLink()
|
||||
return lhs.LessThan(rhs)
|
||||
} else if idx1 == 2 {
|
||||
lhs := this.properties[i].GetTootHashtag()
|
||||
rhs := this.properties[j].GetTootHashtag()
|
||||
return lhs.LessThan(rhs)
|
||||
} else if idx1 == 3 {
|
||||
lhs := this.properties[i].GetActivityStreamsMention()
|
||||
rhs := this.properties[j].GetActivityStreamsMention()
|
||||
return lhs.LessThan(rhs)
|
||||
|
@ -657,6 +734,20 @@ func (this *ActivityStreamsUrlProperty) PrependIRI(v *url.URL) {
|
|||
}
|
||||
}
|
||||
|
||||
// PrependTootHashtag prepends a Hashtag value to the front of a list of the
|
||||
// property "url". Invalidates all iterators.
|
||||
func (this *ActivityStreamsUrlProperty) PrependTootHashtag(v vocab.TootHashtag) {
|
||||
this.properties = append([]*ActivityStreamsUrlPropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||
// property "url". Invalidates all iterators. Returns an error if the type is
|
||||
// not a valid one to set for this property.
|
||||
|
@ -761,6 +852,19 @@ func (this *ActivityStreamsUrlProperty) SetIRI(idx int, v *url.URL) {
|
|||
}
|
||||
}
|
||||
|
||||
// SetTootHashtag sets a Hashtag value to be at the specified index for the
|
||||
// property "url". Panics if the index is out of bounds. Invalidates all
|
||||
// iterators.
|
||||
func (this *ActivityStreamsUrlProperty) SetTootHashtag(idx int, v vocab.TootHashtag) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &ActivityStreamsUrlPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
tootHashtagMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// SetType sets an arbitrary type value to the specified index of the property
|
||||
// "url". Invalidates all iterators. Returns an error if the type is not a
|
||||
// valid one to set for this property. Panics if the index is out of bounds.
|
||||
|
|
|
@ -152,22 +152,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTargetProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
|
||||
// DeserializeTeamPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedTeamProperty" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
|
||||
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
|
||||
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
|
||||
// property in the vocabulary "ForgeFed"
|
||||
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
|
||||
// DeserializeToPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsToProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
|
||||
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
|
||||
// method for the "ForgeFedTracksTicketsForProperty" non-functional
|
||||
// property in the vocabulary "ForgeFed"
|
||||
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
|
||||
// DeserializeTypePropertyJSONLD returns the deserialization method for
|
||||
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
|
|
|
@ -83,10 +83,7 @@ type ActivityStreamsAccept struct {
|
|||
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
|
||||
ActivityStreamsTag vocab.ActivityStreamsTagProperty
|
||||
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
|
||||
ForgeFedTeam vocab.ForgeFedTeamProperty
|
||||
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
|
||||
ActivityStreamsTo vocab.ActivityStreamsToProperty
|
||||
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
|
||||
JSONLDType vocab.JSONLDTypeProperty
|
||||
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
|
||||
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
|
||||
|
@ -97,7 +94,7 @@ type ActivityStreamsAccept struct {
|
|||
// AcceptIsDisjointWith returns true if the other provided type is disjoint with
|
||||
// the Accept type.
|
||||
func AcceptIsDisjointWith(other vocab.Type) bool {
|
||||
disjointWith := []string{"Link", "Mention"}
|
||||
disjointWith := []string{"Hashtag", "Link", "Mention"}
|
||||
for _, disjoint := range disjointWith {
|
||||
if disjoint == other.GetTypeName() {
|
||||
return true
|
||||
|
@ -343,26 +340,11 @@ func DeserializeAccept(m map[string]interface{}, aliasMap map[string]string) (*A
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsTarget = p
|
||||
}
|
||||
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.ForgeFedTeam = p
|
||||
}
|
||||
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.ForgeFedTicketsTrackedBy = p
|
||||
}
|
||||
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsTo = p
|
||||
}
|
||||
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.ForgeFedTracksTicketsFor = p
|
||||
}
|
||||
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
@ -459,14 +441,8 @@ func DeserializeAccept(m map[string]interface{}, aliasMap map[string]string) (*A
|
|||
continue
|
||||
} else if k == "target" {
|
||||
continue
|
||||
} else if k == "team" {
|
||||
continue
|
||||
} else if k == "ticketsTrackedBy" {
|
||||
continue
|
||||
} else if k == "to" {
|
||||
continue
|
||||
} else if k == "tracksTicketsFor" {
|
||||
continue
|
||||
} else if k == "type" {
|
||||
continue
|
||||
} else if k == "updated" {
|
||||
|
@ -722,23 +698,6 @@ func (this ActivityStreamsAccept) GetActivityStreamsUrl() vocab.ActivityStreamsU
|
|||
return this.ActivityStreamsUrl
|
||||
}
|
||||
|
||||
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
|
||||
func (this ActivityStreamsAccept) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
|
||||
return this.ForgeFedTeam
|
||||
}
|
||||
|
||||
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
|
||||
// exists, and nil otherwise.
|
||||
func (this ActivityStreamsAccept) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
|
||||
return this.ForgeFedTicketsTrackedBy
|
||||
}
|
||||
|
||||
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
|
||||
// exists, and nil otherwise.
|
||||
func (this ActivityStreamsAccept) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
|
||||
return this.ForgeFedTracksTicketsFor
|
||||
}
|
||||
|
||||
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
|
||||
func (this ActivityStreamsAccept) GetJSONLDId() vocab.JSONLDIdProperty {
|
||||
return this.JSONLDId
|
||||
|
@ -809,10 +768,7 @@ func (this ActivityStreamsAccept) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
|
||||
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
|
||||
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
|
||||
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
|
||||
m = this.helperJSONLDContext(this.JSONLDType, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
|
||||
|
@ -1314,34 +1270,6 @@ func (this ActivityStreamsAccept) LessThan(o vocab.ActivityStreamsAccept) bool {
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "team"
|
||||
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); 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 "ticketsTrackedBy"
|
||||
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); 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 "to"
|
||||
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
@ -1356,20 +1284,6 @@ func (this ActivityStreamsAccept) LessThan(o vocab.ActivityStreamsAccept) bool {
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "tracksTicketsFor"
|
||||
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); 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 "type"
|
||||
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
@ -1715,22 +1629,6 @@ func (this ActivityStreamsAccept) Serialize() (map[string]interface{}, error) {
|
|||
m[this.ActivityStreamsTarget.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "team"
|
||||
if this.ForgeFedTeam != nil {
|
||||
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.ForgeFedTeam.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "ticketsTrackedBy"
|
||||
if this.ForgeFedTicketsTrackedBy != nil {
|
||||
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.ForgeFedTicketsTrackedBy.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "to"
|
||||
if this.ActivityStreamsTo != nil {
|
||||
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
|
||||
|
@ -1739,14 +1637,6 @@ func (this ActivityStreamsAccept) Serialize() (map[string]interface{}, error) {
|
|||
m[this.ActivityStreamsTo.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "tracksTicketsFor"
|
||||
if this.ForgeFedTracksTicketsFor != nil {
|
||||
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.ForgeFedTracksTicketsFor.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "type"
|
||||
if this.JSONLDType != nil {
|
||||
if i, err := this.JSONLDType.Serialize(); err != nil {
|
||||
|
@ -1970,21 +1860,6 @@ func (this *ActivityStreamsAccept) SetActivityStreamsUrl(i vocab.ActivityStreams
|
|||
this.ActivityStreamsUrl = i
|
||||
}
|
||||
|
||||
// SetForgeFedTeam sets the "team" property.
|
||||
func (this *ActivityStreamsAccept) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
|
||||
this.ForgeFedTeam = i
|
||||
}
|
||||
|
||||
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
|
||||
func (this *ActivityStreamsAccept) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
|
||||
this.ForgeFedTicketsTrackedBy = i
|
||||
}
|
||||
|
||||
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
|
||||
func (this *ActivityStreamsAccept) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
|
||||
this.ForgeFedTracksTicketsFor = i
|
||||
}
|
||||
|
||||
// SetJSONLDId sets the "id" property.
|
||||
func (this *ActivityStreamsAccept) SetJSONLDId(i vocab.JSONLDIdProperty) {
|
||||
this.JSONLDId = i
|
||||
|
|
|
@ -152,22 +152,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTargetProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
|
||||
// DeserializeTeamPropertyForgeFed returns the deserialization method for
|
||||
// the "ForgeFedTeamProperty" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
|
||||
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
|
||||
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
|
||||
// property in the vocabulary "ForgeFed"
|
||||
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
|
||||
// DeserializeToPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsToProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
|
||||
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
|
||||
// method for the "ForgeFedTracksTicketsForProperty" non-functional
|
||||
// property in the vocabulary "ForgeFed"
|
||||
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
|
||||
// DeserializeTypePropertyJSONLD returns the deserialization method for
|
||||
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
|
|
|
@ -63,10 +63,7 @@ type ActivityStreamsActivity struct {
|
|||
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
|
||||
ActivityStreamsTag vocab.ActivityStreamsTagProperty
|
||||
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
|
||||
ForgeFedTeam vocab.ForgeFedTeamProperty
|
||||
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
|
||||
ActivityStreamsTo vocab.ActivityStreamsToProperty
|
||||
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
|
||||
JSONLDType vocab.JSONLDTypeProperty
|
||||
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
|
||||
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
|
||||
|
@ -77,7 +74,7 @@ type ActivityStreamsActivity struct {
|
|||
// ActivityIsDisjointWith returns true if the other provided type is disjoint with
|
||||
// the Activity type.
|
||||
func ActivityIsDisjointWith(other vocab.Type) bool {
|
||||
disjointWith := []string{"Link", "Mention"}
|
||||
disjointWith := []string{"Hashtag", "Link", "Mention"}
|
||||
for _, disjoint := range disjointWith {
|
||||
if disjoint == other.GetTypeName() {
|
||||
return true
|
||||
|
@ -90,7 +87,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", "Push", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
|
||||
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"}
|
||||
for _, ext := range extensions {
|
||||
if ext == other.GetTypeName() {
|
||||
return true
|
||||
|
@ -323,26 +320,11 @@ func DeserializeActivity(m map[string]interface{}, aliasMap map[string]string) (
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsTarget = p
|
||||
}
|
||||
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.ForgeFedTeam = p
|
||||
}
|
||||
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.ForgeFedTicketsTrackedBy = p
|
||||
}
|
||||
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.ActivityStreamsTo = p
|
||||
}
|
||||
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.ForgeFedTracksTicketsFor = p
|
||||
}
|
||||
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
@ -439,14 +421,8 @@ func DeserializeActivity(m map[string]interface{}, aliasMap map[string]string) (
|
|||
continue
|
||||
} else if k == "target" {
|
||||
continue
|
||||
} else if k == "team" {
|
||||
continue
|
||||
} else if k == "ticketsTrackedBy" {
|
||||
continue
|
||||
} else if k == "to" {
|
||||
continue
|
||||
} else if k == "tracksTicketsFor" {
|
||||
continue
|
||||
} else if k == "type" {
|
||||
continue
|
||||
} else if k == "updated" {
|
||||
|
@ -702,23 +678,6 @@ func (this ActivityStreamsActivity) GetActivityStreamsUrl() vocab.ActivityStream
|
|||
return this.ActivityStreamsUrl
|
||||
}
|
||||
|
||||
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
|
||||
func (this ActivityStreamsActivity) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
|
||||
return this.ForgeFedTeam
|
||||
}
|
||||
|
||||
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
|
||||
// exists, and nil otherwise.
|
||||
func (this ActivityStreamsActivity) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
|
||||
return this.ForgeFedTicketsTrackedBy
|
||||
}
|
||||
|
||||
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
|
||||
// exists, and nil otherwise.
|
||||
func (this ActivityStreamsActivity) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
|
||||
return this.ForgeFedTracksTicketsFor
|
||||
}
|
||||
|
||||
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
|
||||
func (this ActivityStreamsActivity) GetJSONLDId() vocab.JSONLDIdProperty {
|
||||
return this.JSONLDId
|
||||
|
@ -789,10 +748,7 @@ func (this ActivityStreamsActivity) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
|
||||
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
|
||||
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
|
||||
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
|
||||
m = this.helperJSONLDContext(this.JSONLDType, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
|
||||
|
@ -1294,34 +1250,6 @@ func (this ActivityStreamsActivity) LessThan(o vocab.ActivityStreamsActivity) bo
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "team"
|
||||
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); 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 "ticketsTrackedBy"
|
||||
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); 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 "to"
|
||||
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
@ -1336,20 +1264,6 @@ func (this ActivityStreamsActivity) LessThan(o vocab.ActivityStreamsActivity) bo
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "tracksTicketsFor"
|
||||
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); 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 "type"
|
||||
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
@ -1695,22 +1609,6 @@ func (this ActivityStreamsActivity) Serialize() (map[string]interface{}, error)
|
|||
m[this.ActivityStreamsTarget.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "team"
|
||||
if this.ForgeFedTeam != nil {
|
||||
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.ForgeFedTeam.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "ticketsTrackedBy"
|
||||
if this.ForgeFedTicketsTrackedBy != nil {
|
||||
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.ForgeFedTicketsTrackedBy.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "to"
|
||||
if this.ActivityStreamsTo != nil {
|
||||
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
|
||||
|
@ -1719,14 +1617,6 @@ func (this ActivityStreamsActivity) Serialize() (map[string]interface{}, error)
|
|||
m[this.ActivityStreamsTo.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "tracksTicketsFor"
|
||||
if this.ForgeFedTracksTicketsFor != nil {
|
||||
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.ForgeFedTracksTicketsFor.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "type"
|
||||
if this.JSONLDType != nil {
|
||||
if i, err := this.JSONLDType.Serialize(); err != nil {
|
||||
|
@ -1950,21 +1840,6 @@ func (this *ActivityStreamsActivity) SetActivityStreamsUrl(i vocab.ActivityStrea
|
|||
this.ActivityStreamsUrl = i
|
||||
}
|
||||
|
||||
// SetForgeFedTeam sets the "team" property.
|
||||
func (this *ActivityStreamsActivity) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
|
||||
this.ForgeFedTeam = i
|
||||
}
|
||||
|
||||
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
|
||||
func (this *ActivityStreamsActivity) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
|
||||
this.ForgeFedTicketsTrackedBy = i
|
||||
}
|
||||
|
||||
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
|
||||
func (this *ActivityStreamsActivity) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
|
||||
this.ForgeFedTracksTicketsFor = i
|
||||
}
|
||||
|
||||
// SetJSONLDId sets the "id" property.
|
||||
func (this *ActivityStreamsActivity) SetJSONLDId(i vocab.JSONLDIdProperty) {
|
||||
this.JSONLDId = i
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue