Add Hashtag to toot objects

このコミットが含まれているのは:
Gabe Kangas 2021-09-08 01:03:14 -07:00
コミット 532ae5d0af
269個のファイルの変更8135行の追加33514行の削除

ファイルの表示

@ -34,8 +34,8 @@
"type": "owl:Class",
"example": [
{
"type": "http://schema.org/CreativeWork",
"mainEntity": {
"type": "http://schema.org/CreativeWork",
"mainEntity": {
"id": "https://example.com/@alice/hello-world",
"type": "Note",
"content": "Hello world :Kappa:",
@ -52,7 +52,7 @@
}
]
}
}
}
],
"subClassOf": {
"type": "owl:Class",
@ -63,14 +63,41 @@
"name": "Emoji",
"url": "https://docs.joinmastodon.org/development/activitypub/#custom-emojis"
},
{
"id": "http://joinmastodon.org/ns#Hashtag",
"type": "owl:Class",
"example": [
{
"mainEntity": {
"id": "https://example.com/@alice/hello-world",
"type": "Note",
"content": "example",
"tag": [
{
"href": "https://example.com/hashtag/example",
"type": "Hashtag",
"name": "#example"
}
]
}
}
],
"subClassOf": {
"type": "owl:Class",
"url": "https://www.w3.org/ns/activitystreams#Object",
"name": "as:Object"
},
"disjointWith": [],
"name": "Hashtag",
"url": "https://docs.joinmastodon.org/development/activitypub/#hashtag"
},
{
"id": "http://joinmastodon.org/ns#featured",
"type": [
"rdf:Property",
"owl:FunctionalProperty"
],
"example": {
},
"example": {},
"domain": {
"type": "owl:Class",
"unionOf": [
@ -119,8 +146,7 @@
"rdf:Property",
"owl:FunctionalProperty"
],
"example": {
},
"example": {},
"domain": {
"type": "owl:Class",
"unionOf": [
@ -143,8 +169,7 @@
"rdf:Property",
"owl:FunctionalProperty"
],
"example": {
},
"example": {},
"domain": {
"type": "owl:Class",
"unionOf": [
@ -164,8 +189,7 @@
{
"id": "http://joinmastodon.org/ns#IdentityProof",
"type": "owl:Class",
"example": {
},
"example": {},
"subClassOf": {
"type": "owl:Class",
"url": "https://www.w3.org/ns/activitystreams#Object",
@ -180,8 +204,7 @@
"rdf:Property",
"owl:FunctionalProperty"
],
"example": {
},
"example": {},
"domain": {
"type": "owl:Class",
"unionOf": [
@ -204,8 +227,7 @@
"rdf:Property",
"owl:FunctionalProperty"
],
"example": {
},
"example": {},
"domain": {
"type": "owl:Class",
"unionOf": [
@ -228,8 +250,7 @@
"rdf:Property",
"owl:FunctionalProperty"
],
"example": {
},
"example": {},
"domain": {
"type": "owl:Class",
"unionOf": [
@ -267,4 +288,4 @@
"name": "discoverable"
}
]
}
}

ファイルの表示

@ -29,18 +29,12 @@ var ActivityStreamsAudioName string = "Audio"
// ActivityStreamsBlockName is the string literal of the name for the Block type in the ActivityStreams vocabulary.
var ActivityStreamsBlockName string = "Block"
// ForgeFedBranchName is the string literal of the name for the Branch type in the ForgeFed vocabulary.
var ForgeFedBranchName string = "Branch"
// ActivityStreamsCollectionName is the string literal of the name for the Collection type in the ActivityStreams vocabulary.
var ActivityStreamsCollectionName string = "Collection"
// ActivityStreamsCollectionPageName is the string literal of the name for the CollectionPage type in the ActivityStreams vocabulary.
var ActivityStreamsCollectionPageName string = "CollectionPage"
// ForgeFedCommitName is the string literal of the name for the Commit type in the ForgeFed vocabulary.
var ForgeFedCommitName string = "Commit"
// ActivityStreamsCreateName is the string literal of the name for the Create type in the ActivityStreams vocabulary.
var ActivityStreamsCreateName string = "Create"
@ -68,6 +62,9 @@ var ActivityStreamsFollowName string = "Follow"
// ActivityStreamsGroupName is the string literal of the name for the Group type in the ActivityStreams vocabulary.
var ActivityStreamsGroupName string = "Group"
// TootHashtagName is the string literal of the name for the Hashtag type in the Toot vocabulary.
var TootHashtagName string = "Hashtag"
// TootIdentityProofName is the string literal of the name for the IdentityProof type in the Toot vocabulary.
var TootIdentityProofName string = "IdentityProof"
@ -137,9 +134,6 @@ var ActivityStreamsProfileName string = "Profile"
// W3IDSecurityV1PublicKeyName is the string literal of the name for the PublicKey type in the W3IDSecurityV1 vocabulary.
var W3IDSecurityV1PublicKeyName string = "PublicKey"
// ForgeFedPushName is the string literal of the name for the Push type in the ForgeFed vocabulary.
var ForgeFedPushName string = "Push"
// ActivityStreamsQuestionName is the string literal of the name for the Question type in the ActivityStreams vocabulary.
var ActivityStreamsQuestionName string = "Question"
@ -155,9 +149,6 @@ var ActivityStreamsRelationshipName string = "Relationship"
// ActivityStreamsRemoveName is the string literal of the name for the Remove type in the ActivityStreams vocabulary.
var ActivityStreamsRemoveName string = "Remove"
// ForgeFedRepositoryName is the string literal of the name for the Repository type in the ForgeFed vocabulary.
var ForgeFedRepositoryName string = "Repository"
// ActivityStreamsServiceName is the string literal of the name for the Service type in the ActivityStreams vocabulary.
var ActivityStreamsServiceName string = "Service"
@ -167,12 +158,6 @@ var ActivityStreamsTentativeAcceptName string = "TentativeAccept"
// ActivityStreamsTentativeRejectName is the string literal of the name for the TentativeReject type in the ActivityStreams vocabulary.
var ActivityStreamsTentativeRejectName string = "TentativeReject"
// ForgeFedTicketName is the string literal of the name for the Ticket type in the ForgeFed vocabulary.
var ForgeFedTicketName string = "Ticket"
// ForgeFedTicketDependencyName is the string literal of the name for the TicketDependency type in the ForgeFed vocabulary.
var ForgeFedTicketDependencyName string = "TicketDependency"
// ActivityStreamsTombstoneName is the string literal of the name for the Tombstone type in the ActivityStreams vocabulary.
var ActivityStreamsTombstoneName string = "Tombstone"
@ -203,9 +188,6 @@ var ActivityStreamsAltitudePropertyName string = "altitude"
// ActivityStreamsAnyOfPropertyName is the string literal of the name for the anyOf property in the ActivityStreams vocabulary.
var ActivityStreamsAnyOfPropertyName string = "anyOf"
// ForgeFedAssignedToPropertyName is the string literal of the name for the assignedTo property in the ForgeFed vocabulary.
var ForgeFedAssignedToPropertyName string = "assignedTo"
// ActivityStreamsAttachmentPropertyName is the string literal of the name for the attachment property in the ActivityStreams vocabulary.
var ActivityStreamsAttachmentPropertyName string = "attachment"
@ -230,12 +212,6 @@ var ActivityStreamsCcPropertyName string = "cc"
// ActivityStreamsClosedPropertyName is the string literal of the name for the closed property in the ActivityStreams vocabulary.
var ActivityStreamsClosedPropertyName string = "closed"
// ForgeFedCommittedPropertyName is the string literal of the name for the committed property in the ForgeFed vocabulary.
var ForgeFedCommittedPropertyName string = "committed"
// ForgeFedCommittedByPropertyName is the string literal of the name for the committedBy property in the ForgeFed vocabulary.
var ForgeFedCommittedByPropertyName string = "committedBy"
// ActivityStreamsContentPropertyName is the string literal of the name for the content property in the ActivityStreams vocabulary.
var ActivityStreamsContentPropertyName string = "content"
@ -251,48 +227,21 @@ var ActivityStreamsCurrentPropertyName string = "current"
// ActivityStreamsDeletedPropertyName is the string literal of the name for the deleted property in the ActivityStreams vocabulary.
var ActivityStreamsDeletedPropertyName string = "deleted"
// ForgeFedDependantsPropertyName is the string literal of the name for the dependants property in the ForgeFed vocabulary.
var ForgeFedDependantsPropertyName string = "dependants"
// ForgeFedDependedByPropertyName is the string literal of the name for the dependedBy property in the ForgeFed vocabulary.
var ForgeFedDependedByPropertyName string = "dependedBy"
// ForgeFedDependenciesPropertyName is the string literal of the name for the dependencies property in the ForgeFed vocabulary.
var ForgeFedDependenciesPropertyName string = "dependencies"
// ForgeFedDependsOnPropertyName is the string literal of the name for the dependsOn property in the ForgeFed vocabulary.
var ForgeFedDependsOnPropertyName string = "dependsOn"
// ActivityStreamsDescribesPropertyName is the string literal of the name for the describes property in the ActivityStreams vocabulary.
var ActivityStreamsDescribesPropertyName string = "describes"
// ForgeFedDescriptionPropertyName is the string literal of the name for the description property in the ForgeFed vocabulary.
var ForgeFedDescriptionPropertyName string = "description"
// TootDiscoverablePropertyName is the string literal of the name for the discoverable property in the Toot vocabulary.
var TootDiscoverablePropertyName string = "discoverable"
// ActivityStreamsDurationPropertyName is the string literal of the name for the duration property in the ActivityStreams vocabulary.
var ActivityStreamsDurationPropertyName string = "duration"
// ForgeFedEarlyItemsPropertyName is the string literal of the name for the earlyItems property in the ForgeFed vocabulary.
var ForgeFedEarlyItemsPropertyName string = "earlyItems"
// ActivityStreamsEndTimePropertyName is the string literal of the name for the endTime property in the ActivityStreams vocabulary.
var ActivityStreamsEndTimePropertyName string = "endTime"
// TootFeaturedPropertyName is the string literal of the name for the featured property in the Toot vocabulary.
var TootFeaturedPropertyName string = "featured"
// ForgeFedFilesAddedPropertyName is the string literal of the name for the filesAdded property in the ForgeFed vocabulary.
var ForgeFedFilesAddedPropertyName string = "filesAdded"
// ForgeFedFilesModifiedPropertyName is the string literal of the name for the filesModified property in the ForgeFed vocabulary.
var ForgeFedFilesModifiedPropertyName string = "filesModified"
// ForgeFedFilesRemovedPropertyName is the string literal of the name for the filesRemoved property in the ForgeFed vocabulary.
var ForgeFedFilesRemovedPropertyName string = "filesRemoved"
// ActivityStreamsFirstPropertyName is the string literal of the name for the first property in the ActivityStreams vocabulary.
var ActivityStreamsFirstPropertyName string = "first"
@ -302,18 +251,12 @@ var ActivityStreamsFollowersPropertyName string = "followers"
// ActivityStreamsFollowingPropertyName is the string literal of the name for the following property in the ActivityStreams vocabulary.
var ActivityStreamsFollowingPropertyName string = "following"
// ForgeFedForksPropertyName is the string literal of the name for the forks property in the ForgeFed vocabulary.
var ForgeFedForksPropertyName string = "forks"
// ActivityStreamsFormerTypePropertyName is the string literal of the name for the formerType property in the ActivityStreams vocabulary.
var ActivityStreamsFormerTypePropertyName string = "formerType"
// ActivityStreamsGeneratorPropertyName is the string literal of the name for the generator property in the ActivityStreams vocabulary.
var ActivityStreamsGeneratorPropertyName string = "generator"
// ForgeFedHashPropertyName is the string literal of the name for the hash property in the ForgeFed vocabulary.
var ForgeFedHashPropertyName string = "hash"
// ActivityStreamsHeightPropertyName is the string literal of the name for the height property in the ActivityStreams vocabulary.
var ActivityStreamsHeightPropertyName string = "height"
@ -338,9 +281,6 @@ var ActivityStreamsInboxPropertyName string = "inbox"
// ActivityStreamsInstrumentPropertyName is the string literal of the name for the instrument property in the ActivityStreams vocabulary.
var ActivityStreamsInstrumentPropertyName string = "instrument"
// ForgeFedIsResolvedPropertyName is the string literal of the name for the isResolved property in the ForgeFed vocabulary.
var ForgeFedIsResolvedPropertyName string = "isResolved"
// ActivityStreamsItemsPropertyName is the string literal of the name for the items property in the ActivityStreams vocabulary.
var ActivityStreamsItemsPropertyName string = "items"
@ -422,9 +362,6 @@ var ActivityStreamsPublishedPropertyName string = "published"
// ActivityStreamsRadiusPropertyName is the string literal of the name for the radius property in the ActivityStreams vocabulary.
var ActivityStreamsRadiusPropertyName string = "radius"
// ForgeFedRefPropertyName is the string literal of the name for the ref property in the ForgeFed vocabulary.
var ForgeFedRefPropertyName string = "ref"
// ActivityStreamsRelPropertyName is the string literal of the name for the rel property in the ActivityStreams vocabulary.
var ActivityStreamsRelPropertyName string = "rel"
@ -473,21 +410,12 @@ var ActivityStreamsTagPropertyName string = "tag"
// ActivityStreamsTargetPropertyName is the string literal of the name for the target property in the ActivityStreams vocabulary.
var ActivityStreamsTargetPropertyName string = "target"
// ForgeFedTeamPropertyName is the string literal of the name for the team property in the ForgeFed vocabulary.
var ForgeFedTeamPropertyName string = "team"
// ForgeFedTicketsTrackedByPropertyName is the string literal of the name for the ticketsTrackedBy property in the ForgeFed vocabulary.
var ForgeFedTicketsTrackedByPropertyName string = "ticketsTrackedBy"
// ActivityStreamsToPropertyName is the string literal of the name for the to property in the ActivityStreams vocabulary.
var ActivityStreamsToPropertyName string = "to"
// ActivityStreamsTotalItemsPropertyName is the string literal of the name for the totalItems property in the ActivityStreams vocabulary.
var ActivityStreamsTotalItemsPropertyName string = "totalItems"
// ForgeFedTracksTicketsForPropertyName is the string literal of the name for the tracksTicketsFor property in the ForgeFed vocabulary.
var ForgeFedTracksTicketsForPropertyName string = "tracksTicketsFor"
// ActivityStreamsUnitsPropertyName is the string literal of the name for the units property in the ActivityStreams vocabulary.
var ActivityStreamsUnitsPropertyName string = "units"

ファイルの表示

@ -1,9 +1,9 @@
// Code generated by astool. DO NOT EDIT.
// Package streams contains constructors and functions necessary for applications
// to serialize, deserialize, and use ActivityStreams types in Go. This
// package is code-generated and subject to the same license as the go-fed
// tool used to generate it.
// Package contains constructors and functions necessary for applications to
// serialize, deserialize, and use ActivityStreams types in Go. This package
// is code-generated and subject to the same license as the go-fed tool used
// to generate it.
//
// This package is useful to three classes of developers: end-user-application
// developers, specification writers creating an ActivityStream Extension, and

ファイルの表示

@ -129,31 +129,6 @@ import (
typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video"
typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view"
propertyassignedto "github.com/go-fed/activity/streams/impl/forgefed/property_assignedto"
propertycommitted "github.com/go-fed/activity/streams/impl/forgefed/property_committed"
propertycommittedby "github.com/go-fed/activity/streams/impl/forgefed/property_committedby"
propertydependants "github.com/go-fed/activity/streams/impl/forgefed/property_dependants"
propertydependedby "github.com/go-fed/activity/streams/impl/forgefed/property_dependedby"
propertydependencies "github.com/go-fed/activity/streams/impl/forgefed/property_dependencies"
propertydependson "github.com/go-fed/activity/streams/impl/forgefed/property_dependson"
propertydescription "github.com/go-fed/activity/streams/impl/forgefed/property_description"
propertyearlyitems "github.com/go-fed/activity/streams/impl/forgefed/property_earlyitems"
propertyfilesadded "github.com/go-fed/activity/streams/impl/forgefed/property_filesadded"
propertyfilesmodified "github.com/go-fed/activity/streams/impl/forgefed/property_filesmodified"
propertyfilesremoved "github.com/go-fed/activity/streams/impl/forgefed/property_filesremoved"
propertyforks "github.com/go-fed/activity/streams/impl/forgefed/property_forks"
propertyhash "github.com/go-fed/activity/streams/impl/forgefed/property_hash"
propertyisresolved "github.com/go-fed/activity/streams/impl/forgefed/property_isresolved"
propertyref "github.com/go-fed/activity/streams/impl/forgefed/property_ref"
propertyteam "github.com/go-fed/activity/streams/impl/forgefed/property_team"
propertyticketstrackedby "github.com/go-fed/activity/streams/impl/forgefed/property_ticketstrackedby"
propertytracksticketsfor "github.com/go-fed/activity/streams/impl/forgefed/property_tracksticketsfor"
typebranch "github.com/go-fed/activity/streams/impl/forgefed/type_branch"
typecommit "github.com/go-fed/activity/streams/impl/forgefed/type_commit"
typepush "github.com/go-fed/activity/streams/impl/forgefed/type_push"
typerepository "github.com/go-fed/activity/streams/impl/forgefed/type_repository"
typeticket "github.com/go-fed/activity/streams/impl/forgefed/type_ticket"
typeticketdependency "github.com/go-fed/activity/streams/impl/forgefed/type_ticketdependency"
propertyblurhash "github.com/go-fed/activity/streams/impl/toot/property_blurhash"
propertydiscoverable "github.com/go-fed/activity/streams/impl/toot/property_discoverable"
propertyfeatured "github.com/go-fed/activity/streams/impl/toot/property_featured"
@ -161,6 +136,7 @@ import (
propertysignaturevalue "github.com/go-fed/activity/streams/impl/toot/property_signaturevalue"
propertyvoterscount "github.com/go-fed/activity/streams/impl/toot/property_voterscount"
typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji"
typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag"
typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof"
propertyowner "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_owner"
propertypublickey "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_publickey"
@ -307,31 +283,6 @@ func init() {
typeupdate.SetManager(mgr)
typevideo.SetManager(mgr)
typeview.SetManager(mgr)
propertyassignedto.SetManager(mgr)
propertycommitted.SetManager(mgr)
propertycommittedby.SetManager(mgr)
propertydependants.SetManager(mgr)
propertydependedby.SetManager(mgr)
propertydependencies.SetManager(mgr)
propertydependson.SetManager(mgr)
propertydescription.SetManager(mgr)
propertyearlyitems.SetManager(mgr)
propertyfilesadded.SetManager(mgr)
propertyfilesmodified.SetManager(mgr)
propertyfilesremoved.SetManager(mgr)
propertyforks.SetManager(mgr)
propertyhash.SetManager(mgr)
propertyisresolved.SetManager(mgr)
propertyref.SetManager(mgr)
propertyteam.SetManager(mgr)
propertyticketstrackedby.SetManager(mgr)
propertytracksticketsfor.SetManager(mgr)
typebranch.SetManager(mgr)
typecommit.SetManager(mgr)
typepush.SetManager(mgr)
typerepository.SetManager(mgr)
typeticket.SetManager(mgr)
typeticketdependency.SetManager(mgr)
propertyblurhash.SetManager(mgr)
propertydiscoverable.SetManager(mgr)
propertyfeatured.SetManager(mgr)
@ -339,6 +290,7 @@ func init() {
propertysignaturevalue.SetManager(mgr)
propertyvoterscount.SetManager(mgr)
typeemoji.SetManager(mgr)
typehashtag.SetManager(mgr)
typeidentityproof.SetManager(mgr)
propertyowner.SetManager(mgr)
propertypublickey.SetManager(mgr)
@ -398,13 +350,8 @@ func init() {
typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeview.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typebranch.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typecommit.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typepush.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typerepository.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeticket.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeticketdependency.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty)
typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty)
}

ファイルの表示

@ -49,14 +49,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsBlock) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedBranch) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsCollection) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsCollectionPage) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedCommit) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsCreate) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsDelete) error:
@ -75,6 +71,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsGroup) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.TootHashtag) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.TootIdentityProof) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsIgnore) error:
@ -121,8 +119,6 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.W3IDSecurityV1PublicKey) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedPush) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsQuestion) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsRead) error:
@ -133,18 +129,12 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsRemove) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedRepository) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsService) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTentativeAccept) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTentativeReject) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedTicket) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedTicketDependency) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTombstone) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTravel) error:
@ -236,13 +226,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
if len(ActivityStreamsAlias) > 0 {
ActivityStreamsAlias += ":"
}
ForgeFedAlias, ok := aliasMap["https://forgefed.peers.community/ns"]
if !ok {
ForgeFedAlias = aliasMap["http://forgefed.peers.community/ns"]
}
if len(ForgeFedAlias) > 0 {
ForgeFedAlias += ":"
}
TootAlias, ok := aliasMap["https://joinmastodon.org/ns"]
if !ok {
TootAlias = aliasMap["http://joinmastodon.org/ns"]
@ -357,17 +340,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
} else if typeString == ForgeFedAlias+"Branch" {
v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.ForgeFedBranch) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Collection" {
v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap)
if err != nil {
@ -390,17 +362,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
} else if typeString == ForgeFedAlias+"Commit" {
v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.ForgeFedCommit) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Create" {
v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap)
if err != nil {
@ -500,6 +461,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
} else if typeString == TootAlias+"Hashtag" {
v, err := mgr.DeserializeHashtagToot()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.TootHashtag) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == TootAlias+"IdentityProof" {
v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap)
if err != nil {
@ -753,17 +725,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
} else if typeString == ForgeFedAlias+"Push" {
v, err := mgr.DeserializePushForgeFed()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.ForgeFedPush) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Question" {
v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap)
if err != nil {
@ -819,17 +780,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
} else if typeString == ForgeFedAlias+"Repository" {
v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.ForgeFedRepository) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Service" {
v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap)
if err != nil {
@ -863,28 +813,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{})
}
}
return ErrNoCallbackMatch
} else if typeString == ForgeFedAlias+"Ticket" {
v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.ForgeFedTicket) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == ForgeFedAlias+"TicketDependency" {
v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap)
if err != nil {
return err
}
for _, i := range this.callbacks {
if fn, ok := i.(func(context.Context, vocab.ForgeFedTicketDependency) error); ok {
return fn(ctx, v)
}
}
return ErrNoCallbackMatch
} else if typeString == ActivityStreamsAlias+"Tombstone" {
v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap)
if err != nil {

ファイルの表示

@ -129,31 +129,6 @@ import (
typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update"
typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video"
typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view"
propertyassignedto "github.com/go-fed/activity/streams/impl/forgefed/property_assignedto"
propertycommitted "github.com/go-fed/activity/streams/impl/forgefed/property_committed"
propertycommittedby "github.com/go-fed/activity/streams/impl/forgefed/property_committedby"
propertydependants "github.com/go-fed/activity/streams/impl/forgefed/property_dependants"
propertydependedby "github.com/go-fed/activity/streams/impl/forgefed/property_dependedby"
propertydependencies "github.com/go-fed/activity/streams/impl/forgefed/property_dependencies"
propertydependson "github.com/go-fed/activity/streams/impl/forgefed/property_dependson"
propertydescription "github.com/go-fed/activity/streams/impl/forgefed/property_description"
propertyearlyitems "github.com/go-fed/activity/streams/impl/forgefed/property_earlyitems"
propertyfilesadded "github.com/go-fed/activity/streams/impl/forgefed/property_filesadded"
propertyfilesmodified "github.com/go-fed/activity/streams/impl/forgefed/property_filesmodified"
propertyfilesremoved "github.com/go-fed/activity/streams/impl/forgefed/property_filesremoved"
propertyforks "github.com/go-fed/activity/streams/impl/forgefed/property_forks"
propertyhash "github.com/go-fed/activity/streams/impl/forgefed/property_hash"
propertyisresolved "github.com/go-fed/activity/streams/impl/forgefed/property_isresolved"
propertyref "github.com/go-fed/activity/streams/impl/forgefed/property_ref"
propertyteam "github.com/go-fed/activity/streams/impl/forgefed/property_team"
propertyticketstrackedby "github.com/go-fed/activity/streams/impl/forgefed/property_ticketstrackedby"
propertytracksticketsfor "github.com/go-fed/activity/streams/impl/forgefed/property_tracksticketsfor"
typebranch "github.com/go-fed/activity/streams/impl/forgefed/type_branch"
typecommit "github.com/go-fed/activity/streams/impl/forgefed/type_commit"
typepush "github.com/go-fed/activity/streams/impl/forgefed/type_push"
typerepository "github.com/go-fed/activity/streams/impl/forgefed/type_repository"
typeticket "github.com/go-fed/activity/streams/impl/forgefed/type_ticket"
typeticketdependency "github.com/go-fed/activity/streams/impl/forgefed/type_ticketdependency"
propertyid "github.com/go-fed/activity/streams/impl/jsonld/property_id"
propertytype "github.com/go-fed/activity/streams/impl/jsonld/property_type"
propertyblurhash "github.com/go-fed/activity/streams/impl/toot/property_blurhash"
@ -163,6 +138,7 @@ import (
propertysignaturevalue "github.com/go-fed/activity/streams/impl/toot/property_signaturevalue"
propertyvoterscount "github.com/go-fed/activity/streams/impl/toot/property_voterscount"
typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji"
typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag"
typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof"
propertyowner "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_owner"
propertypublickey "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_publickey"
@ -320,19 +296,6 @@ func (this Manager) DeserializeArticleActivityStreams() func(map[string]interfac
}
}
// DeserializeAssignedToPropertyForgeFed returns the deserialization method for
// the "ForgeFedAssignedToProperty" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeAssignedToPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedAssignedToProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedAssignedToProperty, error) {
i, err := propertyassignedto.DeserializeAssignedToProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeAttachmentPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsAttachmentProperty" non-functional property in the
// vocabulary "ActivityStreams"
@ -423,18 +386,6 @@ func (this Manager) DeserializeBlurhashPropertyToot() func(map[string]interface{
}
}
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary "ForgeFed"
func (this Manager) DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedBranch, error) {
i, err := typebranch.DeserializeBranch(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeBtoPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsBtoProperty" non-functional property in the vocabulary
// "ActivityStreams"
@ -500,44 +451,6 @@ func (this Manager) DeserializeCollectionPageActivityStreams() func(map[string]i
}
}
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary "ForgeFed"
func (this Manager) DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedCommit, error) {
i, err := typecommit.DeserializeCommit(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeCommittedByPropertyForgeFed returns the deserialization method for
// the "ForgeFedCommittedByProperty" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeCommittedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommittedByProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedCommittedByProperty, error) {
i, err := propertycommittedby.DeserializeCommittedByProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeCommittedPropertyForgeFed returns the deserialization method for the
// "ForgeFedCommittedProperty" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeCommittedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommittedProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedCommittedProperty, error) {
i, err := propertycommitted.DeserializeCommittedProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeContentPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsContentProperty" non-functional property in the
// vocabulary "ActivityStreams"
@ -616,58 +529,6 @@ func (this Manager) DeserializeDeletedPropertyActivityStreams() func(map[string]
}
}
// DeserializeDependantsPropertyForgeFed returns the deserialization method for
// the "ForgeFedDependantsProperty" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeDependantsPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependantsProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependantsProperty, error) {
i, err := propertydependants.DeserializeDependantsProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeDependedByPropertyForgeFed returns the deserialization method for
// the "ForgeFedDependedByProperty" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeDependedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependedByProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependedByProperty, error) {
i, err := propertydependedby.DeserializeDependedByProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeDependenciesPropertyForgeFed returns the deserialization method for
// the "ForgeFedDependenciesProperty" non-functional property in the
// vocabulary "ForgeFed"
func (this Manager) DeserializeDependenciesPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependenciesProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependenciesProperty, error) {
i, err := propertydependencies.DeserializeDependenciesProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeDependsOnPropertyForgeFed returns the deserialization method for the
// "ForgeFedDependsOnProperty" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeDependsOnPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependsOnProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependsOnProperty, error) {
i, err := propertydependson.DeserializeDependsOnProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeDescribesPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsDescribesProperty" non-functional property in the
// vocabulary "ActivityStreams"
@ -681,19 +542,6 @@ func (this Manager) DeserializeDescribesPropertyActivityStreams() func(map[strin
}
}
// DeserializeDescriptionPropertyForgeFed returns the deserialization method for
// the "ForgeFedDescriptionProperty" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeDescriptionPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDescriptionProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDescriptionProperty, error) {
i, err := propertydescription.DeserializeDescriptionProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeDiscoverablePropertyToot returns the deserialization method for the
// "TootDiscoverableProperty" non-functional property in the vocabulary "Toot"
func (this Manager) DeserializeDiscoverablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootDiscoverableProperty, error) {
@ -745,19 +593,6 @@ func (this Manager) DeserializeDurationPropertyActivityStreams() func(map[string
}
}
// DeserializeEarlyItemsPropertyForgeFed returns the deserialization method for
// the "ForgeFedEarlyItemsProperty" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeEarlyItemsPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedEarlyItemsProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedEarlyItemsProperty, error) {
i, err := propertyearlyitems.DeserializeEarlyItemsProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeEmojiToot returns the deserialization method for the "TootEmoji"
// non-functional property in the vocabulary "Toot"
func (this Manager) DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error) {
@ -808,45 +643,6 @@ func (this Manager) DeserializeFeaturedPropertyToot() func(map[string]interface{
}
}
// DeserializeFilesAddedPropertyForgeFed returns the deserialization method for
// the "ForgeFedFilesAddedProperty" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeFilesAddedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesAddedProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesAddedProperty, error) {
i, err := propertyfilesadded.DeserializeFilesAddedProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeFilesModifiedPropertyForgeFed returns the deserialization method for
// the "ForgeFedFilesModifiedProperty" non-functional property in the
// vocabulary "ForgeFed"
func (this Manager) DeserializeFilesModifiedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesModifiedProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesModifiedProperty, error) {
i, err := propertyfilesmodified.DeserializeFilesModifiedProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeFilesRemovedPropertyForgeFed returns the deserialization method for
// the "ForgeFedFilesRemovedProperty" non-functional property in the
// vocabulary "ForgeFed"
func (this Manager) DeserializeFilesRemovedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesRemovedProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesRemovedProperty, error) {
i, err := propertyfilesremoved.DeserializeFilesRemovedProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeFirstPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsFirstProperty" non-functional property in the
// vocabulary "ActivityStreams"
@ -912,18 +708,6 @@ func (this Manager) DeserializeFollowingPropertyActivityStreams() func(map[strin
}
}
// DeserializeForksPropertyForgeFed returns the deserialization method for the
// "ForgeFedForksProperty" non-functional property in the vocabulary "ForgeFed"
func (this Manager) DeserializeForksPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedForksProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedForksProperty, error) {
i, err := propertyforks.DeserializeForksProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeFormerTypePropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsFormerTypeProperty" non-functional property in the
// vocabulary "ActivityStreams"
@ -963,11 +747,11 @@ func (this Manager) DeserializeGroupActivityStreams() func(map[string]interface{
}
}
// DeserializeHashPropertyForgeFed returns the deserialization method for the
// "ForgeFedHashProperty" non-functional property in the vocabulary "ForgeFed"
func (this Manager) DeserializeHashPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedHashProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedHashProperty, error) {
i, err := propertyhash.DeserializeHashProperty(m, aliasMap)
// DeserializeHashtagToot returns the deserialization method for the "TootHashtag"
// non-functional property in the vocabulary "Toot"
func (this Manager) DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.TootHashtag, error) {
i, err := typehashtag.DeserializeHashtag(m, aliasMap)
if i == nil {
return nil, err
}
@ -1155,19 +939,6 @@ func (this Manager) DeserializeInviteActivityStreams() func(map[string]interface
}
}
// DeserializeIsResolvedPropertyForgeFed returns the deserialization method for
// the "ForgeFedIsResolvedProperty" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeIsResolvedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedIsResolvedProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedIsResolvedProperty, error) {
i, err := propertyisresolved.DeserializeIsResolvedProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeItemsPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsItemsProperty" non-functional property in the
// vocabulary "ActivityStreams"
@ -1715,18 +1486,6 @@ func (this Manager) DeserializePublishedPropertyActivityStreams() func(map[strin
}
}
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
func (this Manager) DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedPush, error) {
i, err := typepush.DeserializePush(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeQuestionActivityStreams returns the deserialization method for the
// "ActivityStreamsQuestion" non-functional property in the vocabulary
// "ActivityStreams"
@ -1766,18 +1525,6 @@ func (this Manager) DeserializeReadActivityStreams() func(map[string]interface{}
}
}
// DeserializeRefPropertyForgeFed returns the deserialization method for the
// "ForgeFedRefProperty" non-functional property in the vocabulary "ForgeFed"
func (this Manager) DeserializeRefPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRefProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedRefProperty, error) {
i, err := propertyref.DeserializeRefProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeRejectActivityStreams returns the deserialization method for the
// "ActivityStreamsReject" non-functional property in the vocabulary
// "ActivityStreams"
@ -1856,18 +1603,6 @@ func (this Manager) DeserializeRepliesPropertyActivityStreams() func(map[string]
}
}
// DeserializeRepositoryForgeFed returns the deserialization method for the
// "ForgeFedRepository" non-functional property in the vocabulary "ForgeFed"
func (this Manager) DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedRepository, error) {
i, err := typerepository.DeserializeRepository(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeResultPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsResultProperty" non-functional property in the
// vocabulary "ActivityStreams"
@ -2037,18 +1772,6 @@ func (this Manager) DeserializeTargetPropertyActivityStreams() func(map[string]i
}
}
// DeserializeTeamPropertyForgeFed returns the deserialization method for the
// "ForgeFedTeamProperty" non-functional property in the vocabulary "ForgeFed"
func (this Manager) DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTeamProperty, error) {
i, err := propertyteam.DeserializeTeamProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeTentativeAcceptActivityStreams returns the deserialization method
// for the "ActivityStreamsTentativeAccept" non-functional property in the
// vocabulary "ActivityStreams"
@ -2075,44 +1798,6 @@ func (this Manager) DeserializeTentativeRejectActivityStreams() func(map[string]
}
}
// DeserializeTicketDependencyForgeFed returns the deserialization method for the
// "ForgeFedTicketDependency" non-functional property in the vocabulary
// "ForgeFed"
func (this Manager) DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTicketDependency, error) {
i, err := typeticketdependency.DeserializeTicketDependency(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary "ForgeFed"
func (this Manager) DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTicket, error) {
i, err := typeticket.DeserializeTicket(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization method
// for the "ForgeFedTicketsTrackedByProperty" non-functional property in the
// vocabulary "ForgeFed"
func (this Manager) DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error) {
i, err := propertyticketstrackedby.DeserializeTicketsTrackedByProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeToPropertyActivityStreams returns the deserialization method for the
// "ActivityStreamsToProperty" non-functional property in the vocabulary
// "ActivityStreams"
@ -2152,19 +1837,6 @@ func (this Manager) DeserializeTotalItemsPropertyActivityStreams() func(map[stri
}
}
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization method
// for the "ForgeFedTracksTicketsForProperty" non-functional property in the
// vocabulary "ForgeFed"
func (this Manager) DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) {
return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) {
i, err := propertytracksticketsfor.DeserializeTracksTicketsForProperty(m, aliasMap)
if i == nil {
return nil, err
}
return i, err
}
}
// DeserializeTravelActivityStreams returns the deserialization method for the
// "ActivityStreamsTravel" non-functional property in the vocabulary
// "ActivityStreams"

ファイルの表示

@ -4,6 +4,7 @@ package streams
import (
typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji"
typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag"
typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof"
vocab "github.com/go-fed/activity/streams/vocab"
)
@ -13,6 +14,12 @@ func TootEmojiIsDisjointWith(other vocab.Type) bool {
return typeemoji.EmojiIsDisjointWith(other)
}
// TootHashtagIsDisjointWith returns true if Hashtag is disjoint with the other's
// type.
func TootHashtagIsDisjointWith(other vocab.Type) bool {
return typehashtag.HashtagIsDisjointWith(other)
}
// TootIdentityProofIsDisjointWith returns true if IdentityProof is disjoint with
// the other's type.
func TootIdentityProofIsDisjointWith(other vocab.Type) bool {

ファイルの表示

@ -4,6 +4,7 @@ package streams
import (
typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji"
typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag"
typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof"
vocab "github.com/go-fed/activity/streams/vocab"
)
@ -15,6 +16,13 @@ func TootEmojiIsExtendedBy(other vocab.Type) bool {
return typeemoji.EmojiIsExtendedBy(other)
}
// TootHashtagIsExtendedBy returns true if the other's type extends from Hashtag.
// Note that it returns false if the types are the same; see the "IsOrExtends"
// variant instead.
func TootHashtagIsExtendedBy(other vocab.Type) bool {
return typehashtag.HashtagIsExtendedBy(other)
}
// TootIdentityProofIsExtendedBy returns true if the other's type extends from
// IdentityProof. Note that it returns false if the types are the same; see
// the "IsOrExtends" variant instead.

ファイルの表示

@ -4,6 +4,7 @@ package streams
import (
typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji"
typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag"
typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof"
vocab "github.com/go-fed/activity/streams/vocab"
)
@ -13,6 +14,11 @@ func TootTootEmojiExtends(other vocab.Type) bool {
return typeemoji.TootEmojiExtends(other)
}
// TootTootHashtagExtends returns true if Hashtag extends from the other's type.
func TootTootHashtagExtends(other vocab.Type) bool {
return typehashtag.TootHashtagExtends(other)
}
// TootTootIdentityProofExtends returns true if IdentityProof extends from the
// other's type.
func TootTootIdentityProofExtends(other vocab.Type) bool {

ファイルの表示

@ -4,6 +4,7 @@ package streams
import (
typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji"
typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag"
typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof"
vocab "github.com/go-fed/activity/streams/vocab"
)
@ -14,6 +15,12 @@ func IsOrExtendsTootEmoji(other vocab.Type) bool {
return typeemoji.IsOrExtendsEmoji(other)
}
// IsOrExtendsTootHashtag returns true if the other provided type is the Hashtag
// type or extends from the Hashtag type.
func IsOrExtendsTootHashtag(other vocab.Type) bool {
return typehashtag.IsOrExtendsHashtag(other)
}
// IsOrExtendsTootIdentityProof returns true if the other provided type is the
// IdentityProof type or extends from the IdentityProof type.
func IsOrExtendsTootIdentityProof(other vocab.Type) bool {

ファイルの表示

@ -4,6 +4,7 @@ package streams
import (
typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji"
typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag"
typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof"
vocab "github.com/go-fed/activity/streams/vocab"
)
@ -13,6 +14,11 @@ func NewTootEmoji() vocab.TootEmoji {
return typeemoji.NewTootEmoji()
}
// NewTootHashtag creates a new TootHashtag
func NewTootHashtag() vocab.TootHashtag {
return typehashtag.NewTootHashtag()
}
// NewTootIdentityProof creates a new TootIdentityProof
func NewTootIdentityProof() vocab.TootIdentityProof {
return typeidentityproof.NewTootIdentityProof()

ファイルの表示

@ -73,18 +73,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsBlock) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ForgeFedBranch) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ActivityStreamsCollection) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ActivityStreamsCollectionPage) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ForgeFedCommit) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ActivityStreamsCreate) error {
t = i
return nil
@ -112,6 +106,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsGroup) error {
t = i
return nil
}, func(ctx context.Context, i vocab.TootHashtag) error {
t = i
return nil
}, func(ctx context.Context, i vocab.TootIdentityProof) error {
t = i
return nil
@ -181,9 +178,6 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.W3IDSecurityV1PublicKey) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ForgeFedPush) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ActivityStreamsQuestion) error {
t = i
return nil
@ -199,9 +193,6 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsRemove) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ForgeFedRepository) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ActivityStreamsService) error {
t = i
return nil
@ -211,12 +202,6 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsTentativeReject) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ForgeFedTicket) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ForgeFedTicketDependency) error {
t = i
return nil
}, func(ctx context.Context, i vocab.ActivityStreamsTombstone) error {
t = i
return nil

ファイルの表示

@ -47,14 +47,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsBlock) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ForgeFedBranch) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsCollection) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsCollectionPage) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ForgeFedCommit) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsCreate) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsDelete) (bool, error):
@ -73,6 +69,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsGroup) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.TootHashtag) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.TootIdentityProof) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsIgnore) (bool, error):
@ -119,8 +117,6 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.W3IDSecurityV1PublicKey) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ForgeFedPush) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsQuestion) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsRead) (bool, error):
@ -131,18 +127,12 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsRemove) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ForgeFedRepository) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsService) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsTentativeAccept) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsTentativeReject) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ForgeFedTicket) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ForgeFedTicketDependency) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsTombstone) (bool, error):
// Do nothing, this predicate has a correct signature.
case func(context.Context, vocab.ActivityStreamsTravel) (bool, error):
@ -273,17 +263,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Branch" {
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedBranch) (bool, error)); ok {
if v, ok := o.(vocab.ForgeFedBranch); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Collection" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsCollection) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsCollection); ok {
@ -306,17 +285,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Commit" {
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedCommit) (bool, error)); ok {
if v, ok := o.(vocab.ForgeFedCommit); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Create" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsCreate) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsCreate); ok {
@ -416,6 +384,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "http://joinmastodon.org/ns" && o.GetTypeName() == "Hashtag" {
if fn, ok := this.predicate.(func(context.Context, vocab.TootHashtag) (bool, error)); ok {
if v, ok := o.(vocab.TootHashtag); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "http://joinmastodon.org/ns" && o.GetTypeName() == "IdentityProof" {
if fn, ok := this.predicate.(func(context.Context, vocab.TootIdentityProof) (bool, error)); ok {
if v, ok := o.(vocab.TootIdentityProof); ok {
@ -669,17 +648,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Push" {
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedPush) (bool, error)); ok {
if v, ok := o.(vocab.ForgeFedPush); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Question" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsQuestion) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsQuestion); ok {
@ -735,17 +703,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Repository" {
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedRepository) (bool, error)); ok {
if v, ok := o.(vocab.ForgeFedRepository); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Service" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsService) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsService); ok {
@ -779,28 +736,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Ticket" {
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedTicket) (bool, error)); ok {
if v, ok := o.(vocab.ForgeFedTicket); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "TicketDependency" {
if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedTicketDependency) (bool, error)); ok {
if v, ok := o.(vocab.ForgeFedTicketDependency); ok {
predicatePasses, err = fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return false, errCannotTypeAssertType
}
} else {
return false, ErrPredicateUnmatched
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Tombstone" {
if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsTombstone) (bool, error)); ok {
if v, ok := o.(vocab.ActivityStreamsTombstone); ok {

ファイルの表示

@ -46,14 +46,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsBlock) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedBranch) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsCollection) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsCollectionPage) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedCommit) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsCreate) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsDelete) error:
@ -72,6 +68,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsGroup) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.TootHashtag) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.TootIdentityProof) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsIgnore) error:
@ -118,8 +116,6 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.W3IDSecurityV1PublicKey) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedPush) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsQuestion) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsRead) error:
@ -130,18 +126,12 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) {
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsRemove) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedRepository) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsService) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTentativeAccept) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTentativeReject) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedTicket) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ForgeFedTicketDependency) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTombstone) error:
// Do nothing, this callback has a correct signature.
case func(context.Context, vocab.ActivityStreamsTravel) error:
@ -250,15 +240,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Branch" {
if fn, ok := i.(func(context.Context, vocab.ForgeFedBranch) error); ok {
if v, ok := o.(vocab.ForgeFedBranch); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Collection" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsCollection) error); ok {
if v, ok := o.(vocab.ActivityStreamsCollection); ok {
@ -277,15 +258,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Commit" {
if fn, ok := i.(func(context.Context, vocab.ForgeFedCommit) error); ok {
if v, ok := o.(vocab.ForgeFedCommit); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Create" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsCreate) error); ok {
if v, ok := o.(vocab.ActivityStreamsCreate); ok {
@ -367,6 +339,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "http://joinmastodon.org/ns" && o.GetTypeName() == "Hashtag" {
if fn, ok := i.(func(context.Context, vocab.TootHashtag) error); ok {
if v, ok := o.(vocab.TootHashtag); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "http://joinmastodon.org/ns" && o.GetTypeName() == "IdentityProof" {
if fn, ok := i.(func(context.Context, vocab.TootIdentityProof) error); ok {
if v, ok := o.(vocab.TootIdentityProof); ok {
@ -574,15 +555,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Push" {
if fn, ok := i.(func(context.Context, vocab.ForgeFedPush) error); ok {
if v, ok := o.(vocab.ForgeFedPush); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Question" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsQuestion) error); ok {
if v, ok := o.(vocab.ActivityStreamsQuestion); ok {
@ -628,15 +600,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Repository" {
if fn, ok := i.(func(context.Context, vocab.ForgeFedRepository) error); ok {
if v, ok := o.(vocab.ForgeFedRepository); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Service" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsService) error); ok {
if v, ok := o.(vocab.ActivityStreamsService); ok {
@ -664,24 +627,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Ticket" {
if fn, ok := i.(func(context.Context, vocab.ForgeFedTicket) error); ok {
if v, ok := o.(vocab.ForgeFedTicket); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "TicketDependency" {
if fn, ok := i.(func(context.Context, vocab.ForgeFedTicketDependency) error); ok {
if v, ok := o.(vocab.ForgeFedTicketDependency); ok {
return fn(ctx, v)
} else {
// This occurs when the value is either not a go-fed type and is improperly satisfying various interfaces, or there is a bug in the go-fed generated code.
return errCannotTypeAssertType
}
}
} else if o.VocabularyURI() == "https://www.w3.org/ns/activitystreams" && o.GetTypeName() == "Tombstone" {
if fn, ok := i.(func(context.Context, vocab.ActivityStreamsTombstone) error); ok {
if v, ok := o.(vocab.ActivityStreamsTombstone); ok {

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -177,9 +172,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -200,10 +192,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -216,14 +204,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -24,10 +24,8 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsArticleMember vocab.ActivityStreamsArticle
activitystreamsAudioMember vocab.ActivityStreamsAudio
activitystreamsBlockMember vocab.ActivityStreamsBlock
forgefedBranchMember vocab.ForgeFedBranch
activitystreamsCollectionMember vocab.ActivityStreamsCollection
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
forgefedCommitMember vocab.ForgeFedCommit
activitystreamsCreateMember vocab.ActivityStreamsCreate
activitystreamsDeleteMember vocab.ActivityStreamsDelete
activitystreamsDislikeMember vocab.ActivityStreamsDislike
@ -37,6 +35,7 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
activitystreamsGroupMember vocab.ActivityStreamsGroup
tootHashtagMember vocab.TootHashtag
tootIdentityProofMember vocab.TootIdentityProof
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
activitystreamsImageMember vocab.ActivityStreamsImage
@ -56,18 +55,14 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsPersonMember vocab.ActivityStreamsPerson
activitystreamsPlaceMember vocab.ActivityStreamsPlace
activitystreamsProfileMember vocab.ActivityStreamsProfile
forgefedPushMember vocab.ForgeFedPush
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
activitystreamsReadMember vocab.ActivityStreamsRead
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
forgefedRepositoryMember vocab.ForgeFedRepository
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
forgefedTicketMember vocab.ForgeFedTicket
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
activitystreamsTravelMember vocab.ActivityStreamsTravel
activitystreamsUndoMember vocab.ActivityStreamsUndo
@ -167,12 +162,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedBranchMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsCollectionMember: v,
@ -185,12 +174,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedCommitMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsCreateMember: v,
@ -245,6 +228,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
@ -359,12 +348,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedPushMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsQuestionMember: v,
@ -395,12 +378,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedRepositoryMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsServiceMember: v,
@ -419,18 +396,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedTicketMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedTicketDependencyMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsTombstoneMember: v,
@ -496,10 +461,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsArticleMember = nil
this.activitystreamsAudioMember = nil
this.activitystreamsBlockMember = nil
this.forgefedBranchMember = nil
this.activitystreamsCollectionMember = nil
this.activitystreamsCollectionPageMember = nil
this.forgefedCommitMember = nil
this.activitystreamsCreateMember = nil
this.activitystreamsDeleteMember = nil
this.activitystreamsDislikeMember = nil
@ -509,6 +472,7 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
this.activitystreamsGroupMember = nil
this.tootHashtagMember = nil
this.tootIdentityProofMember = nil
this.activitystreamsIgnoreMember = nil
this.activitystreamsImageMember = nil
@ -528,18 +492,14 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsPersonMember = nil
this.activitystreamsPlaceMember = nil
this.activitystreamsProfileMember = nil
this.forgefedPushMember = nil
this.activitystreamsQuestionMember = nil
this.activitystreamsReadMember = nil
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.forgefedRepositoryMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
this.forgefedTicketMember = nil
this.forgefedTicketDependencyMember = nil
this.activitystreamsTombstoneMember = nil
this.activitystreamsTravelMember = nil
this.activitystreamsUndoMember = nil
@ -914,44 +874,6 @@ func (this ActivityStreamsDescribesProperty) GetActivityStreamsView() vocab.Acti
return this.activitystreamsViewMember
}
// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch
// returns false, GetForgeFedBranch will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedBranch() vocab.ForgeFedBranch {
return this.forgefedBranchMember
}
// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit
// returns false, GetForgeFedCommit will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedCommit() vocab.ForgeFedCommit {
return this.forgefedCommitMember
}
// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns
// false, GetForgeFedPush will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedPush() vocab.ForgeFedPush {
return this.forgefedPushMember
}
// GetForgeFedRepository returns the value of this property. When
// IsForgeFedRepository returns false, GetForgeFedRepository will return an
// arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedRepository() vocab.ForgeFedRepository {
return this.forgefedRepositoryMember
}
// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket
// returns false, GetForgeFedTicket will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedTicket() vocab.ForgeFedTicket {
return this.forgefedTicketMember
}
// GetForgeFedTicketDependency returns the value of this property. When
// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will
// return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
return this.forgefedTicketDependencyMember
}
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL {
@ -964,6 +886,12 @@ func (this ActivityStreamsDescribesProperty) GetTootEmoji() vocab.TootEmoji {
return this.tootEmojiMember
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetTootIdentityProof returns the value of this property. When
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
// arbitrary value.
@ -1004,18 +932,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock()
}
if this.IsForgeFedBranch() {
return this.GetForgeFedBranch()
}
if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection()
}
if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage()
}
if this.IsForgeFedCommit() {
return this.GetForgeFedCommit()
}
if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate()
}
@ -1043,6 +965,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsTootIdentityProof() {
return this.GetTootIdentityProof()
}
@ -1100,9 +1025,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsProfile() {
return this.GetActivityStreamsProfile()
}
if this.IsForgeFedPush() {
return this.GetForgeFedPush()
}
if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion()
}
@ -1118,9 +1040,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
if this.IsForgeFedRepository() {
return this.GetForgeFedRepository()
}
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@ -1130,12 +1049,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject()
}
if this.IsForgeFedTicket() {
return this.GetForgeFedTicket()
}
if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency()
}
if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone()
}
@ -1170,10 +1083,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsArticle() ||
this.IsActivityStreamsAudio() ||
this.IsActivityStreamsBlock() ||
this.IsForgeFedBranch() ||
this.IsActivityStreamsCollection() ||
this.IsActivityStreamsCollectionPage() ||
this.IsForgeFedCommit() ||
this.IsActivityStreamsCreate() ||
this.IsActivityStreamsDelete() ||
this.IsActivityStreamsDislike() ||
@ -1183,6 +1094,7 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
this.IsActivityStreamsGroup() ||
this.IsTootHashtag() ||
this.IsTootIdentityProof() ||
this.IsActivityStreamsIgnore() ||
this.IsActivityStreamsImage() ||
@ -1202,18 +1114,14 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsPerson() ||
this.IsActivityStreamsPlace() ||
this.IsActivityStreamsProfile() ||
this.IsForgeFedPush() ||
this.IsActivityStreamsQuestion() ||
this.IsActivityStreamsRead() ||
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsForgeFedRepository() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
this.IsForgeFedTicket() ||
this.IsForgeFedTicketDependency() ||
this.IsActivityStreamsTombstone() ||
this.IsActivityStreamsTravel() ||
this.IsActivityStreamsUndo() ||
@ -1592,48 +1500,6 @@ func (this ActivityStreamsDescribesProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
// IsForgeFedBranch returns true if this property has a type of "Branch". When
// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and
// set this property.
func (this ActivityStreamsDescribesProperty) IsForgeFedBranch() bool {
return this.forgefedBranchMember != nil
}
// IsForgeFedCommit returns true if this property has a type of "Commit". When
// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and
// set this property.
func (this ActivityStreamsDescribesProperty) IsForgeFedCommit() bool {
return this.forgefedCommitMember != nil
}
// IsForgeFedPush returns true if this property has a type of "Push". When true,
// use the GetForgeFedPush and SetForgeFedPush methods to access and set this
// property.
func (this ActivityStreamsDescribesProperty) IsForgeFedPush() bool {
return this.forgefedPushMember != nil
}
// IsForgeFedRepository returns true if this property has a type of "Repository".
// When true, use the GetForgeFedRepository and SetForgeFedRepository methods
// to access and set this property.
func (this ActivityStreamsDescribesProperty) IsForgeFedRepository() bool {
return this.forgefedRepositoryMember != nil
}
// IsForgeFedTicket returns true if this property has a type of "Ticket". When
// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and
// set this property.
func (this ActivityStreamsDescribesProperty) IsForgeFedTicket() bool {
return this.forgefedTicketMember != nil
}
// IsForgeFedTicketDependency returns true if this property has a type of
// "TicketDependency". When true, use the GetForgeFedTicketDependency and
// SetForgeFedTicketDependency methods to access and set this property.
func (this ActivityStreamsDescribesProperty) IsForgeFedTicketDependency() bool {
return this.forgefedTicketDependencyMember != nil
}
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsDescribesProperty) IsIRI() bool {
@ -1646,6 +1512,13 @@ func (this ActivityStreamsDescribesProperty) IsTootEmoji() bool {
return this.tootEmojiMember != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsDescribesProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// IsTootIdentityProof returns true if this property has a type of
// "IdentityProof". When true, use the GetTootIdentityProof and
// SetTootIdentityProof methods to access and set this property.
@ -1679,14 +1552,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAudio().JSONLDContext()
} else if this.IsActivityStreamsBlock() {
child = this.GetActivityStreamsBlock().JSONLDContext()
} else if this.IsForgeFedBranch() {
child = this.GetForgeFedBranch().JSONLDContext()
} else if this.IsActivityStreamsCollection() {
child = this.GetActivityStreamsCollection().JSONLDContext()
} else if this.IsActivityStreamsCollectionPage() {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsForgeFedCommit() {
child = this.GetForgeFedCommit().JSONLDContext()
} else if this.IsActivityStreamsCreate() {
child = this.GetActivityStreamsCreate().JSONLDContext()
} else if this.IsActivityStreamsDelete() {
@ -1705,6 +1574,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsFollow().JSONLDContext()
} else if this.IsActivityStreamsGroup() {
child = this.GetActivityStreamsGroup().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsTootIdentityProof() {
child = this.GetTootIdentityProof().JSONLDContext()
} else if this.IsActivityStreamsIgnore() {
@ -1743,8 +1614,6 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsPlace().JSONLDContext()
} else if this.IsActivityStreamsProfile() {
child = this.GetActivityStreamsProfile().JSONLDContext()
} else if this.IsForgeFedPush() {
child = this.GetForgeFedPush().JSONLDContext()
} else if this.IsActivityStreamsQuestion() {
child = this.GetActivityStreamsQuestion().JSONLDContext()
} else if this.IsActivityStreamsRead() {
@ -1755,18 +1624,12 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsForgeFedRepository() {
child = this.GetForgeFedRepository().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
} else if this.IsActivityStreamsTentativeReject() {
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
} else if this.IsForgeFedTicket() {
child = this.GetForgeFedTicket().JSONLDContext()
} else if this.IsForgeFedTicketDependency() {
child = this.GetForgeFedTicketDependency().JSONLDContext()
} else if this.IsActivityStreamsTombstone() {
child = this.GetActivityStreamsTombstone().JSONLDContext()
} else if this.IsActivityStreamsTravel() {
@ -1825,155 +1688,140 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
if this.IsActivityStreamsBlock() {
return 9
}
if this.IsForgeFedBranch() {
if this.IsActivityStreamsCollection() {
return 10
}
if this.IsActivityStreamsCollection() {
if this.IsActivityStreamsCollectionPage() {
return 11
}
if this.IsActivityStreamsCollectionPage() {
if this.IsActivityStreamsCreate() {
return 12
}
if this.IsForgeFedCommit() {
if this.IsActivityStreamsDelete() {
return 13
}
if this.IsActivityStreamsCreate() {
if this.IsActivityStreamsDislike() {
return 14
}
if this.IsActivityStreamsDelete() {
if this.IsActivityStreamsDocument() {
return 15
}
if this.IsActivityStreamsDislike() {
if this.IsTootEmoji() {
return 16
}
if this.IsActivityStreamsDocument() {
if this.IsActivityStreamsEvent() {
return 17
}
if this.IsTootEmoji() {
if this.IsActivityStreamsFlag() {
return 18
}
if this.IsActivityStreamsEvent() {
if this.IsActivityStreamsFollow() {
return 19
}
if this.IsActivityStreamsFlag() {
if this.IsActivityStreamsGroup() {
return 20
}
if this.IsActivityStreamsFollow() {
if this.IsTootHashtag() {
return 21
}
if this.IsActivityStreamsGroup() {
if this.IsTootIdentityProof() {
return 22
}
if this.IsTootIdentityProof() {
if this.IsActivityStreamsIgnore() {
return 23
}
if this.IsActivityStreamsIgnore() {
if this.IsActivityStreamsImage() {
return 24
}
if this.IsActivityStreamsImage() {
if this.IsActivityStreamsIntransitiveActivity() {
return 25
}
if this.IsActivityStreamsIntransitiveActivity() {
if this.IsActivityStreamsInvite() {
return 26
}
if this.IsActivityStreamsInvite() {
if this.IsActivityStreamsJoin() {
return 27
}
if this.IsActivityStreamsJoin() {
if this.IsActivityStreamsLeave() {
return 28
}
if this.IsActivityStreamsLeave() {
if this.IsActivityStreamsLike() {
return 29
}
if this.IsActivityStreamsLike() {
if this.IsActivityStreamsListen() {
return 30
}
if this.IsActivityStreamsListen() {
if this.IsActivityStreamsMove() {
return 31
}
if this.IsActivityStreamsMove() {
if this.IsActivityStreamsNote() {
return 32
}
if this.IsActivityStreamsNote() {
if this.IsActivityStreamsOffer() {
return 33
}
if this.IsActivityStreamsOffer() {
if this.IsActivityStreamsOrderedCollection() {
return 34
}
if this.IsActivityStreamsOrderedCollection() {
if this.IsActivityStreamsOrderedCollectionPage() {
return 35
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsOrganization() {
return 36
}
if this.IsActivityStreamsOrganization() {
if this.IsActivityStreamsPage() {
return 37
}
if this.IsActivityStreamsPage() {
if this.IsActivityStreamsPerson() {
return 38
}
if this.IsActivityStreamsPerson() {
if this.IsActivityStreamsPlace() {
return 39
}
if this.IsActivityStreamsPlace() {
if this.IsActivityStreamsProfile() {
return 40
}
if this.IsActivityStreamsProfile() {
if this.IsActivityStreamsQuestion() {
return 41
}
if this.IsForgeFedPush() {
if this.IsActivityStreamsRead() {
return 42
}
if this.IsActivityStreamsQuestion() {
if this.IsActivityStreamsReject() {
return 43
}
if this.IsActivityStreamsRead() {
if this.IsActivityStreamsRelationship() {
return 44
}
if this.IsActivityStreamsReject() {
if this.IsActivityStreamsRemove() {
return 45
}
if this.IsActivityStreamsRelationship() {
if this.IsActivityStreamsService() {
return 46
}
if this.IsActivityStreamsRemove() {
if this.IsActivityStreamsTentativeAccept() {
return 47
}
if this.IsForgeFedRepository() {
if this.IsActivityStreamsTentativeReject() {
return 48
}
if this.IsActivityStreamsService() {
if this.IsActivityStreamsTombstone() {
return 49
}
if this.IsActivityStreamsTentativeAccept() {
if this.IsActivityStreamsTravel() {
return 50
}
if this.IsActivityStreamsTentativeReject() {
if this.IsActivityStreamsUndo() {
return 51
}
if this.IsForgeFedTicket() {
if this.IsActivityStreamsUpdate() {
return 52
}
if this.IsForgeFedTicketDependency() {
if this.IsActivityStreamsVideo() {
return 53
}
if this.IsActivityStreamsTombstone() {
return 54
}
if this.IsActivityStreamsTravel() {
return 55
}
if this.IsActivityStreamsUndo() {
return 56
}
if this.IsActivityStreamsUpdate() {
return 57
}
if this.IsActivityStreamsVideo() {
return 58
}
if this.IsActivityStreamsView() {
return 59
return 54
}
if this.IsIRI() {
return -2
@ -2012,14 +1860,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
} else if this.IsActivityStreamsDelete() {
@ -2038,6 +1882,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
} else if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsTootIdentityProof() {
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
} else if this.IsActivityStreamsIgnore() {
@ -2076,8 +1922,6 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace())
} else if this.IsActivityStreamsProfile() {
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
} else if this.IsActivityStreamsRead() {
@ -2088,18 +1932,12 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket())
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency())
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
} else if this.IsActivityStreamsTravel() {
@ -2152,14 +1990,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAudio().Serialize()
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().Serialize()
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().Serialize()
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().Serialize()
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().Serialize()
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().Serialize()
} else if this.IsActivityStreamsDelete() {
@ -2178,6 +2012,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsFollow().Serialize()
} else if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsTootIdentityProof() {
return this.GetTootIdentityProof().Serialize()
} else if this.IsActivityStreamsIgnore() {
@ -2216,8 +2052,6 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsPlace().Serialize()
} else if this.IsActivityStreamsProfile() {
return this.GetActivityStreamsProfile().Serialize()
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().Serialize()
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().Serialize()
} else if this.IsActivityStreamsRead() {
@ -2228,18 +2062,12 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().Serialize()
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().Serialize()
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().Serialize()
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().Serialize()
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().Serialize()
} else if this.IsActivityStreamsTravel() {
@ -2622,48 +2450,6 @@ func (this *ActivityStreamsDescribesProperty) SetActivityStreamsView(v vocab.Act
this.activitystreamsViewMember = v
}
// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) {
this.Clear()
this.forgefedBranchMember = v
}
// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) {
this.Clear()
this.forgefedCommitMember = v
}
// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedPush(v vocab.ForgeFedPush) {
this.Clear()
this.forgefedPushMember = v
}
// SetForgeFedRepository sets the value of this property. Calling
// IsForgeFedRepository afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) {
this.Clear()
this.forgefedRepositoryMember = v
}
// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) {
this.Clear()
this.forgefedTicketMember = v
}
// SetForgeFedTicketDependency sets the value of this property. Calling
// IsForgeFedTicketDependency afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
this.Clear()
this.forgefedTicketDependencyMember = v
}
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) {
this.Clear()
@ -2677,6 +2463,13 @@ func (this *ActivityStreamsDescribesProperty) SetTootEmoji(v vocab.TootEmoji) {
this.tootEmojiMember = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetTootIdentityProof sets the value of this property. Calling
// IsTootIdentityProof afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
@ -2727,10 +2520,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsBlock(v)
return nil
}
if v, ok := t.(vocab.ForgeFedBranch); ok {
this.SetForgeFedBranch(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
this.SetActivityStreamsCollection(v)
return nil
@ -2739,10 +2528,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsCollectionPage(v)
return nil
}
if v, ok := t.(vocab.ForgeFedCommit); ok {
this.SetForgeFedCommit(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
this.SetActivityStreamsCreate(v)
return nil
@ -2779,6 +2564,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsGroup(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.TootIdentityProof); ok {
this.SetTootIdentityProof(v)
return nil
@ -2855,10 +2644,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsProfile(v)
return nil
}
if v, ok := t.(vocab.ForgeFedPush); ok {
this.SetForgeFedPush(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
this.SetActivityStreamsQuestion(v)
return nil
@ -2879,10 +2664,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
if v, ok := t.(vocab.ForgeFedRepository); ok {
this.SetForgeFedRepository(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@ -2895,14 +2676,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsTentativeReject(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicket); ok {
this.SetForgeFedTicket(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicketDependency); ok {
this.SetForgeFedTicketDependency(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
this.SetActivityStreamsTombstone(v)
return nil

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -177,9 +172,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -200,10 +192,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -216,14 +204,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -177,9 +172,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -200,10 +192,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -216,14 +204,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -25,10 +25,8 @@ type ActivityStreamsSourceProperty struct {
activitystreamsArticleMember vocab.ActivityStreamsArticle
activitystreamsAudioMember vocab.ActivityStreamsAudio
activitystreamsBlockMember vocab.ActivityStreamsBlock
forgefedBranchMember vocab.ForgeFedBranch
activitystreamsCollectionMember vocab.ActivityStreamsCollection
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
forgefedCommitMember vocab.ForgeFedCommit
activitystreamsCreateMember vocab.ActivityStreamsCreate
activitystreamsDeleteMember vocab.ActivityStreamsDelete
activitystreamsDislikeMember vocab.ActivityStreamsDislike
@ -38,6 +36,7 @@ type ActivityStreamsSourceProperty struct {
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
activitystreamsGroupMember vocab.ActivityStreamsGroup
tootHashtagMember vocab.TootHashtag
tootIdentityProofMember vocab.TootIdentityProof
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
activitystreamsImageMember vocab.ActivityStreamsImage
@ -58,18 +57,14 @@ type ActivityStreamsSourceProperty struct {
activitystreamsPersonMember vocab.ActivityStreamsPerson
activitystreamsPlaceMember vocab.ActivityStreamsPlace
activitystreamsProfileMember vocab.ActivityStreamsProfile
forgefedPushMember vocab.ForgeFedPush
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
activitystreamsReadMember vocab.ActivityStreamsRead
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
forgefedRepositoryMember vocab.ForgeFedRepository
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
forgefedTicketMember vocab.ForgeFedTicket
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
activitystreamsTravelMember vocab.ActivityStreamsTravel
activitystreamsUndoMember vocab.ActivityStreamsUndo
@ -175,12 +170,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedBranchMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsCollectionMember: v,
@ -193,12 +182,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedCommitMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsCreateMember: v,
@ -253,6 +236,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
@ -373,12 +362,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedPushMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsQuestionMember: v,
@ -409,12 +392,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedRepositoryMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsServiceMember: v,
@ -433,18 +410,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedTicketMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedTicketDependencyMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsTombstoneMember: v,
@ -511,10 +476,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsArticleMember = nil
this.activitystreamsAudioMember = nil
this.activitystreamsBlockMember = nil
this.forgefedBranchMember = nil
this.activitystreamsCollectionMember = nil
this.activitystreamsCollectionPageMember = nil
this.forgefedCommitMember = nil
this.activitystreamsCreateMember = nil
this.activitystreamsDeleteMember = nil
this.activitystreamsDislikeMember = nil
@ -524,6 +487,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
this.activitystreamsGroupMember = nil
this.tootHashtagMember = nil
this.tootIdentityProofMember = nil
this.activitystreamsIgnoreMember = nil
this.activitystreamsImageMember = nil
@ -544,18 +508,14 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsPersonMember = nil
this.activitystreamsPlaceMember = nil
this.activitystreamsProfileMember = nil
this.forgefedPushMember = nil
this.activitystreamsQuestionMember = nil
this.activitystreamsReadMember = nil
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.forgefedRepositoryMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
this.forgefedTicketMember = nil
this.forgefedTicketDependencyMember = nil
this.activitystreamsTombstoneMember = nil
this.activitystreamsTravelMember = nil
this.activitystreamsUndoMember = nil
@ -944,44 +904,6 @@ func (this ActivityStreamsSourceProperty) GetActivityStreamsView() vocab.Activit
return this.activitystreamsViewMember
}
// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch
// returns false, GetForgeFedBranch will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedBranch() vocab.ForgeFedBranch {
return this.forgefedBranchMember
}
// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit
// returns false, GetForgeFedCommit will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedCommit() vocab.ForgeFedCommit {
return this.forgefedCommitMember
}
// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns
// false, GetForgeFedPush will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedPush() vocab.ForgeFedPush {
return this.forgefedPushMember
}
// GetForgeFedRepository returns the value of this property. When
// IsForgeFedRepository returns false, GetForgeFedRepository will return an
// arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedRepository() vocab.ForgeFedRepository {
return this.forgefedRepositoryMember
}
// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket
// returns false, GetForgeFedTicket will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedTicket() vocab.ForgeFedTicket {
return this.forgefedTicketMember
}
// GetForgeFedTicketDependency returns the value of this property. When
// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will
// return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
return this.forgefedTicketDependencyMember
}
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetIRI() *url.URL {
@ -994,6 +916,12 @@ func (this ActivityStreamsSourceProperty) GetTootEmoji() vocab.TootEmoji {
return this.tootEmojiMember
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetTootIdentityProof returns the value of this property. When
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
// arbitrary value.
@ -1037,18 +965,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock()
}
if this.IsForgeFedBranch() {
return this.GetForgeFedBranch()
}
if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection()
}
if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage()
}
if this.IsForgeFedCommit() {
return this.GetForgeFedCommit()
}
if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate()
}
@ -1076,6 +998,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsTootIdentityProof() {
return this.GetTootIdentityProof()
}
@ -1136,9 +1061,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsProfile() {
return this.GetActivityStreamsProfile()
}
if this.IsForgeFedPush() {
return this.GetForgeFedPush()
}
if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion()
}
@ -1154,9 +1076,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
if this.IsForgeFedRepository() {
return this.GetForgeFedRepository()
}
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@ -1166,12 +1085,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject()
}
if this.IsForgeFedTicket() {
return this.GetForgeFedTicket()
}
if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency()
}
if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone()
}
@ -1207,10 +1120,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsArticle() ||
this.IsActivityStreamsAudio() ||
this.IsActivityStreamsBlock() ||
this.IsForgeFedBranch() ||
this.IsActivityStreamsCollection() ||
this.IsActivityStreamsCollectionPage() ||
this.IsForgeFedCommit() ||
this.IsActivityStreamsCreate() ||
this.IsActivityStreamsDelete() ||
this.IsActivityStreamsDislike() ||
@ -1220,6 +1131,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
this.IsActivityStreamsGroup() ||
this.IsTootHashtag() ||
this.IsTootIdentityProof() ||
this.IsActivityStreamsIgnore() ||
this.IsActivityStreamsImage() ||
@ -1240,18 +1152,14 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsPerson() ||
this.IsActivityStreamsPlace() ||
this.IsActivityStreamsProfile() ||
this.IsForgeFedPush() ||
this.IsActivityStreamsQuestion() ||
this.IsActivityStreamsRead() ||
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsForgeFedRepository() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
this.IsForgeFedTicket() ||
this.IsForgeFedTicketDependency() ||
this.IsActivityStreamsTombstone() ||
this.IsActivityStreamsTravel() ||
this.IsActivityStreamsUndo() ||
@ -1644,48 +1552,6 @@ func (this ActivityStreamsSourceProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
// IsForgeFedBranch returns true if this property has a type of "Branch". When
// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and
// set this property.
func (this ActivityStreamsSourceProperty) IsForgeFedBranch() bool {
return this.forgefedBranchMember != nil
}
// IsForgeFedCommit returns true if this property has a type of "Commit". When
// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and
// set this property.
func (this ActivityStreamsSourceProperty) IsForgeFedCommit() bool {
return this.forgefedCommitMember != nil
}
// IsForgeFedPush returns true if this property has a type of "Push". When true,
// use the GetForgeFedPush and SetForgeFedPush methods to access and set this
// property.
func (this ActivityStreamsSourceProperty) IsForgeFedPush() bool {
return this.forgefedPushMember != nil
}
// IsForgeFedRepository returns true if this property has a type of "Repository".
// When true, use the GetForgeFedRepository and SetForgeFedRepository methods
// to access and set this property.
func (this ActivityStreamsSourceProperty) IsForgeFedRepository() bool {
return this.forgefedRepositoryMember != nil
}
// IsForgeFedTicket returns true if this property has a type of "Ticket". When
// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and
// set this property.
func (this ActivityStreamsSourceProperty) IsForgeFedTicket() bool {
return this.forgefedTicketMember != nil
}
// IsForgeFedTicketDependency returns true if this property has a type of
// "TicketDependency". When true, use the GetForgeFedTicketDependency and
// SetForgeFedTicketDependency methods to access and set this property.
func (this ActivityStreamsSourceProperty) IsForgeFedTicketDependency() bool {
return this.forgefedTicketDependencyMember != nil
}
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsSourceProperty) IsIRI() bool {
@ -1698,6 +1564,13 @@ func (this ActivityStreamsSourceProperty) IsTootEmoji() bool {
return this.tootEmojiMember != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsSourceProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// IsTootIdentityProof returns true if this property has a type of
// "IdentityProof". When true, use the GetTootIdentityProof and
// SetTootIdentityProof methods to access and set this property.
@ -1733,14 +1606,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAudio().JSONLDContext()
} else if this.IsActivityStreamsBlock() {
child = this.GetActivityStreamsBlock().JSONLDContext()
} else if this.IsForgeFedBranch() {
child = this.GetForgeFedBranch().JSONLDContext()
} else if this.IsActivityStreamsCollection() {
child = this.GetActivityStreamsCollection().JSONLDContext()
} else if this.IsActivityStreamsCollectionPage() {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsForgeFedCommit() {
child = this.GetForgeFedCommit().JSONLDContext()
} else if this.IsActivityStreamsCreate() {
child = this.GetActivityStreamsCreate().JSONLDContext()
} else if this.IsActivityStreamsDelete() {
@ -1759,6 +1628,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsFollow().JSONLDContext()
} else if this.IsActivityStreamsGroup() {
child = this.GetActivityStreamsGroup().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsTootIdentityProof() {
child = this.GetTootIdentityProof().JSONLDContext()
} else if this.IsActivityStreamsIgnore() {
@ -1799,8 +1670,6 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsPlace().JSONLDContext()
} else if this.IsActivityStreamsProfile() {
child = this.GetActivityStreamsProfile().JSONLDContext()
} else if this.IsForgeFedPush() {
child = this.GetForgeFedPush().JSONLDContext()
} else if this.IsActivityStreamsQuestion() {
child = this.GetActivityStreamsQuestion().JSONLDContext()
} else if this.IsActivityStreamsRead() {
@ -1811,18 +1680,12 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsForgeFedRepository() {
child = this.GetForgeFedRepository().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
} else if this.IsActivityStreamsTentativeReject() {
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
} else if this.IsForgeFedTicket() {
child = this.GetForgeFedTicket().JSONLDContext()
} else if this.IsForgeFedTicketDependency() {
child = this.GetForgeFedTicketDependency().JSONLDContext()
} else if this.IsActivityStreamsTombstone() {
child = this.GetActivityStreamsTombstone().JSONLDContext()
} else if this.IsActivityStreamsTravel() {
@ -1884,158 +1747,143 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
if this.IsActivityStreamsBlock() {
return 10
}
if this.IsForgeFedBranch() {
if this.IsActivityStreamsCollection() {
return 11
}
if this.IsActivityStreamsCollection() {
if this.IsActivityStreamsCollectionPage() {
return 12
}
if this.IsActivityStreamsCollectionPage() {
if this.IsActivityStreamsCreate() {
return 13
}
if this.IsForgeFedCommit() {
if this.IsActivityStreamsDelete() {
return 14
}
if this.IsActivityStreamsCreate() {
if this.IsActivityStreamsDislike() {
return 15
}
if this.IsActivityStreamsDelete() {
if this.IsActivityStreamsDocument() {
return 16
}
if this.IsActivityStreamsDislike() {
if this.IsTootEmoji() {
return 17
}
if this.IsActivityStreamsDocument() {
if this.IsActivityStreamsEvent() {
return 18
}
if this.IsTootEmoji() {
if this.IsActivityStreamsFlag() {
return 19
}
if this.IsActivityStreamsEvent() {
if this.IsActivityStreamsFollow() {
return 20
}
if this.IsActivityStreamsFlag() {
if this.IsActivityStreamsGroup() {
return 21
}
if this.IsActivityStreamsFollow() {
if this.IsTootHashtag() {
return 22
}
if this.IsActivityStreamsGroup() {
if this.IsTootIdentityProof() {
return 23
}
if this.IsTootIdentityProof() {
if this.IsActivityStreamsIgnore() {
return 24
}
if this.IsActivityStreamsIgnore() {
if this.IsActivityStreamsImage() {
return 25
}
if this.IsActivityStreamsImage() {
if this.IsActivityStreamsIntransitiveActivity() {
return 26
}
if this.IsActivityStreamsIntransitiveActivity() {
if this.IsActivityStreamsInvite() {
return 27
}
if this.IsActivityStreamsInvite() {
if this.IsActivityStreamsJoin() {
return 28
}
if this.IsActivityStreamsJoin() {
if this.IsActivityStreamsLeave() {
return 29
}
if this.IsActivityStreamsLeave() {
if this.IsActivityStreamsLike() {
return 30
}
if this.IsActivityStreamsLike() {
if this.IsActivityStreamsListen() {
return 31
}
if this.IsActivityStreamsListen() {
if this.IsActivityStreamsMention() {
return 32
}
if this.IsActivityStreamsMention() {
if this.IsActivityStreamsMove() {
return 33
}
if this.IsActivityStreamsMove() {
if this.IsActivityStreamsNote() {
return 34
}
if this.IsActivityStreamsNote() {
if this.IsActivityStreamsOffer() {
return 35
}
if this.IsActivityStreamsOffer() {
if this.IsActivityStreamsOrderedCollection() {
return 36
}
if this.IsActivityStreamsOrderedCollection() {
if this.IsActivityStreamsOrderedCollectionPage() {
return 37
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsOrganization() {
return 38
}
if this.IsActivityStreamsOrganization() {
if this.IsActivityStreamsPage() {
return 39
}
if this.IsActivityStreamsPage() {
if this.IsActivityStreamsPerson() {
return 40
}
if this.IsActivityStreamsPerson() {
if this.IsActivityStreamsPlace() {
return 41
}
if this.IsActivityStreamsPlace() {
if this.IsActivityStreamsProfile() {
return 42
}
if this.IsActivityStreamsProfile() {
if this.IsActivityStreamsQuestion() {
return 43
}
if this.IsForgeFedPush() {
if this.IsActivityStreamsRead() {
return 44
}
if this.IsActivityStreamsQuestion() {
if this.IsActivityStreamsReject() {
return 45
}
if this.IsActivityStreamsRead() {
if this.IsActivityStreamsRelationship() {
return 46
}
if this.IsActivityStreamsReject() {
if this.IsActivityStreamsRemove() {
return 47
}
if this.IsActivityStreamsRelationship() {
if this.IsActivityStreamsService() {
return 48
}
if this.IsActivityStreamsRemove() {
if this.IsActivityStreamsTentativeAccept() {
return 49
}
if this.IsForgeFedRepository() {
if this.IsActivityStreamsTentativeReject() {
return 50
}
if this.IsActivityStreamsService() {
if this.IsActivityStreamsTombstone() {
return 51
}
if this.IsActivityStreamsTentativeAccept() {
if this.IsActivityStreamsTravel() {
return 52
}
if this.IsActivityStreamsTentativeReject() {
if this.IsActivityStreamsUndo() {
return 53
}
if this.IsForgeFedTicket() {
if this.IsActivityStreamsUpdate() {
return 54
}
if this.IsForgeFedTicketDependency() {
if this.IsActivityStreamsVideo() {
return 55
}
if this.IsActivityStreamsTombstone() {
return 56
}
if this.IsActivityStreamsTravel() {
return 57
}
if this.IsActivityStreamsUndo() {
return 58
}
if this.IsActivityStreamsUpdate() {
return 59
}
if this.IsActivityStreamsVideo() {
return 60
}
if this.IsActivityStreamsView() {
return 61
return 56
}
if this.IsIRI() {
return -2
@ -2076,14 +1924,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
} else if this.IsActivityStreamsDelete() {
@ -2102,6 +1946,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
} else if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsTootIdentityProof() {
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
} else if this.IsActivityStreamsIgnore() {
@ -2142,8 +1988,6 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace())
} else if this.IsActivityStreamsProfile() {
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
} else if this.IsActivityStreamsRead() {
@ -2154,18 +1998,12 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket())
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency())
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
} else if this.IsActivityStreamsTravel() {
@ -2220,14 +2058,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAudio().Serialize()
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().Serialize()
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().Serialize()
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().Serialize()
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().Serialize()
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().Serialize()
} else if this.IsActivityStreamsDelete() {
@ -2246,6 +2080,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsFollow().Serialize()
} else if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsTootIdentityProof() {
return this.GetTootIdentityProof().Serialize()
} else if this.IsActivityStreamsIgnore() {
@ -2286,8 +2122,6 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsPlace().Serialize()
} else if this.IsActivityStreamsProfile() {
return this.GetActivityStreamsProfile().Serialize()
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().Serialize()
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().Serialize()
} else if this.IsActivityStreamsRead() {
@ -2298,18 +2132,12 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().Serialize()
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().Serialize()
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().Serialize()
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().Serialize()
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().Serialize()
} else if this.IsActivityStreamsTravel() {
@ -2706,48 +2534,6 @@ func (this *ActivityStreamsSourceProperty) SetActivityStreamsView(v vocab.Activi
this.activitystreamsViewMember = v
}
// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) {
this.Clear()
this.forgefedBranchMember = v
}
// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) {
this.Clear()
this.forgefedCommitMember = v
}
// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedPush(v vocab.ForgeFedPush) {
this.Clear()
this.forgefedPushMember = v
}
// SetForgeFedRepository sets the value of this property. Calling
// IsForgeFedRepository afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) {
this.Clear()
this.forgefedRepositoryMember = v
}
// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) {
this.Clear()
this.forgefedTicketMember = v
}
// SetForgeFedTicketDependency sets the value of this property. Calling
// IsForgeFedTicketDependency afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
this.Clear()
this.forgefedTicketDependencyMember = v
}
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) {
this.Clear()
@ -2761,6 +2547,13 @@ func (this *ActivityStreamsSourceProperty) SetTootEmoji(v vocab.TootEmoji) {
this.tootEmojiMember = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetTootIdentityProof sets the value of this property. Calling
// IsTootIdentityProof afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
@ -2815,10 +2608,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsBlock(v)
return nil
}
if v, ok := t.(vocab.ForgeFedBranch); ok {
this.SetForgeFedBranch(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
this.SetActivityStreamsCollection(v)
return nil
@ -2827,10 +2616,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsCollectionPage(v)
return nil
}
if v, ok := t.(vocab.ForgeFedCommit); ok {
this.SetForgeFedCommit(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
this.SetActivityStreamsCreate(v)
return nil
@ -2867,6 +2652,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsGroup(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.TootIdentityProof); ok {
this.SetTootIdentityProof(v)
return nil
@ -2947,10 +2736,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsProfile(v)
return nil
}
if v, ok := t.(vocab.ForgeFedPush); ok {
this.SetForgeFedPush(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
this.SetActivityStreamsQuestion(v)
return nil
@ -2971,10 +2756,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
if v, ok := t.(vocab.ForgeFedRepository); ok {
this.SetForgeFedRepository(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@ -2987,14 +2768,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsTentativeReject(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicket); ok {
this.SetForgeFedTicket(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicketDependency); ok {
this.SetForgeFedTicketDependency(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
this.SetActivityStreamsTombstone(v)
return nil

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -25,10 +25,8 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsArticleMember vocab.ActivityStreamsArticle
activitystreamsAudioMember vocab.ActivityStreamsAudio
activitystreamsBlockMember vocab.ActivityStreamsBlock
forgefedBranchMember vocab.ForgeFedBranch
activitystreamsCollectionMember vocab.ActivityStreamsCollection
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
forgefedCommitMember vocab.ForgeFedCommit
activitystreamsCreateMember vocab.ActivityStreamsCreate
activitystreamsDeleteMember vocab.ActivityStreamsDelete
activitystreamsDislikeMember vocab.ActivityStreamsDislike
@ -38,6 +36,7 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
activitystreamsGroupMember vocab.ActivityStreamsGroup
tootHashtagMember vocab.TootHashtag
tootIdentityProofMember vocab.TootIdentityProof
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
activitystreamsImageMember vocab.ActivityStreamsImage
@ -58,18 +57,14 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsPersonMember vocab.ActivityStreamsPerson
activitystreamsPlaceMember vocab.ActivityStreamsPlace
activitystreamsProfileMember vocab.ActivityStreamsProfile
forgefedPushMember vocab.ForgeFedPush
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
activitystreamsReadMember vocab.ActivityStreamsRead
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
forgefedRepositoryMember vocab.ForgeFedRepository
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
forgefedTicketMember vocab.ForgeFedTicket
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
activitystreamsTravelMember vocab.ActivityStreamsTravel
activitystreamsUndoMember vocab.ActivityStreamsUndo
@ -175,12 +170,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedBranchMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsCollectionMember: v,
@ -193,12 +182,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedCommitMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsCreateMember: v,
@ -253,6 +236,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
@ -373,12 +362,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedPushMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsQuestionMember: v,
@ -409,12 +392,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedRepositoryMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsServiceMember: v,
@ -433,18 +410,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedTicketMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedTicketDependencyMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsTombstoneMember: v,
@ -511,10 +476,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsArticleMember = nil
this.activitystreamsAudioMember = nil
this.activitystreamsBlockMember = nil
this.forgefedBranchMember = nil
this.activitystreamsCollectionMember = nil
this.activitystreamsCollectionPageMember = nil
this.forgefedCommitMember = nil
this.activitystreamsCreateMember = nil
this.activitystreamsDeleteMember = nil
this.activitystreamsDislikeMember = nil
@ -524,6 +487,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
this.activitystreamsGroupMember = nil
this.tootHashtagMember = nil
this.tootIdentityProofMember = nil
this.activitystreamsIgnoreMember = nil
this.activitystreamsImageMember = nil
@ -544,18 +508,14 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsPersonMember = nil
this.activitystreamsPlaceMember = nil
this.activitystreamsProfileMember = nil
this.forgefedPushMember = nil
this.activitystreamsQuestionMember = nil
this.activitystreamsReadMember = nil
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.forgefedRepositoryMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
this.forgefedTicketMember = nil
this.forgefedTicketDependencyMember = nil
this.activitystreamsTombstoneMember = nil
this.activitystreamsTravelMember = nil
this.activitystreamsUndoMember = nil
@ -944,44 +904,6 @@ func (this ActivityStreamsSubjectProperty) GetActivityStreamsView() vocab.Activi
return this.activitystreamsViewMember
}
// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch
// returns false, GetForgeFedBranch will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedBranch() vocab.ForgeFedBranch {
return this.forgefedBranchMember
}
// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit
// returns false, GetForgeFedCommit will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedCommit() vocab.ForgeFedCommit {
return this.forgefedCommitMember
}
// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns
// false, GetForgeFedPush will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedPush() vocab.ForgeFedPush {
return this.forgefedPushMember
}
// GetForgeFedRepository returns the value of this property. When
// IsForgeFedRepository returns false, GetForgeFedRepository will return an
// arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedRepository() vocab.ForgeFedRepository {
return this.forgefedRepositoryMember
}
// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket
// returns false, GetForgeFedTicket will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedTicket() vocab.ForgeFedTicket {
return this.forgefedTicketMember
}
// GetForgeFedTicketDependency returns the value of this property. When
// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will
// return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
return this.forgefedTicketDependencyMember
}
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL {
@ -994,6 +916,12 @@ func (this ActivityStreamsSubjectProperty) GetTootEmoji() vocab.TootEmoji {
return this.tootEmojiMember
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetTootIdentityProof returns the value of this property. When
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
// arbitrary value.
@ -1037,18 +965,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock()
}
if this.IsForgeFedBranch() {
return this.GetForgeFedBranch()
}
if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection()
}
if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage()
}
if this.IsForgeFedCommit() {
return this.GetForgeFedCommit()
}
if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate()
}
@ -1076,6 +998,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsTootIdentityProof() {
return this.GetTootIdentityProof()
}
@ -1136,9 +1061,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsProfile() {
return this.GetActivityStreamsProfile()
}
if this.IsForgeFedPush() {
return this.GetForgeFedPush()
}
if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion()
}
@ -1154,9 +1076,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
if this.IsForgeFedRepository() {
return this.GetForgeFedRepository()
}
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@ -1166,12 +1085,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject()
}
if this.IsForgeFedTicket() {
return this.GetForgeFedTicket()
}
if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency()
}
if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone()
}
@ -1207,10 +1120,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsArticle() ||
this.IsActivityStreamsAudio() ||
this.IsActivityStreamsBlock() ||
this.IsForgeFedBranch() ||
this.IsActivityStreamsCollection() ||
this.IsActivityStreamsCollectionPage() ||
this.IsForgeFedCommit() ||
this.IsActivityStreamsCreate() ||
this.IsActivityStreamsDelete() ||
this.IsActivityStreamsDislike() ||
@ -1220,6 +1131,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
this.IsActivityStreamsGroup() ||
this.IsTootHashtag() ||
this.IsTootIdentityProof() ||
this.IsActivityStreamsIgnore() ||
this.IsActivityStreamsImage() ||
@ -1240,18 +1152,14 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsPerson() ||
this.IsActivityStreamsPlace() ||
this.IsActivityStreamsProfile() ||
this.IsForgeFedPush() ||
this.IsActivityStreamsQuestion() ||
this.IsActivityStreamsRead() ||
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsForgeFedRepository() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
this.IsForgeFedTicket() ||
this.IsForgeFedTicketDependency() ||
this.IsActivityStreamsTombstone() ||
this.IsActivityStreamsTravel() ||
this.IsActivityStreamsUndo() ||
@ -1644,48 +1552,6 @@ func (this ActivityStreamsSubjectProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
// IsForgeFedBranch returns true if this property has a type of "Branch". When
// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and
// set this property.
func (this ActivityStreamsSubjectProperty) IsForgeFedBranch() bool {
return this.forgefedBranchMember != nil
}
// IsForgeFedCommit returns true if this property has a type of "Commit". When
// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and
// set this property.
func (this ActivityStreamsSubjectProperty) IsForgeFedCommit() bool {
return this.forgefedCommitMember != nil
}
// IsForgeFedPush returns true if this property has a type of "Push". When true,
// use the GetForgeFedPush and SetForgeFedPush methods to access and set this
// property.
func (this ActivityStreamsSubjectProperty) IsForgeFedPush() bool {
return this.forgefedPushMember != nil
}
// IsForgeFedRepository returns true if this property has a type of "Repository".
// When true, use the GetForgeFedRepository and SetForgeFedRepository methods
// to access and set this property.
func (this ActivityStreamsSubjectProperty) IsForgeFedRepository() bool {
return this.forgefedRepositoryMember != nil
}
// IsForgeFedTicket returns true if this property has a type of "Ticket". When
// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and
// set this property.
func (this ActivityStreamsSubjectProperty) IsForgeFedTicket() bool {
return this.forgefedTicketMember != nil
}
// IsForgeFedTicketDependency returns true if this property has a type of
// "TicketDependency". When true, use the GetForgeFedTicketDependency and
// SetForgeFedTicketDependency methods to access and set this property.
func (this ActivityStreamsSubjectProperty) IsForgeFedTicketDependency() bool {
return this.forgefedTicketDependencyMember != nil
}
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsSubjectProperty) IsIRI() bool {
@ -1698,6 +1564,13 @@ func (this ActivityStreamsSubjectProperty) IsTootEmoji() bool {
return this.tootEmojiMember != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsSubjectProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// IsTootIdentityProof returns true if this property has a type of
// "IdentityProof". When true, use the GetTootIdentityProof and
// SetTootIdentityProof methods to access and set this property.
@ -1733,14 +1606,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAudio().JSONLDContext()
} else if this.IsActivityStreamsBlock() {
child = this.GetActivityStreamsBlock().JSONLDContext()
} else if this.IsForgeFedBranch() {
child = this.GetForgeFedBranch().JSONLDContext()
} else if this.IsActivityStreamsCollection() {
child = this.GetActivityStreamsCollection().JSONLDContext()
} else if this.IsActivityStreamsCollectionPage() {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsForgeFedCommit() {
child = this.GetForgeFedCommit().JSONLDContext()
} else if this.IsActivityStreamsCreate() {
child = this.GetActivityStreamsCreate().JSONLDContext()
} else if this.IsActivityStreamsDelete() {
@ -1759,6 +1628,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsFollow().JSONLDContext()
} else if this.IsActivityStreamsGroup() {
child = this.GetActivityStreamsGroup().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsTootIdentityProof() {
child = this.GetTootIdentityProof().JSONLDContext()
} else if this.IsActivityStreamsIgnore() {
@ -1799,8 +1670,6 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsPlace().JSONLDContext()
} else if this.IsActivityStreamsProfile() {
child = this.GetActivityStreamsProfile().JSONLDContext()
} else if this.IsForgeFedPush() {
child = this.GetForgeFedPush().JSONLDContext()
} else if this.IsActivityStreamsQuestion() {
child = this.GetActivityStreamsQuestion().JSONLDContext()
} else if this.IsActivityStreamsRead() {
@ -1811,18 +1680,12 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsForgeFedRepository() {
child = this.GetForgeFedRepository().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
} else if this.IsActivityStreamsTentativeReject() {
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
} else if this.IsForgeFedTicket() {
child = this.GetForgeFedTicket().JSONLDContext()
} else if this.IsForgeFedTicketDependency() {
child = this.GetForgeFedTicketDependency().JSONLDContext()
} else if this.IsActivityStreamsTombstone() {
child = this.GetActivityStreamsTombstone().JSONLDContext()
} else if this.IsActivityStreamsTravel() {
@ -1884,158 +1747,143 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
if this.IsActivityStreamsBlock() {
return 10
}
if this.IsForgeFedBranch() {
if this.IsActivityStreamsCollection() {
return 11
}
if this.IsActivityStreamsCollection() {
if this.IsActivityStreamsCollectionPage() {
return 12
}
if this.IsActivityStreamsCollectionPage() {
if this.IsActivityStreamsCreate() {
return 13
}
if this.IsForgeFedCommit() {
if this.IsActivityStreamsDelete() {
return 14
}
if this.IsActivityStreamsCreate() {
if this.IsActivityStreamsDislike() {
return 15
}
if this.IsActivityStreamsDelete() {
if this.IsActivityStreamsDocument() {
return 16
}
if this.IsActivityStreamsDislike() {
if this.IsTootEmoji() {
return 17
}
if this.IsActivityStreamsDocument() {
if this.IsActivityStreamsEvent() {
return 18
}
if this.IsTootEmoji() {
if this.IsActivityStreamsFlag() {
return 19
}
if this.IsActivityStreamsEvent() {
if this.IsActivityStreamsFollow() {
return 20
}
if this.IsActivityStreamsFlag() {
if this.IsActivityStreamsGroup() {
return 21
}
if this.IsActivityStreamsFollow() {
if this.IsTootHashtag() {
return 22
}
if this.IsActivityStreamsGroup() {
if this.IsTootIdentityProof() {
return 23
}
if this.IsTootIdentityProof() {
if this.IsActivityStreamsIgnore() {
return 24
}
if this.IsActivityStreamsIgnore() {
if this.IsActivityStreamsImage() {
return 25
}
if this.IsActivityStreamsImage() {
if this.IsActivityStreamsIntransitiveActivity() {
return 26
}
if this.IsActivityStreamsIntransitiveActivity() {
if this.IsActivityStreamsInvite() {
return 27
}
if this.IsActivityStreamsInvite() {
if this.IsActivityStreamsJoin() {
return 28
}
if this.IsActivityStreamsJoin() {
if this.IsActivityStreamsLeave() {
return 29
}
if this.IsActivityStreamsLeave() {
if this.IsActivityStreamsLike() {
return 30
}
if this.IsActivityStreamsLike() {
if this.IsActivityStreamsListen() {
return 31
}
if this.IsActivityStreamsListen() {
if this.IsActivityStreamsMention() {
return 32
}
if this.IsActivityStreamsMention() {
if this.IsActivityStreamsMove() {
return 33
}
if this.IsActivityStreamsMove() {
if this.IsActivityStreamsNote() {
return 34
}
if this.IsActivityStreamsNote() {
if this.IsActivityStreamsOffer() {
return 35
}
if this.IsActivityStreamsOffer() {
if this.IsActivityStreamsOrderedCollection() {
return 36
}
if this.IsActivityStreamsOrderedCollection() {
if this.IsActivityStreamsOrderedCollectionPage() {
return 37
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsOrganization() {
return 38
}
if this.IsActivityStreamsOrganization() {
if this.IsActivityStreamsPage() {
return 39
}
if this.IsActivityStreamsPage() {
if this.IsActivityStreamsPerson() {
return 40
}
if this.IsActivityStreamsPerson() {
if this.IsActivityStreamsPlace() {
return 41
}
if this.IsActivityStreamsPlace() {
if this.IsActivityStreamsProfile() {
return 42
}
if this.IsActivityStreamsProfile() {
if this.IsActivityStreamsQuestion() {
return 43
}
if this.IsForgeFedPush() {
if this.IsActivityStreamsRead() {
return 44
}
if this.IsActivityStreamsQuestion() {
if this.IsActivityStreamsReject() {
return 45
}
if this.IsActivityStreamsRead() {
if this.IsActivityStreamsRelationship() {
return 46
}
if this.IsActivityStreamsReject() {
if this.IsActivityStreamsRemove() {
return 47
}
if this.IsActivityStreamsRelationship() {
if this.IsActivityStreamsService() {
return 48
}
if this.IsActivityStreamsRemove() {
if this.IsActivityStreamsTentativeAccept() {
return 49
}
if this.IsForgeFedRepository() {
if this.IsActivityStreamsTentativeReject() {
return 50
}
if this.IsActivityStreamsService() {
if this.IsActivityStreamsTombstone() {
return 51
}
if this.IsActivityStreamsTentativeAccept() {
if this.IsActivityStreamsTravel() {
return 52
}
if this.IsActivityStreamsTentativeReject() {
if this.IsActivityStreamsUndo() {
return 53
}
if this.IsForgeFedTicket() {
if this.IsActivityStreamsUpdate() {
return 54
}
if this.IsForgeFedTicketDependency() {
if this.IsActivityStreamsVideo() {
return 55
}
if this.IsActivityStreamsTombstone() {
return 56
}
if this.IsActivityStreamsTravel() {
return 57
}
if this.IsActivityStreamsUndo() {
return 58
}
if this.IsActivityStreamsUpdate() {
return 59
}
if this.IsActivityStreamsVideo() {
return 60
}
if this.IsActivityStreamsView() {
return 61
return 56
}
if this.IsIRI() {
return -2
@ -2076,14 +1924,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
} else if this.IsActivityStreamsDelete() {
@ -2102,6 +1946,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
} else if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsTootIdentityProof() {
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
} else if this.IsActivityStreamsIgnore() {
@ -2142,8 +1988,6 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace())
} else if this.IsActivityStreamsProfile() {
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
} else if this.IsActivityStreamsRead() {
@ -2154,18 +1998,12 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket())
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency())
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
} else if this.IsActivityStreamsTravel() {
@ -2220,14 +2058,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAudio().Serialize()
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().Serialize()
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().Serialize()
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().Serialize()
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().Serialize()
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().Serialize()
} else if this.IsActivityStreamsDelete() {
@ -2246,6 +2080,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsFollow().Serialize()
} else if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsTootIdentityProof() {
return this.GetTootIdentityProof().Serialize()
} else if this.IsActivityStreamsIgnore() {
@ -2286,8 +2122,6 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsPlace().Serialize()
} else if this.IsActivityStreamsProfile() {
return this.GetActivityStreamsProfile().Serialize()
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().Serialize()
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().Serialize()
} else if this.IsActivityStreamsRead() {
@ -2298,18 +2132,12 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().Serialize()
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().Serialize()
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().Serialize()
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().Serialize()
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().Serialize()
} else if this.IsActivityStreamsTravel() {
@ -2706,48 +2534,6 @@ func (this *ActivityStreamsSubjectProperty) SetActivityStreamsView(v vocab.Activ
this.activitystreamsViewMember = v
}
// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) {
this.Clear()
this.forgefedBranchMember = v
}
// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) {
this.Clear()
this.forgefedCommitMember = v
}
// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedPush(v vocab.ForgeFedPush) {
this.Clear()
this.forgefedPushMember = v
}
// SetForgeFedRepository sets the value of this property. Calling
// IsForgeFedRepository afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) {
this.Clear()
this.forgefedRepositoryMember = v
}
// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) {
this.Clear()
this.forgefedTicketMember = v
}
// SetForgeFedTicketDependency sets the value of this property. Calling
// IsForgeFedTicketDependency afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
this.Clear()
this.forgefedTicketDependencyMember = v
}
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) {
this.Clear()
@ -2761,6 +2547,13 @@ func (this *ActivityStreamsSubjectProperty) SetTootEmoji(v vocab.TootEmoji) {
this.tootEmojiMember = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetTootIdentityProof sets the value of this property. Calling
// IsTootIdentityProof afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
@ -2815,10 +2608,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsBlock(v)
return nil
}
if v, ok := t.(vocab.ForgeFedBranch); ok {
this.SetForgeFedBranch(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
this.SetActivityStreamsCollection(v)
return nil
@ -2827,10 +2616,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsCollectionPage(v)
return nil
}
if v, ok := t.(vocab.ForgeFedCommit); ok {
this.SetForgeFedCommit(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
this.SetActivityStreamsCreate(v)
return nil
@ -2867,6 +2652,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsGroup(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.TootIdentityProof); ok {
this.SetTootIdentityProof(v)
return nil
@ -2947,10 +2736,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsProfile(v)
return nil
}
if v, ok := t.(vocab.ForgeFedPush); ok {
this.SetForgeFedPush(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
this.SetActivityStreamsQuestion(v)
return nil
@ -2971,10 +2756,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
if v, ok := t.(vocab.ForgeFedRepository); ok {
this.SetForgeFedRepository(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@ -2987,14 +2768,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsTentativeReject(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicket); ok {
this.SetForgeFedTicket(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicketDependency); ok {
this.SetForgeFedTicketDependency(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
this.SetActivityStreamsTombstone(v)
return nil

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -96,6 +88,9 @@ type privateManager interface {
// the "ActivityStreamsGroup" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeIdentityProofToot returns the deserialization method for the
// "TootIdentityProof" non-functional property in the vocabulary "Toot"
DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error)
@ -185,9 +180,6 @@ type privateManager interface {
// for the "ActivityStreamsProfile" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -208,10 +200,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -224,14 +212,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

ファイルの表示

@ -148,22 +148,10 @@ type privateManager interface {
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -82,10 +82,7 @@ type ActivityStreamsAccept struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -337,26 +334,11 @@ func DeserializeAccept(m map[string]interface{}, aliasMap map[string]string) (*A
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -451,14 +433,8 @@ func DeserializeAccept(m map[string]interface{}, aliasMap map[string]string) (*A
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -708,23 +684,6 @@ func (this ActivityStreamsAccept) GetActivityStreamsUrl() vocab.ActivityStreamsU
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsAccept) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAccept) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAccept) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsAccept) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -794,10 +753,7 @@ func (this ActivityStreamsAccept) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1285,34 +1241,6 @@ func (this ActivityStreamsAccept) LessThan(o vocab.ActivityStreamsAccept) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1327,20 +1255,6 @@ func (this ActivityStreamsAccept) LessThan(o vocab.ActivityStreamsAccept) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1678,22 +1592,6 @@ func (this ActivityStreamsAccept) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1702,14 +1600,6 @@ func (this ActivityStreamsAccept) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1928,21 +1818,6 @@ func (this *ActivityStreamsAccept) SetActivityStreamsUrl(i vocab.ActivityStreams
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsAccept) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsAccept) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsAccept) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsAccept) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -148,22 +148,10 @@ type privateManager interface {
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -62,10 +62,7 @@ type ActivityStreamsActivity struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -89,7 +86,7 @@ func ActivityIsDisjointWith(other vocab.Type) bool {
// Activity type. Note that it returns false if the types are the same; see
// the "IsOrExtendsActivity" variant instead.
func ActivityIsExtendedBy(other vocab.Type) bool {
extensions := []string{"Accept", "Add", "Announce", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Offer", "Push", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
extensions := []string{"Accept", "Add", "Announce", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
for _, ext := range extensions {
if ext == other.GetTypeName() {
return true
@ -317,26 +314,11 @@ func DeserializeActivity(m map[string]interface{}, aliasMap map[string]string) (
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -431,14 +413,8 @@ func DeserializeActivity(m map[string]interface{}, aliasMap map[string]string) (
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -688,23 +664,6 @@ func (this ActivityStreamsActivity) GetActivityStreamsUrl() vocab.ActivityStream
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsActivity) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsActivity) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsActivity) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsActivity) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -774,10 +733,7 @@ func (this ActivityStreamsActivity) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1265,34 +1221,6 @@ func (this ActivityStreamsActivity) LessThan(o vocab.ActivityStreamsActivity) bo
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1307,20 +1235,6 @@ func (this ActivityStreamsActivity) LessThan(o vocab.ActivityStreamsActivity) bo
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1658,22 +1572,6 @@ func (this ActivityStreamsActivity) Serialize() (map[string]interface{}, error)
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1682,14 +1580,6 @@ func (this ActivityStreamsActivity) Serialize() (map[string]interface{}, error)
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1908,21 +1798,6 @@ func (this *ActivityStreamsActivity) SetActivityStreamsUrl(i vocab.ActivityStrea
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsActivity) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsActivity) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsActivity) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsActivity) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -148,22 +148,10 @@ type privateManager interface {
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -82,10 +82,7 @@ type ActivityStreamsAdd struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -332,26 +329,11 @@ func DeserializeAdd(m map[string]interface{}, aliasMap map[string]string) (*Acti
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -446,14 +428,8 @@ func DeserializeAdd(m map[string]interface{}, aliasMap map[string]string) (*Acti
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -703,23 +679,6 @@ func (this ActivityStreamsAdd) GetActivityStreamsUrl() vocab.ActivityStreamsUrlP
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsAdd) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAdd) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAdd) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsAdd) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -789,10 +748,7 @@ func (this ActivityStreamsAdd) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1280,34 +1236,6 @@ func (this ActivityStreamsAdd) LessThan(o vocab.ActivityStreamsAdd) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1322,20 +1250,6 @@ func (this ActivityStreamsAdd) LessThan(o vocab.ActivityStreamsAdd) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1673,22 +1587,6 @@ func (this ActivityStreamsAdd) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1697,14 +1595,6 @@ func (this ActivityStreamsAdd) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1923,21 +1813,6 @@ func (this *ActivityStreamsAdd) SetActivityStreamsUrl(i vocab.ActivityStreamsUrl
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsAdd) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsAdd) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsAdd) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsAdd) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -148,22 +148,10 @@ type privateManager interface {
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -64,10 +64,7 @@ type ActivityStreamsAnnounce struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -314,26 +311,11 @@ func DeserializeAnnounce(m map[string]interface{}, aliasMap map[string]string) (
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -428,14 +410,8 @@ func DeserializeAnnounce(m map[string]interface{}, aliasMap map[string]string) (
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -685,23 +661,6 @@ func (this ActivityStreamsAnnounce) GetActivityStreamsUrl() vocab.ActivityStream
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsAnnounce) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAnnounce) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAnnounce) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsAnnounce) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -771,10 +730,7 @@ func (this ActivityStreamsAnnounce) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1262,34 +1218,6 @@ func (this ActivityStreamsAnnounce) LessThan(o vocab.ActivityStreamsAnnounce) bo
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1304,20 +1232,6 @@ func (this ActivityStreamsAnnounce) LessThan(o vocab.ActivityStreamsAnnounce) bo
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1655,22 +1569,6 @@ func (this ActivityStreamsAnnounce) Serialize() (map[string]interface{}, error)
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1679,14 +1577,6 @@ func (this ActivityStreamsAnnounce) Serialize() (map[string]interface{}, error)
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1905,21 +1795,6 @@ func (this *ActivityStreamsAnnounce) SetActivityStreamsUrl(i vocab.ActivityStrea
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsAnnounce) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsAnnounce) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsAnnounce) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsAnnounce) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -174,22 +174,10 @@ type privateManager interface {
// method for the "ActivityStreamsTagProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -56,10 +56,7 @@ type ActivityStreamsApplication struct {
ActivityStreamsStreams vocab.ActivityStreamsStreamsProperty
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -336,26 +333,11 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
} else if p != nil {
this.ActivityStreamsTag = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -464,14 +446,8 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
continue
} else if k == "tag" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -739,23 +715,6 @@ func (this ActivityStreamsApplication) GetActivityStreamsUrl() vocab.ActivityStr
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsApplication) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsApplication) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsApplication) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsApplication) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -848,10 +807,7 @@ func (this ActivityStreamsApplication) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsStreams, m)
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1423,34 +1379,6 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1465,20 +1393,6 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1864,22 +1778,6 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro
m[this.ActivityStreamsTag.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1888,14 +1786,6 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -2130,21 +2020,6 @@ func (this *ActivityStreamsApplication) SetActivityStreamsUrl(i vocab.ActivitySt
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsApplication) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsApplication) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsApplication) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsApplication) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -144,22 +144,10 @@ type privateManager interface {
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -63,10 +63,7 @@ type ActivityStreamsArrive struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -308,26 +305,11 @@ func DeserializeArrive(m map[string]interface{}, aliasMap map[string]string) (*A
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -420,14 +402,8 @@ func DeserializeArrive(m map[string]interface{}, aliasMap map[string]string) (*A
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -671,23 +647,6 @@ func (this ActivityStreamsArrive) GetActivityStreamsUrl() vocab.ActivityStreamsU
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsArrive) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsArrive) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsArrive) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsArrive) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -756,10 +715,7 @@ func (this ActivityStreamsArrive) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1233,34 +1189,6 @@ func (this ActivityStreamsArrive) LessThan(o vocab.ActivityStreamsArrive) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1275,20 +1203,6 @@ func (this ActivityStreamsArrive) LessThan(o vocab.ActivityStreamsArrive) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1618,22 +1532,6 @@ func (this ActivityStreamsArrive) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1642,14 +1540,6 @@ func (this ActivityStreamsArrive) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1863,21 +1753,6 @@ func (this *ActivityStreamsArrive) SetActivityStreamsUrl(i vocab.ActivityStreams
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsArrive) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsArrive) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsArrive) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsArrive) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -128,22 +128,10 @@ type privateManager interface {
// method for the "ActivityStreamsTagProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -48,10 +48,7 @@ type ActivityStreamsArticle struct {
ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -273,26 +270,11 @@ func DeserializeArticle(m map[string]interface{}, aliasMap map[string]string) (*
} else if p != nil {
this.ActivityStreamsTag = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -377,14 +359,8 @@ func DeserializeArticle(m map[string]interface{}, aliasMap map[string]string) (*
continue
} else if k == "tag" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -604,23 +580,6 @@ func (this ActivityStreamsArticle) GetActivityStreamsUrl() vocab.ActivityStreams
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsArticle) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsArticle) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsArticle) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsArticle) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -685,10 +644,7 @@ func (this ActivityStreamsArticle) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1106,34 +1062,6 @@ func (this ActivityStreamsArticle) LessThan(o vocab.ActivityStreamsArticle) bool
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1148,20 +1076,6 @@ func (this ActivityStreamsArticle) LessThan(o vocab.ActivityStreamsArticle) bool
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1459,22 +1373,6 @@ func (this ActivityStreamsArticle) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTag.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1483,14 +1381,6 @@ func (this ActivityStreamsArticle) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1684,21 +1574,6 @@ func (this *ActivityStreamsArticle) SetActivityStreamsUrl(i vocab.ActivityStream
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsArticle) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsArticle) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsArticle) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsArticle) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -132,22 +132,10 @@ type privateManager interface {
// method for the "ActivityStreamsTagProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -51,10 +51,7 @@ type ActivityStreamsAudio struct {
ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -281,26 +278,11 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac
} else if p != nil {
this.ActivityStreamsTag = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -387,14 +369,8 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac
continue
} else if k == "tag" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -614,23 +590,6 @@ func (this ActivityStreamsAudio) GetActivityStreamsUrl() vocab.ActivityStreamsUr
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsAudio) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAudio) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAudio) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsAudio) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -701,10 +660,7 @@ func (this ActivityStreamsAudio) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1136,34 +1092,6 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1178,20 +1106,6 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1497,22 +1411,6 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTag.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1521,14 +1419,6 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1722,21 +1612,6 @@ func (this *ActivityStreamsAudio) SetActivityStreamsUrl(i vocab.ActivityStreamsU
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsAudio) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsAudio) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsAudio) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsAudio) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -148,22 +148,10 @@ type privateManager interface {
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -55,10 +55,7 @@ type ActivityStreamsBlock struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -305,26 +302,11 @@ func DeserializeBlock(m map[string]interface{}, aliasMap map[string]string) (*Ac
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -419,14 +401,8 @@ func DeserializeBlock(m map[string]interface{}, aliasMap map[string]string) (*Ac
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -676,23 +652,6 @@ func (this ActivityStreamsBlock) GetActivityStreamsUrl() vocab.ActivityStreamsUr
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsBlock) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsBlock) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsBlock) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsBlock) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -762,10 +721,7 @@ func (this ActivityStreamsBlock) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1253,34 +1209,6 @@ func (this ActivityStreamsBlock) LessThan(o vocab.ActivityStreamsBlock) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1295,20 +1223,6 @@ func (this ActivityStreamsBlock) LessThan(o vocab.ActivityStreamsBlock) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1646,22 +1560,6 @@ func (this ActivityStreamsBlock) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1670,14 +1568,6 @@ func (this ActivityStreamsBlock) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1896,21 +1786,6 @@ func (this *ActivityStreamsBlock) SetActivityStreamsUrl(i vocab.ActivityStreamsU
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsBlock) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsBlock) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsBlock) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsBlock) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -144,14 +144,6 @@ type privateManager interface {
// method for the "ActivityStreamsTagProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
@ -160,10 +152,6 @@ type privateManager interface {
// deserialization method for the "ActivityStreamsTotalItemsProperty"
// non-functional property in the vocabulary "ActivityStreams"
DeserializeTotalItemsPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTotalItemsProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -62,11 +62,8 @@ type ActivityStreamsCollection struct {
ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ActivityStreamsTotalItems vocab.ActivityStreamsTotalItemsProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -313,16 +310,6 @@ func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string)
} else if p != nil {
this.ActivityStreamsTag = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -333,11 +320,6 @@ func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string)
} else if p != nil {
this.ActivityStreamsTotalItems = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -430,16 +412,10 @@ func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string)
continue
} else if k == "tag" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "totalItems" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -689,23 +665,6 @@ func (this ActivityStreamsCollection) GetActivityStreamsUrl() vocab.ActivityStre
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsCollection) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCollection) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCollection) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsCollection) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -774,11 +733,8 @@ func (this ActivityStreamsCollection) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ActivityStreamsTotalItems, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1252,34 +1208,6 @@ func (this ActivityStreamsCollection) LessThan(o vocab.ActivityStreamsCollection
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1308,20 +1236,6 @@ func (this ActivityStreamsCollection) LessThan(o vocab.ActivityStreamsCollection
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1651,22 +1565,6 @@ func (this ActivityStreamsCollection) Serialize() (map[string]interface{}, error
m[this.ActivityStreamsTag.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1683,14 +1581,6 @@ func (this ActivityStreamsCollection) Serialize() (map[string]interface{}, error
m[this.ActivityStreamsTotalItems.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1909,21 +1799,6 @@ func (this *ActivityStreamsCollection) SetActivityStreamsUrl(i vocab.ActivityStr
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsCollection) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsCollection) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsCollection) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsCollection) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -156,14 +156,6 @@ type privateManager interface {
// method for the "ActivityStreamsTagProperty" non-functional property
// in the vocabulary "ActivityStreams"
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
@ -172,10 +164,6 @@ type privateManager interface {
// deserialization method for the "ActivityStreamsTotalItemsProperty"
// non-functional property in the vocabulary "ActivityStreams"
DeserializeTotalItemsPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTotalItemsProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -66,11 +66,8 @@ type ActivityStreamsCollectionPage struct {
ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ActivityStreamsTotalItems vocab.ActivityStreamsTotalItemsProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -332,16 +329,6 @@ func DeserializeCollectionPage(m map[string]interface{}, aliasMap map[string]str
} else if p != nil {
this.ActivityStreamsTag = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -352,11 +339,6 @@ func DeserializeCollectionPage(m map[string]interface{}, aliasMap map[string]str
} else if p != nil {
this.ActivityStreamsTotalItems = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -455,16 +437,10 @@ func DeserializeCollectionPage(m map[string]interface{}, aliasMap map[string]str
continue
} else if k == "tag" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "totalItems" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -732,23 +708,6 @@ func (this ActivityStreamsCollectionPage) GetActivityStreamsUrl() vocab.Activity
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsCollectionPage) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCollectionPage) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCollectionPage) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsCollectionPage) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -820,11 +779,8 @@ func (this ActivityStreamsCollectionPage) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ActivityStreamsTotalItems, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1340,34 +1296,6 @@ func (this ActivityStreamsCollectionPage) LessThan(o vocab.ActivityStreamsCollec
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1396,20 +1324,6 @@ func (this ActivityStreamsCollectionPage) LessThan(o vocab.ActivityStreamsCollec
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1763,22 +1677,6 @@ func (this ActivityStreamsCollectionPage) Serialize() (map[string]interface{}, e
m[this.ActivityStreamsTag.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1795,14 +1693,6 @@ func (this ActivityStreamsCollectionPage) Serialize() (map[string]interface{}, e
m[this.ActivityStreamsTotalItems.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -2036,21 +1926,6 @@ func (this *ActivityStreamsCollectionPage) SetActivityStreamsUrl(i vocab.Activit
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsCollectionPage) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsCollectionPage) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsCollectionPage) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsCollectionPage) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -148,22 +148,10 @@ type privateManager interface {
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -59,10 +59,7 @@ type ActivityStreamsCreate struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -309,26 +306,11 @@ func DeserializeCreate(m map[string]interface{}, aliasMap map[string]string) (*A
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -423,14 +405,8 @@ func DeserializeCreate(m map[string]interface{}, aliasMap map[string]string) (*A
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -680,23 +656,6 @@ func (this ActivityStreamsCreate) GetActivityStreamsUrl() vocab.ActivityStreamsU
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsCreate) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCreate) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCreate) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsCreate) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -766,10 +725,7 @@ func (this ActivityStreamsCreate) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1257,34 +1213,6 @@ func (this ActivityStreamsCreate) LessThan(o vocab.ActivityStreamsCreate) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1299,20 +1227,6 @@ func (this ActivityStreamsCreate) LessThan(o vocab.ActivityStreamsCreate) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1650,22 +1564,6 @@ func (this ActivityStreamsCreate) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1674,14 +1572,6 @@ func (this ActivityStreamsCreate) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1900,21 +1790,6 @@ func (this *ActivityStreamsCreate) SetActivityStreamsUrl(i vocab.ActivityStreams
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsCreate) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsCreate) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsCreate) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsCreate) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -148,22 +148,10 @@ type privateManager interface {
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -60,10 +60,7 @@ type ActivityStreamsDelete struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -310,26 +307,11 @@ func DeserializeDelete(m map[string]interface{}, aliasMap map[string]string) (*A
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -424,14 +406,8 @@ func DeserializeDelete(m map[string]interface{}, aliasMap map[string]string) (*A
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -681,23 +657,6 @@ func (this ActivityStreamsDelete) GetActivityStreamsUrl() vocab.ActivityStreamsU
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsDelete) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsDelete) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsDelete) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsDelete) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -767,10 +726,7 @@ func (this ActivityStreamsDelete) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1258,34 +1214,6 @@ func (this ActivityStreamsDelete) LessThan(o vocab.ActivityStreamsDelete) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1300,20 +1228,6 @@ func (this ActivityStreamsDelete) LessThan(o vocab.ActivityStreamsDelete) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1651,22 +1565,6 @@ func (this ActivityStreamsDelete) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1675,14 +1573,6 @@ func (this ActivityStreamsDelete) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1901,21 +1791,6 @@ func (this *ActivityStreamsDelete) SetActivityStreamsUrl(i vocab.ActivityStreams
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsDelete) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsDelete) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsDelete) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsDelete) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

ファイルの表示

@ -148,22 +148,10 @@ type privateManager interface {
// method for the "ActivityStreamsTargetProperty" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error)
// DeserializeTeamPropertyForgeFed returns the deserialization method for
// the "ForgeFedTeamProperty" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error)
// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization
// method for the "ForgeFedTicketsTrackedByProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error)
// DeserializeToPropertyActivityStreams returns the deserialization method
// for the "ActivityStreamsToProperty" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization
// method for the "ForgeFedTracksTicketsForProperty" non-functional
// property in the vocabulary "ForgeFed"
DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error)
// DeserializeTypePropertyJSONLD returns the deserialization method for
// the "JSONLDTypeProperty" non-functional property in the vocabulary
// "JSONLD"

ファイルの表示

@ -52,10 +52,7 @@ type ActivityStreamsDislike struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -282,26 +279,11 @@ func DeserializeDislike(m map[string]interface{}, aliasMap map[string]string) (*
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -396,14 +378,8 @@ func DeserializeDislike(m map[string]interface{}, aliasMap map[string]string) (*
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -673,23 +649,6 @@ func (this ActivityStreamsDislike) GetActivityStreamsUrl() vocab.ActivityStreams
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsDislike) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsDislike) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsDislike) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsDislike) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -759,10 +718,7 @@ func (this ActivityStreamsDislike) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1250,34 +1206,6 @@ func (this ActivityStreamsDislike) LessThan(o vocab.ActivityStreamsDislike) bool
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1292,20 +1220,6 @@ func (this ActivityStreamsDislike) LessThan(o vocab.ActivityStreamsDislike) bool
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1643,22 +1557,6 @@ func (this ActivityStreamsDislike) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1667,14 +1565,6 @@ func (this ActivityStreamsDislike) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1893,21 +1783,6 @@ func (this *ActivityStreamsDislike) SetActivityStreamsUrl(i vocab.ActivityStream
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsDislike) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsDislike) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsDislike) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsDislike) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

変更されたファイルが多すぎるため、一部のファイルは表示されません さらに表示