[chore] Update activity dependency (#2031)
This commit is contained in:
parent
e747c14685
commit
cf4bd700fb
2
go.mod
2
go.mod
|
@ -42,7 +42,7 @@ require (
|
||||||
github.com/spf13/cobra v1.7.0
|
github.com/spf13/cobra v1.7.0
|
||||||
github.com/spf13/viper v1.16.0
|
github.com/spf13/viper v1.16.0
|
||||||
github.com/stretchr/testify v1.8.4
|
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/exif-terminator v0.5.0
|
||||||
github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8
|
github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8
|
||||||
github.com/tdewolff/minify/v2 v2.12.7
|
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 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8=
|
||||||
github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
|
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/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.4.0-gts h1:9r95sYy80tuGWWpDDNlLwa/k6dKZdyP/k+rhVA+VjdQ=
|
||||||
github.com/superseriousbusiness/activity v1.3.0-gts/go.mod h1:AZw0Xb4Oju8rmaJCZ21gc5CPg47MmNgyac+Hx5jo8VM=
|
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 h1:57SO/geyaOl2v/lJSQLVcQbdghpyFuK8ZTtaHL81fUQ=
|
||||||
github.com/superseriousbusiness/exif-terminator v0.5.0/go.mod h1:d5IkskXco/3XRXzOrI73uGYn+wahJEqPlQSSqn6jxSw=
|
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=
|
github.com/superseriousbusiness/go-jpeg-image-structure/v2 v2.0.0-20220321154430-d89a106fdabe h1:ksl2oCx/Qo8sNDc3Grb8WGKBM9nkvhCm25uvlT86azE=
|
||||||
|
|
|
@ -29,18 +29,12 @@ var ActivityStreamsAudioName string = "Audio"
|
||||||
// ActivityStreamsBlockName is the string literal of the name for the Block type in the ActivityStreams vocabulary.
|
// ActivityStreamsBlockName is the string literal of the name for the Block type in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsBlockName string = "Block"
|
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.
|
// ActivityStreamsCollectionName is the string literal of the name for the Collection type in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsCollectionName string = "Collection"
|
var ActivityStreamsCollectionName string = "Collection"
|
||||||
|
|
||||||
// ActivityStreamsCollectionPageName is the string literal of the name for the CollectionPage type in the ActivityStreams vocabulary.
|
// ActivityStreamsCollectionPageName is the string literal of the name for the CollectionPage type in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsCollectionPageName string = "CollectionPage"
|
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.
|
// ActivityStreamsCreateName is the string literal of the name for the Create type in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsCreateName string = "Create"
|
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.
|
// ActivityStreamsGroupName is the string literal of the name for the Group type in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsGroupName string = "Group"
|
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.
|
// TootIdentityProofName is the string literal of the name for the IdentityProof type in the Toot vocabulary.
|
||||||
var TootIdentityProofName string = "IdentityProof"
|
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.
|
// W3IDSecurityV1PublicKeyName is the string literal of the name for the PublicKey type in the W3IDSecurityV1 vocabulary.
|
||||||
var W3IDSecurityV1PublicKeyName string = "PublicKey"
|
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.
|
// ActivityStreamsQuestionName is the string literal of the name for the Question type in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsQuestionName string = "Question"
|
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.
|
// ActivityStreamsRemoveName is the string literal of the name for the Remove type in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsRemoveName string = "Remove"
|
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.
|
// ActivityStreamsServiceName is the string literal of the name for the Service type in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsServiceName string = "Service"
|
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.
|
// ActivityStreamsTentativeRejectName is the string literal of the name for the TentativeReject type in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsTentativeRejectName string = "TentativeReject"
|
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.
|
// ActivityStreamsTombstoneName is the string literal of the name for the Tombstone type in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsTombstoneName string = "Tombstone"
|
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.
|
// ActivityStreamsAnyOfPropertyName is the string literal of the name for the anyOf property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsAnyOfPropertyName string = "anyOf"
|
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.
|
// ActivityStreamsAttachmentPropertyName is the string literal of the name for the attachment property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsAttachmentPropertyName string = "attachment"
|
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.
|
// ActivityStreamsClosedPropertyName is the string literal of the name for the closed property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsClosedPropertyName string = "closed"
|
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.
|
// ActivityStreamsContentPropertyName is the string literal of the name for the content property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsContentPropertyName string = "content"
|
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.
|
// ActivityStreamsDeletedPropertyName is the string literal of the name for the deleted property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsDeletedPropertyName string = "deleted"
|
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.
|
// ActivityStreamsDescribesPropertyName is the string literal of the name for the describes property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsDescribesPropertyName string = "describes"
|
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.
|
// TootDiscoverablePropertyName is the string literal of the name for the discoverable property in the Toot vocabulary.
|
||||||
var TootDiscoverablePropertyName string = "discoverable"
|
var TootDiscoverablePropertyName string = "discoverable"
|
||||||
|
|
||||||
// ActivityStreamsDurationPropertyName is the string literal of the name for the duration property in the ActivityStreams vocabulary.
|
// ActivityStreamsDurationPropertyName is the string literal of the name for the duration property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsDurationPropertyName string = "duration"
|
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.
|
// ActivityStreamsEndTimePropertyName is the string literal of the name for the endTime property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsEndTimePropertyName string = "endTime"
|
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.
|
// TootFeaturedPropertyName is the string literal of the name for the featured property in the Toot vocabulary.
|
||||||
var TootFeaturedPropertyName string = "featured"
|
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.
|
// ActivityStreamsFirstPropertyName is the string literal of the name for the first property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsFirstPropertyName string = "first"
|
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.
|
// ActivityStreamsFollowingPropertyName is the string literal of the name for the following property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsFollowingPropertyName string = "following"
|
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.
|
// ActivityStreamsFormerTypePropertyName is the string literal of the name for the formerType property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsFormerTypePropertyName string = "formerType"
|
var ActivityStreamsFormerTypePropertyName string = "formerType"
|
||||||
|
|
||||||
// ActivityStreamsGeneratorPropertyName is the string literal of the name for the generator property in the ActivityStreams vocabulary.
|
// ActivityStreamsGeneratorPropertyName is the string literal of the name for the generator property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsGeneratorPropertyName string = "generator"
|
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.
|
// ActivityStreamsHeightPropertyName is the string literal of the name for the height property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsHeightPropertyName string = "height"
|
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.
|
// ActivityStreamsInstrumentPropertyName is the string literal of the name for the instrument property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsInstrumentPropertyName string = "instrument"
|
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.
|
// ActivityStreamsItemsPropertyName is the string literal of the name for the items property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsItemsPropertyName string = "items"
|
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.
|
// ActivityStreamsRadiusPropertyName is the string literal of the name for the radius property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsRadiusPropertyName string = "radius"
|
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.
|
// ActivityStreamsRelPropertyName is the string literal of the name for the rel property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsRelPropertyName string = "rel"
|
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.
|
// ActivityStreamsTargetPropertyName is the string literal of the name for the target property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsTargetPropertyName string = "target"
|
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.
|
// ActivityStreamsToPropertyName is the string literal of the name for the to property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsToPropertyName string = "to"
|
var ActivityStreamsToPropertyName string = "to"
|
||||||
|
|
||||||
// ActivityStreamsTotalItemsPropertyName is the string literal of the name for the totalItems property in the ActivityStreams vocabulary.
|
// ActivityStreamsTotalItemsPropertyName is the string literal of the name for the totalItems property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsTotalItemsPropertyName string = "totalItems"
|
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.
|
// ActivityStreamsUnitsPropertyName is the string literal of the name for the units property in the ActivityStreams vocabulary.
|
||||||
var ActivityStreamsUnitsPropertyName string = "units"
|
var ActivityStreamsUnitsPropertyName string = "units"
|
||||||
|
|
||||||
|
|
|
@ -133,31 +133,6 @@ import (
|
||||||
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
|
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
|
||||||
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
|
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
|
||||||
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
|
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"
|
propertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/property_value"
|
||||||
typepropertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue"
|
typepropertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue"
|
||||||
propertyblurhash "github.com/superseriousbusiness/activity/streams/impl/toot/property_blurhash"
|
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"
|
propertysignaturevalue "github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
|
||||||
propertyvoterscount "github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
|
propertyvoterscount "github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
|
||||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
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"
|
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||||
propertyowner "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner"
|
propertyowner "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner"
|
||||||
propertypublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey"
|
propertypublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey"
|
||||||
|
@ -317,31 +293,6 @@ func init() {
|
||||||
typeupdate.SetManager(mgr)
|
typeupdate.SetManager(mgr)
|
||||||
typevideo.SetManager(mgr)
|
typevideo.SetManager(mgr)
|
||||||
typeview.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)
|
propertyvalue.SetManager(mgr)
|
||||||
typepropertyvalue.SetManager(mgr)
|
typepropertyvalue.SetManager(mgr)
|
||||||
propertyblurhash.SetManager(mgr)
|
propertyblurhash.SetManager(mgr)
|
||||||
|
@ -351,6 +302,7 @@ func init() {
|
||||||
propertysignaturevalue.SetManager(mgr)
|
propertysignaturevalue.SetManager(mgr)
|
||||||
propertyvoterscount.SetManager(mgr)
|
propertyvoterscount.SetManager(mgr)
|
||||||
typeemoji.SetManager(mgr)
|
typeemoji.SetManager(mgr)
|
||||||
|
typehashtag.SetManager(mgr)
|
||||||
typeidentityproof.SetManager(mgr)
|
typeidentityproof.SetManager(mgr)
|
||||||
propertyowner.SetManager(mgr)
|
propertyowner.SetManager(mgr)
|
||||||
propertypublickey.SetManager(mgr)
|
propertypublickey.SetManager(mgr)
|
||||||
|
@ -411,14 +363,9 @@ func init() {
|
||||||
typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||||
typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||||
typeview.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)
|
typepropertyvalue.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||||
typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||||
|
typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||||
typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||||
typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,14 +49,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsBlock) error:
|
case func(context.Context, vocab.ActivityStreamsBlock) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.ActivityStreamsCollection) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsCollectionPage) error:
|
case func(context.Context, vocab.ActivityStreamsCollectionPage) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.ActivityStreamsCreate) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsDelete) error:
|
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.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsGroup) error:
|
case func(context.Context, vocab.ActivityStreamsGroup) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.TootIdentityProof) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsIgnore) error:
|
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.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.W3IDSecurityV1PublicKey) error:
|
case func(context.Context, vocab.W3IDSecurityV1PublicKey) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.ActivityStreamsQuestion) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsRead) error:
|
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.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsRemove) error:
|
case func(context.Context, vocab.ActivityStreamsRemove) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.ActivityStreamsService) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsTentativeAccept) error:
|
case func(context.Context, vocab.ActivityStreamsTentativeAccept) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsTentativeReject) error:
|
case func(context.Context, vocab.ActivityStreamsTentativeReject) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.ActivityStreamsTombstone) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsTravel) error:
|
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 {
|
if len(ActivityStreamsAlias) > 0 {
|
||||||
ActivityStreamsAlias += ":"
|
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"]
|
TootAlias, ok := aliasMap["https://joinmastodon.org/ns"]
|
||||||
if !ok {
|
if !ok {
|
||||||
TootAlias = aliasMap["http://joinmastodon.org/ns"]
|
TootAlias = aliasMap["http://joinmastodon.org/ns"]
|
||||||
|
@ -368,17 +351,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ErrNoCallbackMatch
|
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" {
|
} else if typeString == ActivityStreamsAlias+"Collection" {
|
||||||
v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap)
|
v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -401,17 +373,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ErrNoCallbackMatch
|
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" {
|
} else if typeString == ActivityStreamsAlias+"Create" {
|
||||||
v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap)
|
v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -522,6 +483,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ErrNoCallbackMatch
|
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" {
|
} else if typeString == TootAlias+"IdentityProof" {
|
||||||
v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap)
|
v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -786,17 +758,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ErrNoCallbackMatch
|
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" {
|
} else if typeString == ActivityStreamsAlias+"Question" {
|
||||||
v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap)
|
v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -852,17 +813,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ErrNoCallbackMatch
|
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" {
|
} else if typeString == ActivityStreamsAlias+"Service" {
|
||||||
v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap)
|
v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -896,28 +846,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ErrNoCallbackMatch
|
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" {
|
} else if typeString == ActivityStreamsAlias+"Tombstone" {
|
||||||
v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap)
|
v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -133,31 +133,6 @@ import (
|
||||||
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
|
typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update"
|
||||||
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
|
typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video"
|
||||||
typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view"
|
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"
|
propertyid "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_id"
|
||||||
propertytype "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_type"
|
propertytype "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_type"
|
||||||
propertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/property_value"
|
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"
|
propertysignaturevalue "github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue"
|
||||||
propertyvoterscount "github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
|
propertyvoterscount "github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount"
|
||||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
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"
|
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||||
propertyowner "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner"
|
propertyowner "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner"
|
||||||
propertypublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey"
|
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
|
// DeserializeAttachmentPropertyActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsAttachmentProperty" non-functional property in the
|
// for the "ActivityStreamsAttachmentProperty" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// DeserializeBtoPropertyActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsBtoProperty" non-functional property in the vocabulary
|
// the "ActivityStreamsBtoProperty" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "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
|
// DeserializeContentPropertyActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsContentProperty" non-functional property in the
|
// for the "ActivityStreamsContentProperty" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// DeserializeDescribesPropertyActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsDescribesProperty" non-functional property in the
|
// for the "ActivityStreamsDescribesProperty" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// DeserializeDiscoverablePropertyToot returns the deserialization method for the
|
||||||
// "TootDiscoverableProperty" non-functional property in the vocabulary "Toot"
|
// "TootDiscoverableProperty" non-functional property in the vocabulary "Toot"
|
||||||
func (this Manager) DeserializeDiscoverablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootDiscoverableProperty, error) {
|
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"
|
// DeserializeEmojiToot returns the deserialization method for the "TootEmoji"
|
||||||
// non-functional property in the vocabulary "Toot"
|
// non-functional property in the vocabulary "Toot"
|
||||||
func (this Manager) DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error) {
|
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
|
// DeserializeFirstPropertyActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsFirstProperty" non-functional property in the
|
// the "ActivityStreamsFirstProperty" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// DeserializeFormerTypePropertyActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsFormerTypeProperty" non-functional property in the
|
// for the "ActivityStreamsFormerTypeProperty" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -995,11 +779,11 @@ func (this Manager) DeserializeGroupActivityStreams() func(map[string]interface{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeserializeHashPropertyForgeFed returns the deserialization method for the
|
// DeserializeHashtagToot returns the deserialization method for the "TootHashtag"
|
||||||
// "ForgeFedHashProperty" non-functional property in the vocabulary "ForgeFed"
|
// non-functional property in the vocabulary "Toot"
|
||||||
func (this Manager) DeserializeHashPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedHashProperty, error) {
|
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.ForgeFedHashProperty, error) {
|
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.TootHashtag, error) {
|
||||||
i, err := propertyhash.DeserializeHashProperty(m, aliasMap)
|
i, err := typehashtag.DeserializeHashtag(m, aliasMap)
|
||||||
if i == nil {
|
if i == nil {
|
||||||
return nil, err
|
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
|
// DeserializeItemsPropertyActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsItemsProperty" non-functional property in the
|
// the "ActivityStreamsItemsProperty" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// DeserializeQuestionActivityStreams returns the deserialization method for the
|
||||||
// "ActivityStreamsQuestion" non-functional property in the vocabulary
|
// "ActivityStreamsQuestion" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "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
|
// DeserializeRejectActivityStreams returns the deserialization method for the
|
||||||
// "ActivityStreamsReject" non-functional property in the vocabulary
|
// "ActivityStreamsReject" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "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
|
// DeserializeResultPropertyActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsResultProperty" non-functional property in the
|
// the "ActivityStreamsResultProperty" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// DeserializeTentativeAcceptActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTentativeAccept" non-functional property in the
|
// for the "ActivityStreamsTentativeAccept" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// DeserializeToPropertyActivityStreams returns the deserialization method for the
|
||||||
// "ActivityStreamsToProperty" non-functional property in the vocabulary
|
// "ActivityStreamsToProperty" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "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
|
// DeserializeTravelActivityStreams returns the deserialization method for the
|
||||||
// "ActivityStreamsTravel" non-functional property in the vocabulary
|
// "ActivityStreamsTravel" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "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 (
|
import (
|
||||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
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"
|
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||||
)
|
)
|
||||||
|
@ -13,6 +14,12 @@ func TootEmojiIsDisjointWith(other vocab.Type) bool {
|
||||||
return typeemoji.EmojiIsDisjointWith(other)
|
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
|
// TootIdentityProofIsDisjointWith returns true if IdentityProof is disjoint with
|
||||||
// the other's type.
|
// the other's type.
|
||||||
func TootIdentityProofIsDisjointWith(other vocab.Type) bool {
|
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 (
|
import (
|
||||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
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"
|
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||||
)
|
)
|
||||||
|
@ -15,6 +16,13 @@ func TootEmojiIsExtendedBy(other vocab.Type) bool {
|
||||||
return typeemoji.EmojiIsExtendedBy(other)
|
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
|
// TootIdentityProofIsExtendedBy returns true if the other's type extends from
|
||||||
// IdentityProof. Note that it returns false if the types are the same; see
|
// IdentityProof. Note that it returns false if the types are the same; see
|
||||||
// the "IsOrExtends" variant instead.
|
// 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 (
|
import (
|
||||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
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"
|
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||||
)
|
)
|
||||||
|
@ -13,6 +14,11 @@ func TootTootEmojiExtends(other vocab.Type) bool {
|
||||||
return typeemoji.TootEmojiExtends(other)
|
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
|
// TootTootIdentityProofExtends returns true if IdentityProof extends from the
|
||||||
// other's type.
|
// other's type.
|
||||||
func TootTootIdentityProofExtends(other vocab.Type) bool {
|
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 (
|
import (
|
||||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
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"
|
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||||
)
|
)
|
||||||
|
@ -14,6 +15,12 @@ func IsOrExtendsTootEmoji(other vocab.Type) bool {
|
||||||
return typeemoji.IsOrExtendsEmoji(other)
|
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
|
// IsOrExtendsTootIdentityProof returns true if the other provided type is the
|
||||||
// IdentityProof type or extends from the IdentityProof type.
|
// IdentityProof type or extends from the IdentityProof type.
|
||||||
func IsOrExtendsTootIdentityProof(other vocab.Type) bool {
|
func IsOrExtendsTootIdentityProof(other vocab.Type) bool {
|
||||||
|
|
|
@ -4,6 +4,7 @@ package streams
|
||||||
|
|
||||||
import (
|
import (
|
||||||
typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji"
|
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"
|
typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof"
|
||||||
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
||||||
)
|
)
|
||||||
|
@ -13,6 +14,11 @@ func NewTootEmoji() vocab.TootEmoji {
|
||||||
return typeemoji.NewTootEmoji()
|
return typeemoji.NewTootEmoji()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NewTootHashtag creates a new TootHashtag
|
||||||
|
func NewTootHashtag() vocab.TootHashtag {
|
||||||
|
return typehashtag.NewTootHashtag()
|
||||||
|
}
|
||||||
|
|
||||||
// NewTootIdentityProof creates a new TootIdentityProof
|
// NewTootIdentityProof creates a new TootIdentityProof
|
||||||
func NewTootIdentityProof() vocab.TootIdentityProof {
|
func NewTootIdentityProof() vocab.TootIdentityProof {
|
||||||
return typeidentityproof.NewTootIdentityProof()
|
return typeidentityproof.NewTootIdentityProof()
|
||||||
|
|
|
@ -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 {
|
}, func(ctx context.Context, i vocab.ActivityStreamsBlock) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
return nil
|
||||||
}, func(ctx context.Context, i vocab.ForgeFedBranch) error {
|
|
||||||
t = i
|
|
||||||
return nil
|
|
||||||
}, func(ctx context.Context, i vocab.ActivityStreamsCollection) error {
|
}, func(ctx context.Context, i vocab.ActivityStreamsCollection) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
return nil
|
||||||
}, func(ctx context.Context, i vocab.ActivityStreamsCollectionPage) error {
|
}, func(ctx context.Context, i vocab.ActivityStreamsCollectionPage) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
return nil
|
||||||
}, func(ctx context.Context, i vocab.ForgeFedCommit) error {
|
|
||||||
t = i
|
|
||||||
return nil
|
|
||||||
}, func(ctx context.Context, i vocab.ActivityStreamsCreate) error {
|
}, func(ctx context.Context, i vocab.ActivityStreamsCreate) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
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 {
|
}, func(ctx context.Context, i vocab.ActivityStreamsGroup) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
return nil
|
||||||
|
}, func(ctx context.Context, i vocab.TootHashtag) error {
|
||||||
|
t = i
|
||||||
|
return nil
|
||||||
}, func(ctx context.Context, i vocab.TootIdentityProof) error {
|
}, func(ctx context.Context, i vocab.TootIdentityProof) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
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 {
|
}, func(ctx context.Context, i vocab.W3IDSecurityV1PublicKey) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
return nil
|
||||||
}, func(ctx context.Context, i vocab.ForgeFedPush) error {
|
|
||||||
t = i
|
|
||||||
return nil
|
|
||||||
}, func(ctx context.Context, i vocab.ActivityStreamsQuestion) error {
|
}, func(ctx context.Context, i vocab.ActivityStreamsQuestion) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
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 {
|
}, func(ctx context.Context, i vocab.ActivityStreamsRemove) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
return nil
|
||||||
}, func(ctx context.Context, i vocab.ForgeFedRepository) error {
|
|
||||||
t = i
|
|
||||||
return nil
|
|
||||||
}, func(ctx context.Context, i vocab.ActivityStreamsService) error {
|
}, func(ctx context.Context, i vocab.ActivityStreamsService) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
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 {
|
}, func(ctx context.Context, i vocab.ActivityStreamsTentativeReject) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
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 {
|
}, func(ctx context.Context, i vocab.ActivityStreamsTombstone) error {
|
||||||
t = i
|
t = i
|
||||||
return nil
|
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.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsBlock) (bool, error):
|
case func(context.Context, vocab.ActivityStreamsBlock) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// 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):
|
case func(context.Context, vocab.ActivityStreamsCollection) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsCollectionPage) (bool, error):
|
case func(context.Context, vocab.ActivityStreamsCollectionPage) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// 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):
|
case func(context.Context, vocab.ActivityStreamsCreate) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsDelete) (bool, error):
|
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.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsGroup) (bool, error):
|
case func(context.Context, vocab.ActivityStreamsGroup) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// 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):
|
case func(context.Context, vocab.TootIdentityProof) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsIgnore) (bool, error):
|
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.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.W3IDSecurityV1PublicKey) (bool, error):
|
case func(context.Context, vocab.W3IDSecurityV1PublicKey) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// 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):
|
case func(context.Context, vocab.ActivityStreamsQuestion) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsRead) (bool, error):
|
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.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsRemove) (bool, error):
|
case func(context.Context, vocab.ActivityStreamsRemove) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// 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):
|
case func(context.Context, vocab.ActivityStreamsService) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsTentativeAccept) (bool, error):
|
case func(context.Context, vocab.ActivityStreamsTentativeAccept) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsTentativeReject) (bool, error):
|
case func(context.Context, vocab.ActivityStreamsTentativeReject) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// 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):
|
case func(context.Context, vocab.ActivityStreamsTombstone) (bool, error):
|
||||||
// Do nothing, this predicate has a correct signature.
|
// Do nothing, this predicate has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsTravel) (bool, error):
|
case func(context.Context, vocab.ActivityStreamsTravel) (bool, error):
|
||||||
|
@ -277,17 +267,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
||||||
} else {
|
} else {
|
||||||
return false, ErrPredicateUnmatched
|
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" {
|
} 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 fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsCollection) (bool, error)); ok {
|
||||||
if v, ok := o.(vocab.ActivityStreamsCollection); ok {
|
if v, ok := o.(vocab.ActivityStreamsCollection); ok {
|
||||||
|
@ -310,17 +289,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
||||||
} else {
|
} else {
|
||||||
return false, ErrPredicateUnmatched
|
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" {
|
} 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 fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsCreate) (bool, error)); ok {
|
||||||
if v, ok := o.(vocab.ActivityStreamsCreate); ok {
|
if v, ok := o.(vocab.ActivityStreamsCreate); ok {
|
||||||
|
@ -431,6 +399,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
||||||
} else {
|
} else {
|
||||||
return false, ErrPredicateUnmatched
|
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" {
|
} 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 fn, ok := this.predicate.(func(context.Context, vocab.TootIdentityProof) (bool, error)); ok {
|
||||||
if v, ok := o.(vocab.TootIdentityProof); ok {
|
if v, ok := o.(vocab.TootIdentityProof); ok {
|
||||||
|
@ -695,17 +674,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
||||||
} else {
|
} else {
|
||||||
return false, ErrPredicateUnmatched
|
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" {
|
} 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 fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsQuestion) (bool, error)); ok {
|
||||||
if v, ok := o.(vocab.ActivityStreamsQuestion); ok {
|
if v, ok := o.(vocab.ActivityStreamsQuestion); ok {
|
||||||
|
@ -761,17 +729,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
||||||
} else {
|
} else {
|
||||||
return false, ErrPredicateUnmatched
|
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" {
|
} 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 fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsService) (bool, error)); ok {
|
||||||
if v, ok := o.(vocab.ActivityStreamsService); ok {
|
if v, ok := o.(vocab.ActivityStreamsService); ok {
|
||||||
|
@ -805,28 +762,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
|
||||||
} else {
|
} else {
|
||||||
return false, ErrPredicateUnmatched
|
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" {
|
} 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 fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsTombstone) (bool, error)); ok {
|
||||||
if v, ok := o.(vocab.ActivityStreamsTombstone); ok {
|
if v, ok := o.(vocab.ActivityStreamsTombstone); ok {
|
||||||
|
|
|
@ -46,14 +46,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsBlock) error:
|
case func(context.Context, vocab.ActivityStreamsBlock) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.ActivityStreamsCollection) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsCollectionPage) error:
|
case func(context.Context, vocab.ActivityStreamsCollectionPage) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.ActivityStreamsCreate) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsDelete) error:
|
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.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsGroup) error:
|
case func(context.Context, vocab.ActivityStreamsGroup) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.TootIdentityProof) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsIgnore) error:
|
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.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.W3IDSecurityV1PublicKey) error:
|
case func(context.Context, vocab.W3IDSecurityV1PublicKey) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.ActivityStreamsQuestion) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsRead) error:
|
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.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsRemove) error:
|
case func(context.Context, vocab.ActivityStreamsRemove) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.ActivityStreamsService) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsTentativeAccept) error:
|
case func(context.Context, vocab.ActivityStreamsTentativeAccept) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsTentativeReject) error:
|
case func(context.Context, vocab.ActivityStreamsTentativeReject) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// 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:
|
case func(context.Context, vocab.ActivityStreamsTombstone) error:
|
||||||
// Do nothing, this callback has a correct signature.
|
// Do nothing, this callback has a correct signature.
|
||||||
case func(context.Context, vocab.ActivityStreamsTravel) error:
|
case func(context.Context, vocab.ActivityStreamsTravel) error:
|
||||||
|
@ -254,15 +244,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
||||||
return errCannotTypeAssertType
|
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" {
|
} 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 fn, ok := i.(func(context.Context, vocab.ActivityStreamsCollection) error); ok {
|
||||||
if v, ok := o.(vocab.ActivityStreamsCollection); ok {
|
if v, ok := o.(vocab.ActivityStreamsCollection); ok {
|
||||||
|
@ -281,15 +262,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
||||||
return errCannotTypeAssertType
|
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" {
|
} 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 fn, ok := i.(func(context.Context, vocab.ActivityStreamsCreate) error); ok {
|
||||||
if v, ok := o.(vocab.ActivityStreamsCreate); ok {
|
if v, ok := o.(vocab.ActivityStreamsCreate); ok {
|
||||||
|
@ -380,6 +352,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
||||||
return errCannotTypeAssertType
|
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" {
|
} else if o.VocabularyURI() == "http://joinmastodon.org/ns" && o.GetTypeName() == "IdentityProof" {
|
||||||
if fn, ok := i.(func(context.Context, vocab.TootIdentityProof) error); ok {
|
if fn, ok := i.(func(context.Context, vocab.TootIdentityProof) error); ok {
|
||||||
if v, ok := o.(vocab.TootIdentityProof); ok {
|
if v, ok := o.(vocab.TootIdentityProof); ok {
|
||||||
|
@ -596,15 +577,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
||||||
return errCannotTypeAssertType
|
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" {
|
} 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 fn, ok := i.(func(context.Context, vocab.ActivityStreamsQuestion) error); ok {
|
||||||
if v, ok := o.(vocab.ActivityStreamsQuestion); ok {
|
if v, ok := o.(vocab.ActivityStreamsQuestion); ok {
|
||||||
|
@ -650,15 +622,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
||||||
return errCannotTypeAssertType
|
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" {
|
} 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 fn, ok := i.(func(context.Context, vocab.ActivityStreamsService) error); ok {
|
||||||
if v, ok := o.(vocab.ActivityStreamsService); ok {
|
if v, ok := o.(vocab.ActivityStreamsService); ok {
|
||||||
|
@ -686,24 +649,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
|
||||||
return errCannotTypeAssertType
|
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" {
|
} 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 fn, ok := i.(func(context.Context, vocab.ActivityStreamsTombstone) error); ok {
|
||||||
if v, ok := o.(vocab.ActivityStreamsTombstone); ok {
|
if v, ok := o.(vocab.ActivityStreamsTombstone); ok {
|
||||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsBlock" non-functional property in the
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "ActivityStreams"
|
||||||
|
|
|
@ -16,6 +16,7 @@ import (
|
||||||
type ActivityStreamsCurrentProperty struct {
|
type ActivityStreamsCurrentProperty struct {
|
||||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||||
unknown interface{}
|
unknown interface{}
|
||||||
|
@ -63,6 +64,12 @@ func DeserializeCurrentProperty(m map[string]interface{}, aliasMap map[string]st
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsCurrentProperty{
|
this := &ActivityStreamsCurrentProperty{
|
||||||
activitystreamsMentionMember: v,
|
activitystreamsMentionMember: v,
|
||||||
|
@ -96,6 +103,7 @@ func NewActivityStreamsCurrentProperty() *ActivityStreamsCurrentProperty {
|
||||||
func (this *ActivityStreamsCurrentProperty) Clear() {
|
func (this *ActivityStreamsCurrentProperty) Clear() {
|
||||||
this.activitystreamsCollectionPageMember = nil
|
this.activitystreamsCollectionPageMember = nil
|
||||||
this.activitystreamsLinkMember = nil
|
this.activitystreamsLinkMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.activitystreamsMentionMember = nil
|
this.activitystreamsMentionMember = nil
|
||||||
this.activitystreamsOrderedCollectionPageMember = nil
|
this.activitystreamsOrderedCollectionPageMember = nil
|
||||||
this.unknown = nil
|
this.unknown = nil
|
||||||
|
@ -136,6 +144,12 @@ func (this ActivityStreamsCurrentProperty) GetIRI() *url.URL {
|
||||||
return this.iri
|
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
|
// 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.
|
// is not an ActivityStreams type, such as an IRI or another value.
|
||||||
func (this ActivityStreamsCurrentProperty) GetType() vocab.Type {
|
func (this ActivityStreamsCurrentProperty) GetType() vocab.Type {
|
||||||
|
@ -145,6 +159,9 @@ func (this ActivityStreamsCurrentProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink()
|
return this.GetActivityStreamsLink()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention()
|
return this.GetActivityStreamsMention()
|
||||||
}
|
}
|
||||||
|
@ -159,6 +176,7 @@ func (this ActivityStreamsCurrentProperty) GetType() vocab.Type {
|
||||||
func (this ActivityStreamsCurrentProperty) HasAny() bool {
|
func (this ActivityStreamsCurrentProperty) HasAny() bool {
|
||||||
return this.IsActivityStreamsCollectionPage() ||
|
return this.IsActivityStreamsCollectionPage() ||
|
||||||
this.IsActivityStreamsLink() ||
|
this.IsActivityStreamsLink() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsActivityStreamsMention() ||
|
this.IsActivityStreamsMention() ||
|
||||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||||
this.iri != nil
|
this.iri != nil
|
||||||
|
@ -200,6 +218,13 @@ func (this ActivityStreamsCurrentProperty) IsIRI() bool {
|
||||||
return this.iri != nil
|
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
|
// 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
|
// 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.
|
// 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()
|
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -236,12 +263,15 @@ func (this ActivityStreamsCurrentProperty) KindIndex() int {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsTootHashtag() {
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
if this.IsActivityStreamsMention() {
|
||||||
return 3
|
return 3
|
||||||
}
|
}
|
||||||
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
return 4
|
||||||
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
}
|
}
|
||||||
|
@ -263,6 +293,8 @@ func (this ActivityStreamsCurrentProperty) LessThan(o vocab.ActivityStreamsCurre
|
||||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -291,6 +323,8 @@ func (this ActivityStreamsCurrentProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().Serialize()
|
return this.GetActivityStreamsLink().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().Serialize()
|
return this.GetActivityStreamsMention().Serialize()
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -335,6 +369,13 @@ func (this *ActivityStreamsCurrentProperty) SetIRI(v *url.URL) {
|
||||||
this.iri = v
|
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
|
// 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.
|
// if it is not a valid type to set on this property.
|
||||||
func (this *ActivityStreamsCurrentProperty) SetType(t vocab.Type) error {
|
func (this *ActivityStreamsCurrentProperty) SetType(t vocab.Type) error {
|
||||||
|
@ -346,6 +387,10 @@ func (this *ActivityStreamsCurrentProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsLink(v)
|
this.SetActivityStreamsLink(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||||
this.SetActivityStreamsMention(v)
|
this.SetActivityStreamsMention(v)
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsBlock" non-functional property in the
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -181,9 +173,6 @@ type privateManager interface {
|
||||||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -204,10 +193,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -220,14 +205,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
|
|
@ -24,10 +24,8 @@ type ActivityStreamsDescribesProperty struct {
|
||||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||||
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
||||||
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
||||||
forgefedBranchMember vocab.ForgeFedBranch
|
|
||||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||||
forgefedCommitMember vocab.ForgeFedCommit
|
|
||||||
activitystreamsCreateMember vocab.ActivityStreamsCreate
|
activitystreamsCreateMember vocab.ActivityStreamsCreate
|
||||||
activitystreamsDeleteMember vocab.ActivityStreamsDelete
|
activitystreamsDeleteMember vocab.ActivityStreamsDelete
|
||||||
activitystreamsDislikeMember vocab.ActivityStreamsDislike
|
activitystreamsDislikeMember vocab.ActivityStreamsDislike
|
||||||
|
@ -57,18 +55,14 @@ type ActivityStreamsDescribesProperty struct {
|
||||||
activitystreamsPlaceMember vocab.ActivityStreamsPlace
|
activitystreamsPlaceMember vocab.ActivityStreamsPlace
|
||||||
activitystreamsProfileMember vocab.ActivityStreamsProfile
|
activitystreamsProfileMember vocab.ActivityStreamsProfile
|
||||||
schemaPropertyValueMember vocab.SchemaPropertyValue
|
schemaPropertyValueMember vocab.SchemaPropertyValue
|
||||||
forgefedPushMember vocab.ForgeFedPush
|
|
||||||
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
|
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
|
||||||
activitystreamsReadMember vocab.ActivityStreamsRead
|
activitystreamsReadMember vocab.ActivityStreamsRead
|
||||||
activitystreamsRejectMember vocab.ActivityStreamsReject
|
activitystreamsRejectMember vocab.ActivityStreamsReject
|
||||||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||||
forgefedRepositoryMember vocab.ForgeFedRepository
|
|
||||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||||
forgefedTicketMember vocab.ForgeFedTicket
|
|
||||||
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
|
|
||||||
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
||||||
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
||||||
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
||||||
|
@ -168,12 +162,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsDescribesProperty{
|
this := &ActivityStreamsDescribesProperty{
|
||||||
activitystreamsCollectionMember: v,
|
activitystreamsCollectionMember: v,
|
||||||
|
@ -186,12 +174,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsDescribesProperty{
|
this := &ActivityStreamsDescribesProperty{
|
||||||
activitystreamsCreateMember: v,
|
activitystreamsCreateMember: v,
|
||||||
|
@ -366,12 +348,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
||||||
schemaPropertyValueMember: v,
|
schemaPropertyValueMember: v,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsDescribesProperty{
|
this := &ActivityStreamsDescribesProperty{
|
||||||
activitystreamsQuestionMember: v,
|
activitystreamsQuestionMember: v,
|
||||||
|
@ -402,12 +378,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsDescribesProperty{
|
this := &ActivityStreamsDescribesProperty{
|
||||||
activitystreamsServiceMember: v,
|
activitystreamsServiceMember: v,
|
||||||
|
@ -426,18 +396,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsDescribesProperty{
|
this := &ActivityStreamsDescribesProperty{
|
||||||
activitystreamsTombstoneMember: v,
|
activitystreamsTombstoneMember: v,
|
||||||
|
@ -503,10 +461,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
||||||
this.activitystreamsArticleMember = nil
|
this.activitystreamsArticleMember = nil
|
||||||
this.activitystreamsAudioMember = nil
|
this.activitystreamsAudioMember = nil
|
||||||
this.activitystreamsBlockMember = nil
|
this.activitystreamsBlockMember = nil
|
||||||
this.forgefedBranchMember = nil
|
|
||||||
this.activitystreamsCollectionMember = nil
|
this.activitystreamsCollectionMember = nil
|
||||||
this.activitystreamsCollectionPageMember = nil
|
this.activitystreamsCollectionPageMember = nil
|
||||||
this.forgefedCommitMember = nil
|
|
||||||
this.activitystreamsCreateMember = nil
|
this.activitystreamsCreateMember = nil
|
||||||
this.activitystreamsDeleteMember = nil
|
this.activitystreamsDeleteMember = nil
|
||||||
this.activitystreamsDislikeMember = nil
|
this.activitystreamsDislikeMember = nil
|
||||||
|
@ -536,18 +492,14 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
||||||
this.activitystreamsPlaceMember = nil
|
this.activitystreamsPlaceMember = nil
|
||||||
this.activitystreamsProfileMember = nil
|
this.activitystreamsProfileMember = nil
|
||||||
this.schemaPropertyValueMember = nil
|
this.schemaPropertyValueMember = nil
|
||||||
this.forgefedPushMember = nil
|
|
||||||
this.activitystreamsQuestionMember = nil
|
this.activitystreamsQuestionMember = nil
|
||||||
this.activitystreamsReadMember = nil
|
this.activitystreamsReadMember = nil
|
||||||
this.activitystreamsRejectMember = nil
|
this.activitystreamsRejectMember = nil
|
||||||
this.activitystreamsRelationshipMember = nil
|
this.activitystreamsRelationshipMember = nil
|
||||||
this.activitystreamsRemoveMember = nil
|
this.activitystreamsRemoveMember = nil
|
||||||
this.forgefedRepositoryMember = nil
|
|
||||||
this.activitystreamsServiceMember = nil
|
this.activitystreamsServiceMember = nil
|
||||||
this.activitystreamsTentativeAcceptMember = nil
|
this.activitystreamsTentativeAcceptMember = nil
|
||||||
this.activitystreamsTentativeRejectMember = nil
|
this.activitystreamsTentativeRejectMember = nil
|
||||||
this.forgefedTicketMember = nil
|
|
||||||
this.forgefedTicketDependencyMember = nil
|
|
||||||
this.activitystreamsTombstoneMember = nil
|
this.activitystreamsTombstoneMember = nil
|
||||||
this.activitystreamsTravelMember = nil
|
this.activitystreamsTravelMember = nil
|
||||||
this.activitystreamsUndoMember = nil
|
this.activitystreamsUndoMember = nil
|
||||||
|
@ -922,44 +874,6 @@ func (this ActivityStreamsDescribesProperty) GetActivityStreamsView() vocab.Acti
|
||||||
return this.activitystreamsViewMember
|
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
|
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||||
// return an arbitrary value.
|
// return an arbitrary value.
|
||||||
func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL {
|
func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL {
|
||||||
|
@ -1019,18 +933,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsBlock() {
|
if this.IsActivityStreamsBlock() {
|
||||||
return this.GetActivityStreamsBlock()
|
return this.GetActivityStreamsBlock()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedBranch() {
|
|
||||||
return this.GetForgeFedBranch()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsCollection() {
|
if this.IsActivityStreamsCollection() {
|
||||||
return this.GetActivityStreamsCollection()
|
return this.GetActivityStreamsCollection()
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCollectionPage() {
|
if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage()
|
return this.GetActivityStreamsCollectionPage()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedCommit() {
|
|
||||||
return this.GetForgeFedCommit()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsCreate() {
|
if this.IsActivityStreamsCreate() {
|
||||||
return this.GetActivityStreamsCreate()
|
return this.GetActivityStreamsCreate()
|
||||||
}
|
}
|
||||||
|
@ -1118,9 +1026,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
||||||
if this.IsSchemaPropertyValue() {
|
if this.IsSchemaPropertyValue() {
|
||||||
return this.GetSchemaPropertyValue()
|
return this.GetSchemaPropertyValue()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedPush() {
|
|
||||||
return this.GetForgeFedPush()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsQuestion() {
|
if this.IsActivityStreamsQuestion() {
|
||||||
return this.GetActivityStreamsQuestion()
|
return this.GetActivityStreamsQuestion()
|
||||||
}
|
}
|
||||||
|
@ -1136,9 +1041,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsRemove() {
|
if this.IsActivityStreamsRemove() {
|
||||||
return this.GetActivityStreamsRemove()
|
return this.GetActivityStreamsRemove()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedRepository() {
|
|
||||||
return this.GetForgeFedRepository()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsService() {
|
if this.IsActivityStreamsService() {
|
||||||
return this.GetActivityStreamsService()
|
return this.GetActivityStreamsService()
|
||||||
}
|
}
|
||||||
|
@ -1148,12 +1050,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsTentativeReject() {
|
if this.IsActivityStreamsTentativeReject() {
|
||||||
return this.GetActivityStreamsTentativeReject()
|
return this.GetActivityStreamsTentativeReject()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedTicket() {
|
|
||||||
return this.GetForgeFedTicket()
|
|
||||||
}
|
|
||||||
if this.IsForgeFedTicketDependency() {
|
|
||||||
return this.GetForgeFedTicketDependency()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsTombstone() {
|
if this.IsActivityStreamsTombstone() {
|
||||||
return this.GetActivityStreamsTombstone()
|
return this.GetActivityStreamsTombstone()
|
||||||
}
|
}
|
||||||
|
@ -1188,10 +1084,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
||||||
this.IsActivityStreamsArticle() ||
|
this.IsActivityStreamsArticle() ||
|
||||||
this.IsActivityStreamsAudio() ||
|
this.IsActivityStreamsAudio() ||
|
||||||
this.IsActivityStreamsBlock() ||
|
this.IsActivityStreamsBlock() ||
|
||||||
this.IsForgeFedBranch() ||
|
|
||||||
this.IsActivityStreamsCollection() ||
|
this.IsActivityStreamsCollection() ||
|
||||||
this.IsActivityStreamsCollectionPage() ||
|
this.IsActivityStreamsCollectionPage() ||
|
||||||
this.IsForgeFedCommit() ||
|
|
||||||
this.IsActivityStreamsCreate() ||
|
this.IsActivityStreamsCreate() ||
|
||||||
this.IsActivityStreamsDelete() ||
|
this.IsActivityStreamsDelete() ||
|
||||||
this.IsActivityStreamsDislike() ||
|
this.IsActivityStreamsDislike() ||
|
||||||
|
@ -1221,18 +1115,14 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
||||||
this.IsActivityStreamsPlace() ||
|
this.IsActivityStreamsPlace() ||
|
||||||
this.IsActivityStreamsProfile() ||
|
this.IsActivityStreamsProfile() ||
|
||||||
this.IsSchemaPropertyValue() ||
|
this.IsSchemaPropertyValue() ||
|
||||||
this.IsForgeFedPush() ||
|
|
||||||
this.IsActivityStreamsQuestion() ||
|
this.IsActivityStreamsQuestion() ||
|
||||||
this.IsActivityStreamsRead() ||
|
this.IsActivityStreamsRead() ||
|
||||||
this.IsActivityStreamsReject() ||
|
this.IsActivityStreamsReject() ||
|
||||||
this.IsActivityStreamsRelationship() ||
|
this.IsActivityStreamsRelationship() ||
|
||||||
this.IsActivityStreamsRemove() ||
|
this.IsActivityStreamsRemove() ||
|
||||||
this.IsForgeFedRepository() ||
|
|
||||||
this.IsActivityStreamsService() ||
|
this.IsActivityStreamsService() ||
|
||||||
this.IsActivityStreamsTentativeAccept() ||
|
this.IsActivityStreamsTentativeAccept() ||
|
||||||
this.IsActivityStreamsTentativeReject() ||
|
this.IsActivityStreamsTentativeReject() ||
|
||||||
this.IsForgeFedTicket() ||
|
|
||||||
this.IsForgeFedTicketDependency() ||
|
|
||||||
this.IsActivityStreamsTombstone() ||
|
this.IsActivityStreamsTombstone() ||
|
||||||
this.IsActivityStreamsTravel() ||
|
this.IsActivityStreamsTravel() ||
|
||||||
this.IsActivityStreamsUndo() ||
|
this.IsActivityStreamsUndo() ||
|
||||||
|
@ -1611,48 +1501,6 @@ func (this ActivityStreamsDescribesProperty) IsActivityStreamsView() bool {
|
||||||
return this.activitystreamsViewMember != nil
|
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
|
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
|
||||||
// to access and set this property
|
// to access and set this property
|
||||||
func (this ActivityStreamsDescribesProperty) IsIRI() bool {
|
func (this ActivityStreamsDescribesProperty) IsIRI() bool {
|
||||||
|
@ -1705,14 +1553,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsAudio().JSONLDContext()
|
child = this.GetActivityStreamsAudio().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsBlock() {
|
} else if this.IsActivityStreamsBlock() {
|
||||||
child = this.GetActivityStreamsBlock().JSONLDContext()
|
child = this.GetActivityStreamsBlock().JSONLDContext()
|
||||||
} else if this.IsForgeFedBranch() {
|
|
||||||
child = this.GetForgeFedBranch().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsCollection() {
|
} else if this.IsActivityStreamsCollection() {
|
||||||
child = this.GetActivityStreamsCollection().JSONLDContext()
|
child = this.GetActivityStreamsCollection().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||||
} else if this.IsForgeFedCommit() {
|
|
||||||
child = this.GetForgeFedCommit().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsCreate() {
|
} else if this.IsActivityStreamsCreate() {
|
||||||
child = this.GetActivityStreamsCreate().JSONLDContext()
|
child = this.GetActivityStreamsCreate().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsDelete() {
|
} else if this.IsActivityStreamsDelete() {
|
||||||
|
@ -1771,8 +1615,6 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsProfile().JSONLDContext()
|
child = this.GetActivityStreamsProfile().JSONLDContext()
|
||||||
} else if this.IsSchemaPropertyValue() {
|
} else if this.IsSchemaPropertyValue() {
|
||||||
child = this.GetSchemaPropertyValue().JSONLDContext()
|
child = this.GetSchemaPropertyValue().JSONLDContext()
|
||||||
} else if this.IsForgeFedPush() {
|
|
||||||
child = this.GetForgeFedPush().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsQuestion() {
|
} else if this.IsActivityStreamsQuestion() {
|
||||||
child = this.GetActivityStreamsQuestion().JSONLDContext()
|
child = this.GetActivityStreamsQuestion().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsRead() {
|
} else if this.IsActivityStreamsRead() {
|
||||||
|
@ -1783,18 +1625,12 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsRelationship().JSONLDContext()
|
child = this.GetActivityStreamsRelationship().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsRemove() {
|
} else if this.IsActivityStreamsRemove() {
|
||||||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||||
} else if this.IsForgeFedRepository() {
|
|
||||||
child = this.GetForgeFedRepository().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsService() {
|
} else if this.IsActivityStreamsService() {
|
||||||
child = this.GetActivityStreamsService().JSONLDContext()
|
child = this.GetActivityStreamsService().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsTentativeAccept() {
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||||||
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
|
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsTentativeReject() {
|
} else if this.IsActivityStreamsTentativeReject() {
|
||||||
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
||||||
} else if this.IsForgeFedTicket() {
|
|
||||||
child = this.GetForgeFedTicket().JSONLDContext()
|
|
||||||
} else if this.IsForgeFedTicketDependency() {
|
|
||||||
child = this.GetForgeFedTicketDependency().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsTombstone() {
|
} else if this.IsActivityStreamsTombstone() {
|
||||||
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsTravel() {
|
} else if this.IsActivityStreamsTravel() {
|
||||||
|
@ -1853,158 +1689,140 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
|
||||||
if this.IsActivityStreamsBlock() {
|
if this.IsActivityStreamsBlock() {
|
||||||
return 9
|
return 9
|
||||||
}
|
}
|
||||||
if this.IsForgeFedBranch() {
|
if this.IsActivityStreamsCollection() {
|
||||||
return 10
|
return 10
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCollection() {
|
if this.IsActivityStreamsCollectionPage() {
|
||||||
return 11
|
return 11
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCollectionPage() {
|
if this.IsActivityStreamsCreate() {
|
||||||
return 12
|
return 12
|
||||||
}
|
}
|
||||||
if this.IsForgeFedCommit() {
|
if this.IsActivityStreamsDelete() {
|
||||||
return 13
|
return 13
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCreate() {
|
if this.IsActivityStreamsDislike() {
|
||||||
return 14
|
return 14
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsDelete() {
|
if this.IsActivityStreamsDocument() {
|
||||||
return 15
|
return 15
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsDislike() {
|
if this.IsTootEmoji() {
|
||||||
return 16
|
return 16
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsDocument() {
|
if this.IsActivityStreamsEvent() {
|
||||||
return 17
|
return 17
|
||||||
}
|
}
|
||||||
if this.IsTootEmoji() {
|
if this.IsActivityStreamsFlag() {
|
||||||
return 18
|
return 18
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsEvent() {
|
if this.IsActivityStreamsFollow() {
|
||||||
return 19
|
return 19
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsFlag() {
|
if this.IsActivityStreamsGroup() {
|
||||||
return 20
|
return 20
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsFollow() {
|
if this.IsTootIdentityProof() {
|
||||||
return 21
|
return 21
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsGroup() {
|
if this.IsActivityStreamsIgnore() {
|
||||||
return 22
|
return 22
|
||||||
}
|
}
|
||||||
if this.IsTootIdentityProof() {
|
if this.IsActivityStreamsImage() {
|
||||||
return 23
|
return 23
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsIgnore() {
|
if this.IsActivityStreamsIntransitiveActivity() {
|
||||||
return 24
|
return 24
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsImage() {
|
if this.IsActivityStreamsInvite() {
|
||||||
return 25
|
return 25
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsIntransitiveActivity() {
|
if this.IsActivityStreamsJoin() {
|
||||||
return 26
|
return 26
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsInvite() {
|
if this.IsActivityStreamsLeave() {
|
||||||
return 27
|
return 27
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsJoin() {
|
if this.IsActivityStreamsLike() {
|
||||||
return 28
|
return 28
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsLeave() {
|
if this.IsActivityStreamsListen() {
|
||||||
return 29
|
return 29
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsLike() {
|
if this.IsActivityStreamsMove() {
|
||||||
return 30
|
return 30
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsListen() {
|
if this.IsActivityStreamsNote() {
|
||||||
return 31
|
return 31
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMove() {
|
if this.IsActivityStreamsOffer() {
|
||||||
return 32
|
return 32
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsNote() {
|
if this.IsActivityStreamsOrderedCollection() {
|
||||||
return 33
|
return 33
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOffer() {
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
return 34
|
return 34
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollection() {
|
if this.IsActivityStreamsOrganization() {
|
||||||
return 35
|
return 35
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
if this.IsActivityStreamsPage() {
|
||||||
return 36
|
return 36
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrganization() {
|
if this.IsActivityStreamsPerson() {
|
||||||
return 37
|
return 37
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsPage() {
|
if this.IsActivityStreamsPlace() {
|
||||||
return 38
|
return 38
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsPerson() {
|
if this.IsActivityStreamsProfile() {
|
||||||
return 39
|
return 39
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsPlace() {
|
if this.IsSchemaPropertyValue() {
|
||||||
return 40
|
return 40
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsProfile() {
|
if this.IsActivityStreamsQuestion() {
|
||||||
return 41
|
return 41
|
||||||
}
|
}
|
||||||
if this.IsSchemaPropertyValue() {
|
if this.IsActivityStreamsRead() {
|
||||||
return 42
|
return 42
|
||||||
}
|
}
|
||||||
if this.IsForgeFedPush() {
|
if this.IsActivityStreamsReject() {
|
||||||
return 43
|
return 43
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsQuestion() {
|
if this.IsActivityStreamsRelationship() {
|
||||||
return 44
|
return 44
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsRead() {
|
if this.IsActivityStreamsRemove() {
|
||||||
return 45
|
return 45
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsReject() {
|
if this.IsActivityStreamsService() {
|
||||||
return 46
|
return 46
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsRelationship() {
|
if this.IsActivityStreamsTentativeAccept() {
|
||||||
return 47
|
return 47
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsRemove() {
|
if this.IsActivityStreamsTentativeReject() {
|
||||||
return 48
|
return 48
|
||||||
}
|
}
|
||||||
if this.IsForgeFedRepository() {
|
if this.IsActivityStreamsTombstone() {
|
||||||
return 49
|
return 49
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsService() {
|
if this.IsActivityStreamsTravel() {
|
||||||
return 50
|
return 50
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsTentativeAccept() {
|
if this.IsActivityStreamsUndo() {
|
||||||
return 51
|
return 51
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsTentativeReject() {
|
if this.IsActivityStreamsUpdate() {
|
||||||
return 52
|
return 52
|
||||||
}
|
}
|
||||||
if this.IsForgeFedTicket() {
|
if this.IsActivityStreamsVideo() {
|
||||||
return 53
|
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() {
|
if this.IsActivityStreamsView() {
|
||||||
return 60
|
return 54
|
||||||
}
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
|
@ -2043,14 +1861,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
||||||
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
||||||
} else if this.IsActivityStreamsBlock() {
|
} else if this.IsActivityStreamsBlock() {
|
||||||
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
|
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
|
||||||
} else if this.IsForgeFedBranch() {
|
|
||||||
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
|
|
||||||
} else if this.IsActivityStreamsCollection() {
|
} else if this.IsActivityStreamsCollection() {
|
||||||
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||||
} else if this.IsForgeFedCommit() {
|
|
||||||
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
|
|
||||||
} else if this.IsActivityStreamsCreate() {
|
} else if this.IsActivityStreamsCreate() {
|
||||||
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
|
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
|
||||||
} else if this.IsActivityStreamsDelete() {
|
} else if this.IsActivityStreamsDelete() {
|
||||||
|
@ -2109,8 +1923,6 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
||||||
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
|
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
|
||||||
} else if this.IsSchemaPropertyValue() {
|
} else if this.IsSchemaPropertyValue() {
|
||||||
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
|
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
|
||||||
} else if this.IsForgeFedPush() {
|
|
||||||
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
|
|
||||||
} else if this.IsActivityStreamsQuestion() {
|
} else if this.IsActivityStreamsQuestion() {
|
||||||
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
|
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
|
||||||
} else if this.IsActivityStreamsRead() {
|
} else if this.IsActivityStreamsRead() {
|
||||||
|
@ -2121,18 +1933,12 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
||||||
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
|
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
|
||||||
} else if this.IsActivityStreamsRemove() {
|
} else if this.IsActivityStreamsRemove() {
|
||||||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||||
} else if this.IsForgeFedRepository() {
|
|
||||||
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
|
|
||||||
} else if this.IsActivityStreamsService() {
|
} else if this.IsActivityStreamsService() {
|
||||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||||
} else if this.IsActivityStreamsTentativeAccept() {
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||||||
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
|
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
|
||||||
} else if this.IsActivityStreamsTentativeReject() {
|
} else if this.IsActivityStreamsTentativeReject() {
|
||||||
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
|
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() {
|
} else if this.IsActivityStreamsTombstone() {
|
||||||
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
||||||
} else if this.IsActivityStreamsTravel() {
|
} else if this.IsActivityStreamsTravel() {
|
||||||
|
@ -2185,14 +1991,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsAudio().Serialize()
|
return this.GetActivityStreamsAudio().Serialize()
|
||||||
} else if this.IsActivityStreamsBlock() {
|
} else if this.IsActivityStreamsBlock() {
|
||||||
return this.GetActivityStreamsBlock().Serialize()
|
return this.GetActivityStreamsBlock().Serialize()
|
||||||
} else if this.IsForgeFedBranch() {
|
|
||||||
return this.GetForgeFedBranch().Serialize()
|
|
||||||
} else if this.IsActivityStreamsCollection() {
|
} else if this.IsActivityStreamsCollection() {
|
||||||
return this.GetActivityStreamsCollection().Serialize()
|
return this.GetActivityStreamsCollection().Serialize()
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||||
} else if this.IsForgeFedCommit() {
|
|
||||||
return this.GetForgeFedCommit().Serialize()
|
|
||||||
} else if this.IsActivityStreamsCreate() {
|
} else if this.IsActivityStreamsCreate() {
|
||||||
return this.GetActivityStreamsCreate().Serialize()
|
return this.GetActivityStreamsCreate().Serialize()
|
||||||
} else if this.IsActivityStreamsDelete() {
|
} else if this.IsActivityStreamsDelete() {
|
||||||
|
@ -2251,8 +2053,6 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsProfile().Serialize()
|
return this.GetActivityStreamsProfile().Serialize()
|
||||||
} else if this.IsSchemaPropertyValue() {
|
} else if this.IsSchemaPropertyValue() {
|
||||||
return this.GetSchemaPropertyValue().Serialize()
|
return this.GetSchemaPropertyValue().Serialize()
|
||||||
} else if this.IsForgeFedPush() {
|
|
||||||
return this.GetForgeFedPush().Serialize()
|
|
||||||
} else if this.IsActivityStreamsQuestion() {
|
} else if this.IsActivityStreamsQuestion() {
|
||||||
return this.GetActivityStreamsQuestion().Serialize()
|
return this.GetActivityStreamsQuestion().Serialize()
|
||||||
} else if this.IsActivityStreamsRead() {
|
} else if this.IsActivityStreamsRead() {
|
||||||
|
@ -2263,18 +2063,12 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsRelationship().Serialize()
|
return this.GetActivityStreamsRelationship().Serialize()
|
||||||
} else if this.IsActivityStreamsRemove() {
|
} else if this.IsActivityStreamsRemove() {
|
||||||
return this.GetActivityStreamsRemove().Serialize()
|
return this.GetActivityStreamsRemove().Serialize()
|
||||||
} else if this.IsForgeFedRepository() {
|
|
||||||
return this.GetForgeFedRepository().Serialize()
|
|
||||||
} else if this.IsActivityStreamsService() {
|
} else if this.IsActivityStreamsService() {
|
||||||
return this.GetActivityStreamsService().Serialize()
|
return this.GetActivityStreamsService().Serialize()
|
||||||
} else if this.IsActivityStreamsTentativeAccept() {
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||||||
return this.GetActivityStreamsTentativeAccept().Serialize()
|
return this.GetActivityStreamsTentativeAccept().Serialize()
|
||||||
} else if this.IsActivityStreamsTentativeReject() {
|
} else if this.IsActivityStreamsTentativeReject() {
|
||||||
return this.GetActivityStreamsTentativeReject().Serialize()
|
return this.GetActivityStreamsTentativeReject().Serialize()
|
||||||
} else if this.IsForgeFedTicket() {
|
|
||||||
return this.GetForgeFedTicket().Serialize()
|
|
||||||
} else if this.IsForgeFedTicketDependency() {
|
|
||||||
return this.GetForgeFedTicketDependency().Serialize()
|
|
||||||
} else if this.IsActivityStreamsTombstone() {
|
} else if this.IsActivityStreamsTombstone() {
|
||||||
return this.GetActivityStreamsTombstone().Serialize()
|
return this.GetActivityStreamsTombstone().Serialize()
|
||||||
} else if this.IsActivityStreamsTravel() {
|
} else if this.IsActivityStreamsTravel() {
|
||||||
|
@ -2657,48 +2451,6 @@ func (this *ActivityStreamsDescribesProperty) SetActivityStreamsView(v vocab.Act
|
||||||
this.activitystreamsViewMember = v
|
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.
|
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||||
func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) {
|
func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) {
|
||||||
this.Clear()
|
this.Clear()
|
||||||
|
@ -2769,10 +2521,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsBlock(v)
|
this.SetActivityStreamsBlock(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedBranch); ok {
|
|
||||||
this.SetForgeFedBranch(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
|
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
|
||||||
this.SetActivityStreamsCollection(v)
|
this.SetActivityStreamsCollection(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -2781,10 +2529,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsCollectionPage(v)
|
this.SetActivityStreamsCollectionPage(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedCommit); ok {
|
|
||||||
this.SetForgeFedCommit(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
|
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
|
||||||
this.SetActivityStreamsCreate(v)
|
this.SetActivityStreamsCreate(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -2901,10 +2645,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
||||||
this.SetSchemaPropertyValue(v)
|
this.SetSchemaPropertyValue(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedPush); ok {
|
|
||||||
this.SetForgeFedPush(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
|
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
|
||||||
this.SetActivityStreamsQuestion(v)
|
this.SetActivityStreamsQuestion(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -2925,10 +2665,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsRemove(v)
|
this.SetActivityStreamsRemove(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedRepository); ok {
|
|
||||||
this.SetForgeFedRepository(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||||
this.SetActivityStreamsService(v)
|
this.SetActivityStreamsService(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -2941,14 +2677,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsTentativeReject(v)
|
this.SetActivityStreamsTentativeReject(v)
|
||||||
return nil
|
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 {
|
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
|
||||||
this.SetActivityStreamsTombstone(v)
|
this.SetActivityStreamsTombstone(v)
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -13,6 +13,9 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "ActivityStreams"
|
||||||
|
|
|
@ -16,6 +16,7 @@ import (
|
||||||
type ActivityStreamsFirstProperty struct {
|
type ActivityStreamsFirstProperty struct {
|
||||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||||
unknown interface{}
|
unknown interface{}
|
||||||
|
@ -63,6 +64,12 @@ func DeserializeFirstProperty(m map[string]interface{}, aliasMap map[string]stri
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsFirstProperty{
|
this := &ActivityStreamsFirstProperty{
|
||||||
activitystreamsMentionMember: v,
|
activitystreamsMentionMember: v,
|
||||||
|
@ -96,6 +103,7 @@ func NewActivityStreamsFirstProperty() *ActivityStreamsFirstProperty {
|
||||||
func (this *ActivityStreamsFirstProperty) Clear() {
|
func (this *ActivityStreamsFirstProperty) Clear() {
|
||||||
this.activitystreamsCollectionPageMember = nil
|
this.activitystreamsCollectionPageMember = nil
|
||||||
this.activitystreamsLinkMember = nil
|
this.activitystreamsLinkMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.activitystreamsMentionMember = nil
|
this.activitystreamsMentionMember = nil
|
||||||
this.activitystreamsOrderedCollectionPageMember = nil
|
this.activitystreamsOrderedCollectionPageMember = nil
|
||||||
this.unknown = nil
|
this.unknown = nil
|
||||||
|
@ -136,6 +144,12 @@ func (this ActivityStreamsFirstProperty) GetIRI() *url.URL {
|
||||||
return this.iri
|
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
|
// 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.
|
// is not an ActivityStreams type, such as an IRI or another value.
|
||||||
func (this ActivityStreamsFirstProperty) GetType() vocab.Type {
|
func (this ActivityStreamsFirstProperty) GetType() vocab.Type {
|
||||||
|
@ -145,6 +159,9 @@ func (this ActivityStreamsFirstProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink()
|
return this.GetActivityStreamsLink()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention()
|
return this.GetActivityStreamsMention()
|
||||||
}
|
}
|
||||||
|
@ -159,6 +176,7 @@ func (this ActivityStreamsFirstProperty) GetType() vocab.Type {
|
||||||
func (this ActivityStreamsFirstProperty) HasAny() bool {
|
func (this ActivityStreamsFirstProperty) HasAny() bool {
|
||||||
return this.IsActivityStreamsCollectionPage() ||
|
return this.IsActivityStreamsCollectionPage() ||
|
||||||
this.IsActivityStreamsLink() ||
|
this.IsActivityStreamsLink() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsActivityStreamsMention() ||
|
this.IsActivityStreamsMention() ||
|
||||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||||
this.iri != nil
|
this.iri != nil
|
||||||
|
@ -200,6 +218,13 @@ func (this ActivityStreamsFirstProperty) IsIRI() bool {
|
||||||
return this.iri != nil
|
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
|
// 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
|
// 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.
|
// 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()
|
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -236,12 +263,15 @@ func (this ActivityStreamsFirstProperty) KindIndex() int {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsTootHashtag() {
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
if this.IsActivityStreamsMention() {
|
||||||
return 3
|
return 3
|
||||||
}
|
}
|
||||||
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
return 4
|
||||||
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
}
|
}
|
||||||
|
@ -263,6 +293,8 @@ func (this ActivityStreamsFirstProperty) LessThan(o vocab.ActivityStreamsFirstPr
|
||||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -291,6 +323,8 @@ func (this ActivityStreamsFirstProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().Serialize()
|
return this.GetActivityStreamsLink().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().Serialize()
|
return this.GetActivityStreamsMention().Serialize()
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -335,6 +369,13 @@ func (this *ActivityStreamsFirstProperty) SetIRI(v *url.URL) {
|
||||||
this.iri = v
|
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
|
// 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.
|
// if it is not a valid type to set on this property.
|
||||||
func (this *ActivityStreamsFirstProperty) SetType(t vocab.Type) error {
|
func (this *ActivityStreamsFirstProperty) SetType(t vocab.Type) error {
|
||||||
|
@ -346,6 +387,10 @@ func (this *ActivityStreamsFirstProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsLink(v)
|
this.SetActivityStreamsLink(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||||
this.SetActivityStreamsMention(v)
|
this.SetActivityStreamsMention(v)
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsBlock" non-functional property in the
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -181,9 +173,6 @@ type privateManager interface {
|
||||||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -204,10 +193,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -220,14 +205,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// privateManager abstracts the code-generated manager that provides access to
|
||||||
// concrete implementations.
|
// concrete implementations.
|
||||||
type privateManager interface {
|
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
|
// DeserializeImageActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsImage" non-functional property in the
|
// the "ActivityStreamsImage" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
|
|
@ -16,6 +16,7 @@ import (
|
||||||
type ActivityStreamsIconPropertyIterator struct {
|
type ActivityStreamsIconPropertyIterator struct {
|
||||||
activitystreamsImageMember vocab.ActivityStreamsImage
|
activitystreamsImageMember vocab.ActivityStreamsImage
|
||||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||||
unknown interface{}
|
unknown interface{}
|
||||||
iri *url.URL
|
iri *url.URL
|
||||||
|
@ -62,6 +63,12 @@ func deserializeActivityStreamsIconPropertyIterator(i interface{}, aliasMap map[
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsIconPropertyIterator{
|
this := &ActivityStreamsIconPropertyIterator{
|
||||||
activitystreamsMentionMember: v,
|
activitystreamsMentionMember: v,
|
||||||
|
@ -104,6 +111,12 @@ func (this ActivityStreamsIconPropertyIterator) GetIRI() *url.URL {
|
||||||
return this.iri
|
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
|
// 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.
|
// is not an ActivityStreams type, such as an IRI or another value.
|
||||||
func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type {
|
func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type {
|
||||||
|
@ -113,6 +126,9 @@ func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink()
|
return this.GetActivityStreamsLink()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention()
|
return this.GetActivityStreamsMention()
|
||||||
}
|
}
|
||||||
|
@ -124,6 +140,7 @@ func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type {
|
||||||
func (this ActivityStreamsIconPropertyIterator) HasAny() bool {
|
func (this ActivityStreamsIconPropertyIterator) HasAny() bool {
|
||||||
return this.IsActivityStreamsImage() ||
|
return this.IsActivityStreamsImage() ||
|
||||||
this.IsActivityStreamsLink() ||
|
this.IsActivityStreamsLink() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsActivityStreamsMention() ||
|
this.IsActivityStreamsMention() ||
|
||||||
this.iri != nil
|
this.iri != nil
|
||||||
}
|
}
|
||||||
|
@ -155,6 +172,13 @@ func (this ActivityStreamsIconPropertyIterator) IsIRI() bool {
|
||||||
return this.iri != nil
|
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
|
// 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
|
// 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.
|
// 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()
|
child = this.GetActivityStreamsImage().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||||
}
|
}
|
||||||
|
@ -189,9 +215,12 @@ func (this ActivityStreamsIconPropertyIterator) KindIndex() int {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsTootHashtag() {
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
|
if this.IsActivityStreamsMention() {
|
||||||
|
return 3
|
||||||
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
}
|
}
|
||||||
|
@ -213,6 +242,8 @@ func (this ActivityStreamsIconPropertyIterator) LessThan(o vocab.ActivityStreams
|
||||||
return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage())
|
return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage())
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||||
} else if this.IsIRI() {
|
} else if this.IsIRI() {
|
||||||
|
@ -275,6 +306,13 @@ func (this *ActivityStreamsIconPropertyIterator) SetIRI(v *url.URL) {
|
||||||
this.iri = v
|
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
|
// 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.
|
// if it is not a valid type to set on this property.
|
||||||
func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error {
|
func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error {
|
||||||
|
@ -286,6 +324,10 @@ func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsLink(v)
|
this.SetActivityStreamsLink(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||||
this.SetActivityStreamsMention(v)
|
this.SetActivityStreamsMention(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -299,6 +341,7 @@ func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error {
|
||||||
func (this *ActivityStreamsIconPropertyIterator) clear() {
|
func (this *ActivityStreamsIconPropertyIterator) clear() {
|
||||||
this.activitystreamsImageMember = nil
|
this.activitystreamsImageMember = nil
|
||||||
this.activitystreamsLinkMember = nil
|
this.activitystreamsLinkMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.activitystreamsMentionMember = nil
|
this.activitystreamsMentionMember = nil
|
||||||
this.unknown = nil
|
this.unknown = nil
|
||||||
this.iri = nil
|
this.iri = nil
|
||||||
|
@ -313,6 +356,8 @@ func (this ActivityStreamsIconPropertyIterator) serialize() (interface{}, error)
|
||||||
return this.GetActivityStreamsImage().Serialize()
|
return this.GetActivityStreamsImage().Serialize()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().Serialize()
|
return this.GetActivityStreamsLink().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().Serialize()
|
return this.GetActivityStreamsMention().Serialize()
|
||||||
} else if this.IsIRI() {
|
} 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
|
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||||
// property "icon". Invalidates iterators that are traversing using Prev.
|
// 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.
|
// 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
|
// 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
|
// property "icon". Invalidates all iterators. Returns an error if the type is
|
||||||
// not a valid one to set for this property.
|
// 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()
|
rhs := this.properties[j].GetActivityStreamsLink()
|
||||||
return lhs.LessThan(rhs)
|
return lhs.LessThan(rhs)
|
||||||
} else if idx1 == 2 {
|
} 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()
|
lhs := this.properties[i].GetActivityStreamsMention()
|
||||||
rhs := this.properties[j].GetActivityStreamsMention()
|
rhs := this.properties[j].GetActivityStreamsMention()
|
||||||
return lhs.LessThan(rhs)
|
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
|
// 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
|
// property "icon". Invalidates all iterators. Returns an error if the type is
|
||||||
// not a valid one to set for this property.
|
// 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
|
// 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
|
// "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.
|
// 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
|
// privateManager abstracts the code-generated manager that provides access to
|
||||||
// concrete implementations.
|
// concrete implementations.
|
||||||
type privateManager interface {
|
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
|
// DeserializeImageActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsImage" non-functional property in the
|
// the "ActivityStreamsImage" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
|
|
@ -16,6 +16,7 @@ import (
|
||||||
type ActivityStreamsImagePropertyIterator struct {
|
type ActivityStreamsImagePropertyIterator struct {
|
||||||
activitystreamsImageMember vocab.ActivityStreamsImage
|
activitystreamsImageMember vocab.ActivityStreamsImage
|
||||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||||
unknown interface{}
|
unknown interface{}
|
||||||
iri *url.URL
|
iri *url.URL
|
||||||
|
@ -62,6 +63,12 @@ func deserializeActivityStreamsImagePropertyIterator(i interface{}, aliasMap map
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsImagePropertyIterator{
|
this := &ActivityStreamsImagePropertyIterator{
|
||||||
activitystreamsMentionMember: v,
|
activitystreamsMentionMember: v,
|
||||||
|
@ -104,6 +111,12 @@ func (this ActivityStreamsImagePropertyIterator) GetIRI() *url.URL {
|
||||||
return this.iri
|
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
|
// 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.
|
// is not an ActivityStreams type, such as an IRI or another value.
|
||||||
func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type {
|
func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type {
|
||||||
|
@ -113,6 +126,9 @@ func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink()
|
return this.GetActivityStreamsLink()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention()
|
return this.GetActivityStreamsMention()
|
||||||
}
|
}
|
||||||
|
@ -124,6 +140,7 @@ func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type {
|
||||||
func (this ActivityStreamsImagePropertyIterator) HasAny() bool {
|
func (this ActivityStreamsImagePropertyIterator) HasAny() bool {
|
||||||
return this.IsActivityStreamsImage() ||
|
return this.IsActivityStreamsImage() ||
|
||||||
this.IsActivityStreamsLink() ||
|
this.IsActivityStreamsLink() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsActivityStreamsMention() ||
|
this.IsActivityStreamsMention() ||
|
||||||
this.iri != nil
|
this.iri != nil
|
||||||
}
|
}
|
||||||
|
@ -155,6 +172,13 @@ func (this ActivityStreamsImagePropertyIterator) IsIRI() bool {
|
||||||
return this.iri != nil
|
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
|
// 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
|
// 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.
|
// 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()
|
child = this.GetActivityStreamsImage().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||||
}
|
}
|
||||||
|
@ -189,9 +215,12 @@ func (this ActivityStreamsImagePropertyIterator) KindIndex() int {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsTootHashtag() {
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
|
if this.IsActivityStreamsMention() {
|
||||||
|
return 3
|
||||||
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
}
|
}
|
||||||
|
@ -213,6 +242,8 @@ func (this ActivityStreamsImagePropertyIterator) LessThan(o vocab.ActivityStream
|
||||||
return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage())
|
return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage())
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||||
} else if this.IsIRI() {
|
} else if this.IsIRI() {
|
||||||
|
@ -275,6 +306,13 @@ func (this *ActivityStreamsImagePropertyIterator) SetIRI(v *url.URL) {
|
||||||
this.iri = v
|
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
|
// 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.
|
// if it is not a valid type to set on this property.
|
||||||
func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error {
|
func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error {
|
||||||
|
@ -286,6 +324,10 @@ func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsLink(v)
|
this.SetActivityStreamsLink(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||||
this.SetActivityStreamsMention(v)
|
this.SetActivityStreamsMention(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -299,6 +341,7 @@ func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error {
|
||||||
func (this *ActivityStreamsImagePropertyIterator) clear() {
|
func (this *ActivityStreamsImagePropertyIterator) clear() {
|
||||||
this.activitystreamsImageMember = nil
|
this.activitystreamsImageMember = nil
|
||||||
this.activitystreamsLinkMember = nil
|
this.activitystreamsLinkMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.activitystreamsMentionMember = nil
|
this.activitystreamsMentionMember = nil
|
||||||
this.unknown = nil
|
this.unknown = nil
|
||||||
this.iri = nil
|
this.iri = nil
|
||||||
|
@ -313,6 +356,8 @@ func (this ActivityStreamsImagePropertyIterator) serialize() (interface{}, error
|
||||||
return this.GetActivityStreamsImage().Serialize()
|
return this.GetActivityStreamsImage().Serialize()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().Serialize()
|
return this.GetActivityStreamsLink().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().Serialize()
|
return this.GetActivityStreamsMention().Serialize()
|
||||||
} else if this.IsIRI() {
|
} 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
|
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||||
// property "image". Invalidates iterators that are traversing using Prev.
|
// 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.
|
// 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
|
// 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
|
// property "image". Invalidates all iterators. Returns an error if the type
|
||||||
// is not a valid one to set for this property.
|
// 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()
|
rhs := this.properties[j].GetActivityStreamsLink()
|
||||||
return lhs.LessThan(rhs)
|
return lhs.LessThan(rhs)
|
||||||
} else if idx1 == 2 {
|
} 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()
|
lhs := this.properties[i].GetActivityStreamsMention()
|
||||||
rhs := this.properties[j].GetActivityStreamsMention()
|
rhs := this.properties[j].GetActivityStreamsMention()
|
||||||
return lhs.LessThan(rhs)
|
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
|
// 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
|
// property "image". Invalidates all iterators. Returns an error if the type
|
||||||
// is not a valid one to set for this property.
|
// 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
|
// 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
|
// "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.
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "ActivityStreams"
|
||||||
|
|
|
@ -16,6 +16,7 @@ import (
|
||||||
type ActivityStreamsLastProperty struct {
|
type ActivityStreamsLastProperty struct {
|
||||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||||
unknown interface{}
|
unknown interface{}
|
||||||
|
@ -63,6 +64,12 @@ func DeserializeLastProperty(m map[string]interface{}, aliasMap map[string]strin
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsLastProperty{
|
this := &ActivityStreamsLastProperty{
|
||||||
activitystreamsMentionMember: v,
|
activitystreamsMentionMember: v,
|
||||||
|
@ -96,6 +103,7 @@ func NewActivityStreamsLastProperty() *ActivityStreamsLastProperty {
|
||||||
func (this *ActivityStreamsLastProperty) Clear() {
|
func (this *ActivityStreamsLastProperty) Clear() {
|
||||||
this.activitystreamsCollectionPageMember = nil
|
this.activitystreamsCollectionPageMember = nil
|
||||||
this.activitystreamsLinkMember = nil
|
this.activitystreamsLinkMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.activitystreamsMentionMember = nil
|
this.activitystreamsMentionMember = nil
|
||||||
this.activitystreamsOrderedCollectionPageMember = nil
|
this.activitystreamsOrderedCollectionPageMember = nil
|
||||||
this.unknown = nil
|
this.unknown = nil
|
||||||
|
@ -136,6 +144,12 @@ func (this ActivityStreamsLastProperty) GetIRI() *url.URL {
|
||||||
return this.iri
|
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
|
// 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.
|
// is not an ActivityStreams type, such as an IRI or another value.
|
||||||
func (this ActivityStreamsLastProperty) GetType() vocab.Type {
|
func (this ActivityStreamsLastProperty) GetType() vocab.Type {
|
||||||
|
@ -145,6 +159,9 @@ func (this ActivityStreamsLastProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink()
|
return this.GetActivityStreamsLink()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention()
|
return this.GetActivityStreamsMention()
|
||||||
}
|
}
|
||||||
|
@ -159,6 +176,7 @@ func (this ActivityStreamsLastProperty) GetType() vocab.Type {
|
||||||
func (this ActivityStreamsLastProperty) HasAny() bool {
|
func (this ActivityStreamsLastProperty) HasAny() bool {
|
||||||
return this.IsActivityStreamsCollectionPage() ||
|
return this.IsActivityStreamsCollectionPage() ||
|
||||||
this.IsActivityStreamsLink() ||
|
this.IsActivityStreamsLink() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsActivityStreamsMention() ||
|
this.IsActivityStreamsMention() ||
|
||||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||||
this.iri != nil
|
this.iri != nil
|
||||||
|
@ -200,6 +218,13 @@ func (this ActivityStreamsLastProperty) IsIRI() bool {
|
||||||
return this.iri != nil
|
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
|
// 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
|
// 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.
|
// 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()
|
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -236,12 +263,15 @@ func (this ActivityStreamsLastProperty) KindIndex() int {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsTootHashtag() {
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
if this.IsActivityStreamsMention() {
|
||||||
return 3
|
return 3
|
||||||
}
|
}
|
||||||
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
return 4
|
||||||
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
}
|
}
|
||||||
|
@ -263,6 +293,8 @@ func (this ActivityStreamsLastProperty) LessThan(o vocab.ActivityStreamsLastProp
|
||||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -291,6 +323,8 @@ func (this ActivityStreamsLastProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().Serialize()
|
return this.GetActivityStreamsLink().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().Serialize()
|
return this.GetActivityStreamsMention().Serialize()
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -335,6 +369,13 @@ func (this *ActivityStreamsLastProperty) SetIRI(v *url.URL) {
|
||||||
this.iri = v
|
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
|
// 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.
|
// if it is not a valid type to set on this property.
|
||||||
func (this *ActivityStreamsLastProperty) SetType(t vocab.Type) error {
|
func (this *ActivityStreamsLastProperty) SetType(t vocab.Type) error {
|
||||||
|
@ -346,6 +387,10 @@ func (this *ActivityStreamsLastProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsLink(v)
|
this.SetActivityStreamsLink(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||||
this.SetActivityStreamsMention(v)
|
this.SetActivityStreamsMention(v)
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsBlock" non-functional property in the
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "ActivityStreams"
|
||||||
|
|
|
@ -16,6 +16,7 @@ import (
|
||||||
type ActivityStreamsNextProperty struct {
|
type ActivityStreamsNextProperty struct {
|
||||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||||
unknown interface{}
|
unknown interface{}
|
||||||
|
@ -63,6 +64,12 @@ func DeserializeNextProperty(m map[string]interface{}, aliasMap map[string]strin
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsNextProperty{
|
this := &ActivityStreamsNextProperty{
|
||||||
activitystreamsMentionMember: v,
|
activitystreamsMentionMember: v,
|
||||||
|
@ -96,6 +103,7 @@ func NewActivityStreamsNextProperty() *ActivityStreamsNextProperty {
|
||||||
func (this *ActivityStreamsNextProperty) Clear() {
|
func (this *ActivityStreamsNextProperty) Clear() {
|
||||||
this.activitystreamsCollectionPageMember = nil
|
this.activitystreamsCollectionPageMember = nil
|
||||||
this.activitystreamsLinkMember = nil
|
this.activitystreamsLinkMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.activitystreamsMentionMember = nil
|
this.activitystreamsMentionMember = nil
|
||||||
this.activitystreamsOrderedCollectionPageMember = nil
|
this.activitystreamsOrderedCollectionPageMember = nil
|
||||||
this.unknown = nil
|
this.unknown = nil
|
||||||
|
@ -136,6 +144,12 @@ func (this ActivityStreamsNextProperty) GetIRI() *url.URL {
|
||||||
return this.iri
|
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
|
// 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.
|
// is not an ActivityStreams type, such as an IRI or another value.
|
||||||
func (this ActivityStreamsNextProperty) GetType() vocab.Type {
|
func (this ActivityStreamsNextProperty) GetType() vocab.Type {
|
||||||
|
@ -145,6 +159,9 @@ func (this ActivityStreamsNextProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink()
|
return this.GetActivityStreamsLink()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention()
|
return this.GetActivityStreamsMention()
|
||||||
}
|
}
|
||||||
|
@ -159,6 +176,7 @@ func (this ActivityStreamsNextProperty) GetType() vocab.Type {
|
||||||
func (this ActivityStreamsNextProperty) HasAny() bool {
|
func (this ActivityStreamsNextProperty) HasAny() bool {
|
||||||
return this.IsActivityStreamsCollectionPage() ||
|
return this.IsActivityStreamsCollectionPage() ||
|
||||||
this.IsActivityStreamsLink() ||
|
this.IsActivityStreamsLink() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsActivityStreamsMention() ||
|
this.IsActivityStreamsMention() ||
|
||||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||||
this.iri != nil
|
this.iri != nil
|
||||||
|
@ -200,6 +218,13 @@ func (this ActivityStreamsNextProperty) IsIRI() bool {
|
||||||
return this.iri != nil
|
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
|
// 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
|
// 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.
|
// 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()
|
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -236,12 +263,15 @@ func (this ActivityStreamsNextProperty) KindIndex() int {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsTootHashtag() {
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
if this.IsActivityStreamsMention() {
|
||||||
return 3
|
return 3
|
||||||
}
|
}
|
||||||
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
return 4
|
||||||
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
}
|
}
|
||||||
|
@ -263,6 +293,8 @@ func (this ActivityStreamsNextProperty) LessThan(o vocab.ActivityStreamsNextProp
|
||||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -291,6 +323,8 @@ func (this ActivityStreamsNextProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().Serialize()
|
return this.GetActivityStreamsLink().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().Serialize()
|
return this.GetActivityStreamsMention().Serialize()
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -335,6 +369,13 @@ func (this *ActivityStreamsNextProperty) SetIRI(v *url.URL) {
|
||||||
this.iri = v
|
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
|
// 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.
|
// if it is not a valid type to set on this property.
|
||||||
func (this *ActivityStreamsNextProperty) SetType(t vocab.Type) error {
|
func (this *ActivityStreamsNextProperty) SetType(t vocab.Type) error {
|
||||||
|
@ -346,6 +387,10 @@ func (this *ActivityStreamsNextProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsLink(v)
|
this.SetActivityStreamsLink(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||||
this.SetActivityStreamsMention(v)
|
this.SetActivityStreamsMention(v)
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsBlock" non-functional property in the
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "ActivityStreams"
|
||||||
|
|
|
@ -17,6 +17,7 @@ type ActivityStreamsPartOfProperty struct {
|
||||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||||
activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection
|
activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection
|
||||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||||
|
@ -71,6 +72,12 @@ func DeserializePartOfProperty(m map[string]interface{}, aliasMap map[string]str
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsPartOfProperty{
|
this := &ActivityStreamsPartOfProperty{
|
||||||
activitystreamsMentionMember: v,
|
activitystreamsMentionMember: v,
|
||||||
|
@ -111,6 +118,7 @@ func (this *ActivityStreamsPartOfProperty) Clear() {
|
||||||
this.activitystreamsLinkMember = nil
|
this.activitystreamsLinkMember = nil
|
||||||
this.activitystreamsCollectionMember = nil
|
this.activitystreamsCollectionMember = nil
|
||||||
this.activitystreamsCollectionPageMember = nil
|
this.activitystreamsCollectionPageMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.activitystreamsMentionMember = nil
|
this.activitystreamsMentionMember = nil
|
||||||
this.activitystreamsOrderedCollectionMember = nil
|
this.activitystreamsOrderedCollectionMember = nil
|
||||||
this.activitystreamsOrderedCollectionPageMember = nil
|
this.activitystreamsOrderedCollectionPageMember = nil
|
||||||
|
@ -166,6 +174,12 @@ func (this ActivityStreamsPartOfProperty) GetIRI() *url.URL {
|
||||||
return this.iri
|
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
|
// 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.
|
// is not an ActivityStreams type, such as an IRI or another value.
|
||||||
func (this ActivityStreamsPartOfProperty) GetType() vocab.Type {
|
func (this ActivityStreamsPartOfProperty) GetType() vocab.Type {
|
||||||
|
@ -178,6 +192,9 @@ func (this ActivityStreamsPartOfProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsCollectionPage() {
|
if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage()
|
return this.GetActivityStreamsCollectionPage()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention()
|
return this.GetActivityStreamsMention()
|
||||||
}
|
}
|
||||||
|
@ -196,6 +213,7 @@ func (this ActivityStreamsPartOfProperty) HasAny() bool {
|
||||||
return this.IsActivityStreamsLink() ||
|
return this.IsActivityStreamsLink() ||
|
||||||
this.IsActivityStreamsCollection() ||
|
this.IsActivityStreamsCollection() ||
|
||||||
this.IsActivityStreamsCollectionPage() ||
|
this.IsActivityStreamsCollectionPage() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsActivityStreamsMention() ||
|
this.IsActivityStreamsMention() ||
|
||||||
this.IsActivityStreamsOrderedCollection() ||
|
this.IsActivityStreamsOrderedCollection() ||
|
||||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||||
|
@ -253,6 +271,13 @@ func (this ActivityStreamsPartOfProperty) IsIRI() bool {
|
||||||
return this.iri != nil
|
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
|
// 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
|
// 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.
|
// 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()
|
child = this.GetActivityStreamsCollection().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsOrderedCollection() {
|
} else if this.IsActivityStreamsOrderedCollection() {
|
||||||
|
@ -296,15 +323,18 @@ func (this ActivityStreamsPartOfProperty) KindIndex() int {
|
||||||
if this.IsActivityStreamsCollectionPage() {
|
if this.IsActivityStreamsCollectionPage() {
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsTootHashtag() {
|
||||||
return 3
|
return 3
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollection() {
|
if this.IsActivityStreamsMention() {
|
||||||
return 4
|
return 4
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
if this.IsActivityStreamsOrderedCollection() {
|
||||||
return 5
|
return 5
|
||||||
}
|
}
|
||||||
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
return 6
|
||||||
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
}
|
}
|
||||||
|
@ -328,6 +358,8 @@ func (this ActivityStreamsPartOfProperty) LessThan(o vocab.ActivityStreamsPartOf
|
||||||
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||||
} else if this.IsActivityStreamsOrderedCollection() {
|
} else if this.IsActivityStreamsOrderedCollection() {
|
||||||
|
@ -360,6 +392,8 @@ func (this ActivityStreamsPartOfProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsCollection().Serialize()
|
return this.GetActivityStreamsCollection().Serialize()
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().Serialize()
|
return this.GetActivityStreamsMention().Serialize()
|
||||||
} else if this.IsActivityStreamsOrderedCollection() {
|
} else if this.IsActivityStreamsOrderedCollection() {
|
||||||
|
@ -420,6 +454,13 @@ func (this *ActivityStreamsPartOfProperty) SetIRI(v *url.URL) {
|
||||||
this.iri = v
|
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
|
// 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.
|
// if it is not a valid type to set on this property.
|
||||||
func (this *ActivityStreamsPartOfProperty) SetType(t vocab.Type) error {
|
func (this *ActivityStreamsPartOfProperty) SetType(t vocab.Type) error {
|
||||||
|
@ -435,6 +476,10 @@ func (this *ActivityStreamsPartOfProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsCollectionPage(v)
|
this.SetActivityStreamsCollectionPage(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||||
this.SetActivityStreamsMention(v)
|
this.SetActivityStreamsMention(v)
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -13,6 +13,9 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "ActivityStreams"
|
||||||
|
|
|
@ -16,6 +16,7 @@ import (
|
||||||
type ActivityStreamsPrevProperty struct {
|
type ActivityStreamsPrevProperty struct {
|
||||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||||
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
|
||||||
unknown interface{}
|
unknown interface{}
|
||||||
|
@ -63,6 +64,12 @@ func DeserializePrevProperty(m map[string]interface{}, aliasMap map[string]strin
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsPrevProperty{
|
this := &ActivityStreamsPrevProperty{
|
||||||
activitystreamsMentionMember: v,
|
activitystreamsMentionMember: v,
|
||||||
|
@ -96,6 +103,7 @@ func NewActivityStreamsPrevProperty() *ActivityStreamsPrevProperty {
|
||||||
func (this *ActivityStreamsPrevProperty) Clear() {
|
func (this *ActivityStreamsPrevProperty) Clear() {
|
||||||
this.activitystreamsCollectionPageMember = nil
|
this.activitystreamsCollectionPageMember = nil
|
||||||
this.activitystreamsLinkMember = nil
|
this.activitystreamsLinkMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.activitystreamsMentionMember = nil
|
this.activitystreamsMentionMember = nil
|
||||||
this.activitystreamsOrderedCollectionPageMember = nil
|
this.activitystreamsOrderedCollectionPageMember = nil
|
||||||
this.unknown = nil
|
this.unknown = nil
|
||||||
|
@ -136,6 +144,12 @@ func (this ActivityStreamsPrevProperty) GetIRI() *url.URL {
|
||||||
return this.iri
|
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
|
// 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.
|
// is not an ActivityStreams type, such as an IRI or another value.
|
||||||
func (this ActivityStreamsPrevProperty) GetType() vocab.Type {
|
func (this ActivityStreamsPrevProperty) GetType() vocab.Type {
|
||||||
|
@ -145,6 +159,9 @@ func (this ActivityStreamsPrevProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink()
|
return this.GetActivityStreamsLink()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention()
|
return this.GetActivityStreamsMention()
|
||||||
}
|
}
|
||||||
|
@ -159,6 +176,7 @@ func (this ActivityStreamsPrevProperty) GetType() vocab.Type {
|
||||||
func (this ActivityStreamsPrevProperty) HasAny() bool {
|
func (this ActivityStreamsPrevProperty) HasAny() bool {
|
||||||
return this.IsActivityStreamsCollectionPage() ||
|
return this.IsActivityStreamsCollectionPage() ||
|
||||||
this.IsActivityStreamsLink() ||
|
this.IsActivityStreamsLink() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsActivityStreamsMention() ||
|
this.IsActivityStreamsMention() ||
|
||||||
this.IsActivityStreamsOrderedCollectionPage() ||
|
this.IsActivityStreamsOrderedCollectionPage() ||
|
||||||
this.iri != nil
|
this.iri != nil
|
||||||
|
@ -200,6 +218,13 @@ func (this ActivityStreamsPrevProperty) IsIRI() bool {
|
||||||
return this.iri != nil
|
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
|
// 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
|
// 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.
|
// 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()
|
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -236,12 +263,15 @@ func (this ActivityStreamsPrevProperty) KindIndex() int {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsTootHashtag() {
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
if this.IsActivityStreamsMention() {
|
||||||
return 3
|
return 3
|
||||||
}
|
}
|
||||||
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
return 4
|
||||||
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
}
|
}
|
||||||
|
@ -263,6 +293,8 @@ func (this ActivityStreamsPrevProperty) LessThan(o vocab.ActivityStreamsPrevProp
|
||||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -291,6 +323,8 @@ func (this ActivityStreamsPrevProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().Serialize()
|
return this.GetActivityStreamsLink().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().Serialize()
|
return this.GetActivityStreamsMention().Serialize()
|
||||||
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
} else if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
|
@ -335,6 +369,13 @@ func (this *ActivityStreamsPrevProperty) SetIRI(v *url.URL) {
|
||||||
this.iri = v
|
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
|
// 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.
|
// if it is not a valid type to set on this property.
|
||||||
func (this *ActivityStreamsPrevProperty) SetType(t vocab.Type) error {
|
func (this *ActivityStreamsPrevProperty) SetType(t vocab.Type) error {
|
||||||
|
@ -346,6 +387,10 @@ func (this *ActivityStreamsPrevProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsLink(v)
|
this.SetActivityStreamsLink(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||||
this.SetActivityStreamsMention(v)
|
this.SetActivityStreamsMention(v)
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsBlock" non-functional property in the
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -181,9 +173,6 @@ type privateManager interface {
|
||||||
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -204,10 +193,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -220,14 +205,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
|
|
@ -25,10 +25,8 @@ type ActivityStreamsSourceProperty struct {
|
||||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||||
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
||||||
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
||||||
forgefedBranchMember vocab.ForgeFedBranch
|
|
||||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||||
forgefedCommitMember vocab.ForgeFedCommit
|
|
||||||
activitystreamsCreateMember vocab.ActivityStreamsCreate
|
activitystreamsCreateMember vocab.ActivityStreamsCreate
|
||||||
activitystreamsDeleteMember vocab.ActivityStreamsDelete
|
activitystreamsDeleteMember vocab.ActivityStreamsDelete
|
||||||
activitystreamsDislikeMember vocab.ActivityStreamsDislike
|
activitystreamsDislikeMember vocab.ActivityStreamsDislike
|
||||||
|
@ -38,6 +36,7 @@ type ActivityStreamsSourceProperty struct {
|
||||||
activitystreamsFlagMember vocab.ActivityStreamsFlag
|
activitystreamsFlagMember vocab.ActivityStreamsFlag
|
||||||
activitystreamsFollowMember vocab.ActivityStreamsFollow
|
activitystreamsFollowMember vocab.ActivityStreamsFollow
|
||||||
activitystreamsGroupMember vocab.ActivityStreamsGroup
|
activitystreamsGroupMember vocab.ActivityStreamsGroup
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
tootIdentityProofMember vocab.TootIdentityProof
|
tootIdentityProofMember vocab.TootIdentityProof
|
||||||
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
|
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
|
||||||
activitystreamsImageMember vocab.ActivityStreamsImage
|
activitystreamsImageMember vocab.ActivityStreamsImage
|
||||||
|
@ -59,18 +58,14 @@ type ActivityStreamsSourceProperty struct {
|
||||||
activitystreamsPlaceMember vocab.ActivityStreamsPlace
|
activitystreamsPlaceMember vocab.ActivityStreamsPlace
|
||||||
activitystreamsProfileMember vocab.ActivityStreamsProfile
|
activitystreamsProfileMember vocab.ActivityStreamsProfile
|
||||||
schemaPropertyValueMember vocab.SchemaPropertyValue
|
schemaPropertyValueMember vocab.SchemaPropertyValue
|
||||||
forgefedPushMember vocab.ForgeFedPush
|
|
||||||
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
|
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
|
||||||
activitystreamsReadMember vocab.ActivityStreamsRead
|
activitystreamsReadMember vocab.ActivityStreamsRead
|
||||||
activitystreamsRejectMember vocab.ActivityStreamsReject
|
activitystreamsRejectMember vocab.ActivityStreamsReject
|
||||||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||||
forgefedRepositoryMember vocab.ForgeFedRepository
|
|
||||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||||
forgefedTicketMember vocab.ForgeFedTicket
|
|
||||||
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
|
|
||||||
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
||||||
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
||||||
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
||||||
|
@ -176,12 +171,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSourceProperty{
|
this := &ActivityStreamsSourceProperty{
|
||||||
activitystreamsCollectionMember: v,
|
activitystreamsCollectionMember: v,
|
||||||
|
@ -194,12 +183,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSourceProperty{
|
this := &ActivityStreamsSourceProperty{
|
||||||
activitystreamsCreateMember: v,
|
activitystreamsCreateMember: v,
|
||||||
|
@ -254,6 +237,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSourceProperty{
|
this := &ActivityStreamsSourceProperty{
|
||||||
alias: alias,
|
alias: alias,
|
||||||
|
@ -380,12 +369,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
||||||
schemaPropertyValueMember: v,
|
schemaPropertyValueMember: v,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSourceProperty{
|
this := &ActivityStreamsSourceProperty{
|
||||||
activitystreamsQuestionMember: v,
|
activitystreamsQuestionMember: v,
|
||||||
|
@ -416,12 +399,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSourceProperty{
|
this := &ActivityStreamsSourceProperty{
|
||||||
activitystreamsServiceMember: v,
|
activitystreamsServiceMember: v,
|
||||||
|
@ -440,18 +417,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSourceProperty{
|
this := &ActivityStreamsSourceProperty{
|
||||||
activitystreamsTombstoneMember: v,
|
activitystreamsTombstoneMember: v,
|
||||||
|
@ -518,10 +483,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
||||||
this.activitystreamsArticleMember = nil
|
this.activitystreamsArticleMember = nil
|
||||||
this.activitystreamsAudioMember = nil
|
this.activitystreamsAudioMember = nil
|
||||||
this.activitystreamsBlockMember = nil
|
this.activitystreamsBlockMember = nil
|
||||||
this.forgefedBranchMember = nil
|
|
||||||
this.activitystreamsCollectionMember = nil
|
this.activitystreamsCollectionMember = nil
|
||||||
this.activitystreamsCollectionPageMember = nil
|
this.activitystreamsCollectionPageMember = nil
|
||||||
this.forgefedCommitMember = nil
|
|
||||||
this.activitystreamsCreateMember = nil
|
this.activitystreamsCreateMember = nil
|
||||||
this.activitystreamsDeleteMember = nil
|
this.activitystreamsDeleteMember = nil
|
||||||
this.activitystreamsDislikeMember = nil
|
this.activitystreamsDislikeMember = nil
|
||||||
|
@ -531,6 +494,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
||||||
this.activitystreamsFlagMember = nil
|
this.activitystreamsFlagMember = nil
|
||||||
this.activitystreamsFollowMember = nil
|
this.activitystreamsFollowMember = nil
|
||||||
this.activitystreamsGroupMember = nil
|
this.activitystreamsGroupMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.tootIdentityProofMember = nil
|
this.tootIdentityProofMember = nil
|
||||||
this.activitystreamsIgnoreMember = nil
|
this.activitystreamsIgnoreMember = nil
|
||||||
this.activitystreamsImageMember = nil
|
this.activitystreamsImageMember = nil
|
||||||
|
@ -552,18 +516,14 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
||||||
this.activitystreamsPlaceMember = nil
|
this.activitystreamsPlaceMember = nil
|
||||||
this.activitystreamsProfileMember = nil
|
this.activitystreamsProfileMember = nil
|
||||||
this.schemaPropertyValueMember = nil
|
this.schemaPropertyValueMember = nil
|
||||||
this.forgefedPushMember = nil
|
|
||||||
this.activitystreamsQuestionMember = nil
|
this.activitystreamsQuestionMember = nil
|
||||||
this.activitystreamsReadMember = nil
|
this.activitystreamsReadMember = nil
|
||||||
this.activitystreamsRejectMember = nil
|
this.activitystreamsRejectMember = nil
|
||||||
this.activitystreamsRelationshipMember = nil
|
this.activitystreamsRelationshipMember = nil
|
||||||
this.activitystreamsRemoveMember = nil
|
this.activitystreamsRemoveMember = nil
|
||||||
this.forgefedRepositoryMember = nil
|
|
||||||
this.activitystreamsServiceMember = nil
|
this.activitystreamsServiceMember = nil
|
||||||
this.activitystreamsTentativeAcceptMember = nil
|
this.activitystreamsTentativeAcceptMember = nil
|
||||||
this.activitystreamsTentativeRejectMember = nil
|
this.activitystreamsTentativeRejectMember = nil
|
||||||
this.forgefedTicketMember = nil
|
|
||||||
this.forgefedTicketDependencyMember = nil
|
|
||||||
this.activitystreamsTombstoneMember = nil
|
this.activitystreamsTombstoneMember = nil
|
||||||
this.activitystreamsTravelMember = nil
|
this.activitystreamsTravelMember = nil
|
||||||
this.activitystreamsUndoMember = nil
|
this.activitystreamsUndoMember = nil
|
||||||
|
@ -952,44 +912,6 @@ func (this ActivityStreamsSourceProperty) GetActivityStreamsView() vocab.Activit
|
||||||
return this.activitystreamsViewMember
|
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
|
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||||
// return an arbitrary value.
|
// return an arbitrary value.
|
||||||
func (this ActivityStreamsSourceProperty) GetIRI() *url.URL {
|
func (this ActivityStreamsSourceProperty) GetIRI() *url.URL {
|
||||||
|
@ -1009,6 +931,12 @@ func (this ActivityStreamsSourceProperty) GetTootEmoji() vocab.TootEmoji {
|
||||||
return this.tootEmojiMember
|
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
|
// GetTootIdentityProof returns the value of this property. When
|
||||||
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
|
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
|
||||||
// arbitrary value.
|
// arbitrary value.
|
||||||
|
@ -1052,18 +980,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsBlock() {
|
if this.IsActivityStreamsBlock() {
|
||||||
return this.GetActivityStreamsBlock()
|
return this.GetActivityStreamsBlock()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedBranch() {
|
|
||||||
return this.GetForgeFedBranch()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsCollection() {
|
if this.IsActivityStreamsCollection() {
|
||||||
return this.GetActivityStreamsCollection()
|
return this.GetActivityStreamsCollection()
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCollectionPage() {
|
if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage()
|
return this.GetActivityStreamsCollectionPage()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedCommit() {
|
|
||||||
return this.GetForgeFedCommit()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsCreate() {
|
if this.IsActivityStreamsCreate() {
|
||||||
return this.GetActivityStreamsCreate()
|
return this.GetActivityStreamsCreate()
|
||||||
}
|
}
|
||||||
|
@ -1091,6 +1013,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsGroup() {
|
if this.IsActivityStreamsGroup() {
|
||||||
return this.GetActivityStreamsGroup()
|
return this.GetActivityStreamsGroup()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsTootIdentityProof() {
|
if this.IsTootIdentityProof() {
|
||||||
return this.GetTootIdentityProof()
|
return this.GetTootIdentityProof()
|
||||||
}
|
}
|
||||||
|
@ -1154,9 +1079,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
||||||
if this.IsSchemaPropertyValue() {
|
if this.IsSchemaPropertyValue() {
|
||||||
return this.GetSchemaPropertyValue()
|
return this.GetSchemaPropertyValue()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedPush() {
|
|
||||||
return this.GetForgeFedPush()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsQuestion() {
|
if this.IsActivityStreamsQuestion() {
|
||||||
return this.GetActivityStreamsQuestion()
|
return this.GetActivityStreamsQuestion()
|
||||||
}
|
}
|
||||||
|
@ -1172,9 +1094,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsRemove() {
|
if this.IsActivityStreamsRemove() {
|
||||||
return this.GetActivityStreamsRemove()
|
return this.GetActivityStreamsRemove()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedRepository() {
|
|
||||||
return this.GetForgeFedRepository()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsService() {
|
if this.IsActivityStreamsService() {
|
||||||
return this.GetActivityStreamsService()
|
return this.GetActivityStreamsService()
|
||||||
}
|
}
|
||||||
|
@ -1184,12 +1103,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsTentativeReject() {
|
if this.IsActivityStreamsTentativeReject() {
|
||||||
return this.GetActivityStreamsTentativeReject()
|
return this.GetActivityStreamsTentativeReject()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedTicket() {
|
|
||||||
return this.GetForgeFedTicket()
|
|
||||||
}
|
|
||||||
if this.IsForgeFedTicketDependency() {
|
|
||||||
return this.GetForgeFedTicketDependency()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsTombstone() {
|
if this.IsActivityStreamsTombstone() {
|
||||||
return this.GetActivityStreamsTombstone()
|
return this.GetActivityStreamsTombstone()
|
||||||
}
|
}
|
||||||
|
@ -1225,10 +1138,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
||||||
this.IsActivityStreamsArticle() ||
|
this.IsActivityStreamsArticle() ||
|
||||||
this.IsActivityStreamsAudio() ||
|
this.IsActivityStreamsAudio() ||
|
||||||
this.IsActivityStreamsBlock() ||
|
this.IsActivityStreamsBlock() ||
|
||||||
this.IsForgeFedBranch() ||
|
|
||||||
this.IsActivityStreamsCollection() ||
|
this.IsActivityStreamsCollection() ||
|
||||||
this.IsActivityStreamsCollectionPage() ||
|
this.IsActivityStreamsCollectionPage() ||
|
||||||
this.IsForgeFedCommit() ||
|
|
||||||
this.IsActivityStreamsCreate() ||
|
this.IsActivityStreamsCreate() ||
|
||||||
this.IsActivityStreamsDelete() ||
|
this.IsActivityStreamsDelete() ||
|
||||||
this.IsActivityStreamsDislike() ||
|
this.IsActivityStreamsDislike() ||
|
||||||
|
@ -1238,6 +1149,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
||||||
this.IsActivityStreamsFlag() ||
|
this.IsActivityStreamsFlag() ||
|
||||||
this.IsActivityStreamsFollow() ||
|
this.IsActivityStreamsFollow() ||
|
||||||
this.IsActivityStreamsGroup() ||
|
this.IsActivityStreamsGroup() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsTootIdentityProof() ||
|
this.IsTootIdentityProof() ||
|
||||||
this.IsActivityStreamsIgnore() ||
|
this.IsActivityStreamsIgnore() ||
|
||||||
this.IsActivityStreamsImage() ||
|
this.IsActivityStreamsImage() ||
|
||||||
|
@ -1259,18 +1171,14 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
||||||
this.IsActivityStreamsPlace() ||
|
this.IsActivityStreamsPlace() ||
|
||||||
this.IsActivityStreamsProfile() ||
|
this.IsActivityStreamsProfile() ||
|
||||||
this.IsSchemaPropertyValue() ||
|
this.IsSchemaPropertyValue() ||
|
||||||
this.IsForgeFedPush() ||
|
|
||||||
this.IsActivityStreamsQuestion() ||
|
this.IsActivityStreamsQuestion() ||
|
||||||
this.IsActivityStreamsRead() ||
|
this.IsActivityStreamsRead() ||
|
||||||
this.IsActivityStreamsReject() ||
|
this.IsActivityStreamsReject() ||
|
||||||
this.IsActivityStreamsRelationship() ||
|
this.IsActivityStreamsRelationship() ||
|
||||||
this.IsActivityStreamsRemove() ||
|
this.IsActivityStreamsRemove() ||
|
||||||
this.IsForgeFedRepository() ||
|
|
||||||
this.IsActivityStreamsService() ||
|
this.IsActivityStreamsService() ||
|
||||||
this.IsActivityStreamsTentativeAccept() ||
|
this.IsActivityStreamsTentativeAccept() ||
|
||||||
this.IsActivityStreamsTentativeReject() ||
|
this.IsActivityStreamsTentativeReject() ||
|
||||||
this.IsForgeFedTicket() ||
|
|
||||||
this.IsForgeFedTicketDependency() ||
|
|
||||||
this.IsActivityStreamsTombstone() ||
|
this.IsActivityStreamsTombstone() ||
|
||||||
this.IsActivityStreamsTravel() ||
|
this.IsActivityStreamsTravel() ||
|
||||||
this.IsActivityStreamsUndo() ||
|
this.IsActivityStreamsUndo() ||
|
||||||
|
@ -1663,48 +1571,6 @@ func (this ActivityStreamsSourceProperty) IsActivityStreamsView() bool {
|
||||||
return this.activitystreamsViewMember != nil
|
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
|
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
|
||||||
// to access and set this property
|
// to access and set this property
|
||||||
func (this ActivityStreamsSourceProperty) IsIRI() bool {
|
func (this ActivityStreamsSourceProperty) IsIRI() bool {
|
||||||
|
@ -1724,6 +1590,13 @@ func (this ActivityStreamsSourceProperty) IsTootEmoji() bool {
|
||||||
return this.tootEmojiMember != nil
|
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
|
// IsTootIdentityProof returns true if this property has a type of
|
||||||
// "IdentityProof". When true, use the GetTootIdentityProof and
|
// "IdentityProof". When true, use the GetTootIdentityProof and
|
||||||
// SetTootIdentityProof methods to access and set this property.
|
// SetTootIdentityProof methods to access and set this property.
|
||||||
|
@ -1759,14 +1632,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsAudio().JSONLDContext()
|
child = this.GetActivityStreamsAudio().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsBlock() {
|
} else if this.IsActivityStreamsBlock() {
|
||||||
child = this.GetActivityStreamsBlock().JSONLDContext()
|
child = this.GetActivityStreamsBlock().JSONLDContext()
|
||||||
} else if this.IsForgeFedBranch() {
|
|
||||||
child = this.GetForgeFedBranch().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsCollection() {
|
} else if this.IsActivityStreamsCollection() {
|
||||||
child = this.GetActivityStreamsCollection().JSONLDContext()
|
child = this.GetActivityStreamsCollection().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||||
} else if this.IsForgeFedCommit() {
|
|
||||||
child = this.GetForgeFedCommit().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsCreate() {
|
} else if this.IsActivityStreamsCreate() {
|
||||||
child = this.GetActivityStreamsCreate().JSONLDContext()
|
child = this.GetActivityStreamsCreate().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsDelete() {
|
} else if this.IsActivityStreamsDelete() {
|
||||||
|
@ -1785,6 +1654,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsFollow().JSONLDContext()
|
child = this.GetActivityStreamsFollow().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsGroup() {
|
} else if this.IsActivityStreamsGroup() {
|
||||||
child = this.GetActivityStreamsGroup().JSONLDContext()
|
child = this.GetActivityStreamsGroup().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsTootIdentityProof() {
|
} else if this.IsTootIdentityProof() {
|
||||||
child = this.GetTootIdentityProof().JSONLDContext()
|
child = this.GetTootIdentityProof().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsIgnore() {
|
} else if this.IsActivityStreamsIgnore() {
|
||||||
|
@ -1827,8 +1698,6 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsProfile().JSONLDContext()
|
child = this.GetActivityStreamsProfile().JSONLDContext()
|
||||||
} else if this.IsSchemaPropertyValue() {
|
} else if this.IsSchemaPropertyValue() {
|
||||||
child = this.GetSchemaPropertyValue().JSONLDContext()
|
child = this.GetSchemaPropertyValue().JSONLDContext()
|
||||||
} else if this.IsForgeFedPush() {
|
|
||||||
child = this.GetForgeFedPush().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsQuestion() {
|
} else if this.IsActivityStreamsQuestion() {
|
||||||
child = this.GetActivityStreamsQuestion().JSONLDContext()
|
child = this.GetActivityStreamsQuestion().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsRead() {
|
} else if this.IsActivityStreamsRead() {
|
||||||
|
@ -1839,18 +1708,12 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsRelationship().JSONLDContext()
|
child = this.GetActivityStreamsRelationship().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsRemove() {
|
} else if this.IsActivityStreamsRemove() {
|
||||||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||||
} else if this.IsForgeFedRepository() {
|
|
||||||
child = this.GetForgeFedRepository().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsService() {
|
} else if this.IsActivityStreamsService() {
|
||||||
child = this.GetActivityStreamsService().JSONLDContext()
|
child = this.GetActivityStreamsService().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsTentativeAccept() {
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||||||
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
|
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsTentativeReject() {
|
} else if this.IsActivityStreamsTentativeReject() {
|
||||||
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
||||||
} else if this.IsForgeFedTicket() {
|
|
||||||
child = this.GetForgeFedTicket().JSONLDContext()
|
|
||||||
} else if this.IsForgeFedTicketDependency() {
|
|
||||||
child = this.GetForgeFedTicketDependency().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsTombstone() {
|
} else if this.IsActivityStreamsTombstone() {
|
||||||
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsTravel() {
|
} else if this.IsActivityStreamsTravel() {
|
||||||
|
@ -1912,161 +1775,146 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
|
||||||
if this.IsActivityStreamsBlock() {
|
if this.IsActivityStreamsBlock() {
|
||||||
return 10
|
return 10
|
||||||
}
|
}
|
||||||
if this.IsForgeFedBranch() {
|
if this.IsActivityStreamsCollection() {
|
||||||
return 11
|
return 11
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCollection() {
|
if this.IsActivityStreamsCollectionPage() {
|
||||||
return 12
|
return 12
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCollectionPage() {
|
if this.IsActivityStreamsCreate() {
|
||||||
return 13
|
return 13
|
||||||
}
|
}
|
||||||
if this.IsForgeFedCommit() {
|
if this.IsActivityStreamsDelete() {
|
||||||
return 14
|
return 14
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCreate() {
|
if this.IsActivityStreamsDislike() {
|
||||||
return 15
|
return 15
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsDelete() {
|
if this.IsActivityStreamsDocument() {
|
||||||
return 16
|
return 16
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsDislike() {
|
if this.IsTootEmoji() {
|
||||||
return 17
|
return 17
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsDocument() {
|
if this.IsActivityStreamsEvent() {
|
||||||
return 18
|
return 18
|
||||||
}
|
}
|
||||||
if this.IsTootEmoji() {
|
if this.IsActivityStreamsFlag() {
|
||||||
return 19
|
return 19
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsEvent() {
|
if this.IsActivityStreamsFollow() {
|
||||||
return 20
|
return 20
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsFlag() {
|
if this.IsActivityStreamsGroup() {
|
||||||
return 21
|
return 21
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsFollow() {
|
if this.IsTootHashtag() {
|
||||||
return 22
|
return 22
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsGroup() {
|
if this.IsTootIdentityProof() {
|
||||||
return 23
|
return 23
|
||||||
}
|
}
|
||||||
if this.IsTootIdentityProof() {
|
if this.IsActivityStreamsIgnore() {
|
||||||
return 24
|
return 24
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsIgnore() {
|
if this.IsActivityStreamsImage() {
|
||||||
return 25
|
return 25
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsImage() {
|
if this.IsActivityStreamsIntransitiveActivity() {
|
||||||
return 26
|
return 26
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsIntransitiveActivity() {
|
if this.IsActivityStreamsInvite() {
|
||||||
return 27
|
return 27
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsInvite() {
|
if this.IsActivityStreamsJoin() {
|
||||||
return 28
|
return 28
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsJoin() {
|
if this.IsActivityStreamsLeave() {
|
||||||
return 29
|
return 29
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsLeave() {
|
if this.IsActivityStreamsLike() {
|
||||||
return 30
|
return 30
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsLike() {
|
if this.IsActivityStreamsListen() {
|
||||||
return 31
|
return 31
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsListen() {
|
if this.IsActivityStreamsMention() {
|
||||||
return 32
|
return 32
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMove() {
|
||||||
return 33
|
return 33
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMove() {
|
if this.IsActivityStreamsNote() {
|
||||||
return 34
|
return 34
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsNote() {
|
if this.IsActivityStreamsOffer() {
|
||||||
return 35
|
return 35
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOffer() {
|
if this.IsActivityStreamsOrderedCollection() {
|
||||||
return 36
|
return 36
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollection() {
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
return 37
|
return 37
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
if this.IsActivityStreamsOrganization() {
|
||||||
return 38
|
return 38
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrganization() {
|
if this.IsActivityStreamsPage() {
|
||||||
return 39
|
return 39
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsPage() {
|
if this.IsActivityStreamsPerson() {
|
||||||
return 40
|
return 40
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsPerson() {
|
if this.IsActivityStreamsPlace() {
|
||||||
return 41
|
return 41
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsPlace() {
|
if this.IsActivityStreamsProfile() {
|
||||||
return 42
|
return 42
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsProfile() {
|
if this.IsSchemaPropertyValue() {
|
||||||
return 43
|
return 43
|
||||||
}
|
}
|
||||||
if this.IsSchemaPropertyValue() {
|
if this.IsActivityStreamsQuestion() {
|
||||||
return 44
|
return 44
|
||||||
}
|
}
|
||||||
if this.IsForgeFedPush() {
|
if this.IsActivityStreamsRead() {
|
||||||
return 45
|
return 45
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsQuestion() {
|
if this.IsActivityStreamsReject() {
|
||||||
return 46
|
return 46
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsRead() {
|
if this.IsActivityStreamsRelationship() {
|
||||||
return 47
|
return 47
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsReject() {
|
if this.IsActivityStreamsRemove() {
|
||||||
return 48
|
return 48
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsRelationship() {
|
if this.IsActivityStreamsService() {
|
||||||
return 49
|
return 49
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsRemove() {
|
if this.IsActivityStreamsTentativeAccept() {
|
||||||
return 50
|
return 50
|
||||||
}
|
}
|
||||||
if this.IsForgeFedRepository() {
|
if this.IsActivityStreamsTentativeReject() {
|
||||||
return 51
|
return 51
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsService() {
|
if this.IsActivityStreamsTombstone() {
|
||||||
return 52
|
return 52
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsTentativeAccept() {
|
if this.IsActivityStreamsTravel() {
|
||||||
return 53
|
return 53
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsTentativeReject() {
|
if this.IsActivityStreamsUndo() {
|
||||||
return 54
|
return 54
|
||||||
}
|
}
|
||||||
if this.IsForgeFedTicket() {
|
if this.IsActivityStreamsUpdate() {
|
||||||
return 55
|
return 55
|
||||||
}
|
}
|
||||||
if this.IsForgeFedTicketDependency() {
|
if this.IsActivityStreamsVideo() {
|
||||||
return 56
|
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() {
|
if this.IsActivityStreamsView() {
|
||||||
return 62
|
return 57
|
||||||
}
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
|
@ -2107,14 +1955,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
||||||
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
||||||
} else if this.IsActivityStreamsBlock() {
|
} else if this.IsActivityStreamsBlock() {
|
||||||
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
|
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
|
||||||
} else if this.IsForgeFedBranch() {
|
|
||||||
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
|
|
||||||
} else if this.IsActivityStreamsCollection() {
|
} else if this.IsActivityStreamsCollection() {
|
||||||
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||||
} else if this.IsForgeFedCommit() {
|
|
||||||
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
|
|
||||||
} else if this.IsActivityStreamsCreate() {
|
} else if this.IsActivityStreamsCreate() {
|
||||||
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
|
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
|
||||||
} else if this.IsActivityStreamsDelete() {
|
} else if this.IsActivityStreamsDelete() {
|
||||||
|
@ -2133,6 +1977,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
||||||
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
|
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
|
||||||
} else if this.IsActivityStreamsGroup() {
|
} else if this.IsActivityStreamsGroup() {
|
||||||
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
|
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsTootIdentityProof() {
|
} else if this.IsTootIdentityProof() {
|
||||||
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
|
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
|
||||||
} else if this.IsActivityStreamsIgnore() {
|
} else if this.IsActivityStreamsIgnore() {
|
||||||
|
@ -2175,8 +2021,6 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
||||||
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
|
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
|
||||||
} else if this.IsSchemaPropertyValue() {
|
} else if this.IsSchemaPropertyValue() {
|
||||||
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
|
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
|
||||||
} else if this.IsForgeFedPush() {
|
|
||||||
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
|
|
||||||
} else if this.IsActivityStreamsQuestion() {
|
} else if this.IsActivityStreamsQuestion() {
|
||||||
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
|
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
|
||||||
} else if this.IsActivityStreamsRead() {
|
} else if this.IsActivityStreamsRead() {
|
||||||
|
@ -2187,18 +2031,12 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
||||||
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
|
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
|
||||||
} else if this.IsActivityStreamsRemove() {
|
} else if this.IsActivityStreamsRemove() {
|
||||||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||||
} else if this.IsForgeFedRepository() {
|
|
||||||
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
|
|
||||||
} else if this.IsActivityStreamsService() {
|
} else if this.IsActivityStreamsService() {
|
||||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||||
} else if this.IsActivityStreamsTentativeAccept() {
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||||||
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
|
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
|
||||||
} else if this.IsActivityStreamsTentativeReject() {
|
} else if this.IsActivityStreamsTentativeReject() {
|
||||||
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
|
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() {
|
} else if this.IsActivityStreamsTombstone() {
|
||||||
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
||||||
} else if this.IsActivityStreamsTravel() {
|
} else if this.IsActivityStreamsTravel() {
|
||||||
|
@ -2253,14 +2091,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsAudio().Serialize()
|
return this.GetActivityStreamsAudio().Serialize()
|
||||||
} else if this.IsActivityStreamsBlock() {
|
} else if this.IsActivityStreamsBlock() {
|
||||||
return this.GetActivityStreamsBlock().Serialize()
|
return this.GetActivityStreamsBlock().Serialize()
|
||||||
} else if this.IsForgeFedBranch() {
|
|
||||||
return this.GetForgeFedBranch().Serialize()
|
|
||||||
} else if this.IsActivityStreamsCollection() {
|
} else if this.IsActivityStreamsCollection() {
|
||||||
return this.GetActivityStreamsCollection().Serialize()
|
return this.GetActivityStreamsCollection().Serialize()
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||||
} else if this.IsForgeFedCommit() {
|
|
||||||
return this.GetForgeFedCommit().Serialize()
|
|
||||||
} else if this.IsActivityStreamsCreate() {
|
} else if this.IsActivityStreamsCreate() {
|
||||||
return this.GetActivityStreamsCreate().Serialize()
|
return this.GetActivityStreamsCreate().Serialize()
|
||||||
} else if this.IsActivityStreamsDelete() {
|
} else if this.IsActivityStreamsDelete() {
|
||||||
|
@ -2279,6 +2113,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsFollow().Serialize()
|
return this.GetActivityStreamsFollow().Serialize()
|
||||||
} else if this.IsActivityStreamsGroup() {
|
} else if this.IsActivityStreamsGroup() {
|
||||||
return this.GetActivityStreamsGroup().Serialize()
|
return this.GetActivityStreamsGroup().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsTootIdentityProof() {
|
} else if this.IsTootIdentityProof() {
|
||||||
return this.GetTootIdentityProof().Serialize()
|
return this.GetTootIdentityProof().Serialize()
|
||||||
} else if this.IsActivityStreamsIgnore() {
|
} else if this.IsActivityStreamsIgnore() {
|
||||||
|
@ -2321,8 +2157,6 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsProfile().Serialize()
|
return this.GetActivityStreamsProfile().Serialize()
|
||||||
} else if this.IsSchemaPropertyValue() {
|
} else if this.IsSchemaPropertyValue() {
|
||||||
return this.GetSchemaPropertyValue().Serialize()
|
return this.GetSchemaPropertyValue().Serialize()
|
||||||
} else if this.IsForgeFedPush() {
|
|
||||||
return this.GetForgeFedPush().Serialize()
|
|
||||||
} else if this.IsActivityStreamsQuestion() {
|
} else if this.IsActivityStreamsQuestion() {
|
||||||
return this.GetActivityStreamsQuestion().Serialize()
|
return this.GetActivityStreamsQuestion().Serialize()
|
||||||
} else if this.IsActivityStreamsRead() {
|
} else if this.IsActivityStreamsRead() {
|
||||||
|
@ -2333,18 +2167,12 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsRelationship().Serialize()
|
return this.GetActivityStreamsRelationship().Serialize()
|
||||||
} else if this.IsActivityStreamsRemove() {
|
} else if this.IsActivityStreamsRemove() {
|
||||||
return this.GetActivityStreamsRemove().Serialize()
|
return this.GetActivityStreamsRemove().Serialize()
|
||||||
} else if this.IsForgeFedRepository() {
|
|
||||||
return this.GetForgeFedRepository().Serialize()
|
|
||||||
} else if this.IsActivityStreamsService() {
|
} else if this.IsActivityStreamsService() {
|
||||||
return this.GetActivityStreamsService().Serialize()
|
return this.GetActivityStreamsService().Serialize()
|
||||||
} else if this.IsActivityStreamsTentativeAccept() {
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||||||
return this.GetActivityStreamsTentativeAccept().Serialize()
|
return this.GetActivityStreamsTentativeAccept().Serialize()
|
||||||
} else if this.IsActivityStreamsTentativeReject() {
|
} else if this.IsActivityStreamsTentativeReject() {
|
||||||
return this.GetActivityStreamsTentativeReject().Serialize()
|
return this.GetActivityStreamsTentativeReject().Serialize()
|
||||||
} else if this.IsForgeFedTicket() {
|
|
||||||
return this.GetForgeFedTicket().Serialize()
|
|
||||||
} else if this.IsForgeFedTicketDependency() {
|
|
||||||
return this.GetForgeFedTicketDependency().Serialize()
|
|
||||||
} else if this.IsActivityStreamsTombstone() {
|
} else if this.IsActivityStreamsTombstone() {
|
||||||
return this.GetActivityStreamsTombstone().Serialize()
|
return this.GetActivityStreamsTombstone().Serialize()
|
||||||
} else if this.IsActivityStreamsTravel() {
|
} else if this.IsActivityStreamsTravel() {
|
||||||
|
@ -2741,48 +2569,6 @@ func (this *ActivityStreamsSourceProperty) SetActivityStreamsView(v vocab.Activi
|
||||||
this.activitystreamsViewMember = v
|
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.
|
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||||
func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) {
|
func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) {
|
||||||
this.Clear()
|
this.Clear()
|
||||||
|
@ -2803,6 +2589,13 @@ func (this *ActivityStreamsSourceProperty) SetTootEmoji(v vocab.TootEmoji) {
|
||||||
this.tootEmojiMember = v
|
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
|
// SetTootIdentityProof sets the value of this property. Calling
|
||||||
// IsTootIdentityProof afterwards returns true.
|
// IsTootIdentityProof afterwards returns true.
|
||||||
func (this *ActivityStreamsSourceProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
|
func (this *ActivityStreamsSourceProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
|
||||||
|
@ -2857,10 +2650,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsBlock(v)
|
this.SetActivityStreamsBlock(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedBranch); ok {
|
|
||||||
this.SetForgeFedBranch(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
|
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
|
||||||
this.SetActivityStreamsCollection(v)
|
this.SetActivityStreamsCollection(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -2869,10 +2658,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsCollectionPage(v)
|
this.SetActivityStreamsCollectionPage(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedCommit); ok {
|
|
||||||
this.SetForgeFedCommit(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
|
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
|
||||||
this.SetActivityStreamsCreate(v)
|
this.SetActivityStreamsCreate(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -2909,6 +2694,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsGroup(v)
|
this.SetActivityStreamsGroup(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.TootIdentityProof); ok {
|
if v, ok := t.(vocab.TootIdentityProof); ok {
|
||||||
this.SetTootIdentityProof(v)
|
this.SetTootIdentityProof(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -2993,10 +2782,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
||||||
this.SetSchemaPropertyValue(v)
|
this.SetSchemaPropertyValue(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedPush); ok {
|
|
||||||
this.SetForgeFedPush(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
|
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
|
||||||
this.SetActivityStreamsQuestion(v)
|
this.SetActivityStreamsQuestion(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -3017,10 +2802,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsRemove(v)
|
this.SetActivityStreamsRemove(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedRepository); ok {
|
|
||||||
this.SetForgeFedRepository(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||||
this.SetActivityStreamsService(v)
|
this.SetActivityStreamsService(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -3033,14 +2814,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsTentativeReject(v)
|
this.SetActivityStreamsTentativeReject(v)
|
||||||
return nil
|
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 {
|
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
|
||||||
this.SetActivityStreamsTombstone(v)
|
this.SetActivityStreamsTombstone(v)
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsBlock" non-functional property in the
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
|
|
@ -25,10 +25,8 @@ type ActivityStreamsSubjectProperty struct {
|
||||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||||
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
activitystreamsAudioMember vocab.ActivityStreamsAudio
|
||||||
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
activitystreamsBlockMember vocab.ActivityStreamsBlock
|
||||||
forgefedBranchMember vocab.ForgeFedBranch
|
|
||||||
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
activitystreamsCollectionMember vocab.ActivityStreamsCollection
|
||||||
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
|
||||||
forgefedCommitMember vocab.ForgeFedCommit
|
|
||||||
activitystreamsCreateMember vocab.ActivityStreamsCreate
|
activitystreamsCreateMember vocab.ActivityStreamsCreate
|
||||||
activitystreamsDeleteMember vocab.ActivityStreamsDelete
|
activitystreamsDeleteMember vocab.ActivityStreamsDelete
|
||||||
activitystreamsDislikeMember vocab.ActivityStreamsDislike
|
activitystreamsDislikeMember vocab.ActivityStreamsDislike
|
||||||
|
@ -38,6 +36,7 @@ type ActivityStreamsSubjectProperty struct {
|
||||||
activitystreamsFlagMember vocab.ActivityStreamsFlag
|
activitystreamsFlagMember vocab.ActivityStreamsFlag
|
||||||
activitystreamsFollowMember vocab.ActivityStreamsFollow
|
activitystreamsFollowMember vocab.ActivityStreamsFollow
|
||||||
activitystreamsGroupMember vocab.ActivityStreamsGroup
|
activitystreamsGroupMember vocab.ActivityStreamsGroup
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
tootIdentityProofMember vocab.TootIdentityProof
|
tootIdentityProofMember vocab.TootIdentityProof
|
||||||
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
|
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
|
||||||
activitystreamsImageMember vocab.ActivityStreamsImage
|
activitystreamsImageMember vocab.ActivityStreamsImage
|
||||||
|
@ -59,18 +58,14 @@ type ActivityStreamsSubjectProperty struct {
|
||||||
activitystreamsPlaceMember vocab.ActivityStreamsPlace
|
activitystreamsPlaceMember vocab.ActivityStreamsPlace
|
||||||
activitystreamsProfileMember vocab.ActivityStreamsProfile
|
activitystreamsProfileMember vocab.ActivityStreamsProfile
|
||||||
schemaPropertyValueMember vocab.SchemaPropertyValue
|
schemaPropertyValueMember vocab.SchemaPropertyValue
|
||||||
forgefedPushMember vocab.ForgeFedPush
|
|
||||||
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
|
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
|
||||||
activitystreamsReadMember vocab.ActivityStreamsRead
|
activitystreamsReadMember vocab.ActivityStreamsRead
|
||||||
activitystreamsRejectMember vocab.ActivityStreamsReject
|
activitystreamsRejectMember vocab.ActivityStreamsReject
|
||||||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||||
forgefedRepositoryMember vocab.ForgeFedRepository
|
|
||||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||||
forgefedTicketMember vocab.ForgeFedTicket
|
|
||||||
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
|
|
||||||
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
|
||||||
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
activitystreamsTravelMember vocab.ActivityStreamsTravel
|
||||||
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
activitystreamsUndoMember vocab.ActivityStreamsUndo
|
||||||
|
@ -176,12 +171,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSubjectProperty{
|
this := &ActivityStreamsSubjectProperty{
|
||||||
activitystreamsCollectionMember: v,
|
activitystreamsCollectionMember: v,
|
||||||
|
@ -194,12 +183,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSubjectProperty{
|
this := &ActivityStreamsSubjectProperty{
|
||||||
activitystreamsCreateMember: v,
|
activitystreamsCreateMember: v,
|
||||||
|
@ -254,6 +237,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSubjectProperty{
|
this := &ActivityStreamsSubjectProperty{
|
||||||
alias: alias,
|
alias: alias,
|
||||||
|
@ -380,12 +369,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
||||||
schemaPropertyValueMember: v,
|
schemaPropertyValueMember: v,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSubjectProperty{
|
this := &ActivityStreamsSubjectProperty{
|
||||||
activitystreamsQuestionMember: v,
|
activitystreamsQuestionMember: v,
|
||||||
|
@ -416,12 +399,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSubjectProperty{
|
this := &ActivityStreamsSubjectProperty{
|
||||||
activitystreamsServiceMember: v,
|
activitystreamsServiceMember: v,
|
||||||
|
@ -440,18 +417,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsSubjectProperty{
|
this := &ActivityStreamsSubjectProperty{
|
||||||
activitystreamsTombstoneMember: v,
|
activitystreamsTombstoneMember: v,
|
||||||
|
@ -518,10 +483,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
||||||
this.activitystreamsArticleMember = nil
|
this.activitystreamsArticleMember = nil
|
||||||
this.activitystreamsAudioMember = nil
|
this.activitystreamsAudioMember = nil
|
||||||
this.activitystreamsBlockMember = nil
|
this.activitystreamsBlockMember = nil
|
||||||
this.forgefedBranchMember = nil
|
|
||||||
this.activitystreamsCollectionMember = nil
|
this.activitystreamsCollectionMember = nil
|
||||||
this.activitystreamsCollectionPageMember = nil
|
this.activitystreamsCollectionPageMember = nil
|
||||||
this.forgefedCommitMember = nil
|
|
||||||
this.activitystreamsCreateMember = nil
|
this.activitystreamsCreateMember = nil
|
||||||
this.activitystreamsDeleteMember = nil
|
this.activitystreamsDeleteMember = nil
|
||||||
this.activitystreamsDislikeMember = nil
|
this.activitystreamsDislikeMember = nil
|
||||||
|
@ -531,6 +494,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
||||||
this.activitystreamsFlagMember = nil
|
this.activitystreamsFlagMember = nil
|
||||||
this.activitystreamsFollowMember = nil
|
this.activitystreamsFollowMember = nil
|
||||||
this.activitystreamsGroupMember = nil
|
this.activitystreamsGroupMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.tootIdentityProofMember = nil
|
this.tootIdentityProofMember = nil
|
||||||
this.activitystreamsIgnoreMember = nil
|
this.activitystreamsIgnoreMember = nil
|
||||||
this.activitystreamsImageMember = nil
|
this.activitystreamsImageMember = nil
|
||||||
|
@ -552,18 +516,14 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
||||||
this.activitystreamsPlaceMember = nil
|
this.activitystreamsPlaceMember = nil
|
||||||
this.activitystreamsProfileMember = nil
|
this.activitystreamsProfileMember = nil
|
||||||
this.schemaPropertyValueMember = nil
|
this.schemaPropertyValueMember = nil
|
||||||
this.forgefedPushMember = nil
|
|
||||||
this.activitystreamsQuestionMember = nil
|
this.activitystreamsQuestionMember = nil
|
||||||
this.activitystreamsReadMember = nil
|
this.activitystreamsReadMember = nil
|
||||||
this.activitystreamsRejectMember = nil
|
this.activitystreamsRejectMember = nil
|
||||||
this.activitystreamsRelationshipMember = nil
|
this.activitystreamsRelationshipMember = nil
|
||||||
this.activitystreamsRemoveMember = nil
|
this.activitystreamsRemoveMember = nil
|
||||||
this.forgefedRepositoryMember = nil
|
|
||||||
this.activitystreamsServiceMember = nil
|
this.activitystreamsServiceMember = nil
|
||||||
this.activitystreamsTentativeAcceptMember = nil
|
this.activitystreamsTentativeAcceptMember = nil
|
||||||
this.activitystreamsTentativeRejectMember = nil
|
this.activitystreamsTentativeRejectMember = nil
|
||||||
this.forgefedTicketMember = nil
|
|
||||||
this.forgefedTicketDependencyMember = nil
|
|
||||||
this.activitystreamsTombstoneMember = nil
|
this.activitystreamsTombstoneMember = nil
|
||||||
this.activitystreamsTravelMember = nil
|
this.activitystreamsTravelMember = nil
|
||||||
this.activitystreamsUndoMember = nil
|
this.activitystreamsUndoMember = nil
|
||||||
|
@ -952,44 +912,6 @@ func (this ActivityStreamsSubjectProperty) GetActivityStreamsView() vocab.Activi
|
||||||
return this.activitystreamsViewMember
|
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
|
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||||
// return an arbitrary value.
|
// return an arbitrary value.
|
||||||
func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL {
|
func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL {
|
||||||
|
@ -1009,6 +931,12 @@ func (this ActivityStreamsSubjectProperty) GetTootEmoji() vocab.TootEmoji {
|
||||||
return this.tootEmojiMember
|
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
|
// GetTootIdentityProof returns the value of this property. When
|
||||||
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
|
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
|
||||||
// arbitrary value.
|
// arbitrary value.
|
||||||
|
@ -1052,18 +980,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsBlock() {
|
if this.IsActivityStreamsBlock() {
|
||||||
return this.GetActivityStreamsBlock()
|
return this.GetActivityStreamsBlock()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedBranch() {
|
|
||||||
return this.GetForgeFedBranch()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsCollection() {
|
if this.IsActivityStreamsCollection() {
|
||||||
return this.GetActivityStreamsCollection()
|
return this.GetActivityStreamsCollection()
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCollectionPage() {
|
if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage()
|
return this.GetActivityStreamsCollectionPage()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedCommit() {
|
|
||||||
return this.GetForgeFedCommit()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsCreate() {
|
if this.IsActivityStreamsCreate() {
|
||||||
return this.GetActivityStreamsCreate()
|
return this.GetActivityStreamsCreate()
|
||||||
}
|
}
|
||||||
|
@ -1091,6 +1013,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsGroup() {
|
if this.IsActivityStreamsGroup() {
|
||||||
return this.GetActivityStreamsGroup()
|
return this.GetActivityStreamsGroup()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsTootIdentityProof() {
|
if this.IsTootIdentityProof() {
|
||||||
return this.GetTootIdentityProof()
|
return this.GetTootIdentityProof()
|
||||||
}
|
}
|
||||||
|
@ -1154,9 +1079,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
||||||
if this.IsSchemaPropertyValue() {
|
if this.IsSchemaPropertyValue() {
|
||||||
return this.GetSchemaPropertyValue()
|
return this.GetSchemaPropertyValue()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedPush() {
|
|
||||||
return this.GetForgeFedPush()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsQuestion() {
|
if this.IsActivityStreamsQuestion() {
|
||||||
return this.GetActivityStreamsQuestion()
|
return this.GetActivityStreamsQuestion()
|
||||||
}
|
}
|
||||||
|
@ -1172,9 +1094,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsRemove() {
|
if this.IsActivityStreamsRemove() {
|
||||||
return this.GetActivityStreamsRemove()
|
return this.GetActivityStreamsRemove()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedRepository() {
|
|
||||||
return this.GetForgeFedRepository()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsService() {
|
if this.IsActivityStreamsService() {
|
||||||
return this.GetActivityStreamsService()
|
return this.GetActivityStreamsService()
|
||||||
}
|
}
|
||||||
|
@ -1184,12 +1103,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsTentativeReject() {
|
if this.IsActivityStreamsTentativeReject() {
|
||||||
return this.GetActivityStreamsTentativeReject()
|
return this.GetActivityStreamsTentativeReject()
|
||||||
}
|
}
|
||||||
if this.IsForgeFedTicket() {
|
|
||||||
return this.GetForgeFedTicket()
|
|
||||||
}
|
|
||||||
if this.IsForgeFedTicketDependency() {
|
|
||||||
return this.GetForgeFedTicketDependency()
|
|
||||||
}
|
|
||||||
if this.IsActivityStreamsTombstone() {
|
if this.IsActivityStreamsTombstone() {
|
||||||
return this.GetActivityStreamsTombstone()
|
return this.GetActivityStreamsTombstone()
|
||||||
}
|
}
|
||||||
|
@ -1225,10 +1138,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
||||||
this.IsActivityStreamsArticle() ||
|
this.IsActivityStreamsArticle() ||
|
||||||
this.IsActivityStreamsAudio() ||
|
this.IsActivityStreamsAudio() ||
|
||||||
this.IsActivityStreamsBlock() ||
|
this.IsActivityStreamsBlock() ||
|
||||||
this.IsForgeFedBranch() ||
|
|
||||||
this.IsActivityStreamsCollection() ||
|
this.IsActivityStreamsCollection() ||
|
||||||
this.IsActivityStreamsCollectionPage() ||
|
this.IsActivityStreamsCollectionPage() ||
|
||||||
this.IsForgeFedCommit() ||
|
|
||||||
this.IsActivityStreamsCreate() ||
|
this.IsActivityStreamsCreate() ||
|
||||||
this.IsActivityStreamsDelete() ||
|
this.IsActivityStreamsDelete() ||
|
||||||
this.IsActivityStreamsDislike() ||
|
this.IsActivityStreamsDislike() ||
|
||||||
|
@ -1238,6 +1149,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
||||||
this.IsActivityStreamsFlag() ||
|
this.IsActivityStreamsFlag() ||
|
||||||
this.IsActivityStreamsFollow() ||
|
this.IsActivityStreamsFollow() ||
|
||||||
this.IsActivityStreamsGroup() ||
|
this.IsActivityStreamsGroup() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsTootIdentityProof() ||
|
this.IsTootIdentityProof() ||
|
||||||
this.IsActivityStreamsIgnore() ||
|
this.IsActivityStreamsIgnore() ||
|
||||||
this.IsActivityStreamsImage() ||
|
this.IsActivityStreamsImage() ||
|
||||||
|
@ -1259,18 +1171,14 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
||||||
this.IsActivityStreamsPlace() ||
|
this.IsActivityStreamsPlace() ||
|
||||||
this.IsActivityStreamsProfile() ||
|
this.IsActivityStreamsProfile() ||
|
||||||
this.IsSchemaPropertyValue() ||
|
this.IsSchemaPropertyValue() ||
|
||||||
this.IsForgeFedPush() ||
|
|
||||||
this.IsActivityStreamsQuestion() ||
|
this.IsActivityStreamsQuestion() ||
|
||||||
this.IsActivityStreamsRead() ||
|
this.IsActivityStreamsRead() ||
|
||||||
this.IsActivityStreamsReject() ||
|
this.IsActivityStreamsReject() ||
|
||||||
this.IsActivityStreamsRelationship() ||
|
this.IsActivityStreamsRelationship() ||
|
||||||
this.IsActivityStreamsRemove() ||
|
this.IsActivityStreamsRemove() ||
|
||||||
this.IsForgeFedRepository() ||
|
|
||||||
this.IsActivityStreamsService() ||
|
this.IsActivityStreamsService() ||
|
||||||
this.IsActivityStreamsTentativeAccept() ||
|
this.IsActivityStreamsTentativeAccept() ||
|
||||||
this.IsActivityStreamsTentativeReject() ||
|
this.IsActivityStreamsTentativeReject() ||
|
||||||
this.IsForgeFedTicket() ||
|
|
||||||
this.IsForgeFedTicketDependency() ||
|
|
||||||
this.IsActivityStreamsTombstone() ||
|
this.IsActivityStreamsTombstone() ||
|
||||||
this.IsActivityStreamsTravel() ||
|
this.IsActivityStreamsTravel() ||
|
||||||
this.IsActivityStreamsUndo() ||
|
this.IsActivityStreamsUndo() ||
|
||||||
|
@ -1663,48 +1571,6 @@ func (this ActivityStreamsSubjectProperty) IsActivityStreamsView() bool {
|
||||||
return this.activitystreamsViewMember != nil
|
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
|
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
|
||||||
// to access and set this property
|
// to access and set this property
|
||||||
func (this ActivityStreamsSubjectProperty) IsIRI() bool {
|
func (this ActivityStreamsSubjectProperty) IsIRI() bool {
|
||||||
|
@ -1724,6 +1590,13 @@ func (this ActivityStreamsSubjectProperty) IsTootEmoji() bool {
|
||||||
return this.tootEmojiMember != nil
|
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
|
// IsTootIdentityProof returns true if this property has a type of
|
||||||
// "IdentityProof". When true, use the GetTootIdentityProof and
|
// "IdentityProof". When true, use the GetTootIdentityProof and
|
||||||
// SetTootIdentityProof methods to access and set this property.
|
// SetTootIdentityProof methods to access and set this property.
|
||||||
|
@ -1759,14 +1632,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsAudio().JSONLDContext()
|
child = this.GetActivityStreamsAudio().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsBlock() {
|
} else if this.IsActivityStreamsBlock() {
|
||||||
child = this.GetActivityStreamsBlock().JSONLDContext()
|
child = this.GetActivityStreamsBlock().JSONLDContext()
|
||||||
} else if this.IsForgeFedBranch() {
|
|
||||||
child = this.GetForgeFedBranch().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsCollection() {
|
} else if this.IsActivityStreamsCollection() {
|
||||||
child = this.GetActivityStreamsCollection().JSONLDContext()
|
child = this.GetActivityStreamsCollection().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
|
||||||
} else if this.IsForgeFedCommit() {
|
|
||||||
child = this.GetForgeFedCommit().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsCreate() {
|
} else if this.IsActivityStreamsCreate() {
|
||||||
child = this.GetActivityStreamsCreate().JSONLDContext()
|
child = this.GetActivityStreamsCreate().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsDelete() {
|
} else if this.IsActivityStreamsDelete() {
|
||||||
|
@ -1785,6 +1654,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsFollow().JSONLDContext()
|
child = this.GetActivityStreamsFollow().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsGroup() {
|
} else if this.IsActivityStreamsGroup() {
|
||||||
child = this.GetActivityStreamsGroup().JSONLDContext()
|
child = this.GetActivityStreamsGroup().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsTootIdentityProof() {
|
} else if this.IsTootIdentityProof() {
|
||||||
child = this.GetTootIdentityProof().JSONLDContext()
|
child = this.GetTootIdentityProof().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsIgnore() {
|
} else if this.IsActivityStreamsIgnore() {
|
||||||
|
@ -1827,8 +1698,6 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsProfile().JSONLDContext()
|
child = this.GetActivityStreamsProfile().JSONLDContext()
|
||||||
} else if this.IsSchemaPropertyValue() {
|
} else if this.IsSchemaPropertyValue() {
|
||||||
child = this.GetSchemaPropertyValue().JSONLDContext()
|
child = this.GetSchemaPropertyValue().JSONLDContext()
|
||||||
} else if this.IsForgeFedPush() {
|
|
||||||
child = this.GetForgeFedPush().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsQuestion() {
|
} else if this.IsActivityStreamsQuestion() {
|
||||||
child = this.GetActivityStreamsQuestion().JSONLDContext()
|
child = this.GetActivityStreamsQuestion().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsRead() {
|
} else if this.IsActivityStreamsRead() {
|
||||||
|
@ -1839,18 +1708,12 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
||||||
child = this.GetActivityStreamsRelationship().JSONLDContext()
|
child = this.GetActivityStreamsRelationship().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsRemove() {
|
} else if this.IsActivityStreamsRemove() {
|
||||||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||||
} else if this.IsForgeFedRepository() {
|
|
||||||
child = this.GetForgeFedRepository().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsService() {
|
} else if this.IsActivityStreamsService() {
|
||||||
child = this.GetActivityStreamsService().JSONLDContext()
|
child = this.GetActivityStreamsService().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsTentativeAccept() {
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||||||
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
|
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsTentativeReject() {
|
} else if this.IsActivityStreamsTentativeReject() {
|
||||||
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
|
||||||
} else if this.IsForgeFedTicket() {
|
|
||||||
child = this.GetForgeFedTicket().JSONLDContext()
|
|
||||||
} else if this.IsForgeFedTicketDependency() {
|
|
||||||
child = this.GetForgeFedTicketDependency().JSONLDContext()
|
|
||||||
} else if this.IsActivityStreamsTombstone() {
|
} else if this.IsActivityStreamsTombstone() {
|
||||||
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
child = this.GetActivityStreamsTombstone().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsTravel() {
|
} else if this.IsActivityStreamsTravel() {
|
||||||
|
@ -1912,161 +1775,146 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
|
||||||
if this.IsActivityStreamsBlock() {
|
if this.IsActivityStreamsBlock() {
|
||||||
return 10
|
return 10
|
||||||
}
|
}
|
||||||
if this.IsForgeFedBranch() {
|
if this.IsActivityStreamsCollection() {
|
||||||
return 11
|
return 11
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCollection() {
|
if this.IsActivityStreamsCollectionPage() {
|
||||||
return 12
|
return 12
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCollectionPage() {
|
if this.IsActivityStreamsCreate() {
|
||||||
return 13
|
return 13
|
||||||
}
|
}
|
||||||
if this.IsForgeFedCommit() {
|
if this.IsActivityStreamsDelete() {
|
||||||
return 14
|
return 14
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsCreate() {
|
if this.IsActivityStreamsDislike() {
|
||||||
return 15
|
return 15
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsDelete() {
|
if this.IsActivityStreamsDocument() {
|
||||||
return 16
|
return 16
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsDislike() {
|
if this.IsTootEmoji() {
|
||||||
return 17
|
return 17
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsDocument() {
|
if this.IsActivityStreamsEvent() {
|
||||||
return 18
|
return 18
|
||||||
}
|
}
|
||||||
if this.IsTootEmoji() {
|
if this.IsActivityStreamsFlag() {
|
||||||
return 19
|
return 19
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsEvent() {
|
if this.IsActivityStreamsFollow() {
|
||||||
return 20
|
return 20
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsFlag() {
|
if this.IsActivityStreamsGroup() {
|
||||||
return 21
|
return 21
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsFollow() {
|
if this.IsTootHashtag() {
|
||||||
return 22
|
return 22
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsGroup() {
|
if this.IsTootIdentityProof() {
|
||||||
return 23
|
return 23
|
||||||
}
|
}
|
||||||
if this.IsTootIdentityProof() {
|
if this.IsActivityStreamsIgnore() {
|
||||||
return 24
|
return 24
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsIgnore() {
|
if this.IsActivityStreamsImage() {
|
||||||
return 25
|
return 25
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsImage() {
|
if this.IsActivityStreamsIntransitiveActivity() {
|
||||||
return 26
|
return 26
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsIntransitiveActivity() {
|
if this.IsActivityStreamsInvite() {
|
||||||
return 27
|
return 27
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsInvite() {
|
if this.IsActivityStreamsJoin() {
|
||||||
return 28
|
return 28
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsJoin() {
|
if this.IsActivityStreamsLeave() {
|
||||||
return 29
|
return 29
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsLeave() {
|
if this.IsActivityStreamsLike() {
|
||||||
return 30
|
return 30
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsLike() {
|
if this.IsActivityStreamsListen() {
|
||||||
return 31
|
return 31
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsListen() {
|
if this.IsActivityStreamsMention() {
|
||||||
return 32
|
return 32
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMove() {
|
||||||
return 33
|
return 33
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMove() {
|
if this.IsActivityStreamsNote() {
|
||||||
return 34
|
return 34
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsNote() {
|
if this.IsActivityStreamsOffer() {
|
||||||
return 35
|
return 35
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOffer() {
|
if this.IsActivityStreamsOrderedCollection() {
|
||||||
return 36
|
return 36
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollection() {
|
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||||
return 37
|
return 37
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
if this.IsActivityStreamsOrganization() {
|
||||||
return 38
|
return 38
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsOrganization() {
|
if this.IsActivityStreamsPage() {
|
||||||
return 39
|
return 39
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsPage() {
|
if this.IsActivityStreamsPerson() {
|
||||||
return 40
|
return 40
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsPerson() {
|
if this.IsActivityStreamsPlace() {
|
||||||
return 41
|
return 41
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsPlace() {
|
if this.IsActivityStreamsProfile() {
|
||||||
return 42
|
return 42
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsProfile() {
|
if this.IsSchemaPropertyValue() {
|
||||||
return 43
|
return 43
|
||||||
}
|
}
|
||||||
if this.IsSchemaPropertyValue() {
|
if this.IsActivityStreamsQuestion() {
|
||||||
return 44
|
return 44
|
||||||
}
|
}
|
||||||
if this.IsForgeFedPush() {
|
if this.IsActivityStreamsRead() {
|
||||||
return 45
|
return 45
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsQuestion() {
|
if this.IsActivityStreamsReject() {
|
||||||
return 46
|
return 46
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsRead() {
|
if this.IsActivityStreamsRelationship() {
|
||||||
return 47
|
return 47
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsReject() {
|
if this.IsActivityStreamsRemove() {
|
||||||
return 48
|
return 48
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsRelationship() {
|
if this.IsActivityStreamsService() {
|
||||||
return 49
|
return 49
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsRemove() {
|
if this.IsActivityStreamsTentativeAccept() {
|
||||||
return 50
|
return 50
|
||||||
}
|
}
|
||||||
if this.IsForgeFedRepository() {
|
if this.IsActivityStreamsTentativeReject() {
|
||||||
return 51
|
return 51
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsService() {
|
if this.IsActivityStreamsTombstone() {
|
||||||
return 52
|
return 52
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsTentativeAccept() {
|
if this.IsActivityStreamsTravel() {
|
||||||
return 53
|
return 53
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsTentativeReject() {
|
if this.IsActivityStreamsUndo() {
|
||||||
return 54
|
return 54
|
||||||
}
|
}
|
||||||
if this.IsForgeFedTicket() {
|
if this.IsActivityStreamsUpdate() {
|
||||||
return 55
|
return 55
|
||||||
}
|
}
|
||||||
if this.IsForgeFedTicketDependency() {
|
if this.IsActivityStreamsVideo() {
|
||||||
return 56
|
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() {
|
if this.IsActivityStreamsView() {
|
||||||
return 62
|
return 57
|
||||||
}
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
|
@ -2107,14 +1955,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
||||||
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
|
||||||
} else if this.IsActivityStreamsBlock() {
|
} else if this.IsActivityStreamsBlock() {
|
||||||
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
|
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
|
||||||
} else if this.IsForgeFedBranch() {
|
|
||||||
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
|
|
||||||
} else if this.IsActivityStreamsCollection() {
|
} else if this.IsActivityStreamsCollection() {
|
||||||
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
|
||||||
} else if this.IsForgeFedCommit() {
|
|
||||||
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
|
|
||||||
} else if this.IsActivityStreamsCreate() {
|
} else if this.IsActivityStreamsCreate() {
|
||||||
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
|
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
|
||||||
} else if this.IsActivityStreamsDelete() {
|
} else if this.IsActivityStreamsDelete() {
|
||||||
|
@ -2133,6 +1977,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
||||||
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
|
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
|
||||||
} else if this.IsActivityStreamsGroup() {
|
} else if this.IsActivityStreamsGroup() {
|
||||||
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
|
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsTootIdentityProof() {
|
} else if this.IsTootIdentityProof() {
|
||||||
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
|
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
|
||||||
} else if this.IsActivityStreamsIgnore() {
|
} else if this.IsActivityStreamsIgnore() {
|
||||||
|
@ -2175,8 +2021,6 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
||||||
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
|
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
|
||||||
} else if this.IsSchemaPropertyValue() {
|
} else if this.IsSchemaPropertyValue() {
|
||||||
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
|
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
|
||||||
} else if this.IsForgeFedPush() {
|
|
||||||
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
|
|
||||||
} else if this.IsActivityStreamsQuestion() {
|
} else if this.IsActivityStreamsQuestion() {
|
||||||
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
|
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
|
||||||
} else if this.IsActivityStreamsRead() {
|
} else if this.IsActivityStreamsRead() {
|
||||||
|
@ -2187,18 +2031,12 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
||||||
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
|
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
|
||||||
} else if this.IsActivityStreamsRemove() {
|
} else if this.IsActivityStreamsRemove() {
|
||||||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||||
} else if this.IsForgeFedRepository() {
|
|
||||||
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
|
|
||||||
} else if this.IsActivityStreamsService() {
|
} else if this.IsActivityStreamsService() {
|
||||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||||
} else if this.IsActivityStreamsTentativeAccept() {
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||||||
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
|
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
|
||||||
} else if this.IsActivityStreamsTentativeReject() {
|
} else if this.IsActivityStreamsTentativeReject() {
|
||||||
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
|
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() {
|
} else if this.IsActivityStreamsTombstone() {
|
||||||
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
|
||||||
} else if this.IsActivityStreamsTravel() {
|
} else if this.IsActivityStreamsTravel() {
|
||||||
|
@ -2253,14 +2091,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsAudio().Serialize()
|
return this.GetActivityStreamsAudio().Serialize()
|
||||||
} else if this.IsActivityStreamsBlock() {
|
} else if this.IsActivityStreamsBlock() {
|
||||||
return this.GetActivityStreamsBlock().Serialize()
|
return this.GetActivityStreamsBlock().Serialize()
|
||||||
} else if this.IsForgeFedBranch() {
|
|
||||||
return this.GetForgeFedBranch().Serialize()
|
|
||||||
} else if this.IsActivityStreamsCollection() {
|
} else if this.IsActivityStreamsCollection() {
|
||||||
return this.GetActivityStreamsCollection().Serialize()
|
return this.GetActivityStreamsCollection().Serialize()
|
||||||
} else if this.IsActivityStreamsCollectionPage() {
|
} else if this.IsActivityStreamsCollectionPage() {
|
||||||
return this.GetActivityStreamsCollectionPage().Serialize()
|
return this.GetActivityStreamsCollectionPage().Serialize()
|
||||||
} else if this.IsForgeFedCommit() {
|
|
||||||
return this.GetForgeFedCommit().Serialize()
|
|
||||||
} else if this.IsActivityStreamsCreate() {
|
} else if this.IsActivityStreamsCreate() {
|
||||||
return this.GetActivityStreamsCreate().Serialize()
|
return this.GetActivityStreamsCreate().Serialize()
|
||||||
} else if this.IsActivityStreamsDelete() {
|
} else if this.IsActivityStreamsDelete() {
|
||||||
|
@ -2279,6 +2113,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsFollow().Serialize()
|
return this.GetActivityStreamsFollow().Serialize()
|
||||||
} else if this.IsActivityStreamsGroup() {
|
} else if this.IsActivityStreamsGroup() {
|
||||||
return this.GetActivityStreamsGroup().Serialize()
|
return this.GetActivityStreamsGroup().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsTootIdentityProof() {
|
} else if this.IsTootIdentityProof() {
|
||||||
return this.GetTootIdentityProof().Serialize()
|
return this.GetTootIdentityProof().Serialize()
|
||||||
} else if this.IsActivityStreamsIgnore() {
|
} else if this.IsActivityStreamsIgnore() {
|
||||||
|
@ -2321,8 +2157,6 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsProfile().Serialize()
|
return this.GetActivityStreamsProfile().Serialize()
|
||||||
} else if this.IsSchemaPropertyValue() {
|
} else if this.IsSchemaPropertyValue() {
|
||||||
return this.GetSchemaPropertyValue().Serialize()
|
return this.GetSchemaPropertyValue().Serialize()
|
||||||
} else if this.IsForgeFedPush() {
|
|
||||||
return this.GetForgeFedPush().Serialize()
|
|
||||||
} else if this.IsActivityStreamsQuestion() {
|
} else if this.IsActivityStreamsQuestion() {
|
||||||
return this.GetActivityStreamsQuestion().Serialize()
|
return this.GetActivityStreamsQuestion().Serialize()
|
||||||
} else if this.IsActivityStreamsRead() {
|
} else if this.IsActivityStreamsRead() {
|
||||||
|
@ -2333,18 +2167,12 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
||||||
return this.GetActivityStreamsRelationship().Serialize()
|
return this.GetActivityStreamsRelationship().Serialize()
|
||||||
} else if this.IsActivityStreamsRemove() {
|
} else if this.IsActivityStreamsRemove() {
|
||||||
return this.GetActivityStreamsRemove().Serialize()
|
return this.GetActivityStreamsRemove().Serialize()
|
||||||
} else if this.IsForgeFedRepository() {
|
|
||||||
return this.GetForgeFedRepository().Serialize()
|
|
||||||
} else if this.IsActivityStreamsService() {
|
} else if this.IsActivityStreamsService() {
|
||||||
return this.GetActivityStreamsService().Serialize()
|
return this.GetActivityStreamsService().Serialize()
|
||||||
} else if this.IsActivityStreamsTentativeAccept() {
|
} else if this.IsActivityStreamsTentativeAccept() {
|
||||||
return this.GetActivityStreamsTentativeAccept().Serialize()
|
return this.GetActivityStreamsTentativeAccept().Serialize()
|
||||||
} else if this.IsActivityStreamsTentativeReject() {
|
} else if this.IsActivityStreamsTentativeReject() {
|
||||||
return this.GetActivityStreamsTentativeReject().Serialize()
|
return this.GetActivityStreamsTentativeReject().Serialize()
|
||||||
} else if this.IsForgeFedTicket() {
|
|
||||||
return this.GetForgeFedTicket().Serialize()
|
|
||||||
} else if this.IsForgeFedTicketDependency() {
|
|
||||||
return this.GetForgeFedTicketDependency().Serialize()
|
|
||||||
} else if this.IsActivityStreamsTombstone() {
|
} else if this.IsActivityStreamsTombstone() {
|
||||||
return this.GetActivityStreamsTombstone().Serialize()
|
return this.GetActivityStreamsTombstone().Serialize()
|
||||||
} else if this.IsActivityStreamsTravel() {
|
} else if this.IsActivityStreamsTravel() {
|
||||||
|
@ -2741,48 +2569,6 @@ func (this *ActivityStreamsSubjectProperty) SetActivityStreamsView(v vocab.Activ
|
||||||
this.activitystreamsViewMember = v
|
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.
|
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||||
func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) {
|
func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) {
|
||||||
this.Clear()
|
this.Clear()
|
||||||
|
@ -2803,6 +2589,13 @@ func (this *ActivityStreamsSubjectProperty) SetTootEmoji(v vocab.TootEmoji) {
|
||||||
this.tootEmojiMember = v
|
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
|
// SetTootIdentityProof sets the value of this property. Calling
|
||||||
// IsTootIdentityProof afterwards returns true.
|
// IsTootIdentityProof afterwards returns true.
|
||||||
func (this *ActivityStreamsSubjectProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
|
func (this *ActivityStreamsSubjectProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
|
||||||
|
@ -2857,10 +2650,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsBlock(v)
|
this.SetActivityStreamsBlock(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedBranch); ok {
|
|
||||||
this.SetForgeFedBranch(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
|
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
|
||||||
this.SetActivityStreamsCollection(v)
|
this.SetActivityStreamsCollection(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -2869,10 +2658,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsCollectionPage(v)
|
this.SetActivityStreamsCollectionPage(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedCommit); ok {
|
|
||||||
this.SetForgeFedCommit(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
|
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
|
||||||
this.SetActivityStreamsCreate(v)
|
this.SetActivityStreamsCreate(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -2909,6 +2694,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsGroup(v)
|
this.SetActivityStreamsGroup(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.TootIdentityProof); ok {
|
if v, ok := t.(vocab.TootIdentityProof); ok {
|
||||||
this.SetTootIdentityProof(v)
|
this.SetTootIdentityProof(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -2993,10 +2782,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
||||||
this.SetSchemaPropertyValue(v)
|
this.SetSchemaPropertyValue(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedPush); ok {
|
|
||||||
this.SetForgeFedPush(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
|
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
|
||||||
this.SetActivityStreamsQuestion(v)
|
this.SetActivityStreamsQuestion(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -3017,10 +2802,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsRemove(v)
|
this.SetActivityStreamsRemove(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if v, ok := t.(vocab.ForgeFedRepository); ok {
|
|
||||||
this.SetForgeFedRepository(v)
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||||
this.SetActivityStreamsService(v)
|
this.SetActivityStreamsService(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -3033,14 +2814,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsTentativeReject(v)
|
this.SetActivityStreamsTentativeReject(v)
|
||||||
return nil
|
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 {
|
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
|
||||||
this.SetActivityStreamsTombstone(v)
|
this.SetActivityStreamsTombstone(v)
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -45,10 +45,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsBlock" non-functional property in the
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// the "ActivityStreamsBlock" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
|
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
|
// DeserializeCollectionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsCollection" non-functional property in the
|
// for the "ActivityStreamsCollection" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -57,10 +53,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsCollectionPage" non-functional
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
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
|
// DeserializeCreateActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsCreate" non-functional property in the
|
// the "ActivityStreamsCreate" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -96,6 +88,9 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsGroup" non-functional property in the
|
// the "ActivityStreamsGroup" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
|
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
|
// DeserializeIdentityProofToot returns the deserialization method for the
|
||||||
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
|
||||||
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
|
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
|
// the "SchemaPropertyValue" non-functional property in the vocabulary
|
||||||
// "Schema"
|
// "Schema"
|
||||||
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
|
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
|
// DeserializeQuestionActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsQuestion" non-functional property in the
|
// for the "ActivityStreamsQuestion" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -212,10 +204,6 @@ type privateManager interface {
|
||||||
// the "ActivityStreamsRemove" non-functional property in the
|
// the "ActivityStreamsRemove" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
|
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
|
// DeserializeServiceActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsService" non-functional property in the
|
// for the "ActivityStreamsService" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
|
@ -228,14 +216,6 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTentativeReject" non-functional
|
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
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
|
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// 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
|
// privateManager abstracts the code-generated manager that provides access to
|
||||||
// concrete implementations.
|
// concrete implementations.
|
||||||
type privateManager interface {
|
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
|
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||||
// "ActivityStreams"
|
// "ActivityStreams"
|
||||||
|
|
|
@ -17,6 +17,7 @@ import (
|
||||||
type ActivityStreamsUrlPropertyIterator struct {
|
type ActivityStreamsUrlPropertyIterator struct {
|
||||||
xmlschemaAnyURIMember *url.URL
|
xmlschemaAnyURIMember *url.URL
|
||||||
activitystreamsLinkMember vocab.ActivityStreamsLink
|
activitystreamsLinkMember vocab.ActivityStreamsLink
|
||||||
|
tootHashtagMember vocab.TootHashtag
|
||||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||||
unknown interface{}
|
unknown interface{}
|
||||||
alias string
|
alias string
|
||||||
|
@ -43,6 +44,12 @@ func deserializeActivityStreamsUrlPropertyIterator(i interface{}, aliasMap map[s
|
||||||
alias: alias,
|
alias: alias,
|
||||||
}
|
}
|
||||||
return this, nil
|
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 {
|
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
|
||||||
this := &ActivityStreamsUrlPropertyIterator{
|
this := &ActivityStreamsUrlPropertyIterator{
|
||||||
activitystreamsMentionMember: v,
|
activitystreamsMentionMember: v,
|
||||||
|
@ -85,12 +92,21 @@ func (this ActivityStreamsUrlPropertyIterator) GetIRI() *url.URL {
|
||||||
return this.xmlschemaAnyURIMember
|
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
|
// 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.
|
// is not an ActivityStreams type, such as an IRI or another value.
|
||||||
func (this ActivityStreamsUrlPropertyIterator) GetType() vocab.Type {
|
func (this ActivityStreamsUrlPropertyIterator) GetType() vocab.Type {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink()
|
return this.GetActivityStreamsLink()
|
||||||
}
|
}
|
||||||
|
if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag()
|
||||||
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention()
|
return this.GetActivityStreamsMention()
|
||||||
}
|
}
|
||||||
|
@ -108,6 +124,7 @@ func (this ActivityStreamsUrlPropertyIterator) GetXMLSchemaAnyURI() *url.URL {
|
||||||
func (this ActivityStreamsUrlPropertyIterator) HasAny() bool {
|
func (this ActivityStreamsUrlPropertyIterator) HasAny() bool {
|
||||||
return this.IsXMLSchemaAnyURI() ||
|
return this.IsXMLSchemaAnyURI() ||
|
||||||
this.IsActivityStreamsLink() ||
|
this.IsActivityStreamsLink() ||
|
||||||
|
this.IsTootHashtag() ||
|
||||||
this.IsActivityStreamsMention()
|
this.IsActivityStreamsMention()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -131,6 +148,13 @@ func (this ActivityStreamsUrlPropertyIterator) IsIRI() bool {
|
||||||
return this.xmlschemaAnyURIMember != nil
|
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
|
// IsXMLSchemaAnyURI returns true if this property has a type of "anyURI". When
|
||||||
// true, use the GetXMLSchemaAnyURI and SetXMLSchemaAnyURI methods to access
|
// true, use the GetXMLSchemaAnyURI and SetXMLSchemaAnyURI methods to access
|
||||||
// and set this property.
|
// and set this property.
|
||||||
|
@ -146,6 +170,8 @@ func (this ActivityStreamsUrlPropertyIterator) JSONLDContext() map[string]string
|
||||||
var child map[string]string
|
var child map[string]string
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
child = this.GetActivityStreamsLink().JSONLDContext()
|
child = this.GetActivityStreamsLink().JSONLDContext()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
child = this.GetTootHashtag().JSONLDContext()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
child = this.GetActivityStreamsMention().JSONLDContext()
|
child = this.GetActivityStreamsMention().JSONLDContext()
|
||||||
}
|
}
|
||||||
|
@ -170,9 +196,12 @@ func (this ActivityStreamsUrlPropertyIterator) KindIndex() int {
|
||||||
if this.IsActivityStreamsLink() {
|
if this.IsActivityStreamsLink() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
if this.IsActivityStreamsMention() {
|
if this.IsTootHashtag() {
|
||||||
return 2
|
return 2
|
||||||
}
|
}
|
||||||
|
if this.IsActivityStreamsMention() {
|
||||||
|
return 3
|
||||||
|
}
|
||||||
if this.IsIRI() {
|
if this.IsIRI() {
|
||||||
return -2
|
return -2
|
||||||
}
|
}
|
||||||
|
@ -194,6 +223,8 @@ func (this ActivityStreamsUrlPropertyIterator) LessThan(o vocab.ActivityStreamsU
|
||||||
return anyuri.LessAnyURI(this.GetXMLSchemaAnyURI(), o.GetXMLSchemaAnyURI())
|
return anyuri.LessAnyURI(this.GetXMLSchemaAnyURI(), o.GetXMLSchemaAnyURI())
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
|
||||||
}
|
}
|
||||||
|
@ -247,6 +278,13 @@ func (this *ActivityStreamsUrlPropertyIterator) SetIRI(v *url.URL) {
|
||||||
this.SetXMLSchemaAnyURI(v)
|
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
|
// 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.
|
// if it is not a valid type to set on this property.
|
||||||
func (this *ActivityStreamsUrlPropertyIterator) SetType(t vocab.Type) error {
|
func (this *ActivityStreamsUrlPropertyIterator) SetType(t vocab.Type) error {
|
||||||
|
@ -254,6 +292,10 @@ func (this *ActivityStreamsUrlPropertyIterator) SetType(t vocab.Type) error {
|
||||||
this.SetActivityStreamsLink(v)
|
this.SetActivityStreamsLink(v)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if v, ok := t.(vocab.TootHashtag); ok {
|
||||||
|
this.SetTootHashtag(v)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
if v, ok := t.(vocab.ActivityStreamsMention); ok {
|
||||||
this.SetActivityStreamsMention(v)
|
this.SetActivityStreamsMention(v)
|
||||||
return nil
|
return nil
|
||||||
|
@ -274,6 +316,7 @@ func (this *ActivityStreamsUrlPropertyIterator) SetXMLSchemaAnyURI(v *url.URL) {
|
||||||
func (this *ActivityStreamsUrlPropertyIterator) clear() {
|
func (this *ActivityStreamsUrlPropertyIterator) clear() {
|
||||||
this.xmlschemaAnyURIMember = nil
|
this.xmlschemaAnyURIMember = nil
|
||||||
this.activitystreamsLinkMember = nil
|
this.activitystreamsLinkMember = nil
|
||||||
|
this.tootHashtagMember = nil
|
||||||
this.activitystreamsMentionMember = nil
|
this.activitystreamsMentionMember = nil
|
||||||
this.unknown = nil
|
this.unknown = nil
|
||||||
}
|
}
|
||||||
|
@ -287,6 +330,8 @@ func (this ActivityStreamsUrlPropertyIterator) serialize() (interface{}, error)
|
||||||
return anyuri.SerializeAnyURI(this.GetXMLSchemaAnyURI())
|
return anyuri.SerializeAnyURI(this.GetXMLSchemaAnyURI())
|
||||||
} else if this.IsActivityStreamsLink() {
|
} else if this.IsActivityStreamsLink() {
|
||||||
return this.GetActivityStreamsLink().Serialize()
|
return this.GetActivityStreamsLink().Serialize()
|
||||||
|
} else if this.IsTootHashtag() {
|
||||||
|
return this.GetTootHashtag().Serialize()
|
||||||
} else if this.IsActivityStreamsMention() {
|
} else if this.IsActivityStreamsMention() {
|
||||||
return this.GetActivityStreamsMention().Serialize()
|
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
|
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||||
// property "url". Invalidates iterators that are traversing using Prev.
|
// 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.
|
// 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
|
// 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
|
// property "url". Invalidates all iterators. Returns an error if the type is
|
||||||
// not a valid one to set for this property.
|
// 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()
|
rhs := this.properties[j].GetActivityStreamsLink()
|
||||||
return lhs.LessThan(rhs)
|
return lhs.LessThan(rhs)
|
||||||
} else if idx1 == 2 {
|
} 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()
|
lhs := this.properties[i].GetActivityStreamsMention()
|
||||||
rhs := this.properties[j].GetActivityStreamsMention()
|
rhs := this.properties[j].GetActivityStreamsMention()
|
||||||
return lhs.LessThan(rhs)
|
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
|
// 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
|
// property "url". Invalidates all iterators. Returns an error if the type is
|
||||||
// not a valid one to set for this property.
|
// 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
|
// 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
|
// "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.
|
// 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
|
// method for the "ActivityStreamsTargetProperty" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
|
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
|
// DeserializeToPropertyActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsToProperty" non-functional property in the
|
// for the "ActivityStreamsToProperty" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
|
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
|
// DeserializeTypePropertyJSONLD returns the deserialization method for
|
||||||
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
||||||
// "JSONLD"
|
// "JSONLD"
|
||||||
|
|
|
@ -83,10 +83,7 @@ type ActivityStreamsAccept struct {
|
||||||
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
|
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
|
||||||
ActivityStreamsTag vocab.ActivityStreamsTagProperty
|
ActivityStreamsTag vocab.ActivityStreamsTagProperty
|
||||||
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
|
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
|
||||||
ForgeFedTeam vocab.ForgeFedTeamProperty
|
|
||||||
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
|
|
||||||
ActivityStreamsTo vocab.ActivityStreamsToProperty
|
ActivityStreamsTo vocab.ActivityStreamsToProperty
|
||||||
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
|
|
||||||
JSONLDType vocab.JSONLDTypeProperty
|
JSONLDType vocab.JSONLDTypeProperty
|
||||||
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
|
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
|
||||||
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
|
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
|
||||||
|
@ -97,7 +94,7 @@ type ActivityStreamsAccept struct {
|
||||||
// AcceptIsDisjointWith returns true if the other provided type is disjoint with
|
// AcceptIsDisjointWith returns true if the other provided type is disjoint with
|
||||||
// the Accept type.
|
// the Accept type.
|
||||||
func AcceptIsDisjointWith(other vocab.Type) bool {
|
func AcceptIsDisjointWith(other vocab.Type) bool {
|
||||||
disjointWith := []string{"Link", "Mention"}
|
disjointWith := []string{"Hashtag", "Link", "Mention"}
|
||||||
for _, disjoint := range disjointWith {
|
for _, disjoint := range disjointWith {
|
||||||
if disjoint == other.GetTypeName() {
|
if disjoint == other.GetTypeName() {
|
||||||
return true
|
return true
|
||||||
|
@ -343,26 +340,11 @@ func DeserializeAccept(m map[string]interface{}, aliasMap map[string]string) (*A
|
||||||
} else if p != nil {
|
} else if p != nil {
|
||||||
this.ActivityStreamsTarget = p
|
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 {
|
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
} else if p != nil {
|
} else if p != nil {
|
||||||
this.ActivityStreamsTo = p
|
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 {
|
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
} else if p != nil {
|
} else if p != nil {
|
||||||
|
@ -459,14 +441,8 @@ func DeserializeAccept(m map[string]interface{}, aliasMap map[string]string) (*A
|
||||||
continue
|
continue
|
||||||
} else if k == "target" {
|
} else if k == "target" {
|
||||||
continue
|
continue
|
||||||
} else if k == "team" {
|
|
||||||
continue
|
|
||||||
} else if k == "ticketsTrackedBy" {
|
|
||||||
continue
|
|
||||||
} else if k == "to" {
|
} else if k == "to" {
|
||||||
continue
|
continue
|
||||||
} else if k == "tracksTicketsFor" {
|
|
||||||
continue
|
|
||||||
} else if k == "type" {
|
} else if k == "type" {
|
||||||
continue
|
continue
|
||||||
} else if k == "updated" {
|
} else if k == "updated" {
|
||||||
|
@ -722,23 +698,6 @@ func (this ActivityStreamsAccept) GetActivityStreamsUrl() vocab.ActivityStreamsU
|
||||||
return this.ActivityStreamsUrl
|
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.
|
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
|
||||||
func (this ActivityStreamsAccept) GetJSONLDId() vocab.JSONLDIdProperty {
|
func (this ActivityStreamsAccept) GetJSONLDId() vocab.JSONLDIdProperty {
|
||||||
return this.JSONLDId
|
return this.JSONLDId
|
||||||
|
@ -809,10 +768,7 @@ func (this ActivityStreamsAccept) JSONLDContext() map[string]string {
|
||||||
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
|
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
|
||||||
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
|
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
|
||||||
m = this.helperJSONLDContext(this.ActivityStreamsTarget, 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.ActivityStreamsTo, m)
|
||||||
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
|
|
||||||
m = this.helperJSONLDContext(this.JSONLDType, m)
|
m = this.helperJSONLDContext(this.JSONLDType, m)
|
||||||
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
|
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
|
||||||
m = this.helperJSONLDContext(this.ActivityStreamsUrl, 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
|
// Anything else is greater than nil
|
||||||
return false
|
return false
|
||||||
} // Else: Both are nil
|
} // 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"
|
// Compare property "to"
|
||||||
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
|
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
|
||||||
if lhs.LessThan(rhs) {
|
if lhs.LessThan(rhs) {
|
||||||
|
@ -1356,20 +1284,6 @@ func (this ActivityStreamsAccept) LessThan(o vocab.ActivityStreamsAccept) bool {
|
||||||
// Anything else is greater than nil
|
// Anything else is greater than nil
|
||||||
return false
|
return false
|
||||||
} // Else: Both are nil
|
} // 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"
|
// Compare property "type"
|
||||||
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
|
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
|
||||||
if lhs.LessThan(rhs) {
|
if lhs.LessThan(rhs) {
|
||||||
|
@ -1715,22 +1629,6 @@ func (this ActivityStreamsAccept) Serialize() (map[string]interface{}, error) {
|
||||||
m[this.ActivityStreamsTarget.Name()] = i
|
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"
|
// Maybe serialize property "to"
|
||||||
if this.ActivityStreamsTo != nil {
|
if this.ActivityStreamsTo != nil {
|
||||||
if i, err := this.ActivityStreamsTo.Serialize(); err != 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
|
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"
|
// Maybe serialize property "type"
|
||||||
if this.JSONLDType != nil {
|
if this.JSONLDType != nil {
|
||||||
if i, err := this.JSONLDType.Serialize(); err != nil {
|
if i, err := this.JSONLDType.Serialize(); err != nil {
|
||||||
|
@ -1970,21 +1860,6 @@ func (this *ActivityStreamsAccept) SetActivityStreamsUrl(i vocab.ActivityStreams
|
||||||
this.ActivityStreamsUrl = i
|
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.
|
// SetJSONLDId sets the "id" property.
|
||||||
func (this *ActivityStreamsAccept) SetJSONLDId(i vocab.JSONLDIdProperty) {
|
func (this *ActivityStreamsAccept) SetJSONLDId(i vocab.JSONLDIdProperty) {
|
||||||
this.JSONLDId = i
|
this.JSONLDId = i
|
||||||
|
|
|
@ -152,22 +152,10 @@ type privateManager interface {
|
||||||
// method for the "ActivityStreamsTargetProperty" non-functional
|
// method for the "ActivityStreamsTargetProperty" non-functional
|
||||||
// property in the vocabulary "ActivityStreams"
|
// property in the vocabulary "ActivityStreams"
|
||||||
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
|
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
|
// DeserializeToPropertyActivityStreams returns the deserialization method
|
||||||
// for the "ActivityStreamsToProperty" non-functional property in the
|
// for the "ActivityStreamsToProperty" non-functional property in the
|
||||||
// vocabulary "ActivityStreams"
|
// vocabulary "ActivityStreams"
|
||||||
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
|
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
|
// DeserializeTypePropertyJSONLD returns the deserialization method for
|
||||||
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
||||||
// "JSONLD"
|
// "JSONLD"
|
||||||
|
|
|
@ -63,10 +63,7 @@ type ActivityStreamsActivity struct {
|
||||||
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
|
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
|
||||||
ActivityStreamsTag vocab.ActivityStreamsTagProperty
|
ActivityStreamsTag vocab.ActivityStreamsTagProperty
|
||||||
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
|
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
|
||||||
ForgeFedTeam vocab.ForgeFedTeamProperty
|
|
||||||
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
|
|
||||||
ActivityStreamsTo vocab.ActivityStreamsToProperty
|
ActivityStreamsTo vocab.ActivityStreamsToProperty
|
||||||
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
|
|
||||||
JSONLDType vocab.JSONLDTypeProperty
|
JSONLDType vocab.JSONLDTypeProperty
|
||||||
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
|
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
|
||||||
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
|
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
|
||||||
|
@ -77,7 +74,7 @@ type ActivityStreamsActivity struct {
|
||||||
// ActivityIsDisjointWith returns true if the other provided type is disjoint with
|
// ActivityIsDisjointWith returns true if the other provided type is disjoint with
|
||||||
// the Activity type.
|
// the Activity type.
|
||||||
func ActivityIsDisjointWith(other vocab.Type) bool {
|
func ActivityIsDisjointWith(other vocab.Type) bool {
|
||||||
disjointWith := []string{"Link", "Mention"}
|
disjointWith := []string{"Hashtag", "Link", "Mention"}
|
||||||
for _, disjoint := range disjointWith {
|
for _, disjoint := range disjointWith {
|
||||||
if disjoint == other.GetTypeName() {
|
if disjoint == other.GetTypeName() {
|
||||||
return true
|
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
|
// Activity type. Note that it returns false if the types are the same; see
|
||||||
// the "IsOrExtendsActivity" variant instead.
|
// the "IsOrExtendsActivity" variant instead.
|
||||||
func ActivityIsExtendedBy(other vocab.Type) bool {
|
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 {
|
for _, ext := range extensions {
|
||||||
if ext == other.GetTypeName() {
|
if ext == other.GetTypeName() {
|
||||||
return true
|
return true
|
||||||
|
@ -323,26 +320,11 @@ func DeserializeActivity(m map[string]interface{}, aliasMap map[string]string) (
|
||||||
} else if p != nil {
|
} else if p != nil {
|
||||||
this.ActivityStreamsTarget = p
|
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 {
|
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
} else if p != nil {
|
} else if p != nil {
|
||||||
this.ActivityStreamsTo = p
|
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 {
|
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
} else if p != nil {
|
} else if p != nil {
|
||||||
|
@ -439,14 +421,8 @@ func DeserializeActivity(m map[string]interface{}, aliasMap map[string]string) (
|
||||||
continue
|
continue
|
||||||
} else if k == "target" {
|
} else if k == "target" {
|
||||||
continue
|
continue
|
||||||
} else if k == "team" {
|
|
||||||
continue
|
|
||||||
} else if k == "ticketsTrackedBy" {
|
|
||||||
continue
|
|
||||||
} else if k == "to" {
|
} else if k == "to" {
|
||||||
continue
|
continue
|
||||||
} else if k == "tracksTicketsFor" {
|
|
||||||
continue
|
|
||||||
} else if k == "type" {
|
} else if k == "type" {
|
||||||
continue
|
continue
|
||||||
} else if k == "updated" {
|
} else if k == "updated" {
|
||||||
|
@ -702,23 +678,6 @@ func (this ActivityStreamsActivity) GetActivityStreamsUrl() vocab.ActivityStream
|
||||||
return this.ActivityStreamsUrl
|
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.
|
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
|
||||||
func (this ActivityStreamsActivity) GetJSONLDId() vocab.JSONLDIdProperty {
|
func (this ActivityStreamsActivity) GetJSONLDId() vocab.JSONLDIdProperty {
|
||||||
return this.JSONLDId
|
return this.JSONLDId
|
||||||
|
@ -789,10 +748,7 @@ func (this ActivityStreamsActivity) JSONLDContext() map[string]string {
|
||||||
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
|
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
|
||||||
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
|
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
|
||||||
m = this.helperJSONLDContext(this.ActivityStreamsTarget, 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.ActivityStreamsTo, m)
|
||||||
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
|
|
||||||
m = this.helperJSONLDContext(this.JSONLDType, m)
|
m = this.helperJSONLDContext(this.JSONLDType, m)
|
||||||
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
|
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
|
||||||
m = this.helperJSONLDContext(this.ActivityStreamsUrl, 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
|
// Anything else is greater than nil
|
||||||
return false
|
return false
|
||||||
} // Else: Both are nil
|
} // 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"
|
// Compare property "to"
|
||||||
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
|
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
|
||||||
if lhs.LessThan(rhs) {
|
if lhs.LessThan(rhs) {
|
||||||
|
@ -1336,20 +1264,6 @@ func (this ActivityStreamsActivity) LessThan(o vocab.ActivityStreamsActivity) bo
|
||||||
// Anything else is greater than nil
|
// Anything else is greater than nil
|
||||||
return false
|
return false
|
||||||
} // Else: Both are nil
|
} // 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"
|
// Compare property "type"
|
||||||
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
|
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
|
||||||
if lhs.LessThan(rhs) {
|
if lhs.LessThan(rhs) {
|
||||||
|
@ -1695,22 +1609,6 @@ func (this ActivityStreamsActivity) Serialize() (map[string]interface{}, error)
|
||||||
m[this.ActivityStreamsTarget.Name()] = i
|
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"
|
// Maybe serialize property "to"
|
||||||
if this.ActivityStreamsTo != nil {
|
if this.ActivityStreamsTo != nil {
|
||||||
if i, err := this.ActivityStreamsTo.Serialize(); err != 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
|
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"
|
// Maybe serialize property "type"
|
||||||
if this.JSONLDType != nil {
|
if this.JSONLDType != nil {
|
||||||
if i, err := this.JSONLDType.Serialize(); err != nil {
|
if i, err := this.JSONLDType.Serialize(); err != nil {
|
||||||
|
@ -1950,21 +1840,6 @@ func (this *ActivityStreamsActivity) SetActivityStreamsUrl(i vocab.ActivityStrea
|
||||||
this.ActivityStreamsUrl = i
|
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.
|
// SetJSONLDId sets the "id" property.
|
||||||
func (this *ActivityStreamsActivity) SetJSONLDId(i vocab.JSONLDIdProperty) {
|
func (this *ActivityStreamsActivity) SetJSONLDId(i vocab.JSONLDIdProperty) {
|
||||||
this.JSONLDId = i
|
this.JSONLDId = i
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue