[chore] Update activity dependency (#2031)

This commit is contained in:
tobi 2023-07-27 20:54:30 +02:00 committed by GitHub
commit cf4bd700fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
405 changed files with 7566 additions and 86024 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -13,6 +13,9 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"

View file

@ -16,6 +16,7 @@ import (
type ActivityStreamsCurrentProperty struct {
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
activitystreamsLinkMember vocab.ActivityStreamsLink
tootHashtagMember vocab.TootHashtag
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
unknown interface{}
@ -63,6 +64,12 @@ func DeserializeCurrentProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsCurrentProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsCurrentProperty{
activitystreamsMentionMember: v,
@ -96,6 +103,7 @@ func NewActivityStreamsCurrentProperty() *ActivityStreamsCurrentProperty {
func (this *ActivityStreamsCurrentProperty) Clear() {
this.activitystreamsCollectionPageMember = nil
this.activitystreamsLinkMember = nil
this.tootHashtagMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsOrderedCollectionPageMember = nil
this.unknown = nil
@ -136,6 +144,12 @@ func (this ActivityStreamsCurrentProperty) GetIRI() *url.URL {
return this.iri
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsCurrentProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetType returns the value in this property as a Type. Returns nil if the value
// is not an ActivityStreams type, such as an IRI or another value.
func (this ActivityStreamsCurrentProperty) GetType() vocab.Type {
@ -145,6 +159,9 @@ func (this ActivityStreamsCurrentProperty) GetType() vocab.Type {
if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention()
}
@ -159,6 +176,7 @@ func (this ActivityStreamsCurrentProperty) GetType() vocab.Type {
func (this ActivityStreamsCurrentProperty) HasAny() bool {
return this.IsActivityStreamsCollectionPage() ||
this.IsActivityStreamsLink() ||
this.IsTootHashtag() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsOrderedCollectionPage() ||
this.iri != nil
@ -200,6 +218,13 @@ func (this ActivityStreamsCurrentProperty) IsIRI() bool {
return this.iri != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsCurrentProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// JSONLDContext returns the JSONLD URIs required in the context string for this
// property and the specific values that are set. The value in the map is the
// alias used to import the property's value or values.
@ -210,6 +235,8 @@ func (this ActivityStreamsCurrentProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsActivityStreamsLink() {
child = this.GetActivityStreamsLink().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsActivityStreamsMention() {
child = this.GetActivityStreamsMention().JSONLDContext()
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -236,12 +263,15 @@ func (this ActivityStreamsCurrentProperty) KindIndex() int {
if this.IsActivityStreamsLink() {
return 1
}
if this.IsActivityStreamsMention() {
if this.IsTootHashtag() {
return 2
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsMention() {
return 3
}
if this.IsActivityStreamsOrderedCollectionPage() {
return 4
}
if this.IsIRI() {
return -2
}
@ -263,6 +293,8 @@ func (this ActivityStreamsCurrentProperty) LessThan(o vocab.ActivityStreamsCurre
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -291,6 +323,8 @@ func (this ActivityStreamsCurrentProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().Serialize()
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -335,6 +369,13 @@ func (this *ActivityStreamsCurrentProperty) SetIRI(v *url.URL) {
this.iri = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsCurrentProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetType attempts to set the property for the arbitrary type. Returns an error
// if it is not a valid type to set on this property.
func (this *ActivityStreamsCurrentProperty) SetType(t vocab.Type) error {
@ -346,6 +387,10 @@ func (this *ActivityStreamsCurrentProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLink(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsMention); ok {
this.SetActivityStreamsMention(v)
return nil

View file

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -181,9 +173,6 @@ type privateManager interface {
// the "SchemaPropertyValue" non-functional property in the vocabulary
// "Schema"
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -204,10 +193,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -220,14 +205,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

View file

@ -24,10 +24,8 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsArticleMember vocab.ActivityStreamsArticle
activitystreamsAudioMember vocab.ActivityStreamsAudio
activitystreamsBlockMember vocab.ActivityStreamsBlock
forgefedBranchMember vocab.ForgeFedBranch
activitystreamsCollectionMember vocab.ActivityStreamsCollection
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
forgefedCommitMember vocab.ForgeFedCommit
activitystreamsCreateMember vocab.ActivityStreamsCreate
activitystreamsDeleteMember vocab.ActivityStreamsDelete
activitystreamsDislikeMember vocab.ActivityStreamsDislike
@ -57,18 +55,14 @@ type ActivityStreamsDescribesProperty struct {
activitystreamsPlaceMember vocab.ActivityStreamsPlace
activitystreamsProfileMember vocab.ActivityStreamsProfile
schemaPropertyValueMember vocab.SchemaPropertyValue
forgefedPushMember vocab.ForgeFedPush
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
activitystreamsReadMember vocab.ActivityStreamsRead
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
forgefedRepositoryMember vocab.ForgeFedRepository
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
forgefedTicketMember vocab.ForgeFedTicket
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
activitystreamsTravelMember vocab.ActivityStreamsTravel
activitystreamsUndoMember vocab.ActivityStreamsUndo
@ -168,12 +162,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedBranchMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsCollectionMember: v,
@ -186,12 +174,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedCommitMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsCreateMember: v,
@ -366,12 +348,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
schemaPropertyValueMember: v,
}
return this, nil
} else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedPushMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsQuestionMember: v,
@ -402,12 +378,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedRepositoryMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsServiceMember: v,
@ -426,18 +396,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedTicketMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
alias: alias,
forgefedTicketDependencyMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsDescribesProperty{
activitystreamsTombstoneMember: v,
@ -503,10 +461,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsArticleMember = nil
this.activitystreamsAudioMember = nil
this.activitystreamsBlockMember = nil
this.forgefedBranchMember = nil
this.activitystreamsCollectionMember = nil
this.activitystreamsCollectionPageMember = nil
this.forgefedCommitMember = nil
this.activitystreamsCreateMember = nil
this.activitystreamsDeleteMember = nil
this.activitystreamsDislikeMember = nil
@ -536,18 +492,14 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
this.activitystreamsPlaceMember = nil
this.activitystreamsProfileMember = nil
this.schemaPropertyValueMember = nil
this.forgefedPushMember = nil
this.activitystreamsQuestionMember = nil
this.activitystreamsReadMember = nil
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.forgefedRepositoryMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
this.forgefedTicketMember = nil
this.forgefedTicketDependencyMember = nil
this.activitystreamsTombstoneMember = nil
this.activitystreamsTravelMember = nil
this.activitystreamsUndoMember = nil
@ -922,44 +874,6 @@ func (this ActivityStreamsDescribesProperty) GetActivityStreamsView() vocab.Acti
return this.activitystreamsViewMember
}
// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch
// returns false, GetForgeFedBranch will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedBranch() vocab.ForgeFedBranch {
return this.forgefedBranchMember
}
// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit
// returns false, GetForgeFedCommit will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedCommit() vocab.ForgeFedCommit {
return this.forgefedCommitMember
}
// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns
// false, GetForgeFedPush will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedPush() vocab.ForgeFedPush {
return this.forgefedPushMember
}
// GetForgeFedRepository returns the value of this property. When
// IsForgeFedRepository returns false, GetForgeFedRepository will return an
// arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedRepository() vocab.ForgeFedRepository {
return this.forgefedRepositoryMember
}
// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket
// returns false, GetForgeFedTicket will return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedTicket() vocab.ForgeFedTicket {
return this.forgefedTicketMember
}
// GetForgeFedTicketDependency returns the value of this property. When
// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will
// return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
return this.forgefedTicketDependencyMember
}
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL {
@ -1019,18 +933,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock()
}
if this.IsForgeFedBranch() {
return this.GetForgeFedBranch()
}
if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection()
}
if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage()
}
if this.IsForgeFedCommit() {
return this.GetForgeFedCommit()
}
if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate()
}
@ -1118,9 +1026,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsSchemaPropertyValue() {
return this.GetSchemaPropertyValue()
}
if this.IsForgeFedPush() {
return this.GetForgeFedPush()
}
if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion()
}
@ -1136,9 +1041,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
if this.IsForgeFedRepository() {
return this.GetForgeFedRepository()
}
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@ -1148,12 +1050,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject()
}
if this.IsForgeFedTicket() {
return this.GetForgeFedTicket()
}
if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency()
}
if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone()
}
@ -1188,10 +1084,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsArticle() ||
this.IsActivityStreamsAudio() ||
this.IsActivityStreamsBlock() ||
this.IsForgeFedBranch() ||
this.IsActivityStreamsCollection() ||
this.IsActivityStreamsCollectionPage() ||
this.IsForgeFedCommit() ||
this.IsActivityStreamsCreate() ||
this.IsActivityStreamsDelete() ||
this.IsActivityStreamsDislike() ||
@ -1221,18 +1115,14 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
this.IsActivityStreamsPlace() ||
this.IsActivityStreamsProfile() ||
this.IsSchemaPropertyValue() ||
this.IsForgeFedPush() ||
this.IsActivityStreamsQuestion() ||
this.IsActivityStreamsRead() ||
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsForgeFedRepository() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
this.IsForgeFedTicket() ||
this.IsForgeFedTicketDependency() ||
this.IsActivityStreamsTombstone() ||
this.IsActivityStreamsTravel() ||
this.IsActivityStreamsUndo() ||
@ -1611,48 +1501,6 @@ func (this ActivityStreamsDescribesProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
// IsForgeFedBranch returns true if this property has a type of "Branch". When
// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and
// set this property.
func (this ActivityStreamsDescribesProperty) IsForgeFedBranch() bool {
return this.forgefedBranchMember != nil
}
// IsForgeFedCommit returns true if this property has a type of "Commit". When
// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and
// set this property.
func (this ActivityStreamsDescribesProperty) IsForgeFedCommit() bool {
return this.forgefedCommitMember != nil
}
// IsForgeFedPush returns true if this property has a type of "Push". When true,
// use the GetForgeFedPush and SetForgeFedPush methods to access and set this
// property.
func (this ActivityStreamsDescribesProperty) IsForgeFedPush() bool {
return this.forgefedPushMember != nil
}
// IsForgeFedRepository returns true if this property has a type of "Repository".
// When true, use the GetForgeFedRepository and SetForgeFedRepository methods
// to access and set this property.
func (this ActivityStreamsDescribesProperty) IsForgeFedRepository() bool {
return this.forgefedRepositoryMember != nil
}
// IsForgeFedTicket returns true if this property has a type of "Ticket". When
// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and
// set this property.
func (this ActivityStreamsDescribesProperty) IsForgeFedTicket() bool {
return this.forgefedTicketMember != nil
}
// IsForgeFedTicketDependency returns true if this property has a type of
// "TicketDependency". When true, use the GetForgeFedTicketDependency and
// SetForgeFedTicketDependency methods to access and set this property.
func (this ActivityStreamsDescribesProperty) IsForgeFedTicketDependency() bool {
return this.forgefedTicketDependencyMember != nil
}
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsDescribesProperty) IsIRI() bool {
@ -1705,14 +1553,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAudio().JSONLDContext()
} else if this.IsActivityStreamsBlock() {
child = this.GetActivityStreamsBlock().JSONLDContext()
} else if this.IsForgeFedBranch() {
child = this.GetForgeFedBranch().JSONLDContext()
} else if this.IsActivityStreamsCollection() {
child = this.GetActivityStreamsCollection().JSONLDContext()
} else if this.IsActivityStreamsCollectionPage() {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsForgeFedCommit() {
child = this.GetForgeFedCommit().JSONLDContext()
} else if this.IsActivityStreamsCreate() {
child = this.GetActivityStreamsCreate().JSONLDContext()
} else if this.IsActivityStreamsDelete() {
@ -1771,8 +1615,6 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsProfile().JSONLDContext()
} else if this.IsSchemaPropertyValue() {
child = this.GetSchemaPropertyValue().JSONLDContext()
} else if this.IsForgeFedPush() {
child = this.GetForgeFedPush().JSONLDContext()
} else if this.IsActivityStreamsQuestion() {
child = this.GetActivityStreamsQuestion().JSONLDContext()
} else if this.IsActivityStreamsRead() {
@ -1783,18 +1625,12 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsForgeFedRepository() {
child = this.GetForgeFedRepository().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
} else if this.IsActivityStreamsTentativeReject() {
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
} else if this.IsForgeFedTicket() {
child = this.GetForgeFedTicket().JSONLDContext()
} else if this.IsForgeFedTicketDependency() {
child = this.GetForgeFedTicketDependency().JSONLDContext()
} else if this.IsActivityStreamsTombstone() {
child = this.GetActivityStreamsTombstone().JSONLDContext()
} else if this.IsActivityStreamsTravel() {
@ -1853,158 +1689,140 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
if this.IsActivityStreamsBlock() {
return 9
}
if this.IsForgeFedBranch() {
if this.IsActivityStreamsCollection() {
return 10
}
if this.IsActivityStreamsCollection() {
if this.IsActivityStreamsCollectionPage() {
return 11
}
if this.IsActivityStreamsCollectionPage() {
if this.IsActivityStreamsCreate() {
return 12
}
if this.IsForgeFedCommit() {
if this.IsActivityStreamsDelete() {
return 13
}
if this.IsActivityStreamsCreate() {
if this.IsActivityStreamsDislike() {
return 14
}
if this.IsActivityStreamsDelete() {
if this.IsActivityStreamsDocument() {
return 15
}
if this.IsActivityStreamsDislike() {
if this.IsTootEmoji() {
return 16
}
if this.IsActivityStreamsDocument() {
if this.IsActivityStreamsEvent() {
return 17
}
if this.IsTootEmoji() {
if this.IsActivityStreamsFlag() {
return 18
}
if this.IsActivityStreamsEvent() {
if this.IsActivityStreamsFollow() {
return 19
}
if this.IsActivityStreamsFlag() {
if this.IsActivityStreamsGroup() {
return 20
}
if this.IsActivityStreamsFollow() {
if this.IsTootIdentityProof() {
return 21
}
if this.IsActivityStreamsGroup() {
if this.IsActivityStreamsIgnore() {
return 22
}
if this.IsTootIdentityProof() {
if this.IsActivityStreamsImage() {
return 23
}
if this.IsActivityStreamsIgnore() {
if this.IsActivityStreamsIntransitiveActivity() {
return 24
}
if this.IsActivityStreamsImage() {
if this.IsActivityStreamsInvite() {
return 25
}
if this.IsActivityStreamsIntransitiveActivity() {
if this.IsActivityStreamsJoin() {
return 26
}
if this.IsActivityStreamsInvite() {
if this.IsActivityStreamsLeave() {
return 27
}
if this.IsActivityStreamsJoin() {
if this.IsActivityStreamsLike() {
return 28
}
if this.IsActivityStreamsLeave() {
if this.IsActivityStreamsListen() {
return 29
}
if this.IsActivityStreamsLike() {
if this.IsActivityStreamsMove() {
return 30
}
if this.IsActivityStreamsListen() {
if this.IsActivityStreamsNote() {
return 31
}
if this.IsActivityStreamsMove() {
if this.IsActivityStreamsOffer() {
return 32
}
if this.IsActivityStreamsNote() {
if this.IsActivityStreamsOrderedCollection() {
return 33
}
if this.IsActivityStreamsOffer() {
if this.IsActivityStreamsOrderedCollectionPage() {
return 34
}
if this.IsActivityStreamsOrderedCollection() {
if this.IsActivityStreamsOrganization() {
return 35
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsPage() {
return 36
}
if this.IsActivityStreamsOrganization() {
if this.IsActivityStreamsPerson() {
return 37
}
if this.IsActivityStreamsPage() {
if this.IsActivityStreamsPlace() {
return 38
}
if this.IsActivityStreamsPerson() {
if this.IsActivityStreamsProfile() {
return 39
}
if this.IsActivityStreamsPlace() {
if this.IsSchemaPropertyValue() {
return 40
}
if this.IsActivityStreamsProfile() {
if this.IsActivityStreamsQuestion() {
return 41
}
if this.IsSchemaPropertyValue() {
if this.IsActivityStreamsRead() {
return 42
}
if this.IsForgeFedPush() {
if this.IsActivityStreamsReject() {
return 43
}
if this.IsActivityStreamsQuestion() {
if this.IsActivityStreamsRelationship() {
return 44
}
if this.IsActivityStreamsRead() {
if this.IsActivityStreamsRemove() {
return 45
}
if this.IsActivityStreamsReject() {
if this.IsActivityStreamsService() {
return 46
}
if this.IsActivityStreamsRelationship() {
if this.IsActivityStreamsTentativeAccept() {
return 47
}
if this.IsActivityStreamsRemove() {
if this.IsActivityStreamsTentativeReject() {
return 48
}
if this.IsForgeFedRepository() {
if this.IsActivityStreamsTombstone() {
return 49
}
if this.IsActivityStreamsService() {
if this.IsActivityStreamsTravel() {
return 50
}
if this.IsActivityStreamsTentativeAccept() {
if this.IsActivityStreamsUndo() {
return 51
}
if this.IsActivityStreamsTentativeReject() {
if this.IsActivityStreamsUpdate() {
return 52
}
if this.IsForgeFedTicket() {
if this.IsActivityStreamsVideo() {
return 53
}
if this.IsForgeFedTicketDependency() {
return 54
}
if this.IsActivityStreamsTombstone() {
return 55
}
if this.IsActivityStreamsTravel() {
return 56
}
if this.IsActivityStreamsUndo() {
return 57
}
if this.IsActivityStreamsUpdate() {
return 58
}
if this.IsActivityStreamsVideo() {
return 59
}
if this.IsActivityStreamsView() {
return 60
return 54
}
if this.IsIRI() {
return -2
@ -2043,14 +1861,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
} else if this.IsActivityStreamsDelete() {
@ -2109,8 +1923,6 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
} else if this.IsSchemaPropertyValue() {
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
} else if this.IsActivityStreamsRead() {
@ -2121,18 +1933,12 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket())
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency())
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
} else if this.IsActivityStreamsTravel() {
@ -2185,14 +1991,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAudio().Serialize()
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().Serialize()
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().Serialize()
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().Serialize()
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().Serialize()
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().Serialize()
} else if this.IsActivityStreamsDelete() {
@ -2251,8 +2053,6 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsProfile().Serialize()
} else if this.IsSchemaPropertyValue() {
return this.GetSchemaPropertyValue().Serialize()
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().Serialize()
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().Serialize()
} else if this.IsActivityStreamsRead() {
@ -2263,18 +2063,12 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().Serialize()
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().Serialize()
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().Serialize()
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().Serialize()
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().Serialize()
} else if this.IsActivityStreamsTravel() {
@ -2657,48 +2451,6 @@ func (this *ActivityStreamsDescribesProperty) SetActivityStreamsView(v vocab.Act
this.activitystreamsViewMember = v
}
// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) {
this.Clear()
this.forgefedBranchMember = v
}
// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) {
this.Clear()
this.forgefedCommitMember = v
}
// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedPush(v vocab.ForgeFedPush) {
this.Clear()
this.forgefedPushMember = v
}
// SetForgeFedRepository sets the value of this property. Calling
// IsForgeFedRepository afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) {
this.Clear()
this.forgefedRepositoryMember = v
}
// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket
// afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) {
this.Clear()
this.forgefedTicketMember = v
}
// SetForgeFedTicketDependency sets the value of this property. Calling
// IsForgeFedTicketDependency afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
this.Clear()
this.forgefedTicketDependencyMember = v
}
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) {
this.Clear()
@ -2769,10 +2521,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsBlock(v)
return nil
}
if v, ok := t.(vocab.ForgeFedBranch); ok {
this.SetForgeFedBranch(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
this.SetActivityStreamsCollection(v)
return nil
@ -2781,10 +2529,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsCollectionPage(v)
return nil
}
if v, ok := t.(vocab.ForgeFedCommit); ok {
this.SetForgeFedCommit(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
this.SetActivityStreamsCreate(v)
return nil
@ -2901,10 +2645,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetSchemaPropertyValue(v)
return nil
}
if v, ok := t.(vocab.ForgeFedPush); ok {
this.SetForgeFedPush(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
this.SetActivityStreamsQuestion(v)
return nil
@ -2925,10 +2665,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
if v, ok := t.(vocab.ForgeFedRepository); ok {
this.SetForgeFedRepository(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@ -2941,14 +2677,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsTentativeReject(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicket); ok {
this.SetForgeFedTicket(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicketDependency); ok {
this.SetForgeFedTicketDependency(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
this.SetActivityStreamsTombstone(v)
return nil

View file

@ -13,6 +13,9 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"

View file

@ -16,6 +16,7 @@ import (
type ActivityStreamsFirstProperty struct {
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
activitystreamsLinkMember vocab.ActivityStreamsLink
tootHashtagMember vocab.TootHashtag
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
unknown interface{}
@ -63,6 +64,12 @@ func DeserializeFirstProperty(m map[string]interface{}, aliasMap map[string]stri
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsFirstProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsFirstProperty{
activitystreamsMentionMember: v,
@ -96,6 +103,7 @@ func NewActivityStreamsFirstProperty() *ActivityStreamsFirstProperty {
func (this *ActivityStreamsFirstProperty) Clear() {
this.activitystreamsCollectionPageMember = nil
this.activitystreamsLinkMember = nil
this.tootHashtagMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsOrderedCollectionPageMember = nil
this.unknown = nil
@ -136,6 +144,12 @@ func (this ActivityStreamsFirstProperty) GetIRI() *url.URL {
return this.iri
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsFirstProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetType returns the value in this property as a Type. Returns nil if the value
// is not an ActivityStreams type, such as an IRI or another value.
func (this ActivityStreamsFirstProperty) GetType() vocab.Type {
@ -145,6 +159,9 @@ func (this ActivityStreamsFirstProperty) GetType() vocab.Type {
if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention()
}
@ -159,6 +176,7 @@ func (this ActivityStreamsFirstProperty) GetType() vocab.Type {
func (this ActivityStreamsFirstProperty) HasAny() bool {
return this.IsActivityStreamsCollectionPage() ||
this.IsActivityStreamsLink() ||
this.IsTootHashtag() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsOrderedCollectionPage() ||
this.iri != nil
@ -200,6 +218,13 @@ func (this ActivityStreamsFirstProperty) IsIRI() bool {
return this.iri != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsFirstProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// JSONLDContext returns the JSONLD URIs required in the context string for this
// property and the specific values that are set. The value in the map is the
// alias used to import the property's value or values.
@ -210,6 +235,8 @@ func (this ActivityStreamsFirstProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsActivityStreamsLink() {
child = this.GetActivityStreamsLink().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsActivityStreamsMention() {
child = this.GetActivityStreamsMention().JSONLDContext()
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -236,12 +263,15 @@ func (this ActivityStreamsFirstProperty) KindIndex() int {
if this.IsActivityStreamsLink() {
return 1
}
if this.IsActivityStreamsMention() {
if this.IsTootHashtag() {
return 2
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsMention() {
return 3
}
if this.IsActivityStreamsOrderedCollectionPage() {
return 4
}
if this.IsIRI() {
return -2
}
@ -263,6 +293,8 @@ func (this ActivityStreamsFirstProperty) LessThan(o vocab.ActivityStreamsFirstPr
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -291,6 +323,8 @@ func (this ActivityStreamsFirstProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().Serialize()
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -335,6 +369,13 @@ func (this *ActivityStreamsFirstProperty) SetIRI(v *url.URL) {
this.iri = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsFirstProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetType attempts to set the property for the arbitrary type. Returns an error
// if it is not a valid type to set on this property.
func (this *ActivityStreamsFirstProperty) SetType(t vocab.Type) error {
@ -346,6 +387,10 @@ func (this *ActivityStreamsFirstProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLink(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsMention); ok {
this.SetActivityStreamsMention(v)
return nil

View file

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -181,9 +173,6 @@ type privateManager interface {
// the "SchemaPropertyValue" non-functional property in the vocabulary
// "Schema"
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -204,10 +193,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -220,14 +205,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

View file

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

View file

@ -9,6 +9,9 @@ var mgr privateManager
// privateManager abstracts the code-generated manager that provides access to
// concrete implementations.
type privateManager interface {
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeImageActivityStreams returns the deserialization method for
// the "ActivityStreamsImage" non-functional property in the
// vocabulary "ActivityStreams"

View file

@ -16,6 +16,7 @@ import (
type ActivityStreamsIconPropertyIterator struct {
activitystreamsImageMember vocab.ActivityStreamsImage
activitystreamsLinkMember vocab.ActivityStreamsLink
tootHashtagMember vocab.TootHashtag
activitystreamsMentionMember vocab.ActivityStreamsMention
unknown interface{}
iri *url.URL
@ -62,6 +63,12 @@ func deserializeActivityStreamsIconPropertyIterator(i interface{}, aliasMap map[
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsIconPropertyIterator{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsIconPropertyIterator{
activitystreamsMentionMember: v,
@ -104,6 +111,12 @@ func (this ActivityStreamsIconPropertyIterator) GetIRI() *url.URL {
return this.iri
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsIconPropertyIterator) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetType returns the value in this property as a Type. Returns nil if the value
// is not an ActivityStreams type, such as an IRI or another value.
func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type {
@ -113,6 +126,9 @@ func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention()
}
@ -124,6 +140,7 @@ func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type {
func (this ActivityStreamsIconPropertyIterator) HasAny() bool {
return this.IsActivityStreamsImage() ||
this.IsActivityStreamsLink() ||
this.IsTootHashtag() ||
this.IsActivityStreamsMention() ||
this.iri != nil
}
@ -155,6 +172,13 @@ func (this ActivityStreamsIconPropertyIterator) IsIRI() bool {
return this.iri != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsIconPropertyIterator) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// JSONLDContext returns the JSONLD URIs required in the context string for this
// property and the specific values that are set. The value in the map is the
// alias used to import the property's value or values.
@ -165,6 +189,8 @@ func (this ActivityStreamsIconPropertyIterator) JSONLDContext() map[string]strin
child = this.GetActivityStreamsImage().JSONLDContext()
} else if this.IsActivityStreamsLink() {
child = this.GetActivityStreamsLink().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsActivityStreamsMention() {
child = this.GetActivityStreamsMention().JSONLDContext()
}
@ -189,9 +215,12 @@ func (this ActivityStreamsIconPropertyIterator) KindIndex() int {
if this.IsActivityStreamsLink() {
return 1
}
if this.IsActivityStreamsMention() {
if this.IsTootHashtag() {
return 2
}
if this.IsActivityStreamsMention() {
return 3
}
if this.IsIRI() {
return -2
}
@ -213,6 +242,8 @@ func (this ActivityStreamsIconPropertyIterator) LessThan(o vocab.ActivityStreams
return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage())
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
} else if this.IsIRI() {
@ -275,6 +306,13 @@ func (this *ActivityStreamsIconPropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsIconPropertyIterator) SetTootHashtag(v vocab.TootHashtag) {
this.clear()
this.tootHashtagMember = v
}
// SetType attempts to set the property for the arbitrary type. Returns an error
// if it is not a valid type to set on this property.
func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error {
@ -286,6 +324,10 @@ func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLink(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsMention); ok {
this.SetActivityStreamsMention(v)
return nil
@ -299,6 +341,7 @@ func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error {
func (this *ActivityStreamsIconPropertyIterator) clear() {
this.activitystreamsImageMember = nil
this.activitystreamsLinkMember = nil
this.tootHashtagMember = nil
this.activitystreamsMentionMember = nil
this.unknown = nil
this.iri = nil
@ -313,6 +356,8 @@ func (this ActivityStreamsIconPropertyIterator) serialize() (interface{}, error)
return this.GetActivityStreamsImage().Serialize()
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().Serialize()
} else if this.IsIRI() {
@ -419,6 +464,17 @@ func (this *ActivityStreamsIconProperty) AppendIRI(v *url.URL) {
})
}
// AppendTootHashtag appends a Hashtag value to the back of a list of the property
// "icon". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsIconProperty) AppendTootHashtag(v vocab.TootHashtag) {
this.properties = append(this.properties, &ActivityStreamsIconPropertyIterator{
alias: this.alias,
myIdx: this.Len(),
parent: this,
tootHashtagMember: v,
})
}
// PrependType prepends an arbitrary type value to the front of a list of the
// property "icon". Invalidates iterators that are traversing using Prev.
// Returns an error if the type is not a valid one to set for this property.
@ -532,6 +588,23 @@ func (this *ActivityStreamsIconProperty) InsertIRI(idx int, v *url.URL) {
}
}
// InsertTootHashtag inserts a Hashtag value at the specified index for a property
// "icon". Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
func (this *ActivityStreamsIconProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) {
this.properties = append(this.properties, nil)
copy(this.properties[idx+1:], this.properties[idx:])
this.properties[idx] = &ActivityStreamsIconPropertyIterator{
alias: this.alias,
myIdx: idx,
parent: this,
tootHashtagMember: v,
}
for i := idx; i < this.Len(); i++ {
(this.properties)[i].myIdx = i
}
}
// PrependType prepends an arbitrary type value to the front of a list of the
// property "icon". Invalidates all iterators. Returns an error if the type is
// not a valid one to set for this property.
@ -602,6 +675,10 @@ func (this ActivityStreamsIconProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsLink()
return lhs.LessThan(rhs)
} else if idx1 == 2 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
} else if idx1 == 3 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
@ -699,6 +776,20 @@ func (this *ActivityStreamsIconProperty) PrependIRI(v *url.URL) {
}
}
// PrependTootHashtag prepends a Hashtag value to the front of a list of the
// property "icon". Invalidates all iterators.
func (this *ActivityStreamsIconProperty) PrependTootHashtag(v vocab.TootHashtag) {
this.properties = append([]*ActivityStreamsIconPropertyIterator{{
alias: this.alias,
myIdx: 0,
parent: this,
tootHashtagMember: v,
}}, this.properties...)
for i := 1; i < this.Len(); i++ {
(this.properties)[i].myIdx = i
}
}
// PrependType prepends an arbitrary type value to the front of a list of the
// property "icon". Invalidates all iterators. Returns an error if the type is
// not a valid one to set for this property.
@ -802,6 +893,19 @@ func (this *ActivityStreamsIconProperty) SetIRI(idx int, v *url.URL) {
}
}
// SetTootHashtag sets a Hashtag value to be at the specified index for the
// property "icon". Panics if the index is out of bounds. Invalidates all
// iterators.
func (this *ActivityStreamsIconProperty) SetTootHashtag(idx int, v vocab.TootHashtag) {
(this.properties)[idx].parent = nil
(this.properties)[idx] = &ActivityStreamsIconPropertyIterator{
alias: this.alias,
myIdx: idx,
parent: this,
tootHashtagMember: v,
}
}
// SetType sets an arbitrary type value to the specified index of the property
// "icon". Invalidates all iterators. Returns an error if the type is not a
// valid one to set for this property. Panics if the index is out of bounds.

View file

@ -9,6 +9,9 @@ var mgr privateManager
// privateManager abstracts the code-generated manager that provides access to
// concrete implementations.
type privateManager interface {
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeImageActivityStreams returns the deserialization method for
// the "ActivityStreamsImage" non-functional property in the
// vocabulary "ActivityStreams"

View file

@ -16,6 +16,7 @@ import (
type ActivityStreamsImagePropertyIterator struct {
activitystreamsImageMember vocab.ActivityStreamsImage
activitystreamsLinkMember vocab.ActivityStreamsLink
tootHashtagMember vocab.TootHashtag
activitystreamsMentionMember vocab.ActivityStreamsMention
unknown interface{}
iri *url.URL
@ -62,6 +63,12 @@ func deserializeActivityStreamsImagePropertyIterator(i interface{}, aliasMap map
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsImagePropertyIterator{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsImagePropertyIterator{
activitystreamsMentionMember: v,
@ -104,6 +111,12 @@ func (this ActivityStreamsImagePropertyIterator) GetIRI() *url.URL {
return this.iri
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsImagePropertyIterator) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetType returns the value in this property as a Type. Returns nil if the value
// is not an ActivityStreams type, such as an IRI or another value.
func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type {
@ -113,6 +126,9 @@ func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention()
}
@ -124,6 +140,7 @@ func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type {
func (this ActivityStreamsImagePropertyIterator) HasAny() bool {
return this.IsActivityStreamsImage() ||
this.IsActivityStreamsLink() ||
this.IsTootHashtag() ||
this.IsActivityStreamsMention() ||
this.iri != nil
}
@ -155,6 +172,13 @@ func (this ActivityStreamsImagePropertyIterator) IsIRI() bool {
return this.iri != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsImagePropertyIterator) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// JSONLDContext returns the JSONLD URIs required in the context string for this
// property and the specific values that are set. The value in the map is the
// alias used to import the property's value or values.
@ -165,6 +189,8 @@ func (this ActivityStreamsImagePropertyIterator) JSONLDContext() map[string]stri
child = this.GetActivityStreamsImage().JSONLDContext()
} else if this.IsActivityStreamsLink() {
child = this.GetActivityStreamsLink().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsActivityStreamsMention() {
child = this.GetActivityStreamsMention().JSONLDContext()
}
@ -189,9 +215,12 @@ func (this ActivityStreamsImagePropertyIterator) KindIndex() int {
if this.IsActivityStreamsLink() {
return 1
}
if this.IsActivityStreamsMention() {
if this.IsTootHashtag() {
return 2
}
if this.IsActivityStreamsMention() {
return 3
}
if this.IsIRI() {
return -2
}
@ -213,6 +242,8 @@ func (this ActivityStreamsImagePropertyIterator) LessThan(o vocab.ActivityStream
return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage())
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
} else if this.IsIRI() {
@ -275,6 +306,13 @@ func (this *ActivityStreamsImagePropertyIterator) SetIRI(v *url.URL) {
this.iri = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsImagePropertyIterator) SetTootHashtag(v vocab.TootHashtag) {
this.clear()
this.tootHashtagMember = v
}
// SetType attempts to set the property for the arbitrary type. Returns an error
// if it is not a valid type to set on this property.
func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error {
@ -286,6 +324,10 @@ func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLink(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsMention); ok {
this.SetActivityStreamsMention(v)
return nil
@ -299,6 +341,7 @@ func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error {
func (this *ActivityStreamsImagePropertyIterator) clear() {
this.activitystreamsImageMember = nil
this.activitystreamsLinkMember = nil
this.tootHashtagMember = nil
this.activitystreamsMentionMember = nil
this.unknown = nil
this.iri = nil
@ -313,6 +356,8 @@ func (this ActivityStreamsImagePropertyIterator) serialize() (interface{}, error
return this.GetActivityStreamsImage().Serialize()
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().Serialize()
} else if this.IsIRI() {
@ -419,6 +464,17 @@ func (this *ActivityStreamsImageProperty) AppendIRI(v *url.URL) {
})
}
// AppendTootHashtag appends a Hashtag value to the back of a list of the property
// "image". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsImageProperty) AppendTootHashtag(v vocab.TootHashtag) {
this.properties = append(this.properties, &ActivityStreamsImagePropertyIterator{
alias: this.alias,
myIdx: this.Len(),
parent: this,
tootHashtagMember: v,
})
}
// PrependType prepends an arbitrary type value to the front of a list of the
// property "image". Invalidates iterators that are traversing using Prev.
// Returns an error if the type is not a valid one to set for this property.
@ -532,6 +588,23 @@ func (this *ActivityStreamsImageProperty) InsertIRI(idx int, v *url.URL) {
}
}
// InsertTootHashtag inserts a Hashtag value at the specified index for a property
// "image". Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
func (this *ActivityStreamsImageProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) {
this.properties = append(this.properties, nil)
copy(this.properties[idx+1:], this.properties[idx:])
this.properties[idx] = &ActivityStreamsImagePropertyIterator{
alias: this.alias,
myIdx: idx,
parent: this,
tootHashtagMember: v,
}
for i := idx; i < this.Len(); i++ {
(this.properties)[i].myIdx = i
}
}
// PrependType prepends an arbitrary type value to the front of a list of the
// property "image". Invalidates all iterators. Returns an error if the type
// is not a valid one to set for this property.
@ -602,6 +675,10 @@ func (this ActivityStreamsImageProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsLink()
return lhs.LessThan(rhs)
} else if idx1 == 2 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
} else if idx1 == 3 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
@ -699,6 +776,20 @@ func (this *ActivityStreamsImageProperty) PrependIRI(v *url.URL) {
}
}
// PrependTootHashtag prepends a Hashtag value to the front of a list of the
// property "image". Invalidates all iterators.
func (this *ActivityStreamsImageProperty) PrependTootHashtag(v vocab.TootHashtag) {
this.properties = append([]*ActivityStreamsImagePropertyIterator{{
alias: this.alias,
myIdx: 0,
parent: this,
tootHashtagMember: v,
}}, this.properties...)
for i := 1; i < this.Len(); i++ {
(this.properties)[i].myIdx = i
}
}
// PrependType prepends an arbitrary type value to the front of a list of the
// property "image". Invalidates all iterators. Returns an error if the type
// is not a valid one to set for this property.
@ -802,6 +893,19 @@ func (this *ActivityStreamsImageProperty) SetIRI(idx int, v *url.URL) {
}
}
// SetTootHashtag sets a Hashtag value to be at the specified index for the
// property "image". Panics if the index is out of bounds. Invalidates all
// iterators.
func (this *ActivityStreamsImageProperty) SetTootHashtag(idx int, v vocab.TootHashtag) {
(this.properties)[idx].parent = nil
(this.properties)[idx] = &ActivityStreamsImagePropertyIterator{
alias: this.alias,
myIdx: idx,
parent: this,
tootHashtagMember: v,
}
}
// SetType sets an arbitrary type value to the specified index of the property
// "image". Invalidates all iterators. Returns an error if the type is not a
// valid one to set for this property. Panics if the index is out of bounds.

View file

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

View file

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

View file

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

View file

@ -13,6 +13,9 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"

View file

@ -16,6 +16,7 @@ import (
type ActivityStreamsLastProperty struct {
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
activitystreamsLinkMember vocab.ActivityStreamsLink
tootHashtagMember vocab.TootHashtag
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
unknown interface{}
@ -63,6 +64,12 @@ func DeserializeLastProperty(m map[string]interface{}, aliasMap map[string]strin
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsLastProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsLastProperty{
activitystreamsMentionMember: v,
@ -96,6 +103,7 @@ func NewActivityStreamsLastProperty() *ActivityStreamsLastProperty {
func (this *ActivityStreamsLastProperty) Clear() {
this.activitystreamsCollectionPageMember = nil
this.activitystreamsLinkMember = nil
this.tootHashtagMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsOrderedCollectionPageMember = nil
this.unknown = nil
@ -136,6 +144,12 @@ func (this ActivityStreamsLastProperty) GetIRI() *url.URL {
return this.iri
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsLastProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetType returns the value in this property as a Type. Returns nil if the value
// is not an ActivityStreams type, such as an IRI or another value.
func (this ActivityStreamsLastProperty) GetType() vocab.Type {
@ -145,6 +159,9 @@ func (this ActivityStreamsLastProperty) GetType() vocab.Type {
if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention()
}
@ -159,6 +176,7 @@ func (this ActivityStreamsLastProperty) GetType() vocab.Type {
func (this ActivityStreamsLastProperty) HasAny() bool {
return this.IsActivityStreamsCollectionPage() ||
this.IsActivityStreamsLink() ||
this.IsTootHashtag() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsOrderedCollectionPage() ||
this.iri != nil
@ -200,6 +218,13 @@ func (this ActivityStreamsLastProperty) IsIRI() bool {
return this.iri != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsLastProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// JSONLDContext returns the JSONLD URIs required in the context string for this
// property and the specific values that are set. The value in the map is the
// alias used to import the property's value or values.
@ -210,6 +235,8 @@ func (this ActivityStreamsLastProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsActivityStreamsLink() {
child = this.GetActivityStreamsLink().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsActivityStreamsMention() {
child = this.GetActivityStreamsMention().JSONLDContext()
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -236,12 +263,15 @@ func (this ActivityStreamsLastProperty) KindIndex() int {
if this.IsActivityStreamsLink() {
return 1
}
if this.IsActivityStreamsMention() {
if this.IsTootHashtag() {
return 2
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsMention() {
return 3
}
if this.IsActivityStreamsOrderedCollectionPage() {
return 4
}
if this.IsIRI() {
return -2
}
@ -263,6 +293,8 @@ func (this ActivityStreamsLastProperty) LessThan(o vocab.ActivityStreamsLastProp
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -291,6 +323,8 @@ func (this ActivityStreamsLastProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().Serialize()
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -335,6 +369,13 @@ func (this *ActivityStreamsLastProperty) SetIRI(v *url.URL) {
this.iri = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsLastProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetType attempts to set the property for the arbitrary type. Returns an error
// if it is not a valid type to set on this property.
func (this *ActivityStreamsLastProperty) SetType(t vocab.Type) error {
@ -346,6 +387,10 @@ func (this *ActivityStreamsLastProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLink(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsMention); ok {
this.SetActivityStreamsMention(v)
return nil

View file

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

View file

@ -13,6 +13,9 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"

View file

@ -16,6 +16,7 @@ import (
type ActivityStreamsNextProperty struct {
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
activitystreamsLinkMember vocab.ActivityStreamsLink
tootHashtagMember vocab.TootHashtag
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
unknown interface{}
@ -63,6 +64,12 @@ func DeserializeNextProperty(m map[string]interface{}, aliasMap map[string]strin
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsNextProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsNextProperty{
activitystreamsMentionMember: v,
@ -96,6 +103,7 @@ func NewActivityStreamsNextProperty() *ActivityStreamsNextProperty {
func (this *ActivityStreamsNextProperty) Clear() {
this.activitystreamsCollectionPageMember = nil
this.activitystreamsLinkMember = nil
this.tootHashtagMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsOrderedCollectionPageMember = nil
this.unknown = nil
@ -136,6 +144,12 @@ func (this ActivityStreamsNextProperty) GetIRI() *url.URL {
return this.iri
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsNextProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetType returns the value in this property as a Type. Returns nil if the value
// is not an ActivityStreams type, such as an IRI or another value.
func (this ActivityStreamsNextProperty) GetType() vocab.Type {
@ -145,6 +159,9 @@ func (this ActivityStreamsNextProperty) GetType() vocab.Type {
if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention()
}
@ -159,6 +176,7 @@ func (this ActivityStreamsNextProperty) GetType() vocab.Type {
func (this ActivityStreamsNextProperty) HasAny() bool {
return this.IsActivityStreamsCollectionPage() ||
this.IsActivityStreamsLink() ||
this.IsTootHashtag() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsOrderedCollectionPage() ||
this.iri != nil
@ -200,6 +218,13 @@ func (this ActivityStreamsNextProperty) IsIRI() bool {
return this.iri != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsNextProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// JSONLDContext returns the JSONLD URIs required in the context string for this
// property and the specific values that are set. The value in the map is the
// alias used to import the property's value or values.
@ -210,6 +235,8 @@ func (this ActivityStreamsNextProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsActivityStreamsLink() {
child = this.GetActivityStreamsLink().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsActivityStreamsMention() {
child = this.GetActivityStreamsMention().JSONLDContext()
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -236,12 +263,15 @@ func (this ActivityStreamsNextProperty) KindIndex() int {
if this.IsActivityStreamsLink() {
return 1
}
if this.IsActivityStreamsMention() {
if this.IsTootHashtag() {
return 2
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsMention() {
return 3
}
if this.IsActivityStreamsOrderedCollectionPage() {
return 4
}
if this.IsIRI() {
return -2
}
@ -263,6 +293,8 @@ func (this ActivityStreamsNextProperty) LessThan(o vocab.ActivityStreamsNextProp
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -291,6 +323,8 @@ func (this ActivityStreamsNextProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().Serialize()
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -335,6 +369,13 @@ func (this *ActivityStreamsNextProperty) SetIRI(v *url.URL) {
this.iri = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsNextProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetType attempts to set the property for the arbitrary type. Returns an error
// if it is not a valid type to set on this property.
func (this *ActivityStreamsNextProperty) SetType(t vocab.Type) error {
@ -346,6 +387,10 @@ func (this *ActivityStreamsNextProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLink(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsMention); ok {
this.SetActivityStreamsMention(v)
return nil

View file

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

View file

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

View file

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

View file

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

View file

@ -17,6 +17,9 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"

View file

@ -17,6 +17,7 @@ type ActivityStreamsPartOfProperty struct {
activitystreamsLinkMember vocab.ActivityStreamsLink
activitystreamsCollectionMember vocab.ActivityStreamsCollection
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
tootHashtagMember vocab.TootHashtag
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
@ -71,6 +72,12 @@ func DeserializePartOfProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsPartOfProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsPartOfProperty{
activitystreamsMentionMember: v,
@ -111,6 +118,7 @@ func (this *ActivityStreamsPartOfProperty) Clear() {
this.activitystreamsLinkMember = nil
this.activitystreamsCollectionMember = nil
this.activitystreamsCollectionPageMember = nil
this.tootHashtagMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsOrderedCollectionMember = nil
this.activitystreamsOrderedCollectionPageMember = nil
@ -166,6 +174,12 @@ func (this ActivityStreamsPartOfProperty) GetIRI() *url.URL {
return this.iri
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsPartOfProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetType returns the value in this property as a Type. Returns nil if the value
// is not an ActivityStreams type, such as an IRI or another value.
func (this ActivityStreamsPartOfProperty) GetType() vocab.Type {
@ -178,6 +192,9 @@ func (this ActivityStreamsPartOfProperty) GetType() vocab.Type {
if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention()
}
@ -196,6 +213,7 @@ func (this ActivityStreamsPartOfProperty) HasAny() bool {
return this.IsActivityStreamsLink() ||
this.IsActivityStreamsCollection() ||
this.IsActivityStreamsCollectionPage() ||
this.IsTootHashtag() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsOrderedCollection() ||
this.IsActivityStreamsOrderedCollectionPage() ||
@ -253,6 +271,13 @@ func (this ActivityStreamsPartOfProperty) IsIRI() bool {
return this.iri != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsPartOfProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// JSONLDContext returns the JSONLD URIs required in the context string for this
// property and the specific values that are set. The value in the map is the
// alias used to import the property's value or values.
@ -265,6 +290,8 @@ func (this ActivityStreamsPartOfProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsCollection().JSONLDContext()
} else if this.IsActivityStreamsCollectionPage() {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsActivityStreamsMention() {
child = this.GetActivityStreamsMention().JSONLDContext()
} else if this.IsActivityStreamsOrderedCollection() {
@ -296,15 +323,18 @@ func (this ActivityStreamsPartOfProperty) KindIndex() int {
if this.IsActivityStreamsCollectionPage() {
return 2
}
if this.IsActivityStreamsMention() {
if this.IsTootHashtag() {
return 3
}
if this.IsActivityStreamsOrderedCollection() {
if this.IsActivityStreamsMention() {
return 4
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsOrderedCollection() {
return 5
}
if this.IsActivityStreamsOrderedCollectionPage() {
return 6
}
if this.IsIRI() {
return -2
}
@ -328,6 +358,8 @@ func (this ActivityStreamsPartOfProperty) LessThan(o vocab.ActivityStreamsPartOf
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
} else if this.IsActivityStreamsOrderedCollection() {
@ -360,6 +392,8 @@ func (this ActivityStreamsPartOfProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsCollection().Serialize()
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().Serialize()
} else if this.IsActivityStreamsOrderedCollection() {
@ -420,6 +454,13 @@ func (this *ActivityStreamsPartOfProperty) SetIRI(v *url.URL) {
this.iri = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsPartOfProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetType attempts to set the property for the arbitrary type. Returns an error
// if it is not a valid type to set on this property.
func (this *ActivityStreamsPartOfProperty) SetType(t vocab.Type) error {
@ -435,6 +476,10 @@ func (this *ActivityStreamsPartOfProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsCollectionPage(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsMention); ok {
this.SetActivityStreamsMention(v)
return nil

View file

@ -13,6 +13,9 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"

View file

@ -16,6 +16,7 @@ import (
type ActivityStreamsPrevProperty struct {
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
activitystreamsLinkMember vocab.ActivityStreamsLink
tootHashtagMember vocab.TootHashtag
activitystreamsMentionMember vocab.ActivityStreamsMention
activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage
unknown interface{}
@ -63,6 +64,12 @@ func DeserializePrevProperty(m map[string]interface{}, aliasMap map[string]strin
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsPrevProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsPrevProperty{
activitystreamsMentionMember: v,
@ -96,6 +103,7 @@ func NewActivityStreamsPrevProperty() *ActivityStreamsPrevProperty {
func (this *ActivityStreamsPrevProperty) Clear() {
this.activitystreamsCollectionPageMember = nil
this.activitystreamsLinkMember = nil
this.tootHashtagMember = nil
this.activitystreamsMentionMember = nil
this.activitystreamsOrderedCollectionPageMember = nil
this.unknown = nil
@ -136,6 +144,12 @@ func (this ActivityStreamsPrevProperty) GetIRI() *url.URL {
return this.iri
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsPrevProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetType returns the value in this property as a Type. Returns nil if the value
// is not an ActivityStreams type, such as an IRI or another value.
func (this ActivityStreamsPrevProperty) GetType() vocab.Type {
@ -145,6 +159,9 @@ func (this ActivityStreamsPrevProperty) GetType() vocab.Type {
if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention()
}
@ -159,6 +176,7 @@ func (this ActivityStreamsPrevProperty) GetType() vocab.Type {
func (this ActivityStreamsPrevProperty) HasAny() bool {
return this.IsActivityStreamsCollectionPage() ||
this.IsActivityStreamsLink() ||
this.IsTootHashtag() ||
this.IsActivityStreamsMention() ||
this.IsActivityStreamsOrderedCollectionPage() ||
this.iri != nil
@ -200,6 +218,13 @@ func (this ActivityStreamsPrevProperty) IsIRI() bool {
return this.iri != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsPrevProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// JSONLDContext returns the JSONLD URIs required in the context string for this
// property and the specific values that are set. The value in the map is the
// alias used to import the property's value or values.
@ -210,6 +235,8 @@ func (this ActivityStreamsPrevProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsActivityStreamsLink() {
child = this.GetActivityStreamsLink().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsActivityStreamsMention() {
child = this.GetActivityStreamsMention().JSONLDContext()
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -236,12 +263,15 @@ func (this ActivityStreamsPrevProperty) KindIndex() int {
if this.IsActivityStreamsLink() {
return 1
}
if this.IsActivityStreamsMention() {
if this.IsTootHashtag() {
return 2
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsMention() {
return 3
}
if this.IsActivityStreamsOrderedCollectionPage() {
return 4
}
if this.IsIRI() {
return -2
}
@ -263,6 +293,8 @@ func (this ActivityStreamsPrevProperty) LessThan(o vocab.ActivityStreamsPrevProp
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -291,6 +323,8 @@ func (this ActivityStreamsPrevProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().Serialize()
} else if this.IsActivityStreamsOrderedCollectionPage() {
@ -335,6 +369,13 @@ func (this *ActivityStreamsPrevProperty) SetIRI(v *url.URL) {
this.iri = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsPrevProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetType attempts to set the property for the arbitrary type. Returns an error
// if it is not a valid type to set on this property.
func (this *ActivityStreamsPrevProperty) SetType(t vocab.Type) error {
@ -346,6 +387,10 @@ func (this *ActivityStreamsPrevProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsLink(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsMention); ok {
this.SetActivityStreamsMention(v)
return nil

View file

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

View file

@ -45,10 +45,6 @@ type privateManager interface {
// the "ActivityStreamsBlock" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error)
// DeserializeBranchForgeFed returns the deserialization method for the
// "ForgeFedBranch" non-functional property in the vocabulary
// "ForgeFed"
DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error)
// DeserializeCollectionActivityStreams returns the deserialization method
// for the "ActivityStreamsCollection" non-functional property in the
// vocabulary "ActivityStreams"
@ -57,10 +53,6 @@ type privateManager interface {
// method for the "ActivityStreamsCollectionPage" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
// DeserializeCommitForgeFed returns the deserialization method for the
// "ForgeFedCommit" non-functional property in the vocabulary
// "ForgeFed"
DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error)
// DeserializeCreateActivityStreams returns the deserialization method for
// the "ActivityStreamsCreate" non-functional property in the
// vocabulary "ActivityStreams"
@ -181,9 +173,6 @@ type privateManager interface {
// the "SchemaPropertyValue" non-functional property in the vocabulary
// "Schema"
DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, error)
// DeserializePushForgeFed returns the deserialization method for the
// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed"
DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error)
// DeserializeQuestionActivityStreams returns the deserialization method
// for the "ActivityStreamsQuestion" non-functional property in the
// vocabulary "ActivityStreams"
@ -204,10 +193,6 @@ type privateManager interface {
// the "ActivityStreamsRemove" non-functional property in the
// vocabulary "ActivityStreams"
DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error)
// DeserializeRepositoryForgeFed returns the deserialization method for
// the "ForgeFedRepository" non-functional property in the vocabulary
// "ForgeFed"
DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error)
// DeserializeServiceActivityStreams returns the deserialization method
// for the "ActivityStreamsService" non-functional property in the
// vocabulary "ActivityStreams"
@ -220,14 +205,6 @@ type privateManager interface {
// method for the "ActivityStreamsTentativeReject" non-functional
// property in the vocabulary "ActivityStreams"
DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error)
// DeserializeTicketDependencyForgeFed returns the deserialization method
// for the "ForgeFedTicketDependency" non-functional property in the
// vocabulary "ForgeFed"
DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error)
// DeserializeTicketForgeFed returns the deserialization method for the
// "ForgeFedTicket" non-functional property in the vocabulary
// "ForgeFed"
DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error)
// DeserializeTombstoneActivityStreams returns the deserialization method
// for the "ActivityStreamsTombstone" non-functional property in the
// vocabulary "ActivityStreams"

View file

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

View file

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

View file

@ -25,10 +25,8 @@ type ActivityStreamsSourceProperty struct {
activitystreamsArticleMember vocab.ActivityStreamsArticle
activitystreamsAudioMember vocab.ActivityStreamsAudio
activitystreamsBlockMember vocab.ActivityStreamsBlock
forgefedBranchMember vocab.ForgeFedBranch
activitystreamsCollectionMember vocab.ActivityStreamsCollection
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
forgefedCommitMember vocab.ForgeFedCommit
activitystreamsCreateMember vocab.ActivityStreamsCreate
activitystreamsDeleteMember vocab.ActivityStreamsDelete
activitystreamsDislikeMember vocab.ActivityStreamsDislike
@ -38,6 +36,7 @@ type ActivityStreamsSourceProperty struct {
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
activitystreamsGroupMember vocab.ActivityStreamsGroup
tootHashtagMember vocab.TootHashtag
tootIdentityProofMember vocab.TootIdentityProof
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
activitystreamsImageMember vocab.ActivityStreamsImage
@ -59,18 +58,14 @@ type ActivityStreamsSourceProperty struct {
activitystreamsPlaceMember vocab.ActivityStreamsPlace
activitystreamsProfileMember vocab.ActivityStreamsProfile
schemaPropertyValueMember vocab.SchemaPropertyValue
forgefedPushMember vocab.ForgeFedPush
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
activitystreamsReadMember vocab.ActivityStreamsRead
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
forgefedRepositoryMember vocab.ForgeFedRepository
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
forgefedTicketMember vocab.ForgeFedTicket
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
activitystreamsTravelMember vocab.ActivityStreamsTravel
activitystreamsUndoMember vocab.ActivityStreamsUndo
@ -176,12 +171,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedBranchMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsCollectionMember: v,
@ -194,12 +183,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedCommitMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsCreateMember: v,
@ -254,6 +237,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
@ -380,12 +369,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
schemaPropertyValueMember: v,
}
return this, nil
} else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedPushMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsQuestionMember: v,
@ -416,12 +399,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedRepositoryMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsServiceMember: v,
@ -440,18 +417,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedTicketMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
alias: alias,
forgefedTicketDependencyMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSourceProperty{
activitystreamsTombstoneMember: v,
@ -518,10 +483,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsArticleMember = nil
this.activitystreamsAudioMember = nil
this.activitystreamsBlockMember = nil
this.forgefedBranchMember = nil
this.activitystreamsCollectionMember = nil
this.activitystreamsCollectionPageMember = nil
this.forgefedCommitMember = nil
this.activitystreamsCreateMember = nil
this.activitystreamsDeleteMember = nil
this.activitystreamsDislikeMember = nil
@ -531,6 +494,7 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
this.activitystreamsGroupMember = nil
this.tootHashtagMember = nil
this.tootIdentityProofMember = nil
this.activitystreamsIgnoreMember = nil
this.activitystreamsImageMember = nil
@ -552,18 +516,14 @@ func (this *ActivityStreamsSourceProperty) Clear() {
this.activitystreamsPlaceMember = nil
this.activitystreamsProfileMember = nil
this.schemaPropertyValueMember = nil
this.forgefedPushMember = nil
this.activitystreamsQuestionMember = nil
this.activitystreamsReadMember = nil
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.forgefedRepositoryMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
this.forgefedTicketMember = nil
this.forgefedTicketDependencyMember = nil
this.activitystreamsTombstoneMember = nil
this.activitystreamsTravelMember = nil
this.activitystreamsUndoMember = nil
@ -952,44 +912,6 @@ func (this ActivityStreamsSourceProperty) GetActivityStreamsView() vocab.Activit
return this.activitystreamsViewMember
}
// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch
// returns false, GetForgeFedBranch will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedBranch() vocab.ForgeFedBranch {
return this.forgefedBranchMember
}
// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit
// returns false, GetForgeFedCommit will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedCommit() vocab.ForgeFedCommit {
return this.forgefedCommitMember
}
// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns
// false, GetForgeFedPush will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedPush() vocab.ForgeFedPush {
return this.forgefedPushMember
}
// GetForgeFedRepository returns the value of this property. When
// IsForgeFedRepository returns false, GetForgeFedRepository will return an
// arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedRepository() vocab.ForgeFedRepository {
return this.forgefedRepositoryMember
}
// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket
// returns false, GetForgeFedTicket will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedTicket() vocab.ForgeFedTicket {
return this.forgefedTicketMember
}
// GetForgeFedTicketDependency returns the value of this property. When
// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will
// return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
return this.forgefedTicketDependencyMember
}
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetIRI() *url.URL {
@ -1009,6 +931,12 @@ func (this ActivityStreamsSourceProperty) GetTootEmoji() vocab.TootEmoji {
return this.tootEmojiMember
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsSourceProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetTootIdentityProof returns the value of this property. When
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
// arbitrary value.
@ -1052,18 +980,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock()
}
if this.IsForgeFedBranch() {
return this.GetForgeFedBranch()
}
if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection()
}
if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage()
}
if this.IsForgeFedCommit() {
return this.GetForgeFedCommit()
}
if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate()
}
@ -1091,6 +1013,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsTootIdentityProof() {
return this.GetTootIdentityProof()
}
@ -1154,9 +1079,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsSchemaPropertyValue() {
return this.GetSchemaPropertyValue()
}
if this.IsForgeFedPush() {
return this.GetForgeFedPush()
}
if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion()
}
@ -1172,9 +1094,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
if this.IsForgeFedRepository() {
return this.GetForgeFedRepository()
}
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@ -1184,12 +1103,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject()
}
if this.IsForgeFedTicket() {
return this.GetForgeFedTicket()
}
if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency()
}
if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone()
}
@ -1225,10 +1138,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsArticle() ||
this.IsActivityStreamsAudio() ||
this.IsActivityStreamsBlock() ||
this.IsForgeFedBranch() ||
this.IsActivityStreamsCollection() ||
this.IsActivityStreamsCollectionPage() ||
this.IsForgeFedCommit() ||
this.IsActivityStreamsCreate() ||
this.IsActivityStreamsDelete() ||
this.IsActivityStreamsDislike() ||
@ -1238,6 +1149,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
this.IsActivityStreamsGroup() ||
this.IsTootHashtag() ||
this.IsTootIdentityProof() ||
this.IsActivityStreamsIgnore() ||
this.IsActivityStreamsImage() ||
@ -1259,18 +1171,14 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
this.IsActivityStreamsPlace() ||
this.IsActivityStreamsProfile() ||
this.IsSchemaPropertyValue() ||
this.IsForgeFedPush() ||
this.IsActivityStreamsQuestion() ||
this.IsActivityStreamsRead() ||
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsForgeFedRepository() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
this.IsForgeFedTicket() ||
this.IsForgeFedTicketDependency() ||
this.IsActivityStreamsTombstone() ||
this.IsActivityStreamsTravel() ||
this.IsActivityStreamsUndo() ||
@ -1663,48 +1571,6 @@ func (this ActivityStreamsSourceProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
// IsForgeFedBranch returns true if this property has a type of "Branch". When
// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and
// set this property.
func (this ActivityStreamsSourceProperty) IsForgeFedBranch() bool {
return this.forgefedBranchMember != nil
}
// IsForgeFedCommit returns true if this property has a type of "Commit". When
// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and
// set this property.
func (this ActivityStreamsSourceProperty) IsForgeFedCommit() bool {
return this.forgefedCommitMember != nil
}
// IsForgeFedPush returns true if this property has a type of "Push". When true,
// use the GetForgeFedPush and SetForgeFedPush methods to access and set this
// property.
func (this ActivityStreamsSourceProperty) IsForgeFedPush() bool {
return this.forgefedPushMember != nil
}
// IsForgeFedRepository returns true if this property has a type of "Repository".
// When true, use the GetForgeFedRepository and SetForgeFedRepository methods
// to access and set this property.
func (this ActivityStreamsSourceProperty) IsForgeFedRepository() bool {
return this.forgefedRepositoryMember != nil
}
// IsForgeFedTicket returns true if this property has a type of "Ticket". When
// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and
// set this property.
func (this ActivityStreamsSourceProperty) IsForgeFedTicket() bool {
return this.forgefedTicketMember != nil
}
// IsForgeFedTicketDependency returns true if this property has a type of
// "TicketDependency". When true, use the GetForgeFedTicketDependency and
// SetForgeFedTicketDependency methods to access and set this property.
func (this ActivityStreamsSourceProperty) IsForgeFedTicketDependency() bool {
return this.forgefedTicketDependencyMember != nil
}
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsSourceProperty) IsIRI() bool {
@ -1724,6 +1590,13 @@ func (this ActivityStreamsSourceProperty) IsTootEmoji() bool {
return this.tootEmojiMember != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsSourceProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// IsTootIdentityProof returns true if this property has a type of
// "IdentityProof". When true, use the GetTootIdentityProof and
// SetTootIdentityProof methods to access and set this property.
@ -1759,14 +1632,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAudio().JSONLDContext()
} else if this.IsActivityStreamsBlock() {
child = this.GetActivityStreamsBlock().JSONLDContext()
} else if this.IsForgeFedBranch() {
child = this.GetForgeFedBranch().JSONLDContext()
} else if this.IsActivityStreamsCollection() {
child = this.GetActivityStreamsCollection().JSONLDContext()
} else if this.IsActivityStreamsCollectionPage() {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsForgeFedCommit() {
child = this.GetForgeFedCommit().JSONLDContext()
} else if this.IsActivityStreamsCreate() {
child = this.GetActivityStreamsCreate().JSONLDContext()
} else if this.IsActivityStreamsDelete() {
@ -1785,6 +1654,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsFollow().JSONLDContext()
} else if this.IsActivityStreamsGroup() {
child = this.GetActivityStreamsGroup().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsTootIdentityProof() {
child = this.GetTootIdentityProof().JSONLDContext()
} else if this.IsActivityStreamsIgnore() {
@ -1827,8 +1698,6 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsProfile().JSONLDContext()
} else if this.IsSchemaPropertyValue() {
child = this.GetSchemaPropertyValue().JSONLDContext()
} else if this.IsForgeFedPush() {
child = this.GetForgeFedPush().JSONLDContext()
} else if this.IsActivityStreamsQuestion() {
child = this.GetActivityStreamsQuestion().JSONLDContext()
} else if this.IsActivityStreamsRead() {
@ -1839,18 +1708,12 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsForgeFedRepository() {
child = this.GetForgeFedRepository().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
} else if this.IsActivityStreamsTentativeReject() {
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
} else if this.IsForgeFedTicket() {
child = this.GetForgeFedTicket().JSONLDContext()
} else if this.IsForgeFedTicketDependency() {
child = this.GetForgeFedTicketDependency().JSONLDContext()
} else if this.IsActivityStreamsTombstone() {
child = this.GetActivityStreamsTombstone().JSONLDContext()
} else if this.IsActivityStreamsTravel() {
@ -1912,161 +1775,146 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
if this.IsActivityStreamsBlock() {
return 10
}
if this.IsForgeFedBranch() {
if this.IsActivityStreamsCollection() {
return 11
}
if this.IsActivityStreamsCollection() {
if this.IsActivityStreamsCollectionPage() {
return 12
}
if this.IsActivityStreamsCollectionPage() {
if this.IsActivityStreamsCreate() {
return 13
}
if this.IsForgeFedCommit() {
if this.IsActivityStreamsDelete() {
return 14
}
if this.IsActivityStreamsCreate() {
if this.IsActivityStreamsDislike() {
return 15
}
if this.IsActivityStreamsDelete() {
if this.IsActivityStreamsDocument() {
return 16
}
if this.IsActivityStreamsDislike() {
if this.IsTootEmoji() {
return 17
}
if this.IsActivityStreamsDocument() {
if this.IsActivityStreamsEvent() {
return 18
}
if this.IsTootEmoji() {
if this.IsActivityStreamsFlag() {
return 19
}
if this.IsActivityStreamsEvent() {
if this.IsActivityStreamsFollow() {
return 20
}
if this.IsActivityStreamsFlag() {
if this.IsActivityStreamsGroup() {
return 21
}
if this.IsActivityStreamsFollow() {
if this.IsTootHashtag() {
return 22
}
if this.IsActivityStreamsGroup() {
if this.IsTootIdentityProof() {
return 23
}
if this.IsTootIdentityProof() {
if this.IsActivityStreamsIgnore() {
return 24
}
if this.IsActivityStreamsIgnore() {
if this.IsActivityStreamsImage() {
return 25
}
if this.IsActivityStreamsImage() {
if this.IsActivityStreamsIntransitiveActivity() {
return 26
}
if this.IsActivityStreamsIntransitiveActivity() {
if this.IsActivityStreamsInvite() {
return 27
}
if this.IsActivityStreamsInvite() {
if this.IsActivityStreamsJoin() {
return 28
}
if this.IsActivityStreamsJoin() {
if this.IsActivityStreamsLeave() {
return 29
}
if this.IsActivityStreamsLeave() {
if this.IsActivityStreamsLike() {
return 30
}
if this.IsActivityStreamsLike() {
if this.IsActivityStreamsListen() {
return 31
}
if this.IsActivityStreamsListen() {
if this.IsActivityStreamsMention() {
return 32
}
if this.IsActivityStreamsMention() {
if this.IsActivityStreamsMove() {
return 33
}
if this.IsActivityStreamsMove() {
if this.IsActivityStreamsNote() {
return 34
}
if this.IsActivityStreamsNote() {
if this.IsActivityStreamsOffer() {
return 35
}
if this.IsActivityStreamsOffer() {
if this.IsActivityStreamsOrderedCollection() {
return 36
}
if this.IsActivityStreamsOrderedCollection() {
if this.IsActivityStreamsOrderedCollectionPage() {
return 37
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsOrganization() {
return 38
}
if this.IsActivityStreamsOrganization() {
if this.IsActivityStreamsPage() {
return 39
}
if this.IsActivityStreamsPage() {
if this.IsActivityStreamsPerson() {
return 40
}
if this.IsActivityStreamsPerson() {
if this.IsActivityStreamsPlace() {
return 41
}
if this.IsActivityStreamsPlace() {
if this.IsActivityStreamsProfile() {
return 42
}
if this.IsActivityStreamsProfile() {
if this.IsSchemaPropertyValue() {
return 43
}
if this.IsSchemaPropertyValue() {
if this.IsActivityStreamsQuestion() {
return 44
}
if this.IsForgeFedPush() {
if this.IsActivityStreamsRead() {
return 45
}
if this.IsActivityStreamsQuestion() {
if this.IsActivityStreamsReject() {
return 46
}
if this.IsActivityStreamsRead() {
if this.IsActivityStreamsRelationship() {
return 47
}
if this.IsActivityStreamsReject() {
if this.IsActivityStreamsRemove() {
return 48
}
if this.IsActivityStreamsRelationship() {
if this.IsActivityStreamsService() {
return 49
}
if this.IsActivityStreamsRemove() {
if this.IsActivityStreamsTentativeAccept() {
return 50
}
if this.IsForgeFedRepository() {
if this.IsActivityStreamsTentativeReject() {
return 51
}
if this.IsActivityStreamsService() {
if this.IsActivityStreamsTombstone() {
return 52
}
if this.IsActivityStreamsTentativeAccept() {
if this.IsActivityStreamsTravel() {
return 53
}
if this.IsActivityStreamsTentativeReject() {
if this.IsActivityStreamsUndo() {
return 54
}
if this.IsForgeFedTicket() {
if this.IsActivityStreamsUpdate() {
return 55
}
if this.IsForgeFedTicketDependency() {
if this.IsActivityStreamsVideo() {
return 56
}
if this.IsActivityStreamsTombstone() {
return 57
}
if this.IsActivityStreamsTravel() {
return 58
}
if this.IsActivityStreamsUndo() {
return 59
}
if this.IsActivityStreamsUpdate() {
return 60
}
if this.IsActivityStreamsVideo() {
return 61
}
if this.IsActivityStreamsView() {
return 62
return 57
}
if this.IsIRI() {
return -2
@ -2107,14 +1955,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
} else if this.IsActivityStreamsDelete() {
@ -2133,6 +1977,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
} else if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsTootIdentityProof() {
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
} else if this.IsActivityStreamsIgnore() {
@ -2175,8 +2021,6 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
} else if this.IsSchemaPropertyValue() {
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
} else if this.IsActivityStreamsRead() {
@ -2187,18 +2031,12 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket())
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency())
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
} else if this.IsActivityStreamsTravel() {
@ -2253,14 +2091,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAudio().Serialize()
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().Serialize()
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().Serialize()
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().Serialize()
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().Serialize()
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().Serialize()
} else if this.IsActivityStreamsDelete() {
@ -2279,6 +2113,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsFollow().Serialize()
} else if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsTootIdentityProof() {
return this.GetTootIdentityProof().Serialize()
} else if this.IsActivityStreamsIgnore() {
@ -2321,8 +2157,6 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsProfile().Serialize()
} else if this.IsSchemaPropertyValue() {
return this.GetSchemaPropertyValue().Serialize()
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().Serialize()
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().Serialize()
} else if this.IsActivityStreamsRead() {
@ -2333,18 +2167,12 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().Serialize()
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().Serialize()
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().Serialize()
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().Serialize()
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().Serialize()
} else if this.IsActivityStreamsTravel() {
@ -2741,48 +2569,6 @@ func (this *ActivityStreamsSourceProperty) SetActivityStreamsView(v vocab.Activi
this.activitystreamsViewMember = v
}
// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) {
this.Clear()
this.forgefedBranchMember = v
}
// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) {
this.Clear()
this.forgefedCommitMember = v
}
// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedPush(v vocab.ForgeFedPush) {
this.Clear()
this.forgefedPushMember = v
}
// SetForgeFedRepository sets the value of this property. Calling
// IsForgeFedRepository afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) {
this.Clear()
this.forgefedRepositoryMember = v
}
// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) {
this.Clear()
this.forgefedTicketMember = v
}
// SetForgeFedTicketDependency sets the value of this property. Calling
// IsForgeFedTicketDependency afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
this.Clear()
this.forgefedTicketDependencyMember = v
}
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) {
this.Clear()
@ -2803,6 +2589,13 @@ func (this *ActivityStreamsSourceProperty) SetTootEmoji(v vocab.TootEmoji) {
this.tootEmojiMember = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetTootIdentityProof sets the value of this property. Calling
// IsTootIdentityProof afterwards returns true.
func (this *ActivityStreamsSourceProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
@ -2857,10 +2650,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsBlock(v)
return nil
}
if v, ok := t.(vocab.ForgeFedBranch); ok {
this.SetForgeFedBranch(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
this.SetActivityStreamsCollection(v)
return nil
@ -2869,10 +2658,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsCollectionPage(v)
return nil
}
if v, ok := t.(vocab.ForgeFedCommit); ok {
this.SetForgeFedCommit(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
this.SetActivityStreamsCreate(v)
return nil
@ -2909,6 +2694,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsGroup(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.TootIdentityProof); ok {
this.SetTootIdentityProof(v)
return nil
@ -2993,10 +2782,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetSchemaPropertyValue(v)
return nil
}
if v, ok := t.(vocab.ForgeFedPush); ok {
this.SetForgeFedPush(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
this.SetActivityStreamsQuestion(v)
return nil
@ -3017,10 +2802,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
if v, ok := t.(vocab.ForgeFedRepository); ok {
this.SetForgeFedRepository(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@ -3033,14 +2814,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsTentativeReject(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicket); ok {
this.SetForgeFedTicket(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicketDependency); ok {
this.SetForgeFedTicketDependency(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
this.SetActivityStreamsTombstone(v)
return nil

View file

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

View file

@ -25,10 +25,8 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsArticleMember vocab.ActivityStreamsArticle
activitystreamsAudioMember vocab.ActivityStreamsAudio
activitystreamsBlockMember vocab.ActivityStreamsBlock
forgefedBranchMember vocab.ForgeFedBranch
activitystreamsCollectionMember vocab.ActivityStreamsCollection
activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage
forgefedCommitMember vocab.ForgeFedCommit
activitystreamsCreateMember vocab.ActivityStreamsCreate
activitystreamsDeleteMember vocab.ActivityStreamsDelete
activitystreamsDislikeMember vocab.ActivityStreamsDislike
@ -38,6 +36,7 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsFlagMember vocab.ActivityStreamsFlag
activitystreamsFollowMember vocab.ActivityStreamsFollow
activitystreamsGroupMember vocab.ActivityStreamsGroup
tootHashtagMember vocab.TootHashtag
tootIdentityProofMember vocab.TootIdentityProof
activitystreamsIgnoreMember vocab.ActivityStreamsIgnore
activitystreamsImageMember vocab.ActivityStreamsImage
@ -59,18 +58,14 @@ type ActivityStreamsSubjectProperty struct {
activitystreamsPlaceMember vocab.ActivityStreamsPlace
activitystreamsProfileMember vocab.ActivityStreamsProfile
schemaPropertyValueMember vocab.SchemaPropertyValue
forgefedPushMember vocab.ForgeFedPush
activitystreamsQuestionMember vocab.ActivityStreamsQuestion
activitystreamsReadMember vocab.ActivityStreamsRead
activitystreamsRejectMember vocab.ActivityStreamsReject
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
activitystreamsRemoveMember vocab.ActivityStreamsRemove
forgefedRepositoryMember vocab.ForgeFedRepository
activitystreamsServiceMember vocab.ActivityStreamsService
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
forgefedTicketMember vocab.ForgeFedTicket
forgefedTicketDependencyMember vocab.ForgeFedTicketDependency
activitystreamsTombstoneMember vocab.ActivityStreamsTombstone
activitystreamsTravelMember vocab.ActivityStreamsTravel
activitystreamsUndoMember vocab.ActivityStreamsUndo
@ -176,12 +171,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedBranchMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsCollectionMember: v,
@ -194,12 +183,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedCommitMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsCreateMember: v,
@ -254,6 +237,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
@ -380,12 +369,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
schemaPropertyValueMember: v,
}
return this, nil
} else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedPushMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsQuestionMember: v,
@ -416,12 +399,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedRepositoryMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsServiceMember: v,
@ -440,18 +417,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedTicketMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
alias: alias,
forgefedTicketDependencyMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsSubjectProperty{
activitystreamsTombstoneMember: v,
@ -518,10 +483,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsArticleMember = nil
this.activitystreamsAudioMember = nil
this.activitystreamsBlockMember = nil
this.forgefedBranchMember = nil
this.activitystreamsCollectionMember = nil
this.activitystreamsCollectionPageMember = nil
this.forgefedCommitMember = nil
this.activitystreamsCreateMember = nil
this.activitystreamsDeleteMember = nil
this.activitystreamsDislikeMember = nil
@ -531,6 +494,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsFlagMember = nil
this.activitystreamsFollowMember = nil
this.activitystreamsGroupMember = nil
this.tootHashtagMember = nil
this.tootIdentityProofMember = nil
this.activitystreamsIgnoreMember = nil
this.activitystreamsImageMember = nil
@ -552,18 +516,14 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
this.activitystreamsPlaceMember = nil
this.activitystreamsProfileMember = nil
this.schemaPropertyValueMember = nil
this.forgefedPushMember = nil
this.activitystreamsQuestionMember = nil
this.activitystreamsReadMember = nil
this.activitystreamsRejectMember = nil
this.activitystreamsRelationshipMember = nil
this.activitystreamsRemoveMember = nil
this.forgefedRepositoryMember = nil
this.activitystreamsServiceMember = nil
this.activitystreamsTentativeAcceptMember = nil
this.activitystreamsTentativeRejectMember = nil
this.forgefedTicketMember = nil
this.forgefedTicketDependencyMember = nil
this.activitystreamsTombstoneMember = nil
this.activitystreamsTravelMember = nil
this.activitystreamsUndoMember = nil
@ -952,44 +912,6 @@ func (this ActivityStreamsSubjectProperty) GetActivityStreamsView() vocab.Activi
return this.activitystreamsViewMember
}
// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch
// returns false, GetForgeFedBranch will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedBranch() vocab.ForgeFedBranch {
return this.forgefedBranchMember
}
// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit
// returns false, GetForgeFedCommit will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedCommit() vocab.ForgeFedCommit {
return this.forgefedCommitMember
}
// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns
// false, GetForgeFedPush will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedPush() vocab.ForgeFedPush {
return this.forgefedPushMember
}
// GetForgeFedRepository returns the value of this property. When
// IsForgeFedRepository returns false, GetForgeFedRepository will return an
// arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedRepository() vocab.ForgeFedRepository {
return this.forgefedRepositoryMember
}
// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket
// returns false, GetForgeFedTicket will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedTicket() vocab.ForgeFedTicket {
return this.forgefedTicketMember
}
// GetForgeFedTicketDependency returns the value of this property. When
// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will
// return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency {
return this.forgefedTicketDependencyMember
}
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
// return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL {
@ -1009,6 +931,12 @@ func (this ActivityStreamsSubjectProperty) GetTootEmoji() vocab.TootEmoji {
return this.tootEmojiMember
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsSubjectProperty) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetTootIdentityProof returns the value of this property. When
// IsTootIdentityProof returns false, GetTootIdentityProof will return an
// arbitrary value.
@ -1052,18 +980,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock()
}
if this.IsForgeFedBranch() {
return this.GetForgeFedBranch()
}
if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection()
}
if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage()
}
if this.IsForgeFedCommit() {
return this.GetForgeFedCommit()
}
if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate()
}
@ -1091,6 +1013,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsTootIdentityProof() {
return this.GetTootIdentityProof()
}
@ -1154,9 +1079,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsSchemaPropertyValue() {
return this.GetSchemaPropertyValue()
}
if this.IsForgeFedPush() {
return this.GetForgeFedPush()
}
if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion()
}
@ -1172,9 +1094,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove()
}
if this.IsForgeFedRepository() {
return this.GetForgeFedRepository()
}
if this.IsActivityStreamsService() {
return this.GetActivityStreamsService()
}
@ -1184,12 +1103,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject()
}
if this.IsForgeFedTicket() {
return this.GetForgeFedTicket()
}
if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency()
}
if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone()
}
@ -1225,10 +1138,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsArticle() ||
this.IsActivityStreamsAudio() ||
this.IsActivityStreamsBlock() ||
this.IsForgeFedBranch() ||
this.IsActivityStreamsCollection() ||
this.IsActivityStreamsCollectionPage() ||
this.IsForgeFedCommit() ||
this.IsActivityStreamsCreate() ||
this.IsActivityStreamsDelete() ||
this.IsActivityStreamsDislike() ||
@ -1238,6 +1149,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsFlag() ||
this.IsActivityStreamsFollow() ||
this.IsActivityStreamsGroup() ||
this.IsTootHashtag() ||
this.IsTootIdentityProof() ||
this.IsActivityStreamsIgnore() ||
this.IsActivityStreamsImage() ||
@ -1259,18 +1171,14 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
this.IsActivityStreamsPlace() ||
this.IsActivityStreamsProfile() ||
this.IsSchemaPropertyValue() ||
this.IsForgeFedPush() ||
this.IsActivityStreamsQuestion() ||
this.IsActivityStreamsRead() ||
this.IsActivityStreamsReject() ||
this.IsActivityStreamsRelationship() ||
this.IsActivityStreamsRemove() ||
this.IsForgeFedRepository() ||
this.IsActivityStreamsService() ||
this.IsActivityStreamsTentativeAccept() ||
this.IsActivityStreamsTentativeReject() ||
this.IsForgeFedTicket() ||
this.IsForgeFedTicketDependency() ||
this.IsActivityStreamsTombstone() ||
this.IsActivityStreamsTravel() ||
this.IsActivityStreamsUndo() ||
@ -1663,48 +1571,6 @@ func (this ActivityStreamsSubjectProperty) IsActivityStreamsView() bool {
return this.activitystreamsViewMember != nil
}
// IsForgeFedBranch returns true if this property has a type of "Branch". When
// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and
// set this property.
func (this ActivityStreamsSubjectProperty) IsForgeFedBranch() bool {
return this.forgefedBranchMember != nil
}
// IsForgeFedCommit returns true if this property has a type of "Commit". When
// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and
// set this property.
func (this ActivityStreamsSubjectProperty) IsForgeFedCommit() bool {
return this.forgefedCommitMember != nil
}
// IsForgeFedPush returns true if this property has a type of "Push". When true,
// use the GetForgeFedPush and SetForgeFedPush methods to access and set this
// property.
func (this ActivityStreamsSubjectProperty) IsForgeFedPush() bool {
return this.forgefedPushMember != nil
}
// IsForgeFedRepository returns true if this property has a type of "Repository".
// When true, use the GetForgeFedRepository and SetForgeFedRepository methods
// to access and set this property.
func (this ActivityStreamsSubjectProperty) IsForgeFedRepository() bool {
return this.forgefedRepositoryMember != nil
}
// IsForgeFedTicket returns true if this property has a type of "Ticket". When
// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and
// set this property.
func (this ActivityStreamsSubjectProperty) IsForgeFedTicket() bool {
return this.forgefedTicketMember != nil
}
// IsForgeFedTicketDependency returns true if this property has a type of
// "TicketDependency". When true, use the GetForgeFedTicketDependency and
// SetForgeFedTicketDependency methods to access and set this property.
func (this ActivityStreamsSubjectProperty) IsForgeFedTicketDependency() bool {
return this.forgefedTicketDependencyMember != nil
}
// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI
// to access and set this property
func (this ActivityStreamsSubjectProperty) IsIRI() bool {
@ -1724,6 +1590,13 @@ func (this ActivityStreamsSubjectProperty) IsTootEmoji() bool {
return this.tootEmojiMember != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsSubjectProperty) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// IsTootIdentityProof returns true if this property has a type of
// "IdentityProof". When true, use the GetTootIdentityProof and
// SetTootIdentityProof methods to access and set this property.
@ -1759,14 +1632,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsAudio().JSONLDContext()
} else if this.IsActivityStreamsBlock() {
child = this.GetActivityStreamsBlock().JSONLDContext()
} else if this.IsForgeFedBranch() {
child = this.GetForgeFedBranch().JSONLDContext()
} else if this.IsActivityStreamsCollection() {
child = this.GetActivityStreamsCollection().JSONLDContext()
} else if this.IsActivityStreamsCollectionPage() {
child = this.GetActivityStreamsCollectionPage().JSONLDContext()
} else if this.IsForgeFedCommit() {
child = this.GetForgeFedCommit().JSONLDContext()
} else if this.IsActivityStreamsCreate() {
child = this.GetActivityStreamsCreate().JSONLDContext()
} else if this.IsActivityStreamsDelete() {
@ -1785,6 +1654,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsFollow().JSONLDContext()
} else if this.IsActivityStreamsGroup() {
child = this.GetActivityStreamsGroup().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsTootIdentityProof() {
child = this.GetTootIdentityProof().JSONLDContext()
} else if this.IsActivityStreamsIgnore() {
@ -1827,8 +1698,6 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsProfile().JSONLDContext()
} else if this.IsSchemaPropertyValue() {
child = this.GetSchemaPropertyValue().JSONLDContext()
} else if this.IsForgeFedPush() {
child = this.GetForgeFedPush().JSONLDContext()
} else if this.IsActivityStreamsQuestion() {
child = this.GetActivityStreamsQuestion().JSONLDContext()
} else if this.IsActivityStreamsRead() {
@ -1839,18 +1708,12 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
child = this.GetActivityStreamsRelationship().JSONLDContext()
} else if this.IsActivityStreamsRemove() {
child = this.GetActivityStreamsRemove().JSONLDContext()
} else if this.IsForgeFedRepository() {
child = this.GetForgeFedRepository().JSONLDContext()
} else if this.IsActivityStreamsService() {
child = this.GetActivityStreamsService().JSONLDContext()
} else if this.IsActivityStreamsTentativeAccept() {
child = this.GetActivityStreamsTentativeAccept().JSONLDContext()
} else if this.IsActivityStreamsTentativeReject() {
child = this.GetActivityStreamsTentativeReject().JSONLDContext()
} else if this.IsForgeFedTicket() {
child = this.GetForgeFedTicket().JSONLDContext()
} else if this.IsForgeFedTicketDependency() {
child = this.GetForgeFedTicketDependency().JSONLDContext()
} else if this.IsActivityStreamsTombstone() {
child = this.GetActivityStreamsTombstone().JSONLDContext()
} else if this.IsActivityStreamsTravel() {
@ -1912,161 +1775,146 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
if this.IsActivityStreamsBlock() {
return 10
}
if this.IsForgeFedBranch() {
if this.IsActivityStreamsCollection() {
return 11
}
if this.IsActivityStreamsCollection() {
if this.IsActivityStreamsCollectionPage() {
return 12
}
if this.IsActivityStreamsCollectionPage() {
if this.IsActivityStreamsCreate() {
return 13
}
if this.IsForgeFedCommit() {
if this.IsActivityStreamsDelete() {
return 14
}
if this.IsActivityStreamsCreate() {
if this.IsActivityStreamsDislike() {
return 15
}
if this.IsActivityStreamsDelete() {
if this.IsActivityStreamsDocument() {
return 16
}
if this.IsActivityStreamsDislike() {
if this.IsTootEmoji() {
return 17
}
if this.IsActivityStreamsDocument() {
if this.IsActivityStreamsEvent() {
return 18
}
if this.IsTootEmoji() {
if this.IsActivityStreamsFlag() {
return 19
}
if this.IsActivityStreamsEvent() {
if this.IsActivityStreamsFollow() {
return 20
}
if this.IsActivityStreamsFlag() {
if this.IsActivityStreamsGroup() {
return 21
}
if this.IsActivityStreamsFollow() {
if this.IsTootHashtag() {
return 22
}
if this.IsActivityStreamsGroup() {
if this.IsTootIdentityProof() {
return 23
}
if this.IsTootIdentityProof() {
if this.IsActivityStreamsIgnore() {
return 24
}
if this.IsActivityStreamsIgnore() {
if this.IsActivityStreamsImage() {
return 25
}
if this.IsActivityStreamsImage() {
if this.IsActivityStreamsIntransitiveActivity() {
return 26
}
if this.IsActivityStreamsIntransitiveActivity() {
if this.IsActivityStreamsInvite() {
return 27
}
if this.IsActivityStreamsInvite() {
if this.IsActivityStreamsJoin() {
return 28
}
if this.IsActivityStreamsJoin() {
if this.IsActivityStreamsLeave() {
return 29
}
if this.IsActivityStreamsLeave() {
if this.IsActivityStreamsLike() {
return 30
}
if this.IsActivityStreamsLike() {
if this.IsActivityStreamsListen() {
return 31
}
if this.IsActivityStreamsListen() {
if this.IsActivityStreamsMention() {
return 32
}
if this.IsActivityStreamsMention() {
if this.IsActivityStreamsMove() {
return 33
}
if this.IsActivityStreamsMove() {
if this.IsActivityStreamsNote() {
return 34
}
if this.IsActivityStreamsNote() {
if this.IsActivityStreamsOffer() {
return 35
}
if this.IsActivityStreamsOffer() {
if this.IsActivityStreamsOrderedCollection() {
return 36
}
if this.IsActivityStreamsOrderedCollection() {
if this.IsActivityStreamsOrderedCollectionPage() {
return 37
}
if this.IsActivityStreamsOrderedCollectionPage() {
if this.IsActivityStreamsOrganization() {
return 38
}
if this.IsActivityStreamsOrganization() {
if this.IsActivityStreamsPage() {
return 39
}
if this.IsActivityStreamsPage() {
if this.IsActivityStreamsPerson() {
return 40
}
if this.IsActivityStreamsPerson() {
if this.IsActivityStreamsPlace() {
return 41
}
if this.IsActivityStreamsPlace() {
if this.IsActivityStreamsProfile() {
return 42
}
if this.IsActivityStreamsProfile() {
if this.IsSchemaPropertyValue() {
return 43
}
if this.IsSchemaPropertyValue() {
if this.IsActivityStreamsQuestion() {
return 44
}
if this.IsForgeFedPush() {
if this.IsActivityStreamsRead() {
return 45
}
if this.IsActivityStreamsQuestion() {
if this.IsActivityStreamsReject() {
return 46
}
if this.IsActivityStreamsRead() {
if this.IsActivityStreamsRelationship() {
return 47
}
if this.IsActivityStreamsReject() {
if this.IsActivityStreamsRemove() {
return 48
}
if this.IsActivityStreamsRelationship() {
if this.IsActivityStreamsService() {
return 49
}
if this.IsActivityStreamsRemove() {
if this.IsActivityStreamsTentativeAccept() {
return 50
}
if this.IsForgeFedRepository() {
if this.IsActivityStreamsTentativeReject() {
return 51
}
if this.IsActivityStreamsService() {
if this.IsActivityStreamsTombstone() {
return 52
}
if this.IsActivityStreamsTentativeAccept() {
if this.IsActivityStreamsTravel() {
return 53
}
if this.IsActivityStreamsTentativeReject() {
if this.IsActivityStreamsUndo() {
return 54
}
if this.IsForgeFedTicket() {
if this.IsActivityStreamsUpdate() {
return 55
}
if this.IsForgeFedTicketDependency() {
if this.IsActivityStreamsVideo() {
return 56
}
if this.IsActivityStreamsTombstone() {
return 57
}
if this.IsActivityStreamsTravel() {
return 58
}
if this.IsActivityStreamsUndo() {
return 59
}
if this.IsActivityStreamsUpdate() {
return 60
}
if this.IsActivityStreamsVideo() {
return 61
}
if this.IsActivityStreamsView() {
return 62
return 57
}
if this.IsIRI() {
return -2
@ -2107,14 +1955,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio())
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock())
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch())
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection())
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage())
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit())
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate())
} else if this.IsActivityStreamsDelete() {
@ -2133,6 +1977,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow())
} else if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsTootIdentityProof() {
return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof())
} else if this.IsActivityStreamsIgnore() {
@ -2175,8 +2021,6 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile())
} else if this.IsSchemaPropertyValue() {
return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue())
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().LessThan(o.GetForgeFedPush())
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion())
} else if this.IsActivityStreamsRead() {
@ -2187,18 +2031,12 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship())
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository())
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept())
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject())
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket())
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency())
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone())
} else if this.IsActivityStreamsTravel() {
@ -2253,14 +2091,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsAudio().Serialize()
} else if this.IsActivityStreamsBlock() {
return this.GetActivityStreamsBlock().Serialize()
} else if this.IsForgeFedBranch() {
return this.GetForgeFedBranch().Serialize()
} else if this.IsActivityStreamsCollection() {
return this.GetActivityStreamsCollection().Serialize()
} else if this.IsActivityStreamsCollectionPage() {
return this.GetActivityStreamsCollectionPage().Serialize()
} else if this.IsForgeFedCommit() {
return this.GetForgeFedCommit().Serialize()
} else if this.IsActivityStreamsCreate() {
return this.GetActivityStreamsCreate().Serialize()
} else if this.IsActivityStreamsDelete() {
@ -2279,6 +2113,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsFollow().Serialize()
} else if this.IsActivityStreamsGroup() {
return this.GetActivityStreamsGroup().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsTootIdentityProof() {
return this.GetTootIdentityProof().Serialize()
} else if this.IsActivityStreamsIgnore() {
@ -2321,8 +2157,6 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsProfile().Serialize()
} else if this.IsSchemaPropertyValue() {
return this.GetSchemaPropertyValue().Serialize()
} else if this.IsForgeFedPush() {
return this.GetForgeFedPush().Serialize()
} else if this.IsActivityStreamsQuestion() {
return this.GetActivityStreamsQuestion().Serialize()
} else if this.IsActivityStreamsRead() {
@ -2333,18 +2167,12 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
return this.GetActivityStreamsRelationship().Serialize()
} else if this.IsActivityStreamsRemove() {
return this.GetActivityStreamsRemove().Serialize()
} else if this.IsForgeFedRepository() {
return this.GetForgeFedRepository().Serialize()
} else if this.IsActivityStreamsService() {
return this.GetActivityStreamsService().Serialize()
} else if this.IsActivityStreamsTentativeAccept() {
return this.GetActivityStreamsTentativeAccept().Serialize()
} else if this.IsActivityStreamsTentativeReject() {
return this.GetActivityStreamsTentativeReject().Serialize()
} else if this.IsForgeFedTicket() {
return this.GetForgeFedTicket().Serialize()
} else if this.IsForgeFedTicketDependency() {
return this.GetForgeFedTicketDependency().Serialize()
} else if this.IsActivityStreamsTombstone() {
return this.GetActivityStreamsTombstone().Serialize()
} else if this.IsActivityStreamsTravel() {
@ -2741,48 +2569,6 @@ func (this *ActivityStreamsSubjectProperty) SetActivityStreamsView(v vocab.Activ
this.activitystreamsViewMember = v
}
// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) {
this.Clear()
this.forgefedBranchMember = v
}
// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) {
this.Clear()
this.forgefedCommitMember = v
}
// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedPush(v vocab.ForgeFedPush) {
this.Clear()
this.forgefedPushMember = v
}
// SetForgeFedRepository sets the value of this property. Calling
// IsForgeFedRepository afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) {
this.Clear()
this.forgefedRepositoryMember = v
}
// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) {
this.Clear()
this.forgefedTicketMember = v
}
// SetForgeFedTicketDependency sets the value of this property. Calling
// IsForgeFedTicketDependency afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) {
this.Clear()
this.forgefedTicketDependencyMember = v
}
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) {
this.Clear()
@ -2803,6 +2589,13 @@ func (this *ActivityStreamsSubjectProperty) SetTootEmoji(v vocab.TootEmoji) {
this.tootEmojiMember = v
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetTootHashtag(v vocab.TootHashtag) {
this.Clear()
this.tootHashtagMember = v
}
// SetTootIdentityProof sets the value of this property. Calling
// IsTootIdentityProof afterwards returns true.
func (this *ActivityStreamsSubjectProperty) SetTootIdentityProof(v vocab.TootIdentityProof) {
@ -2857,10 +2650,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsBlock(v)
return nil
}
if v, ok := t.(vocab.ForgeFedBranch); ok {
this.SetForgeFedBranch(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCollection); ok {
this.SetActivityStreamsCollection(v)
return nil
@ -2869,10 +2658,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsCollectionPage(v)
return nil
}
if v, ok := t.(vocab.ForgeFedCommit); ok {
this.SetForgeFedCommit(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsCreate); ok {
this.SetActivityStreamsCreate(v)
return nil
@ -2909,6 +2694,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsGroup(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.TootIdentityProof); ok {
this.SetTootIdentityProof(v)
return nil
@ -2993,10 +2782,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetSchemaPropertyValue(v)
return nil
}
if v, ok := t.(vocab.ForgeFedPush); ok {
this.SetForgeFedPush(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsQuestion); ok {
this.SetActivityStreamsQuestion(v)
return nil
@ -3017,10 +2802,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsRemove(v)
return nil
}
if v, ok := t.(vocab.ForgeFedRepository); ok {
this.SetForgeFedRepository(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsService); ok {
this.SetActivityStreamsService(v)
return nil
@ -3033,14 +2814,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
this.SetActivityStreamsTentativeReject(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicket); ok {
this.SetForgeFedTicket(v)
return nil
}
if v, ok := t.(vocab.ForgeFedTicketDependency); ok {
this.SetForgeFedTicketDependency(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsTombstone); ok {
this.SetActivityStreamsTombstone(v)
return nil

View file

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

View file

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

View file

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

View file

@ -9,6 +9,9 @@ var mgr privateManager
// privateManager abstracts the code-generated manager that provides access to
// concrete implementations.
type privateManager interface {
// DeserializeHashtagToot returns the deserialization method for the
// "TootHashtag" non-functional property in the vocabulary "Toot"
DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error)
// DeserializeLinkActivityStreams returns the deserialization method for
// the "ActivityStreamsLink" non-functional property in the vocabulary
// "ActivityStreams"

View file

@ -17,6 +17,7 @@ import (
type ActivityStreamsUrlPropertyIterator struct {
xmlschemaAnyURIMember *url.URL
activitystreamsLinkMember vocab.ActivityStreamsLink
tootHashtagMember vocab.TootHashtag
activitystreamsMentionMember vocab.ActivityStreamsMention
unknown interface{}
alias string
@ -43,6 +44,12 @@ func deserializeActivityStreamsUrlPropertyIterator(i interface{}, aliasMap map[s
alias: alias,
}
return this, nil
} else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil {
this := &ActivityStreamsUrlPropertyIterator{
alias: alias,
tootHashtagMember: v,
}
return this, nil
} else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil {
this := &ActivityStreamsUrlPropertyIterator{
activitystreamsMentionMember: v,
@ -85,12 +92,21 @@ func (this ActivityStreamsUrlPropertyIterator) GetIRI() *url.URL {
return this.xmlschemaAnyURIMember
}
// GetTootHashtag returns the value of this property. When IsTootHashtag returns
// false, GetTootHashtag will return an arbitrary value.
func (this ActivityStreamsUrlPropertyIterator) GetTootHashtag() vocab.TootHashtag {
return this.tootHashtagMember
}
// GetType returns the value in this property as a Type. Returns nil if the value
// is not an ActivityStreams type, such as an IRI or another value.
func (this ActivityStreamsUrlPropertyIterator) GetType() vocab.Type {
if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink()
}
if this.IsTootHashtag() {
return this.GetTootHashtag()
}
if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention()
}
@ -108,6 +124,7 @@ func (this ActivityStreamsUrlPropertyIterator) GetXMLSchemaAnyURI() *url.URL {
func (this ActivityStreamsUrlPropertyIterator) HasAny() bool {
return this.IsXMLSchemaAnyURI() ||
this.IsActivityStreamsLink() ||
this.IsTootHashtag() ||
this.IsActivityStreamsMention()
}
@ -131,6 +148,13 @@ func (this ActivityStreamsUrlPropertyIterator) IsIRI() bool {
return this.xmlschemaAnyURIMember != nil
}
// IsTootHashtag returns true if this property has a type of "Hashtag". When true,
// use the GetTootHashtag and SetTootHashtag methods to access and set this
// property.
func (this ActivityStreamsUrlPropertyIterator) IsTootHashtag() bool {
return this.tootHashtagMember != nil
}
// IsXMLSchemaAnyURI returns true if this property has a type of "anyURI". When
// true, use the GetXMLSchemaAnyURI and SetXMLSchemaAnyURI methods to access
// and set this property.
@ -146,6 +170,8 @@ func (this ActivityStreamsUrlPropertyIterator) JSONLDContext() map[string]string
var child map[string]string
if this.IsActivityStreamsLink() {
child = this.GetActivityStreamsLink().JSONLDContext()
} else if this.IsTootHashtag() {
child = this.GetTootHashtag().JSONLDContext()
} else if this.IsActivityStreamsMention() {
child = this.GetActivityStreamsMention().JSONLDContext()
}
@ -170,9 +196,12 @@ func (this ActivityStreamsUrlPropertyIterator) KindIndex() int {
if this.IsActivityStreamsLink() {
return 1
}
if this.IsActivityStreamsMention() {
if this.IsTootHashtag() {
return 2
}
if this.IsActivityStreamsMention() {
return 3
}
if this.IsIRI() {
return -2
}
@ -194,6 +223,8 @@ func (this ActivityStreamsUrlPropertyIterator) LessThan(o vocab.ActivityStreamsU
return anyuri.LessAnyURI(this.GetXMLSchemaAnyURI(), o.GetXMLSchemaAnyURI())
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink())
} else if this.IsTootHashtag() {
return this.GetTootHashtag().LessThan(o.GetTootHashtag())
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention())
}
@ -247,6 +278,13 @@ func (this *ActivityStreamsUrlPropertyIterator) SetIRI(v *url.URL) {
this.SetXMLSchemaAnyURI(v)
}
// SetTootHashtag sets the value of this property. Calling IsTootHashtag
// afterwards returns true.
func (this *ActivityStreamsUrlPropertyIterator) SetTootHashtag(v vocab.TootHashtag) {
this.clear()
this.tootHashtagMember = v
}
// SetType attempts to set the property for the arbitrary type. Returns an error
// if it is not a valid type to set on this property.
func (this *ActivityStreamsUrlPropertyIterator) SetType(t vocab.Type) error {
@ -254,6 +292,10 @@ func (this *ActivityStreamsUrlPropertyIterator) SetType(t vocab.Type) error {
this.SetActivityStreamsLink(v)
return nil
}
if v, ok := t.(vocab.TootHashtag); ok {
this.SetTootHashtag(v)
return nil
}
if v, ok := t.(vocab.ActivityStreamsMention); ok {
this.SetActivityStreamsMention(v)
return nil
@ -274,6 +316,7 @@ func (this *ActivityStreamsUrlPropertyIterator) SetXMLSchemaAnyURI(v *url.URL) {
func (this *ActivityStreamsUrlPropertyIterator) clear() {
this.xmlschemaAnyURIMember = nil
this.activitystreamsLinkMember = nil
this.tootHashtagMember = nil
this.activitystreamsMentionMember = nil
this.unknown = nil
}
@ -287,6 +330,8 @@ func (this ActivityStreamsUrlPropertyIterator) serialize() (interface{}, error)
return anyuri.SerializeAnyURI(this.GetXMLSchemaAnyURI())
} else if this.IsActivityStreamsLink() {
return this.GetActivityStreamsLink().Serialize()
} else if this.IsTootHashtag() {
return this.GetTootHashtag().Serialize()
} else if this.IsActivityStreamsMention() {
return this.GetActivityStreamsMention().Serialize()
}
@ -380,6 +425,17 @@ func (this *ActivityStreamsUrlProperty) AppendIRI(v *url.URL) {
})
}
// AppendTootHashtag appends a Hashtag value to the back of a list of the property
// "url". Invalidates iterators that are traversing using Prev.
func (this *ActivityStreamsUrlProperty) AppendTootHashtag(v vocab.TootHashtag) {
this.properties = append(this.properties, &ActivityStreamsUrlPropertyIterator{
alias: this.alias,
myIdx: this.Len(),
parent: this,
tootHashtagMember: v,
})
}
// PrependType prepends an arbitrary type value to the front of a list of the
// property "url". Invalidates iterators that are traversing using Prev.
// Returns an error if the type is not a valid one to set for this property.
@ -487,6 +543,23 @@ func (this *ActivityStreamsUrlProperty) InsertIRI(idx int, v *url.URL) {
}
}
// InsertTootHashtag inserts a Hashtag value at the specified index for a property
// "url". Existing elements at that index and higher are shifted back once.
// Invalidates all iterators.
func (this *ActivityStreamsUrlProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) {
this.properties = append(this.properties, nil)
copy(this.properties[idx+1:], this.properties[idx:])
this.properties[idx] = &ActivityStreamsUrlPropertyIterator{
alias: this.alias,
myIdx: idx,
parent: this,
tootHashtagMember: v,
}
for i := idx; i < this.Len(); i++ {
(this.properties)[i].myIdx = i
}
}
// PrependType prepends an arbitrary type value to the front of a list of the
// property "url". Invalidates all iterators. Returns an error if the type is
// not a valid one to set for this property.
@ -574,6 +647,10 @@ func (this ActivityStreamsUrlProperty) Less(i, j int) bool {
rhs := this.properties[j].GetActivityStreamsLink()
return lhs.LessThan(rhs)
} else if idx1 == 2 {
lhs := this.properties[i].GetTootHashtag()
rhs := this.properties[j].GetTootHashtag()
return lhs.LessThan(rhs)
} else if idx1 == 3 {
lhs := this.properties[i].GetActivityStreamsMention()
rhs := this.properties[j].GetActivityStreamsMention()
return lhs.LessThan(rhs)
@ -657,6 +734,20 @@ func (this *ActivityStreamsUrlProperty) PrependIRI(v *url.URL) {
}
}
// PrependTootHashtag prepends a Hashtag value to the front of a list of the
// property "url". Invalidates all iterators.
func (this *ActivityStreamsUrlProperty) PrependTootHashtag(v vocab.TootHashtag) {
this.properties = append([]*ActivityStreamsUrlPropertyIterator{{
alias: this.alias,
myIdx: 0,
parent: this,
tootHashtagMember: v,
}}, this.properties...)
for i := 1; i < this.Len(); i++ {
(this.properties)[i].myIdx = i
}
}
// PrependType prepends an arbitrary type value to the front of a list of the
// property "url". Invalidates all iterators. Returns an error if the type is
// not a valid one to set for this property.
@ -761,6 +852,19 @@ func (this *ActivityStreamsUrlProperty) SetIRI(idx int, v *url.URL) {
}
}
// SetTootHashtag sets a Hashtag value to be at the specified index for the
// property "url". Panics if the index is out of bounds. Invalidates all
// iterators.
func (this *ActivityStreamsUrlProperty) SetTootHashtag(idx int, v vocab.TootHashtag) {
(this.properties)[idx].parent = nil
(this.properties)[idx] = &ActivityStreamsUrlPropertyIterator{
alias: this.alias,
myIdx: idx,
parent: this,
tootHashtagMember: v,
}
}
// SetType sets an arbitrary type value to the specified index of the property
// "url". Invalidates all iterators. Returns an error if the type is not a
// valid one to set for this property. Panics if the index is out of bounds.

View file

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

View file

@ -83,10 +83,7 @@ type ActivityStreamsAccept struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -97,7 +94,7 @@ type ActivityStreamsAccept struct {
// AcceptIsDisjointWith returns true if the other provided type is disjoint with
// the Accept type.
func AcceptIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -343,26 +340,11 @@ func DeserializeAccept(m map[string]interface{}, aliasMap map[string]string) (*A
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -459,14 +441,8 @@ func DeserializeAccept(m map[string]interface{}, aliasMap map[string]string) (*A
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -722,23 +698,6 @@ func (this ActivityStreamsAccept) GetActivityStreamsUrl() vocab.ActivityStreamsU
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsAccept) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAccept) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAccept) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsAccept) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -809,10 +768,7 @@ func (this ActivityStreamsAccept) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1314,34 +1270,6 @@ func (this ActivityStreamsAccept) LessThan(o vocab.ActivityStreamsAccept) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1356,20 +1284,6 @@ func (this ActivityStreamsAccept) LessThan(o vocab.ActivityStreamsAccept) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1715,22 +1629,6 @@ func (this ActivityStreamsAccept) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1739,14 +1637,6 @@ func (this ActivityStreamsAccept) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1970,21 +1860,6 @@ func (this *ActivityStreamsAccept) SetActivityStreamsUrl(i vocab.ActivityStreams
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsAccept) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsAccept) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsAccept) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsAccept) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

View file

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

View file

@ -63,10 +63,7 @@ type ActivityStreamsActivity struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -77,7 +74,7 @@ type ActivityStreamsActivity struct {
// ActivityIsDisjointWith returns true if the other provided type is disjoint with
// the Activity type.
func ActivityIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -90,7 +87,7 @@ func ActivityIsDisjointWith(other vocab.Type) bool {
// Activity type. Note that it returns false if the types are the same; see
// the "IsOrExtendsActivity" variant instead.
func ActivityIsExtendedBy(other vocab.Type) bool {
extensions := []string{"Accept", "Add", "Announce", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Offer", "Push", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
extensions := []string{"Accept", "Add", "Announce", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
for _, ext := range extensions {
if ext == other.GetTypeName() {
return true
@ -323,26 +320,11 @@ func DeserializeActivity(m map[string]interface{}, aliasMap map[string]string) (
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -439,14 +421,8 @@ func DeserializeActivity(m map[string]interface{}, aliasMap map[string]string) (
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -702,23 +678,6 @@ func (this ActivityStreamsActivity) GetActivityStreamsUrl() vocab.ActivityStream
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsActivity) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsActivity) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsActivity) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsActivity) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -789,10 +748,7 @@ func (this ActivityStreamsActivity) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1294,34 +1250,6 @@ func (this ActivityStreamsActivity) LessThan(o vocab.ActivityStreamsActivity) bo
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1336,20 +1264,6 @@ func (this ActivityStreamsActivity) LessThan(o vocab.ActivityStreamsActivity) bo
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1695,22 +1609,6 @@ func (this ActivityStreamsActivity) Serialize() (map[string]interface{}, error)
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1719,14 +1617,6 @@ func (this ActivityStreamsActivity) Serialize() (map[string]interface{}, error)
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1950,21 +1840,6 @@ func (this *ActivityStreamsActivity) SetActivityStreamsUrl(i vocab.ActivityStrea
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsActivity) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsActivity) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsActivity) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsActivity) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

View file

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

View file

@ -83,10 +83,7 @@ type ActivityStreamsAdd struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -109,7 +106,7 @@ func ActivityStreamsAddExtends(other vocab.Type) bool {
// AddIsDisjointWith returns true if the other provided type is disjoint with the
// Add type.
func AddIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -338,26 +335,11 @@ func DeserializeAdd(m map[string]interface{}, aliasMap map[string]string) (*Acti
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -454,14 +436,8 @@ func DeserializeAdd(m map[string]interface{}, aliasMap map[string]string) (*Acti
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -717,23 +693,6 @@ func (this ActivityStreamsAdd) GetActivityStreamsUrl() vocab.ActivityStreamsUrlP
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsAdd) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAdd) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAdd) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsAdd) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -804,10 +763,7 @@ func (this ActivityStreamsAdd) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1309,34 +1265,6 @@ func (this ActivityStreamsAdd) LessThan(o vocab.ActivityStreamsAdd) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1351,20 +1279,6 @@ func (this ActivityStreamsAdd) LessThan(o vocab.ActivityStreamsAdd) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1710,22 +1624,6 @@ func (this ActivityStreamsAdd) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1734,14 +1632,6 @@ func (this ActivityStreamsAdd) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1965,21 +1855,6 @@ func (this *ActivityStreamsAdd) SetActivityStreamsUrl(i vocab.ActivityStreamsUrl
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsAdd) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsAdd) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsAdd) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsAdd) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

View file

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

View file

@ -65,10 +65,7 @@ type ActivityStreamsAnnounce struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -91,7 +88,7 @@ func ActivityStreamsAnnounceExtends(other vocab.Type) bool {
// AnnounceIsDisjointWith returns true if the other provided type is disjoint with
// the Announce type.
func AnnounceIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -320,26 +317,11 @@ func DeserializeAnnounce(m map[string]interface{}, aliasMap map[string]string) (
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -436,14 +418,8 @@ func DeserializeAnnounce(m map[string]interface{}, aliasMap map[string]string) (
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -699,23 +675,6 @@ func (this ActivityStreamsAnnounce) GetActivityStreamsUrl() vocab.ActivityStream
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsAnnounce) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAnnounce) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAnnounce) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsAnnounce) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -786,10 +745,7 @@ func (this ActivityStreamsAnnounce) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1291,34 +1247,6 @@ func (this ActivityStreamsAnnounce) LessThan(o vocab.ActivityStreamsAnnounce) bo
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1333,20 +1261,6 @@ func (this ActivityStreamsAnnounce) LessThan(o vocab.ActivityStreamsAnnounce) bo
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1692,22 +1606,6 @@ func (this ActivityStreamsAnnounce) Serialize() (map[string]interface{}, error)
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1716,14 +1614,6 @@ func (this ActivityStreamsAnnounce) Serialize() (map[string]interface{}, error)
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1947,21 +1837,6 @@ func (this *ActivityStreamsAnnounce) SetActivityStreamsUrl(i vocab.ActivityStrea
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsAnnounce) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsAnnounce) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsAnnounce) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsAnnounce) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

View file

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

View file

@ -58,10 +58,7 @@ type ActivityStreamsApplication struct {
ActivityStreamsStreams vocab.ActivityStreamsStreamsProperty
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -84,7 +81,7 @@ func ActivityStreamsApplicationExtends(other vocab.Type) bool {
// ApplicationIsDisjointWith returns true if the other provided type is disjoint
// with the Application type.
func ApplicationIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -348,26 +345,11 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
} else if p != nil {
this.ActivityStreamsTag = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -480,14 +462,8 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
continue
} else if k == "tag" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -767,23 +743,6 @@ func (this ActivityStreamsApplication) GetActivityStreamsUrl() vocab.ActivityStr
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsApplication) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsApplication) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsApplication) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsApplication) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -878,10 +837,7 @@ func (this ActivityStreamsApplication) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsStreams, m)
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1481,34 +1437,6 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1523,20 +1451,6 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1938,22 +1852,6 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro
m[this.ActivityStreamsTag.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1962,14 +1860,6 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -2214,21 +2104,6 @@ func (this *ActivityStreamsApplication) SetActivityStreamsUrl(i vocab.ActivitySt
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsApplication) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsApplication) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsApplication) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsApplication) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

View file

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

View file

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

View file

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

View file

@ -49,10 +49,7 @@ type ActivityStreamsArticle struct {
ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -75,7 +72,7 @@ func ActivityStreamsArticleExtends(other vocab.Type) bool {
// ArticleIsDisjointWith returns true if the other provided type is disjoint with
// the Article type.
func ArticleIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -279,26 +276,11 @@ func DeserializeArticle(m map[string]interface{}, aliasMap map[string]string) (*
} else if p != nil {
this.ActivityStreamsTag = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -385,14 +367,8 @@ func DeserializeArticle(m map[string]interface{}, aliasMap map[string]string) (*
continue
} else if k == "tag" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -618,23 +594,6 @@ func (this ActivityStreamsArticle) GetActivityStreamsUrl() vocab.ActivityStreams
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsArticle) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsArticle) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsArticle) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsArticle) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -700,10 +659,7 @@ func (this ActivityStreamsArticle) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1135,34 +1091,6 @@ func (this ActivityStreamsArticle) LessThan(o vocab.ActivityStreamsArticle) bool
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1177,20 +1105,6 @@ func (this ActivityStreamsArticle) LessThan(o vocab.ActivityStreamsArticle) bool
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1496,22 +1410,6 @@ func (this ActivityStreamsArticle) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTag.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1520,14 +1418,6 @@ func (this ActivityStreamsArticle) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1726,21 +1616,6 @@ func (this *ActivityStreamsArticle) SetActivityStreamsUrl(i vocab.ActivityStream
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsArticle) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsArticle) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsArticle) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsArticle) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

View file

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

View file

@ -52,10 +52,7 @@ type ActivityStreamsAudio struct {
ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -78,7 +75,7 @@ func ActivityStreamsAudioExtends(other vocab.Type) bool {
// AudioIsDisjointWith returns true if the other provided type is disjoint with
// the Audio type.
func AudioIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -287,26 +284,11 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac
} else if p != nil {
this.ActivityStreamsTag = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -395,14 +377,8 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac
continue
} else if k == "tag" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -628,23 +604,6 @@ func (this ActivityStreamsAudio) GetActivityStreamsUrl() vocab.ActivityStreamsUr
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsAudio) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAudio) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsAudio) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsAudio) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -716,10 +675,7 @@ func (this ActivityStreamsAudio) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1165,34 +1121,6 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1207,20 +1135,6 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1534,22 +1448,6 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTag.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1558,14 +1456,6 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1764,21 +1654,6 @@ func (this *ActivityStreamsAudio) SetActivityStreamsUrl(i vocab.ActivityStreamsU
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsAudio) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsAudio) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsAudio) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsAudio) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

View file

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

View file

@ -56,10 +56,7 @@ type ActivityStreamsBlock struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -82,7 +79,7 @@ func ActivityStreamsBlockExtends(other vocab.Type) bool {
// BlockIsDisjointWith returns true if the other provided type is disjoint with
// the Block type.
func BlockIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -311,26 +308,11 @@ func DeserializeBlock(m map[string]interface{}, aliasMap map[string]string) (*Ac
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -427,14 +409,8 @@ func DeserializeBlock(m map[string]interface{}, aliasMap map[string]string) (*Ac
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -690,23 +666,6 @@ func (this ActivityStreamsBlock) GetActivityStreamsUrl() vocab.ActivityStreamsUr
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsBlock) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsBlock) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsBlock) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsBlock) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -777,10 +736,7 @@ func (this ActivityStreamsBlock) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1282,34 +1238,6 @@ func (this ActivityStreamsBlock) LessThan(o vocab.ActivityStreamsBlock) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1324,20 +1252,6 @@ func (this ActivityStreamsBlock) LessThan(o vocab.ActivityStreamsBlock) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1683,22 +1597,6 @@ func (this ActivityStreamsBlock) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1707,14 +1605,6 @@ func (this ActivityStreamsBlock) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1938,21 +1828,6 @@ func (this *ActivityStreamsBlock) SetActivityStreamsUrl(i vocab.ActivityStreamsU
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsBlock) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsBlock) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsBlock) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsBlock) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

View file

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

View file

@ -63,11 +63,8 @@ type ActivityStreamsCollection struct {
ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ActivityStreamsTotalItems vocab.ActivityStreamsTotalItemsProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -90,7 +87,7 @@ func ActivityStreamsCollectionExtends(other vocab.Type) bool {
// CollectionIsDisjointWith returns true if the other provided type is disjoint
// with the Collection type.
func CollectionIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -319,16 +316,6 @@ func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string)
} else if p != nil {
this.ActivityStreamsTag = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -339,11 +326,6 @@ func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string)
} else if p != nil {
this.ActivityStreamsTotalItems = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -438,16 +420,10 @@ func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string)
continue
} else if k == "tag" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "totalItems" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -703,23 +679,6 @@ func (this ActivityStreamsCollection) GetActivityStreamsUrl() vocab.ActivityStre
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsCollection) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCollection) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCollection) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsCollection) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -789,11 +748,8 @@ func (this ActivityStreamsCollection) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ActivityStreamsTotalItems, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1281,34 +1237,6 @@ func (this ActivityStreamsCollection) LessThan(o vocab.ActivityStreamsCollection
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1337,20 +1265,6 @@ func (this ActivityStreamsCollection) LessThan(o vocab.ActivityStreamsCollection
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1688,22 +1602,6 @@ func (this ActivityStreamsCollection) Serialize() (map[string]interface{}, error
m[this.ActivityStreamsTag.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1720,14 +1618,6 @@ func (this ActivityStreamsCollection) Serialize() (map[string]interface{}, error
m[this.ActivityStreamsTotalItems.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1951,21 +1841,6 @@ func (this *ActivityStreamsCollection) SetActivityStreamsUrl(i vocab.ActivityStr
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsCollection) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsCollection) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsCollection) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsCollection) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

View file

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

View file

@ -67,11 +67,8 @@ type ActivityStreamsCollectionPage struct {
ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ActivityStreamsTotalItems vocab.ActivityStreamsTotalItemsProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -94,7 +91,7 @@ func ActivityStreamsCollectionPageExtends(other vocab.Type) bool {
// CollectionPageIsDisjointWith returns true if the other provided type is
// disjoint with the CollectionPage type.
func CollectionPageIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -338,16 +335,6 @@ func DeserializeCollectionPage(m map[string]interface{}, aliasMap map[string]str
} else if p != nil {
this.ActivityStreamsTag = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -358,11 +345,6 @@ func DeserializeCollectionPage(m map[string]interface{}, aliasMap map[string]str
} else if p != nil {
this.ActivityStreamsTotalItems = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -463,16 +445,10 @@ func DeserializeCollectionPage(m map[string]interface{}, aliasMap map[string]str
continue
} else if k == "tag" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "totalItems" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -746,23 +722,6 @@ func (this ActivityStreamsCollectionPage) GetActivityStreamsUrl() vocab.Activity
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsCollectionPage) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCollectionPage) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCollectionPage) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsCollectionPage) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -835,11 +794,8 @@ func (this ActivityStreamsCollectionPage) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m)
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ActivityStreamsTotalItems, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1369,34 +1325,6 @@ func (this ActivityStreamsCollectionPage) LessThan(o vocab.ActivityStreamsCollec
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1425,20 +1353,6 @@ func (this ActivityStreamsCollectionPage) LessThan(o vocab.ActivityStreamsCollec
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1800,22 +1714,6 @@ func (this ActivityStreamsCollectionPage) Serialize() (map[string]interface{}, e
m[this.ActivityStreamsTag.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1832,14 +1730,6 @@ func (this ActivityStreamsCollectionPage) Serialize() (map[string]interface{}, e
m[this.ActivityStreamsTotalItems.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -2078,21 +1968,6 @@ func (this *ActivityStreamsCollectionPage) SetActivityStreamsUrl(i vocab.Activit
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsCollectionPage) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsCollectionPage) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsCollectionPage) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsCollectionPage) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

View file

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

View file

@ -60,10 +60,7 @@ type ActivityStreamsCreate struct {
ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty
ActivityStreamsTag vocab.ActivityStreamsTagProperty
ActivityStreamsTarget vocab.ActivityStreamsTargetProperty
ForgeFedTeam vocab.ForgeFedTeamProperty
ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty
ActivityStreamsTo vocab.ActivityStreamsToProperty
ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty
JSONLDType vocab.JSONLDTypeProperty
ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty
ActivityStreamsUrl vocab.ActivityStreamsUrlProperty
@ -86,7 +83,7 @@ func ActivityStreamsCreateExtends(other vocab.Type) bool {
// CreateIsDisjointWith returns true if the other provided type is disjoint with
// the Create type.
func CreateIsDisjointWith(other vocab.Type) bool {
disjointWith := []string{"Link", "Mention"}
disjointWith := []string{"Hashtag", "Link", "Mention"}
for _, disjoint := range disjointWith {
if disjoint == other.GetTypeName() {
return true
@ -315,26 +312,11 @@ func DeserializeCreate(m map[string]interface{}, aliasMap map[string]string) (*A
} else if p != nil {
this.ActivityStreamsTarget = p
}
if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTeam = p
}
if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTicketsTrackedBy = p
}
if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ActivityStreamsTo = p
}
if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
this.ForgeFedTracksTicketsFor = p
}
if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil {
return nil, err
} else if p != nil {
@ -431,14 +413,8 @@ func DeserializeCreate(m map[string]interface{}, aliasMap map[string]string) (*A
continue
} else if k == "target" {
continue
} else if k == "team" {
continue
} else if k == "ticketsTrackedBy" {
continue
} else if k == "to" {
continue
} else if k == "tracksTicketsFor" {
continue
} else if k == "type" {
continue
} else if k == "updated" {
@ -694,23 +670,6 @@ func (this ActivityStreamsCreate) GetActivityStreamsUrl() vocab.ActivityStreamsU
return this.ActivityStreamsUrl
}
// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (this ActivityStreamsCreate) GetForgeFedTeam() vocab.ForgeFedTeamProperty {
return this.ForgeFedTeam
}
// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCreate) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty {
return this.ForgeFedTicketsTrackedBy
}
// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it
// exists, and nil otherwise.
func (this ActivityStreamsCreate) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty {
return this.ForgeFedTracksTicketsFor
}
// GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (this ActivityStreamsCreate) GetJSONLDId() vocab.JSONLDIdProperty {
return this.JSONLDId
@ -781,10 +740,7 @@ func (this ActivityStreamsCreate) JSONLDContext() map[string]string {
m = this.helperJSONLDContext(this.ActivityStreamsSummary, m)
m = this.helperJSONLDContext(this.ActivityStreamsTag, m)
m = this.helperJSONLDContext(this.ActivityStreamsTarget, m)
m = this.helperJSONLDContext(this.ForgeFedTeam, m)
m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m)
m = this.helperJSONLDContext(this.ActivityStreamsTo, m)
m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m)
m = this.helperJSONLDContext(this.JSONLDType, m)
m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m)
m = this.helperJSONLDContext(this.ActivityStreamsUrl, m)
@ -1286,34 +1242,6 @@ func (this ActivityStreamsCreate) LessThan(o vocab.ActivityStreamsCreate) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "team"
if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "ticketsTrackedBy"
if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "to"
if lhs, rhs := this.ActivityStreamsTo, o.GetActivityStreamsTo(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1328,20 +1256,6 @@ func (this ActivityStreamsCreate) LessThan(o vocab.ActivityStreamsCreate) bool {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "tracksTicketsFor"
if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
return true
} else if rhs.LessThan(lhs) {
return false
}
} else if lhs == nil && rhs != nil {
// Nil is less than anything else
return true
} else if rhs != nil && rhs == nil {
// Anything else is greater than nil
return false
} // Else: Both are nil
// Compare property "type"
if lhs, rhs := this.JSONLDType, o.GetJSONLDType(); lhs != nil && rhs != nil {
if lhs.LessThan(rhs) {
@ -1687,22 +1601,6 @@ func (this ActivityStreamsCreate) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTarget.Name()] = i
}
}
// Maybe serialize property "team"
if this.ForgeFedTeam != nil {
if i, err := this.ForgeFedTeam.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTeam.Name()] = i
}
}
// Maybe serialize property "ticketsTrackedBy"
if this.ForgeFedTicketsTrackedBy != nil {
if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTicketsTrackedBy.Name()] = i
}
}
// Maybe serialize property "to"
if this.ActivityStreamsTo != nil {
if i, err := this.ActivityStreamsTo.Serialize(); err != nil {
@ -1711,14 +1609,6 @@ func (this ActivityStreamsCreate) Serialize() (map[string]interface{}, error) {
m[this.ActivityStreamsTo.Name()] = i
}
}
// Maybe serialize property "tracksTicketsFor"
if this.ForgeFedTracksTicketsFor != nil {
if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil {
return nil, err
} else if i != nil {
m[this.ForgeFedTracksTicketsFor.Name()] = i
}
}
// Maybe serialize property "type"
if this.JSONLDType != nil {
if i, err := this.JSONLDType.Serialize(); err != nil {
@ -1942,21 +1832,6 @@ func (this *ActivityStreamsCreate) SetActivityStreamsUrl(i vocab.ActivityStreams
this.ActivityStreamsUrl = i
}
// SetForgeFedTeam sets the "team" property.
func (this *ActivityStreamsCreate) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) {
this.ForgeFedTeam = i
}
// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (this *ActivityStreamsCreate) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) {
this.ForgeFedTicketsTrackedBy = i
}
// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (this *ActivityStreamsCreate) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) {
this.ForgeFedTracksTicketsFor = i
}
// SetJSONLDId sets the "id" property.
func (this *ActivityStreamsCreate) SetJSONLDId(i vocab.JSONLDIdProperty) {
this.JSONLDId = i

Some files were not shown because too many files have changed in this diff Show more