summaryrefslogtreecommitdiff
path: root/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go')
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go42
1 files changed, 42 insertions, 0 deletions
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
index 303a466b8..1e3e05e5a 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go
@@ -142,10 +142,13 @@ import (
propertycanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_canlike"
propertycanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_canreply"
propertyinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/property_interactionpolicy"
+ typeannounceapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_announceapproval"
typecanannounce "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canannounce"
typecanlike "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canlike"
typecanreply "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_canreply"
typeinteractionpolicy "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_interactionpolicy"
+ typelikeapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_likeapproval"
+ typereplyapproval "github.com/superseriousbusiness/activity/streams/impl/gotosocial/type_replyapproval"
propertyid "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_id"
propertytype "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_type"
propertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/property_value"
@@ -289,6 +292,19 @@ func (this Manager) DeserializeAnnounceActivityStreams() func(map[string]interfa
}
}
+// DeserializeAnnounceApprovalGoToSocial returns the deserialization method for
+// the "GoToSocialAnnounceApproval" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAnnounceApproval, error) {
+ i, err := typeannounceapproval.DeserializeAnnounceApproval(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeAnyOfPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsAnyOfProperty" non-functional property in the
// vocabulary "ActivityStreams"
@@ -1216,6 +1232,19 @@ func (this Manager) DeserializeLikeActivityStreams() func(map[string]interface{}
}
}
+// DeserializeLikeApprovalGoToSocial returns the deserialization method for the
+// "GoToSocialLikeApproval" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialLikeApproval, error) {
+ i, err := typelikeapproval.DeserializeLikeApproval(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeLikedPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsLikedProperty" non-functional property in the
// vocabulary "ActivityStreams"
@@ -1827,6 +1856,19 @@ func (this Manager) DeserializeRepliesPropertyActivityStreams() func(map[string]
}
}
+// DeserializeReplyApprovalGoToSocial returns the deserialization method for the
+// "GoToSocialReplyApproval" non-functional property in the vocabulary
+// "GoToSocial"
+func (this Manager) DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error) {
+ return func(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialReplyApproval, error) {
+ i, err := typereplyapproval.DeserializeReplyApproval(m, aliasMap)
+ if i == nil {
+ return nil, err
+ }
+ return i, err
+ }
+}
+
// DeserializeResultPropertyActivityStreams returns the deserialization method for
// the "ActivityStreamsResultProperty" non-functional property in the
// vocabulary "ActivityStreams"