Add generated forgefed vocabulary
This commit is contained in:
parent
ee53bc0369
commit
0430970bd3
|
@ -29,12 +29,18 @@ 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"
|
||||
|
||||
|
@ -131,6 +137,9 @@ 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"
|
||||
|
||||
|
@ -146,6 +155,9 @@ 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"
|
||||
|
||||
|
@ -155,6 +167,12 @@ 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"
|
||||
|
||||
|
@ -185,6 +203,9 @@ 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"
|
||||
|
||||
|
@ -209,6 +230,12 @@ 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"
|
||||
|
||||
|
@ -224,21 +251,48 @@ 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"
|
||||
|
||||
|
@ -248,12 +302,18 @@ 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"
|
||||
|
||||
|
@ -278,6 +338,9 @@ 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"
|
||||
|
||||
|
@ -356,6 +419,9 @@ 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"
|
||||
|
||||
|
@ -404,12 +470,21 @@ 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"
|
||||
|
||||
|
|
|
@ -128,6 +128,31 @@ 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"
|
||||
|
@ -280,6 +305,31 @@ 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)
|
||||
|
@ -346,6 +396,12 @@ 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)
|
||||
typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty)
|
||||
|
|
|
@ -49,10 +49,14 @@ 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:
|
||||
|
@ -117,6 +121,8 @@ 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:
|
||||
|
@ -127,12 +133,18 @@ 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:
|
||||
|
@ -224,6 +236,13 @@ 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"]
|
||||
|
@ -338,6 +357,17 @@ 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 {
|
||||
|
@ -360,6 +390,17 @@ 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 {
|
||||
|
@ -712,6 +753,17 @@ 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 {
|
||||
|
@ -767,6 +819,17 @@ 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 {
|
||||
|
@ -800,6 +863,28 @@ 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 {
|
||||
|
|
|
@ -128,6 +128,31 @@ 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"
|
||||
|
@ -294,6 +319,19 @@ 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"
|
||||
|
@ -384,6 +422,18 @@ 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"
|
||||
|
@ -449,6 +499,44 @@ 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"
|
||||
|
@ -527,6 +615,58 @@ 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"
|
||||
|
@ -540,6 +680,19 @@ 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) {
|
||||
|
@ -591,6 +744,19 @@ 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) {
|
||||
|
@ -641,6 +807,45 @@ 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"
|
||||
|
@ -706,6 +911,18 @@ 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"
|
||||
|
@ -745,6 +962,18 @@ 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)
|
||||
if i == nil {
|
||||
return nil, err
|
||||
}
|
||||
return i, err
|
||||
}
|
||||
}
|
||||
|
||||
// DeserializeHeightPropertyActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsHeightProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
@ -925,6 +1154,19 @@ 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"
|
||||
|
@ -1458,6 +1700,18 @@ 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"
|
||||
|
@ -1497,6 +1751,18 @@ 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"
|
||||
|
@ -1575,6 +1841,18 @@ 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"
|
||||
|
@ -1744,6 +2022,18 @@ 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"
|
||||
|
@ -1770,6 +2060,44 @@ 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"
|
||||
|
@ -1809,6 +2137,19 @@ 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"
|
||||
|
|
|
@ -0,0 +1,49 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
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"
|
||||
vocab "github.com/go-fed/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// ForgeFedBranchIsDisjointWith returns true if Branch is disjoint with the
|
||||
// other's type.
|
||||
func ForgeFedBranchIsDisjointWith(other vocab.Type) bool {
|
||||
return typebranch.BranchIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// ForgeFedCommitIsDisjointWith returns true if Commit is disjoint with the
|
||||
// other's type.
|
||||
func ForgeFedCommitIsDisjointWith(other vocab.Type) bool {
|
||||
return typecommit.CommitIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// ForgeFedPushIsDisjointWith returns true if Push is disjoint with the other's
|
||||
// type.
|
||||
func ForgeFedPushIsDisjointWith(other vocab.Type) bool {
|
||||
return typepush.PushIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// ForgeFedRepositoryIsDisjointWith returns true if Repository is disjoint with
|
||||
// the other's type.
|
||||
func ForgeFedRepositoryIsDisjointWith(other vocab.Type) bool {
|
||||
return typerepository.RepositoryIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// ForgeFedTicketIsDisjointWith returns true if Ticket is disjoint with the
|
||||
// other's type.
|
||||
func ForgeFedTicketIsDisjointWith(other vocab.Type) bool {
|
||||
return typeticket.TicketIsDisjointWith(other)
|
||||
}
|
||||
|
||||
// ForgeFedTicketDependencyIsDisjointWith returns true if TicketDependency is
|
||||
// disjoint with the other's type.
|
||||
func ForgeFedTicketDependencyIsDisjointWith(other vocab.Type) bool {
|
||||
return typeticketdependency.TicketDependencyIsDisjointWith(other)
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
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"
|
||||
vocab "github.com/go-fed/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// ForgeFedBranchIsExtendedBy returns true if the other's type extends from
|
||||
// Branch. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func ForgeFedBranchIsExtendedBy(other vocab.Type) bool {
|
||||
return typebranch.BranchIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// ForgeFedCommitIsExtendedBy returns true if the other's type extends from
|
||||
// Commit. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func ForgeFedCommitIsExtendedBy(other vocab.Type) bool {
|
||||
return typecommit.CommitIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// ForgeFedPushIsExtendedBy returns true if the other's type extends from Push.
|
||||
// Note that it returns false if the types are the same; see the "IsOrExtends"
|
||||
// variant instead.
|
||||
func ForgeFedPushIsExtendedBy(other vocab.Type) bool {
|
||||
return typepush.PushIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// ForgeFedRepositoryIsExtendedBy returns true if the other's type extends from
|
||||
// Repository. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func ForgeFedRepositoryIsExtendedBy(other vocab.Type) bool {
|
||||
return typerepository.RepositoryIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// ForgeFedTicketIsExtendedBy returns true if the other's type extends from
|
||||
// Ticket. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtends" variant instead.
|
||||
func ForgeFedTicketIsExtendedBy(other vocab.Type) bool {
|
||||
return typeticket.TicketIsExtendedBy(other)
|
||||
}
|
||||
|
||||
// ForgeFedTicketDependencyIsExtendedBy returns true if the other's type extends
|
||||
// from TicketDependency. Note that it returns false if the types are the
|
||||
// same; see the "IsOrExtends" variant instead.
|
||||
func ForgeFedTicketDependencyIsExtendedBy(other vocab.Type) bool {
|
||||
return typeticketdependency.TicketDependencyIsExtendedBy(other)
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
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"
|
||||
vocab "github.com/go-fed/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// ForgeFedForgeFedBranchExtends returns true if Branch extends from the other's
|
||||
// type.
|
||||
func ForgeFedForgeFedBranchExtends(other vocab.Type) bool {
|
||||
return typebranch.ForgeFedBranchExtends(other)
|
||||
}
|
||||
|
||||
// ForgeFedForgeFedCommitExtends returns true if Commit extends from the other's
|
||||
// type.
|
||||
func ForgeFedForgeFedCommitExtends(other vocab.Type) bool {
|
||||
return typecommit.ForgeFedCommitExtends(other)
|
||||
}
|
||||
|
||||
// ForgeFedForgeFedPushExtends returns true if Push extends from the other's type.
|
||||
func ForgeFedForgeFedPushExtends(other vocab.Type) bool {
|
||||
return typepush.ForgeFedPushExtends(other)
|
||||
}
|
||||
|
||||
// ForgeFedForgeFedRepositoryExtends returns true if Repository extends from the
|
||||
// other's type.
|
||||
func ForgeFedForgeFedRepositoryExtends(other vocab.Type) bool {
|
||||
return typerepository.ForgeFedRepositoryExtends(other)
|
||||
}
|
||||
|
||||
// ForgeFedForgeFedTicketExtends returns true if Ticket extends from the other's
|
||||
// type.
|
||||
func ForgeFedForgeFedTicketExtends(other vocab.Type) bool {
|
||||
return typeticket.ForgeFedTicketExtends(other)
|
||||
}
|
||||
|
||||
// ForgeFedForgeFedTicketDependencyExtends returns true if TicketDependency
|
||||
// extends from the other's type.
|
||||
func ForgeFedForgeFedTicketDependencyExtends(other vocab.Type) bool {
|
||||
return typeticketdependency.ForgeFedTicketDependencyExtends(other)
|
||||
}
|
|
@ -0,0 +1,49 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
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"
|
||||
vocab "github.com/go-fed/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// IsOrExtendsForgeFedBranch returns true if the other provided type is the Branch
|
||||
// type or extends from the Branch type.
|
||||
func IsOrExtendsForgeFedBranch(other vocab.Type) bool {
|
||||
return typebranch.IsOrExtendsBranch(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsForgeFedCommit returns true if the other provided type is the Commit
|
||||
// type or extends from the Commit type.
|
||||
func IsOrExtendsForgeFedCommit(other vocab.Type) bool {
|
||||
return typecommit.IsOrExtendsCommit(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsForgeFedPush returns true if the other provided type is the Push
|
||||
// type or extends from the Push type.
|
||||
func IsOrExtendsForgeFedPush(other vocab.Type) bool {
|
||||
return typepush.IsOrExtendsPush(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsForgeFedRepository returns true if the other provided type is the
|
||||
// Repository type or extends from the Repository type.
|
||||
func IsOrExtendsForgeFedRepository(other vocab.Type) bool {
|
||||
return typerepository.IsOrExtendsRepository(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsForgeFedTicket returns true if the other provided type is the Ticket
|
||||
// type or extends from the Ticket type.
|
||||
func IsOrExtendsForgeFedTicket(other vocab.Type) bool {
|
||||
return typeticket.IsOrExtendsTicket(other)
|
||||
}
|
||||
|
||||
// IsOrExtendsForgeFedTicketDependency returns true if the other provided type is
|
||||
// the TicketDependency type or extends from the TicketDependency type.
|
||||
func IsOrExtendsForgeFedTicketDependency(other vocab.Type) bool {
|
||||
return typeticketdependency.IsOrExtendsTicketDependency(other)
|
||||
}
|
|
@ -0,0 +1,126 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
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"
|
||||
vocab "github.com/go-fed/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// NewForgeFedForgeFedAssignedToProperty creates a new ForgeFedAssignedToProperty
|
||||
func NewForgeFedAssignedToProperty() vocab.ForgeFedAssignedToProperty {
|
||||
return propertyassignedto.NewForgeFedAssignedToProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedCommittedProperty creates a new ForgeFedCommittedProperty
|
||||
func NewForgeFedCommittedProperty() vocab.ForgeFedCommittedProperty {
|
||||
return propertycommitted.NewForgeFedCommittedProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedCommittedByProperty creates a new ForgeFedCommittedByProperty
|
||||
func NewForgeFedCommittedByProperty() vocab.ForgeFedCommittedByProperty {
|
||||
return propertycommittedby.NewForgeFedCommittedByProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedDependantsProperty creates a new ForgeFedDependantsProperty
|
||||
func NewForgeFedDependantsProperty() vocab.ForgeFedDependantsProperty {
|
||||
return propertydependants.NewForgeFedDependantsProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedDependedByProperty creates a new ForgeFedDependedByProperty
|
||||
func NewForgeFedDependedByProperty() vocab.ForgeFedDependedByProperty {
|
||||
return propertydependedby.NewForgeFedDependedByProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedDependenciesProperty creates a new
|
||||
// ForgeFedDependenciesProperty
|
||||
func NewForgeFedDependenciesProperty() vocab.ForgeFedDependenciesProperty {
|
||||
return propertydependencies.NewForgeFedDependenciesProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedDependsOnProperty creates a new ForgeFedDependsOnProperty
|
||||
func NewForgeFedDependsOnProperty() vocab.ForgeFedDependsOnProperty {
|
||||
return propertydependson.NewForgeFedDependsOnProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedDescriptionProperty creates a new ForgeFedDescriptionProperty
|
||||
func NewForgeFedDescriptionProperty() vocab.ForgeFedDescriptionProperty {
|
||||
return propertydescription.NewForgeFedDescriptionProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedEarlyItemsProperty creates a new ForgeFedEarlyItemsProperty
|
||||
func NewForgeFedEarlyItemsProperty() vocab.ForgeFedEarlyItemsProperty {
|
||||
return propertyearlyitems.NewForgeFedEarlyItemsProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedFilesAddedProperty creates a new ForgeFedFilesAddedProperty
|
||||
func NewForgeFedFilesAddedProperty() vocab.ForgeFedFilesAddedProperty {
|
||||
return propertyfilesadded.NewForgeFedFilesAddedProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedFilesModifiedProperty creates a new
|
||||
// ForgeFedFilesModifiedProperty
|
||||
func NewForgeFedFilesModifiedProperty() vocab.ForgeFedFilesModifiedProperty {
|
||||
return propertyfilesmodified.NewForgeFedFilesModifiedProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedFilesRemovedProperty creates a new
|
||||
// ForgeFedFilesRemovedProperty
|
||||
func NewForgeFedFilesRemovedProperty() vocab.ForgeFedFilesRemovedProperty {
|
||||
return propertyfilesremoved.NewForgeFedFilesRemovedProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedForksProperty creates a new ForgeFedForksProperty
|
||||
func NewForgeFedForksProperty() vocab.ForgeFedForksProperty {
|
||||
return propertyforks.NewForgeFedForksProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedHashProperty creates a new ForgeFedHashProperty
|
||||
func NewForgeFedHashProperty() vocab.ForgeFedHashProperty {
|
||||
return propertyhash.NewForgeFedHashProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedIsResolvedProperty creates a new ForgeFedIsResolvedProperty
|
||||
func NewForgeFedIsResolvedProperty() vocab.ForgeFedIsResolvedProperty {
|
||||
return propertyisresolved.NewForgeFedIsResolvedProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedRefProperty creates a new ForgeFedRefProperty
|
||||
func NewForgeFedRefProperty() vocab.ForgeFedRefProperty {
|
||||
return propertyref.NewForgeFedRefProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedTeamProperty creates a new ForgeFedTeamProperty
|
||||
func NewForgeFedTeamProperty() vocab.ForgeFedTeamProperty {
|
||||
return propertyteam.NewForgeFedTeamProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedTicketsTrackedByProperty creates a new
|
||||
// ForgeFedTicketsTrackedByProperty
|
||||
func NewForgeFedTicketsTrackedByProperty() vocab.ForgeFedTicketsTrackedByProperty {
|
||||
return propertyticketstrackedby.NewForgeFedTicketsTrackedByProperty()
|
||||
}
|
||||
|
||||
// NewForgeFedForgeFedTracksTicketsForProperty creates a new
|
||||
// ForgeFedTracksTicketsForProperty
|
||||
func NewForgeFedTracksTicketsForProperty() vocab.ForgeFedTracksTicketsForProperty {
|
||||
return propertytracksticketsfor.NewForgeFedTracksTicketsForProperty()
|
||||
}
|
|
@ -0,0 +1,43 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package streams
|
||||
|
||||
import (
|
||||
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"
|
||||
vocab "github.com/go-fed/activity/streams/vocab"
|
||||
)
|
||||
|
||||
// NewForgeFedBranch creates a new ForgeFedBranch
|
||||
func NewForgeFedBranch() vocab.ForgeFedBranch {
|
||||
return typebranch.NewForgeFedBranch()
|
||||
}
|
||||
|
||||
// NewForgeFedCommit creates a new ForgeFedCommit
|
||||
func NewForgeFedCommit() vocab.ForgeFedCommit {
|
||||
return typecommit.NewForgeFedCommit()
|
||||
}
|
||||
|
||||
// NewForgeFedPush creates a new ForgeFedPush
|
||||
func NewForgeFedPush() vocab.ForgeFedPush {
|
||||
return typepush.NewForgeFedPush()
|
||||
}
|
||||
|
||||
// NewForgeFedRepository creates a new ForgeFedRepository
|
||||
func NewForgeFedRepository() vocab.ForgeFedRepository {
|
||||
return typerepository.NewForgeFedRepository()
|
||||
}
|
||||
|
||||
// NewForgeFedTicket creates a new ForgeFedTicket
|
||||
func NewForgeFedTicket() vocab.ForgeFedTicket {
|
||||
return typeticket.NewForgeFedTicket()
|
||||
}
|
||||
|
||||
// NewForgeFedTicketDependency creates a new ForgeFedTicketDependency
|
||||
func NewForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
|
||||
return typeticketdependency.NewForgeFedTicketDependency()
|
||||
}
|
|
@ -73,12 +73,18 @@ 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
|
||||
|
@ -175,6 +181,9 @@ 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
|
||||
|
@ -190,6 +199,9 @@ 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
|
||||
|
@ -199,6 +211,12 @@ 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,10 +47,14 @@ 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):
|
||||
|
@ -115,6 +119,8 @@ 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):
|
||||
|
@ -125,12 +131,18 @@ 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):
|
||||
|
@ -261,6 +273,17 @@ 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 {
|
||||
|
@ -283,6 +306,17 @@ 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 {
|
||||
|
@ -635,6 +669,17 @@ 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 {
|
||||
|
@ -690,6 +735,17 @@ 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 {
|
||||
|
@ -723,6 +779,28 @@ 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,10 +46,14 @@ 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:
|
||||
|
@ -114,6 +118,8 @@ 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:
|
||||
|
@ -124,12 +130,18 @@ 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:
|
||||
|
@ -238,6 +250,15 @@ 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 {
|
||||
|
@ -256,6 +277,15 @@ 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 {
|
||||
|
@ -544,6 +574,15 @@ 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 {
|
||||
|
@ -589,6 +628,15 @@ 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 {
|
||||
|
@ -616,6 +664,24 @@ 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,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -169,6 +177,9 @@ 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"
|
||||
|
@ -189,6 +200,10 @@ 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"
|
||||
|
@ -201,6 +216,14 @@ 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,8 +24,10 @@ 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
|
||||
|
@ -54,14 +56,18 @@ 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
|
||||
|
@ -161,6 +167,12 @@ 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,
|
||||
|
@ -173,6 +185,12 @@ 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,
|
||||
|
@ -341,6 +359,12 @@ 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,
|
||||
|
@ -371,6 +395,12 @@ 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,
|
||||
|
@ -389,6 +419,18 @@ 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,
|
||||
|
@ -454,8 +496,10 @@ 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
|
||||
|
@ -484,14 +528,18 @@ 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
|
||||
|
@ -866,6 +914,44 @@ 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 {
|
||||
|
@ -918,12 +1004,18 @@ 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()
|
||||
}
|
||||
|
@ -1008,6 +1100,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsProfile() {
|
||||
return this.GetActivityStreamsProfile()
|
||||
}
|
||||
if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush()
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion()
|
||||
}
|
||||
|
@ -1023,6 +1118,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove()
|
||||
}
|
||||
if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
|
@ -1032,6 +1130,12 @@ 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()
|
||||
}
|
||||
|
@ -1066,8 +1170,10 @@ 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() ||
|
||||
|
@ -1096,14 +1202,18 @@ 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() ||
|
||||
|
@ -1482,6 +1592,48 @@ 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 {
|
||||
|
@ -1527,10 +1679,14 @@ 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() {
|
||||
|
@ -1587,6 +1743,8 @@ 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() {
|
||||
|
@ -1597,12 +1755,18 @@ 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() {
|
||||
|
@ -1661,138 +1825,156 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsBlock() {
|
||||
return 9
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsForgeFedBranch() {
|
||||
return 10
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsForgeFedCommit() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 15
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 20
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 23
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 25
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 32
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsForgeFedPush() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 44
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 47
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsForgeFedRepository() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 50
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsForgeFedTicket() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsForgeFedTicketDependency() {
|
||||
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
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -1830,10 +2012,14 @@ 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() {
|
||||
|
@ -1890,6 +2076,8 @@ 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() {
|
||||
|
@ -1900,12 +2088,18 @@ 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() {
|
||||
|
@ -1958,10 +2152,14 @@ 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() {
|
||||
|
@ -2018,6 +2216,8 @@ 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() {
|
||||
|
@ -2028,12 +2228,18 @@ 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() {
|
||||
|
@ -2416,6 +2622,48 @@ 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()
|
||||
|
@ -2479,6 +2727,10 @@ 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
|
||||
|
@ -2487,6 +2739,10 @@ 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
|
||||
|
@ -2599,6 +2855,10 @@ 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
|
||||
|
@ -2619,6 +2879,10 @@ 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
|
||||
|
@ -2631,6 +2895,14 @@ 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,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -169,6 +177,9 @@ 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"
|
||||
|
@ -189,6 +200,10 @@ 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"
|
||||
|
@ -201,6 +216,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -169,6 +177,9 @@ 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"
|
||||
|
@ -189,6 +200,10 @@ 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"
|
||||
|
@ -201,6 +216,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ 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,8 +25,10 @@ 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
|
||||
|
@ -56,14 +58,18 @@ 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
|
||||
|
@ -169,6 +175,12 @@ 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,
|
||||
|
@ -181,6 +193,12 @@ 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,
|
||||
|
@ -355,6 +373,12 @@ 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,
|
||||
|
@ -385,6 +409,12 @@ 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,
|
||||
|
@ -403,6 +433,18 @@ 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,
|
||||
|
@ -469,8 +511,10 @@ 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
|
||||
|
@ -500,14 +544,18 @@ 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
|
||||
|
@ -896,6 +944,44 @@ 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 {
|
||||
|
@ -951,12 +1037,18 @@ 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()
|
||||
}
|
||||
|
@ -1044,6 +1136,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsProfile() {
|
||||
return this.GetActivityStreamsProfile()
|
||||
}
|
||||
if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush()
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion()
|
||||
}
|
||||
|
@ -1059,6 +1154,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove()
|
||||
}
|
||||
if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
|
@ -1068,6 +1166,12 @@ 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()
|
||||
}
|
||||
|
@ -1103,8 +1207,10 @@ 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() ||
|
||||
|
@ -1134,14 +1240,18 @@ 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() ||
|
||||
|
@ -1534,6 +1644,48 @@ 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 {
|
||||
|
@ -1581,10 +1733,14 @@ 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() {
|
||||
|
@ -1643,6 +1799,8 @@ 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() {
|
||||
|
@ -1653,12 +1811,18 @@ 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() {
|
||||
|
@ -1720,141 +1884,159 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsBlock() {
|
||||
return 10
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsForgeFedBranch() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsForgeFedCommit() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 16
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 21
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 23
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 25
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 32
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsForgeFedPush() {
|
||||
return 44
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 47
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsForgeFedRepository() {
|
||||
return 50
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 53
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsForgeFedTicket() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsForgeFedTicketDependency() {
|
||||
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
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -1894,10 +2076,14 @@ 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() {
|
||||
|
@ -1956,6 +2142,8 @@ 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() {
|
||||
|
@ -1966,12 +2154,18 @@ 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() {
|
||||
|
@ -2026,10 +2220,14 @@ 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() {
|
||||
|
@ -2088,6 +2286,8 @@ 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() {
|
||||
|
@ -2098,12 +2298,18 @@ 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() {
|
||||
|
@ -2500,6 +2706,48 @@ 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()
|
||||
|
@ -2567,6 +2815,10 @@ 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
|
||||
|
@ -2575,6 +2827,10 @@ 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
|
||||
|
@ -2691,6 +2947,10 @@ 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
|
||||
|
@ -2711,6 +2971,10 @@ 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
|
||||
|
@ -2723,6 +2987,14 @@ 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,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ 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,8 +25,10 @@ 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
|
||||
|
@ -56,14 +58,18 @@ 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
|
||||
|
@ -169,6 +175,12 @@ 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,
|
||||
|
@ -181,6 +193,12 @@ 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,
|
||||
|
@ -355,6 +373,12 @@ 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,
|
||||
|
@ -385,6 +409,12 @@ 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,
|
||||
|
@ -403,6 +433,18 @@ 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,
|
||||
|
@ -469,8 +511,10 @@ 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
|
||||
|
@ -500,14 +544,18 @@ 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
|
||||
|
@ -896,6 +944,44 @@ 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 {
|
||||
|
@ -951,12 +1037,18 @@ 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()
|
||||
}
|
||||
|
@ -1044,6 +1136,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsProfile() {
|
||||
return this.GetActivityStreamsProfile()
|
||||
}
|
||||
if this.IsForgeFedPush() {
|
||||
return this.GetForgeFedPush()
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return this.GetActivityStreamsQuestion()
|
||||
}
|
||||
|
@ -1059,6 +1154,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsActivityStreamsRemove() {
|
||||
return this.GetActivityStreamsRemove()
|
||||
}
|
||||
if this.IsForgeFedRepository() {
|
||||
return this.GetForgeFedRepository()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
|
@ -1068,6 +1166,12 @@ 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()
|
||||
}
|
||||
|
@ -1103,8 +1207,10 @@ 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() ||
|
||||
|
@ -1134,14 +1240,18 @@ 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() ||
|
||||
|
@ -1534,6 +1644,48 @@ 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 {
|
||||
|
@ -1581,10 +1733,14 @@ 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() {
|
||||
|
@ -1643,6 +1799,8 @@ 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() {
|
||||
|
@ -1653,12 +1811,18 @@ 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() {
|
||||
|
@ -1720,141 +1884,159 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
|
|||
if this.IsActivityStreamsBlock() {
|
||||
return 10
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsForgeFedBranch() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsForgeFedCommit() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 16
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 21
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 23
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 25
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 32
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsForgeFedPush() {
|
||||
return 44
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 47
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsForgeFedRepository() {
|
||||
return 50
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 53
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsForgeFedTicket() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsForgeFedTicketDependency() {
|
||||
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
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
@ -1894,10 +2076,14 @@ 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() {
|
||||
|
@ -1956,6 +2142,8 @@ 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() {
|
||||
|
@ -1966,12 +2154,18 @@ 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() {
|
||||
|
@ -2026,10 +2220,14 @@ 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() {
|
||||
|
@ -2088,6 +2286,8 @@ 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() {
|
||||
|
@ -2098,12 +2298,18 @@ 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() {
|
||||
|
@ -2500,6 +2706,48 @@ 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()
|
||||
|
@ -2567,6 +2815,10 @@ 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
|
||||
|
@ -2575,6 +2827,10 @@ 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
|
||||
|
@ -2691,6 +2947,10 @@ 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
|
||||
|
@ -2711,6 +2971,10 @@ 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
|
||||
|
@ -2723,6 +2987,14 @@ 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,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -45,6 +45,10 @@ 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"
|
||||
|
@ -53,6 +57,10 @@ 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"
|
||||
|
@ -177,6 +185,9 @@ 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"
|
||||
|
@ -197,6 +208,10 @@ 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"
|
||||
|
@ -209,6 +224,14 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsTentativeReject" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
|
||||
// DeserializeTicketDependencyForgeFed returns the deserialization method
|
||||
// for the "ForgeFedTicketDependency" non-functional property in the
|
||||
// vocabulary "ForgeFed"
|
||||
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
|
||||
// DeserializeTicketForgeFed returns the deserialization method for the
|
||||
// "ForgeFedTicket" non-functional property in the vocabulary
|
||||
// "ForgeFed"
|
||||
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
|
||||
// DeserializeTombstoneActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsTombstone" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -148,10 +148,22 @@ 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,7 +82,10 @@ 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
|
||||
|
@ -334,11 +337,26 @@ 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 {
|
||||
|
@ -433,8 +451,14 @@ 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" {
|
||||
|
@ -684,6 +708,23 @@ 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
|
||||
|
@ -753,7 +794,10 @@ 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)
|
||||
|
@ -1241,6 +1285,34 @@ 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) {
|
||||
|
@ -1255,6 +1327,20 @@ 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) {
|
||||
|
@ -1592,6 +1678,22 @@ 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 {
|
||||
|
@ -1600,6 +1702,14 @@ 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 {
|
||||
|
@ -1818,6 +1928,21 @@ 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,10 +148,22 @@ 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,7 +62,10 @@ 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
|
||||
|
@ -86,7 +89,7 @@ func ActivityIsDisjointWith(other vocab.Type) bool {
|
|||
// Activity type. Note that it returns false if the types are the same; see
|
||||
// the "IsOrExtendsActivity" variant instead.
|
||||
func ActivityIsExtendedBy(other vocab.Type) bool {
|
||||
extensions := []string{"Accept", "Add", "Announce", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
|
||||
extensions := []string{"Accept", "Add", "Announce", "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"}
|
||||
for _, ext := range extensions {
|
||||
if ext == other.GetTypeName() {
|
||||
return true
|
||||
|
@ -314,11 +317,26 @@ 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 {
|
||||
|
@ -413,8 +431,14 @@ 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" {
|
||||
|
@ -664,6 +688,23 @@ 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
|
||||
|
@ -733,7 +774,10 @@ 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)
|
||||
|
@ -1221,6 +1265,34 @@ 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) {
|
||||
|
@ -1235,6 +1307,20 @@ 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) {
|
||||
|
@ -1572,6 +1658,22 @@ 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 {
|
||||
|
@ -1580,6 +1682,14 @@ 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 {
|
||||
|
@ -1798,6 +1908,21 @@ 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,10 +148,22 @@ 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,7 +82,10 @@ 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
|
||||
|
@ -329,11 +332,26 @@ 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 {
|
||||
|
@ -428,8 +446,14 @@ 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" {
|
||||
|
@ -679,6 +703,23 @@ 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
|
||||
|
@ -748,7 +789,10 @@ 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)
|
||||
|
@ -1236,6 +1280,34 @@ 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) {
|
||||
|
@ -1250,6 +1322,20 @@ 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) {
|
||||
|
@ -1587,6 +1673,22 @@ 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 {
|
||||
|
@ -1595,6 +1697,14 @@ 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 {
|
||||
|
@ -1813,6 +1923,21 @@ 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,10 +148,22 @@ 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,7 +64,10 @@ 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
|
||||
|
@ -311,11 +314,26 @@ 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 {
|
||||
|
@ -410,8 +428,14 @@ 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" {
|
||||
|
@ -661,6 +685,23 @@ 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
|
||||
|
@ -730,7 +771,10 @@ 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)
|
||||
|
@ -1218,6 +1262,34 @@ 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) {
|
||||
|
@ -1232,6 +1304,20 @@ 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) {
|
||||
|
@ -1569,6 +1655,22 @@ 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 {
|
||||
|
@ -1577,6 +1679,14 @@ 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 {
|
||||
|
@ -1795,6 +1905,21 @@ 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
|
||||
|
|
|
@ -169,10 +169,22 @@ 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"
|
||||
|
|
|
@ -55,7 +55,10 @@ 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
|
||||
|
@ -327,11 +330,26 @@ 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 {
|
||||
|
@ -438,8 +456,14 @@ 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" {
|
||||
|
@ -701,6 +725,23 @@ 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
|
||||
|
@ -792,7 +833,10 @@ 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)
|
||||
|
@ -1350,6 +1394,34 @@ 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) {
|
||||
|
@ -1364,6 +1436,20 @@ 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) {
|
||||
|
@ -1741,6 +1827,22 @@ 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 {
|
||||
|
@ -1749,6 +1851,14 @@ 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 {
|
||||
|
@ -1977,6 +2087,21 @@ 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,10 +144,22 @@ 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,7 +63,10 @@ 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
|
||||
|
@ -305,11 +308,26 @@ 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 {
|
||||
|
@ -402,8 +420,14 @@ 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" {
|
||||
|
@ -647,6 +671,23 @@ 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
|
||||
|
@ -715,7 +756,10 @@ 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)
|
||||
|
@ -1189,6 +1233,34 @@ 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) {
|
||||
|
@ -1203,6 +1275,20 @@ 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) {
|
||||
|
@ -1532,6 +1618,22 @@ 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 {
|
||||
|
@ -1540,6 +1642,14 @@ 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 {
|
||||
|
@ -1753,6 +1863,21 @@ 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,10 +128,22 @@ 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,7 +48,10 @@ 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
|
||||
|
@ -270,11 +273,26 @@ 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 {
|
||||
|
@ -359,8 +377,14 @@ 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" {
|
||||
|
@ -580,6 +604,23 @@ 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
|
||||
|
@ -644,7 +685,10 @@ 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)
|
||||
|
@ -1062,6 +1106,34 @@ 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) {
|
||||
|
@ -1076,6 +1148,20 @@ 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) {
|
||||
|
@ -1373,6 +1459,22 @@ 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 {
|
||||
|
@ -1381,6 +1483,14 @@ 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 {
|
||||
|
@ -1574,6 +1684,21 @@ 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,10 +132,22 @@ 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,7 +51,10 @@ 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
|
||||
|
@ -278,11 +281,26 @@ 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 {
|
||||
|
@ -369,8 +387,14 @@ 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" {
|
||||
|
@ -590,6 +614,23 @@ 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
|
||||
|
@ -660,7 +701,10 @@ 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)
|
||||
|
@ -1092,6 +1136,34 @@ 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) {
|
||||
|
@ -1106,6 +1178,20 @@ 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) {
|
||||
|
@ -1411,6 +1497,22 @@ 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 {
|
||||
|
@ -1419,6 +1521,14 @@ 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 {
|
||||
|
@ -1612,6 +1722,21 @@ 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,10 +148,22 @@ 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,7 +55,10 @@ 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
|
||||
|
@ -302,11 +305,26 @@ 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 {
|
||||
|
@ -401,8 +419,14 @@ 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" {
|
||||
|
@ -652,6 +676,23 @@ 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
|
||||
|
@ -721,7 +762,10 @@ 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)
|
||||
|
@ -1209,6 +1253,34 @@ 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) {
|
||||
|
@ -1223,6 +1295,20 @@ 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) {
|
||||
|
@ -1560,6 +1646,22 @@ 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 {
|
||||
|
@ -1568,6 +1670,14 @@ 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 {
|
||||
|
@ -1786,6 +1896,21 @@ 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,6 +144,14 @@ 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"
|
||||
|
@ -152,6 +160,10 @@ 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,8 +62,11 @@ 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
|
||||
|
@ -310,6 +313,16 @@ 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 {
|
||||
|
@ -320,6 +333,11 @@ 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 {
|
||||
|
@ -412,10 +430,16 @@ 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" {
|
||||
|
@ -665,6 +689,23 @@ 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
|
||||
|
@ -733,8 +774,11 @@ 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)
|
||||
|
@ -1208,6 +1252,34 @@ 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) {
|
||||
|
@ -1236,6 +1308,20 @@ 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) {
|
||||
|
@ -1565,6 +1651,22 @@ 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 {
|
||||
|
@ -1581,6 +1683,14 @@ 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 {
|
||||
|
@ -1799,6 +1909,21 @@ 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,6 +156,14 @@ 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"
|
||||
|
@ -164,6 +172,10 @@ 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,8 +66,11 @@ 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
|
||||
|
@ -329,6 +332,16 @@ 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 {
|
||||
|
@ -339,6 +352,11 @@ 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 {
|
||||
|
@ -437,10 +455,16 @@ 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" {
|
||||
|
@ -708,6 +732,23 @@ 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
|
||||
|
@ -779,8 +820,11 @@ 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)
|
||||
|
@ -1296,6 +1340,34 @@ 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) {
|
||||
|
@ -1324,6 +1396,20 @@ 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) {
|
||||
|
@ -1677,6 +1763,22 @@ 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 {
|
||||
|
@ -1693,6 +1795,14 @@ 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 {
|
||||
|
@ -1926,6 +2036,21 @@ 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,10 +148,22 @@ 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,7 +59,10 @@ 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
|
||||
|
@ -306,11 +309,26 @@ 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 {
|
||||
|
@ -405,8 +423,14 @@ 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" {
|
||||
|
@ -656,6 +680,23 @@ 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
|
||||
|
@ -725,7 +766,10 @@ 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)
|
||||
|
@ -1213,6 +1257,34 @@ 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) {
|
||||
|
@ -1227,6 +1299,20 @@ 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) {
|
||||
|
@ -1564,6 +1650,22 @@ 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 {
|
||||
|
@ -1572,6 +1674,14 @@ 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 {
|
||||
|
@ -1790,6 +1900,21 @@ 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,10 +148,22 @@ 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,7 +60,10 @@ 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
|
||||
|
@ -307,11 +310,26 @@ 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 {
|
||||
|
@ -406,8 +424,14 @@ 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" {
|
||||
|
@ -657,6 +681,23 @@ 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
|
||||
|
@ -726,7 +767,10 @@ 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)
|
||||
|
@ -1214,6 +1258,34 @@ 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) {
|
||||
|
@ -1228,6 +1300,20 @@ 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) {
|
||||
|
@ -1565,6 +1651,22 @@ 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 {
|
||||
|
@ -1573,6 +1675,14 @@ 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 {
|
||||
|
@ -1791,6 +1901,21 @@ 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,10 +148,22 @@ 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,7 +52,10 @@ 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
|
||||
|
@ -279,11 +282,26 @@ 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 {
|
||||
|
@ -378,8 +396,14 @@ 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" {
|
||||
|
@ -649,6 +673,23 @@ 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
|
||||
|
@ -718,7 +759,10 @@ 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)
|
||||
|
@ -1206,6 +1250,34 @@ 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) {
|
||||
|
@ -1220,6 +1292,20 @@ 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) {
|
||||
|
@ -1557,6 +1643,22 @@ 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 {
|
||||
|
@ -1565,6 +1667,14 @@ 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 {
|
||||
|
@ -1783,6 +1893,21 @@ 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
|
||||
|
|
|
@ -132,10 +132,22 @@ 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"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue