mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-15 01:27:31 -06:00
[chore] Update activity to v1.14.0 (#4038)
This commit is contained in:
parent
768ee70b88
commit
68ed7aba25
216 changed files with 45857 additions and 3130 deletions
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -140,6 +148,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeListenActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsListen" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -217,6 +233,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@ type ActivityStreamsDescribesProperty struct {
|
|||
funkwhaleAlbumMember vocab.FunkwhaleAlbum
|
||||
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
|
||||
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
|
||||
gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
|
||||
gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
|
||||
activitystreamsApplicationMember vocab.ActivityStreamsApplication
|
||||
activitystreamsArriveMember vocab.ActivityStreamsArrive
|
||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
|
|
@ -48,6 +50,8 @@ type ActivityStreamsDescribesProperty struct {
|
|||
funkwhaleLibraryMember vocab.FunkwhaleLibrary
|
||||
activitystreamsLikeMember vocab.ActivityStreamsLike
|
||||
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
|
||||
gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
|
||||
gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
|
||||
activitystreamsListenMember vocab.ActivityStreamsListen
|
||||
activitystreamsMoveMember vocab.ActivityStreamsMove
|
||||
activitystreamsNoteMember vocab.ActivityStreamsNote
|
||||
|
|
@ -66,6 +70,8 @@ type ActivityStreamsDescribesProperty struct {
|
|||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
|
||||
gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
|
||||
gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
|
||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
|
|
@ -151,6 +157,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
gotosocialAnnounceApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsApplicationMember: v,
|
||||
|
|
@ -313,6 +331,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
gotosocialLikeApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsListenMember: v,
|
||||
|
|
@ -421,6 +451,18 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string]
|
|||
gotosocialReplyApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsDescribesProperty{
|
||||
activitystreamsServiceMember: v,
|
||||
|
|
@ -507,6 +549,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
|||
this.funkwhaleAlbumMember = nil
|
||||
this.activitystreamsAnnounceMember = nil
|
||||
this.gotosocialAnnounceApprovalMember = nil
|
||||
this.gotosocialAnnounceAuthorizationMember = nil
|
||||
this.gotosocialAnnounceRequestMember = nil
|
||||
this.activitystreamsApplicationMember = nil
|
||||
this.activitystreamsArriveMember = nil
|
||||
this.activitystreamsArticleMember = nil
|
||||
|
|
@ -534,6 +578,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
|||
this.funkwhaleLibraryMember = nil
|
||||
this.activitystreamsLikeMember = nil
|
||||
this.gotosocialLikeApprovalMember = nil
|
||||
this.gotosocialLikeAuthorizationMember = nil
|
||||
this.gotosocialLikeRequestMember = nil
|
||||
this.activitystreamsListenMember = nil
|
||||
this.activitystreamsMoveMember = nil
|
||||
this.activitystreamsNoteMember = nil
|
||||
|
|
@ -552,6 +598,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() {
|
|||
this.activitystreamsRelationshipMember = nil
|
||||
this.activitystreamsRemoveMember = nil
|
||||
this.gotosocialReplyApprovalMember = nil
|
||||
this.gotosocialReplyAuthorizationMember = nil
|
||||
this.gotosocialReplyRequestMember = nil
|
||||
this.activitystreamsServiceMember = nil
|
||||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
|
|
@ -961,6 +1009,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceApproval() voc
|
|||
return this.gotosocialAnnounceApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceAuthorization returns the value of this property. When
|
||||
// IsGoToSocialAnnounceAuthorization returns false,
|
||||
// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
|
||||
return this.gotosocialAnnounceAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceRequest returns the value of this property. When
|
||||
// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
|
||||
return this.gotosocialAnnounceRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeApproval returns the value of this property. When
|
||||
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
|
||||
// return an arbitrary value.
|
||||
|
|
@ -968,6 +1030,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeApproval() vocab.G
|
|||
return this.gotosocialLikeApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeAuthorization returns the value of this property. When
|
||||
// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
|
||||
return this.gotosocialLikeAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeRequest returns the value of this property. When
|
||||
// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
|
||||
// an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
|
||||
return this.gotosocialLikeRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyApproval returns the value of this property. When
|
||||
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
|
||||
// return an arbitrary value.
|
||||
|
|
@ -975,6 +1051,20 @@ func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyApproval() vocab.
|
|||
return this.gotosocialReplyApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyAuthorization returns the value of this property. When
|
||||
// IsGoToSocialReplyAuthorization returns false,
|
||||
// GetGoToSocialReplyAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
|
||||
return this.gotosocialReplyAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyRequest returns the value of this property. When
|
||||
// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
|
||||
return this.gotosocialReplyRequestMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL {
|
||||
|
|
@ -1025,6 +1115,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest()
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication()
|
||||
}
|
||||
|
|
@ -1106,6 +1202,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval()
|
||||
}
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest()
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen()
|
||||
}
|
||||
|
|
@ -1160,6 +1262,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type {
|
|||
if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval()
|
||||
}
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
|
|
@ -1203,6 +1311,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
|||
this.IsFunkwhaleAlbum() ||
|
||||
this.IsActivityStreamsAnnounce() ||
|
||||
this.IsGoToSocialAnnounceApproval() ||
|
||||
this.IsGoToSocialAnnounceAuthorization() ||
|
||||
this.IsGoToSocialAnnounceRequest() ||
|
||||
this.IsActivityStreamsApplication() ||
|
||||
this.IsActivityStreamsArrive() ||
|
||||
this.IsActivityStreamsArticle() ||
|
||||
|
|
@ -1230,6 +1340,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
|||
this.IsFunkwhaleLibrary() ||
|
||||
this.IsActivityStreamsLike() ||
|
||||
this.IsGoToSocialLikeApproval() ||
|
||||
this.IsGoToSocialLikeAuthorization() ||
|
||||
this.IsGoToSocialLikeRequest() ||
|
||||
this.IsActivityStreamsListen() ||
|
||||
this.IsActivityStreamsMove() ||
|
||||
this.IsActivityStreamsNote() ||
|
||||
|
|
@ -1248,6 +1360,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool {
|
|||
this.IsActivityStreamsRelationship() ||
|
||||
this.IsActivityStreamsRemove() ||
|
||||
this.IsGoToSocialReplyApproval() ||
|
||||
this.IsGoToSocialReplyAuthorization() ||
|
||||
this.IsGoToSocialReplyRequest() ||
|
||||
this.IsActivityStreamsService() ||
|
||||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
|
|
@ -1665,6 +1779,21 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceApproval() bool
|
|||
return this.gotosocialAnnounceApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
|
||||
// "AnnounceAuthorization". When true, use the
|
||||
// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
|
||||
// methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceAuthorization() bool {
|
||||
return this.gotosocialAnnounceAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceRequest returns true if this property has a type of
|
||||
// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
|
||||
// SetGoToSocialAnnounceRequest methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialAnnounceRequest() bool {
|
||||
return this.gotosocialAnnounceRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeApproval returns true if this property has a type of
|
||||
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
|
||||
// SetGoToSocialLikeApproval methods to access and set this property.
|
||||
|
|
@ -1672,6 +1801,20 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeApproval() bool {
|
|||
return this.gotosocialLikeApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeAuthorization returns true if this property has a type of
|
||||
// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
|
||||
// SetGoToSocialLikeAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeAuthorization() bool {
|
||||
return this.gotosocialLikeAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeRequest returns true if this property has a type of
|
||||
// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
|
||||
// SetGoToSocialLikeRequest methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialLikeRequest() bool {
|
||||
return this.gotosocialLikeRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyApproval returns true if this property has a type of
|
||||
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
|
||||
// SetGoToSocialReplyApproval methods to access and set this property.
|
||||
|
|
@ -1679,6 +1822,20 @@ func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyApproval() bool {
|
|||
return this.gotosocialReplyApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyAuthorization returns true if this property has a type of
|
||||
// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
|
||||
// and SetGoToSocialReplyAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyAuthorization() bool {
|
||||
return this.gotosocialReplyAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyRequest returns true if this property has a type of
|
||||
// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
|
||||
// SetGoToSocialReplyRequest methods to access and set this property.
|
||||
func (this ActivityStreamsDescribesProperty) IsGoToSocialReplyRequest() bool {
|
||||
return this.gotosocialReplyRequestMember != 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 {
|
||||
|
|
@ -1725,6 +1882,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsAnnounce().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
child = this.GetActivityStreamsApplication().JSONLDContext()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
|
|
@ -1779,6 +1940,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsLike().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
child = this.GetGoToSocialLikeApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
child = this.GetGoToSocialLikeRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
child = this.GetActivityStreamsListen().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMove() {
|
||||
|
|
@ -1815,6 +1980,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
child = this.GetGoToSocialReplyApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
child = this.GetGoToSocialReplyRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
child = this.GetActivityStreamsService().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
|
|
@ -1872,171 +2041,189 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int {
|
|||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return 6
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return 7
|
||||
}
|
||||
if this.IsActivityStreamsArrive() {
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return 8
|
||||
}
|
||||
if this.IsActivityStreamsArticle() {
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return 9
|
||||
}
|
||||
if this.IsFunkwhaleArtist() {
|
||||
if this.IsActivityStreamsArrive() {
|
||||
return 10
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
if this.IsActivityStreamsArticle() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsBlock() {
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsBlock() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 18
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 19
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 23
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 24
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 25
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 30
|
||||
}
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 32
|
||||
}
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 34
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 44
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 47
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 50
|
||||
}
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 53
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return 55
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 58
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 61
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return 62
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 63
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 64
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 65
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 66
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 67
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
|
@ -2068,6 +2255,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
|||
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
|
|
@ -2122,6 +2313,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
|||
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
|
||||
} else if this.IsActivityStreamsMove() {
|
||||
|
|
@ -2158,6 +2353,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes
|
|||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
|
|
@ -2212,6 +2411,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsAnnounce().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().Serialize()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().Serialize()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
|
|
@ -2266,6 +2469,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsLike().Serialize()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().Serialize()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().Serialize()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().Serialize()
|
||||
} else if this.IsActivityStreamsMove() {
|
||||
|
|
@ -2302,6 +2509,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsRemove().Serialize()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().Serialize()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().Serialize()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
|
|
@ -2727,6 +2938,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceApproval(v vo
|
|||
this.gotosocialAnnounceApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceRequest sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceRequest afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeApproval sets the value of this property. Calling
|
||||
// IsGoToSocialLikeApproval afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
|
||||
|
|
@ -2734,6 +2959,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeApproval(v vocab.
|
|||
this.gotosocialLikeApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialLikeAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeRequest sets the value of this property. Calling
|
||||
// IsGoToSocialLikeRequest afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyApproval sets the value of this property. Calling
|
||||
// IsGoToSocialReplyApproval afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
|
||||
|
|
@ -2741,6 +2980,20 @@ func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyApproval(v vocab
|
|||
this.gotosocialReplyApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialReplyAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyRequest sets the value of this property. Calling
|
||||
// IsGoToSocialReplyRequest afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyRequestMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||
func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) {
|
||||
this.Clear()
|
||||
|
|
@ -2799,6 +3052,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetGoToSocialAnnounceApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
|
||||
this.SetGoToSocialAnnounceAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
|
||||
this.SetGoToSocialAnnounceRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
|
||||
this.SetActivityStreamsApplication(v)
|
||||
return nil
|
||||
|
|
@ -2907,6 +3168,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetGoToSocialLikeApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
|
||||
this.SetGoToSocialLikeAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
|
||||
this.SetGoToSocialLikeRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsListen); ok {
|
||||
this.SetActivityStreamsListen(v)
|
||||
return nil
|
||||
|
|
@ -2979,6 +3248,14 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error {
|
|||
this.SetGoToSocialReplyApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
|
||||
this.SetGoToSocialReplyAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
|
||||
this.SetGoToSocialReplyRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||
this.SetActivityStreamsService(v)
|
||||
return nil
|
||||
|
|
|
|||
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -140,6 +148,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeListenActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsListen" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -217,6 +233,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -140,6 +148,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeListenActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsListen" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
@ -217,6 +233,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ type ActivityStreamsSourceProperty struct {
|
|||
funkwhaleAlbumMember vocab.FunkwhaleAlbum
|
||||
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
|
||||
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
|
||||
gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
|
||||
gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
|
||||
activitystreamsApplicationMember vocab.ActivityStreamsApplication
|
||||
activitystreamsArriveMember vocab.ActivityStreamsArrive
|
||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
|
|
@ -50,6 +52,8 @@ type ActivityStreamsSourceProperty struct {
|
|||
funkwhaleLibraryMember vocab.FunkwhaleLibrary
|
||||
activitystreamsLikeMember vocab.ActivityStreamsLike
|
||||
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
|
||||
gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
|
||||
gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
|
||||
activitystreamsListenMember vocab.ActivityStreamsListen
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
activitystreamsMoveMember vocab.ActivityStreamsMove
|
||||
|
|
@ -69,6 +73,8 @@ type ActivityStreamsSourceProperty struct {
|
|||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
|
||||
gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
|
||||
gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
|
||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
|
|
@ -160,6 +166,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
gotosocialAnnounceApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsApplicationMember: v,
|
||||
|
|
@ -328,6 +346,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
gotosocialLikeApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsListenMember: v,
|
||||
|
|
@ -442,6 +472,18 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str
|
|||
gotosocialReplyApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSourceProperty{
|
||||
activitystreamsServiceMember: v,
|
||||
|
|
@ -529,6 +571,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
|||
this.funkwhaleAlbumMember = nil
|
||||
this.activitystreamsAnnounceMember = nil
|
||||
this.gotosocialAnnounceApprovalMember = nil
|
||||
this.gotosocialAnnounceAuthorizationMember = nil
|
||||
this.gotosocialAnnounceRequestMember = nil
|
||||
this.activitystreamsApplicationMember = nil
|
||||
this.activitystreamsArriveMember = nil
|
||||
this.activitystreamsArticleMember = nil
|
||||
|
|
@ -557,6 +601,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
|||
this.funkwhaleLibraryMember = nil
|
||||
this.activitystreamsLikeMember = nil
|
||||
this.gotosocialLikeApprovalMember = nil
|
||||
this.gotosocialLikeAuthorizationMember = nil
|
||||
this.gotosocialLikeRequestMember = nil
|
||||
this.activitystreamsListenMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.activitystreamsMoveMember = nil
|
||||
|
|
@ -576,6 +622,8 @@ func (this *ActivityStreamsSourceProperty) Clear() {
|
|||
this.activitystreamsRelationshipMember = nil
|
||||
this.activitystreamsRemoveMember = nil
|
||||
this.gotosocialReplyApprovalMember = nil
|
||||
this.gotosocialReplyAuthorizationMember = nil
|
||||
this.gotosocialReplyRequestMember = nil
|
||||
this.activitystreamsServiceMember = nil
|
||||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
|
|
@ -999,6 +1047,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceApproval() vocab.
|
|||
return this.gotosocialAnnounceApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceAuthorization returns the value of this property. When
|
||||
// IsGoToSocialAnnounceAuthorization returns false,
|
||||
// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
|
||||
return this.gotosocialAnnounceAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceRequest returns the value of this property. When
|
||||
// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
|
||||
return this.gotosocialAnnounceRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeApproval returns the value of this property. When
|
||||
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
|
||||
// return an arbitrary value.
|
||||
|
|
@ -1006,6 +1068,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialLikeApproval() vocab.GoTo
|
|||
return this.gotosocialLikeApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeAuthorization returns the value of this property. When
|
||||
// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
|
||||
return this.gotosocialLikeAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeRequest returns the value of this property. When
|
||||
// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
|
||||
// an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
|
||||
return this.gotosocialLikeRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyApproval returns the value of this property. When
|
||||
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
|
||||
// return an arbitrary value.
|
||||
|
|
@ -1013,6 +1089,20 @@ func (this ActivityStreamsSourceProperty) GetGoToSocialReplyApproval() vocab.GoT
|
|||
return this.gotosocialReplyApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyAuthorization returns the value of this property. When
|
||||
// IsGoToSocialReplyAuthorization returns false,
|
||||
// GetGoToSocialReplyAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
|
||||
return this.gotosocialReplyAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyRequest returns the value of this property. When
|
||||
// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
|
||||
return this.gotosocialReplyRequestMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSourceProperty) GetIRI() *url.URL {
|
||||
|
|
@ -1072,6 +1162,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest()
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication()
|
||||
}
|
||||
|
|
@ -1156,6 +1252,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval()
|
||||
}
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest()
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen()
|
||||
}
|
||||
|
|
@ -1213,6 +1315,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type {
|
|||
if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval()
|
||||
}
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
|
|
@ -1257,6 +1365,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
|||
this.IsFunkwhaleAlbum() ||
|
||||
this.IsActivityStreamsAnnounce() ||
|
||||
this.IsGoToSocialAnnounceApproval() ||
|
||||
this.IsGoToSocialAnnounceAuthorization() ||
|
||||
this.IsGoToSocialAnnounceRequest() ||
|
||||
this.IsActivityStreamsApplication() ||
|
||||
this.IsActivityStreamsArrive() ||
|
||||
this.IsActivityStreamsArticle() ||
|
||||
|
|
@ -1285,6 +1395,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
|||
this.IsFunkwhaleLibrary() ||
|
||||
this.IsActivityStreamsLike() ||
|
||||
this.IsGoToSocialLikeApproval() ||
|
||||
this.IsGoToSocialLikeAuthorization() ||
|
||||
this.IsGoToSocialLikeRequest() ||
|
||||
this.IsActivityStreamsListen() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.IsActivityStreamsMove() ||
|
||||
|
|
@ -1304,6 +1416,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool {
|
|||
this.IsActivityStreamsRelationship() ||
|
||||
this.IsActivityStreamsRemove() ||
|
||||
this.IsGoToSocialReplyApproval() ||
|
||||
this.IsGoToSocialReplyAuthorization() ||
|
||||
this.IsGoToSocialReplyRequest() ||
|
||||
this.IsActivityStreamsService() ||
|
||||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
|
|
@ -1735,6 +1849,21 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceApproval() bool {
|
|||
return this.gotosocialAnnounceApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
|
||||
// "AnnounceAuthorization". When true, use the
|
||||
// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
|
||||
// methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceAuthorization() bool {
|
||||
return this.gotosocialAnnounceAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceRequest returns true if this property has a type of
|
||||
// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
|
||||
// SetGoToSocialAnnounceRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialAnnounceRequest() bool {
|
||||
return this.gotosocialAnnounceRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeApproval returns true if this property has a type of
|
||||
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
|
||||
// SetGoToSocialLikeApproval methods to access and set this property.
|
||||
|
|
@ -1742,6 +1871,20 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialLikeApproval() bool {
|
|||
return this.gotosocialLikeApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeAuthorization returns true if this property has a type of
|
||||
// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
|
||||
// SetGoToSocialLikeAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialLikeAuthorization() bool {
|
||||
return this.gotosocialLikeAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeRequest returns true if this property has a type of
|
||||
// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
|
||||
// SetGoToSocialLikeRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialLikeRequest() bool {
|
||||
return this.gotosocialLikeRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyApproval returns true if this property has a type of
|
||||
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
|
||||
// SetGoToSocialReplyApproval methods to access and set this property.
|
||||
|
|
@ -1749,6 +1892,20 @@ func (this ActivityStreamsSourceProperty) IsGoToSocialReplyApproval() bool {
|
|||
return this.gotosocialReplyApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyAuthorization returns true if this property has a type of
|
||||
// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
|
||||
// and SetGoToSocialReplyAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialReplyAuthorization() bool {
|
||||
return this.gotosocialReplyAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyRequest returns true if this property has a type of
|
||||
// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
|
||||
// SetGoToSocialReplyRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSourceProperty) IsGoToSocialReplyRequest() bool {
|
||||
return this.gotosocialReplyRequestMember != 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 {
|
||||
|
|
@ -1804,6 +1961,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsAnnounce().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
child = this.GetActivityStreamsApplication().JSONLDContext()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
|
|
@ -1860,6 +2021,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsLike().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
child = this.GetGoToSocialLikeApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
child = this.GetGoToSocialLikeRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
child = this.GetActivityStreamsListen().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
|
|
@ -1898,6 +2063,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
child = this.GetGoToSocialReplyApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
child = this.GetGoToSocialReplyRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
child = this.GetActivityStreamsService().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
|
|
@ -1958,177 +2127,195 @@ func (this ActivityStreamsSourceProperty) KindIndex() int {
|
|||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return 7
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return 8
|
||||
}
|
||||
if this.IsActivityStreamsArrive() {
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return 9
|
||||
}
|
||||
if this.IsActivityStreamsArticle() {
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return 10
|
||||
}
|
||||
if this.IsFunkwhaleArtist() {
|
||||
if this.IsActivityStreamsArrive() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
if this.IsActivityStreamsArticle() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsBlock() {
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsBlock() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 19
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 23
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 24
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 25
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsTootHashtag() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 32
|
||||
}
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 34
|
||||
}
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 44
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 47
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 50
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 53
|
||||
}
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 55
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return 58
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 61
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 62
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 63
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 64
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return 65
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 66
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 67
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 68
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 69
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 70
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
|
@ -2162,6 +2349,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
|
|
@ -2218,6 +2409,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
|
|
@ -2256,6 +2451,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource
|
|||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
|
|
@ -2312,6 +2511,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsAnnounce().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().Serialize()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().Serialize()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
|
|
@ -2368,6 +2571,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsLike().Serialize()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().Serialize()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().Serialize()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
|
|
@ -2406,6 +2613,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsRemove().Serialize()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().Serialize()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().Serialize()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
|
|
@ -2845,6 +3056,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceApproval(v vocab
|
|||
this.gotosocialAnnounceApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceRequest sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeApproval sets the value of this property. Calling
|
||||
// IsGoToSocialLikeApproval afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
|
||||
|
|
@ -2852,6 +3077,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeApproval(v vocab.GoT
|
|||
this.gotosocialLikeApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialLikeAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeRequest sets the value of this property. Calling
|
||||
// IsGoToSocialLikeRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyApproval sets the value of this property. Calling
|
||||
// IsGoToSocialReplyApproval afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
|
||||
|
|
@ -2859,6 +3098,20 @@ func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyApproval(v vocab.Go
|
|||
this.gotosocialReplyApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialReplyAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyRequest sets the value of this property. Calling
|
||||
// IsGoToSocialReplyRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyRequestMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||
func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) {
|
||||
this.Clear()
|
||||
|
|
@ -2928,6 +3181,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetGoToSocialAnnounceApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
|
||||
this.SetGoToSocialAnnounceAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
|
||||
this.SetGoToSocialAnnounceRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
|
||||
this.SetActivityStreamsApplication(v)
|
||||
return nil
|
||||
|
|
@ -3040,6 +3301,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetGoToSocialLikeApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
|
||||
this.SetGoToSocialLikeAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
|
||||
this.SetGoToSocialLikeRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsListen); ok {
|
||||
this.SetActivityStreamsListen(v)
|
||||
return nil
|
||||
|
|
@ -3116,6 +3385,14 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error {
|
|||
this.SetGoToSocialReplyApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
|
||||
this.SetGoToSocialReplyAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
|
||||
this.SetGoToSocialReplyRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||
this.SetActivityStreamsService(v)
|
||||
return nil
|
||||
|
|
|
|||
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ type ActivityStreamsSubjectProperty struct {
|
|||
funkwhaleAlbumMember vocab.FunkwhaleAlbum
|
||||
activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce
|
||||
gotosocialAnnounceApprovalMember vocab.GoToSocialAnnounceApproval
|
||||
gotosocialAnnounceAuthorizationMember vocab.GoToSocialAnnounceAuthorization
|
||||
gotosocialAnnounceRequestMember vocab.GoToSocialAnnounceRequest
|
||||
activitystreamsApplicationMember vocab.ActivityStreamsApplication
|
||||
activitystreamsArriveMember vocab.ActivityStreamsArrive
|
||||
activitystreamsArticleMember vocab.ActivityStreamsArticle
|
||||
|
|
@ -50,6 +52,8 @@ type ActivityStreamsSubjectProperty struct {
|
|||
funkwhaleLibraryMember vocab.FunkwhaleLibrary
|
||||
activitystreamsLikeMember vocab.ActivityStreamsLike
|
||||
gotosocialLikeApprovalMember vocab.GoToSocialLikeApproval
|
||||
gotosocialLikeAuthorizationMember vocab.GoToSocialLikeAuthorization
|
||||
gotosocialLikeRequestMember vocab.GoToSocialLikeRequest
|
||||
activitystreamsListenMember vocab.ActivityStreamsListen
|
||||
activitystreamsMentionMember vocab.ActivityStreamsMention
|
||||
activitystreamsMoveMember vocab.ActivityStreamsMove
|
||||
|
|
@ -69,6 +73,8 @@ type ActivityStreamsSubjectProperty struct {
|
|||
activitystreamsRelationshipMember vocab.ActivityStreamsRelationship
|
||||
activitystreamsRemoveMember vocab.ActivityStreamsRemove
|
||||
gotosocialReplyApprovalMember vocab.GoToSocialReplyApproval
|
||||
gotosocialReplyAuthorizationMember vocab.GoToSocialReplyAuthorization
|
||||
gotosocialReplyRequestMember vocab.GoToSocialReplyRequest
|
||||
activitystreamsServiceMember vocab.ActivityStreamsService
|
||||
activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept
|
||||
activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject
|
||||
|
|
@ -160,6 +166,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
gotosocialAnnounceApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeAnnounceRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialAnnounceRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsApplicationMember: v,
|
||||
|
|
@ -328,6 +346,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
gotosocialLikeApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeLikeRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialLikeRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsListenMember: v,
|
||||
|
|
@ -442,6 +472,18 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st
|
|||
gotosocialReplyApprovalMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyAuthorizationGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyAuthorizationMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeReplyRequestGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
alias: alias,
|
||||
gotosocialReplyRequestMember: v,
|
||||
}
|
||||
return this, nil
|
||||
} else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil {
|
||||
this := &ActivityStreamsSubjectProperty{
|
||||
activitystreamsServiceMember: v,
|
||||
|
|
@ -529,6 +571,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
|||
this.funkwhaleAlbumMember = nil
|
||||
this.activitystreamsAnnounceMember = nil
|
||||
this.gotosocialAnnounceApprovalMember = nil
|
||||
this.gotosocialAnnounceAuthorizationMember = nil
|
||||
this.gotosocialAnnounceRequestMember = nil
|
||||
this.activitystreamsApplicationMember = nil
|
||||
this.activitystreamsArriveMember = nil
|
||||
this.activitystreamsArticleMember = nil
|
||||
|
|
@ -557,6 +601,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
|||
this.funkwhaleLibraryMember = nil
|
||||
this.activitystreamsLikeMember = nil
|
||||
this.gotosocialLikeApprovalMember = nil
|
||||
this.gotosocialLikeAuthorizationMember = nil
|
||||
this.gotosocialLikeRequestMember = nil
|
||||
this.activitystreamsListenMember = nil
|
||||
this.activitystreamsMentionMember = nil
|
||||
this.activitystreamsMoveMember = nil
|
||||
|
|
@ -576,6 +622,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() {
|
|||
this.activitystreamsRelationshipMember = nil
|
||||
this.activitystreamsRemoveMember = nil
|
||||
this.gotosocialReplyApprovalMember = nil
|
||||
this.gotosocialReplyAuthorizationMember = nil
|
||||
this.gotosocialReplyRequestMember = nil
|
||||
this.activitystreamsServiceMember = nil
|
||||
this.activitystreamsTentativeAcceptMember = nil
|
||||
this.activitystreamsTentativeRejectMember = nil
|
||||
|
|
@ -999,6 +1047,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceApproval() vocab
|
|||
return this.gotosocialAnnounceApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceAuthorization returns the value of this property. When
|
||||
// IsGoToSocialAnnounceAuthorization returns false,
|
||||
// GetGoToSocialAnnounceAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceAuthorization() vocab.GoToSocialAnnounceAuthorization {
|
||||
return this.gotosocialAnnounceAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialAnnounceRequest returns the value of this property. When
|
||||
// IsGoToSocialAnnounceRequest returns false, GetGoToSocialAnnounceRequest
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialAnnounceRequest() vocab.GoToSocialAnnounceRequest {
|
||||
return this.gotosocialAnnounceRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeApproval returns the value of this property. When
|
||||
// IsGoToSocialLikeApproval returns false, GetGoToSocialLikeApproval will
|
||||
// return an arbitrary value.
|
||||
|
|
@ -1006,6 +1068,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeApproval() vocab.GoT
|
|||
return this.gotosocialLikeApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeAuthorization returns the value of this property. When
|
||||
// IsGoToSocialLikeAuthorization returns false, GetGoToSocialLikeAuthorization
|
||||
// will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeAuthorization() vocab.GoToSocialLikeAuthorization {
|
||||
return this.gotosocialLikeAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialLikeRequest returns the value of this property. When
|
||||
// IsGoToSocialLikeRequest returns false, GetGoToSocialLikeRequest will return
|
||||
// an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialLikeRequest() vocab.GoToSocialLikeRequest {
|
||||
return this.gotosocialLikeRequestMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyApproval returns the value of this property. When
|
||||
// IsGoToSocialReplyApproval returns false, GetGoToSocialReplyApproval will
|
||||
// return an arbitrary value.
|
||||
|
|
@ -1013,6 +1089,20 @@ func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyApproval() vocab.Go
|
|||
return this.gotosocialReplyApprovalMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyAuthorization returns the value of this property. When
|
||||
// IsGoToSocialReplyAuthorization returns false,
|
||||
// GetGoToSocialReplyAuthorization will return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyAuthorization() vocab.GoToSocialReplyAuthorization {
|
||||
return this.gotosocialReplyAuthorizationMember
|
||||
}
|
||||
|
||||
// GetGoToSocialReplyRequest returns the value of this property. When
|
||||
// IsGoToSocialReplyRequest returns false, GetGoToSocialReplyRequest will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetGoToSocialReplyRequest() vocab.GoToSocialReplyRequest {
|
||||
return this.gotosocialReplyRequestMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return an arbitrary value.
|
||||
func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL {
|
||||
|
|
@ -1072,6 +1162,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest()
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication()
|
||||
}
|
||||
|
|
@ -1156,6 +1252,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval()
|
||||
}
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest()
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen()
|
||||
}
|
||||
|
|
@ -1213,6 +1315,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type {
|
|||
if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval()
|
||||
}
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization()
|
||||
}
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest()
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService()
|
||||
}
|
||||
|
|
@ -1257,6 +1365,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
|||
this.IsFunkwhaleAlbum() ||
|
||||
this.IsActivityStreamsAnnounce() ||
|
||||
this.IsGoToSocialAnnounceApproval() ||
|
||||
this.IsGoToSocialAnnounceAuthorization() ||
|
||||
this.IsGoToSocialAnnounceRequest() ||
|
||||
this.IsActivityStreamsApplication() ||
|
||||
this.IsActivityStreamsArrive() ||
|
||||
this.IsActivityStreamsArticle() ||
|
||||
|
|
@ -1285,6 +1395,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
|||
this.IsFunkwhaleLibrary() ||
|
||||
this.IsActivityStreamsLike() ||
|
||||
this.IsGoToSocialLikeApproval() ||
|
||||
this.IsGoToSocialLikeAuthorization() ||
|
||||
this.IsGoToSocialLikeRequest() ||
|
||||
this.IsActivityStreamsListen() ||
|
||||
this.IsActivityStreamsMention() ||
|
||||
this.IsActivityStreamsMove() ||
|
||||
|
|
@ -1304,6 +1416,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool {
|
|||
this.IsActivityStreamsRelationship() ||
|
||||
this.IsActivityStreamsRemove() ||
|
||||
this.IsGoToSocialReplyApproval() ||
|
||||
this.IsGoToSocialReplyAuthorization() ||
|
||||
this.IsGoToSocialReplyRequest() ||
|
||||
this.IsActivityStreamsService() ||
|
||||
this.IsActivityStreamsTentativeAccept() ||
|
||||
this.IsActivityStreamsTentativeReject() ||
|
||||
|
|
@ -1735,6 +1849,21 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceApproval() bool {
|
|||
return this.gotosocialAnnounceApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceAuthorization returns true if this property has a type of
|
||||
// "AnnounceAuthorization". When true, use the
|
||||
// GetGoToSocialAnnounceAuthorization and SetGoToSocialAnnounceAuthorization
|
||||
// methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceAuthorization() bool {
|
||||
return this.gotosocialAnnounceAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialAnnounceRequest returns true if this property has a type of
|
||||
// "AnnounceRequest". When true, use the GetGoToSocialAnnounceRequest and
|
||||
// SetGoToSocialAnnounceRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialAnnounceRequest() bool {
|
||||
return this.gotosocialAnnounceRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeApproval returns true if this property has a type of
|
||||
// "LikeApproval". When true, use the GetGoToSocialLikeApproval and
|
||||
// SetGoToSocialLikeApproval methods to access and set this property.
|
||||
|
|
@ -1742,6 +1871,20 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeApproval() bool {
|
|||
return this.gotosocialLikeApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeAuthorization returns true if this property has a type of
|
||||
// "LikeAuthorization". When true, use the GetGoToSocialLikeAuthorization and
|
||||
// SetGoToSocialLikeAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeAuthorization() bool {
|
||||
return this.gotosocialLikeAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialLikeRequest returns true if this property has a type of
|
||||
// "LikeRequest". When true, use the GetGoToSocialLikeRequest and
|
||||
// SetGoToSocialLikeRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialLikeRequest() bool {
|
||||
return this.gotosocialLikeRequestMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyApproval returns true if this property has a type of
|
||||
// "ReplyApproval". When true, use the GetGoToSocialReplyApproval and
|
||||
// SetGoToSocialReplyApproval methods to access and set this property.
|
||||
|
|
@ -1749,6 +1892,20 @@ func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyApproval() bool {
|
|||
return this.gotosocialReplyApprovalMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyAuthorization returns true if this property has a type of
|
||||
// "ReplyAuthorization". When true, use the GetGoToSocialReplyAuthorization
|
||||
// and SetGoToSocialReplyAuthorization methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyAuthorization() bool {
|
||||
return this.gotosocialReplyAuthorizationMember != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialReplyRequest returns true if this property has a type of
|
||||
// "ReplyRequest". When true, use the GetGoToSocialReplyRequest and
|
||||
// SetGoToSocialReplyRequest methods to access and set this property.
|
||||
func (this ActivityStreamsSubjectProperty) IsGoToSocialReplyRequest() bool {
|
||||
return this.gotosocialReplyRequestMember != 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 {
|
||||
|
|
@ -1804,6 +1961,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsAnnounce().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
child = this.GetGoToSocialAnnounceApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
child = this.GetGoToSocialAnnounceAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
child = this.GetGoToSocialAnnounceRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
child = this.GetActivityStreamsApplication().JSONLDContext()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
|
|
@ -1860,6 +2021,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsLike().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
child = this.GetGoToSocialLikeApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
child = this.GetGoToSocialLikeAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
child = this.GetGoToSocialLikeRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
child = this.GetActivityStreamsListen().JSONLDContext()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
|
|
@ -1898,6 +2063,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string {
|
|||
child = this.GetActivityStreamsRemove().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
child = this.GetGoToSocialReplyApproval().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
child = this.GetGoToSocialReplyAuthorization().JSONLDContext()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
child = this.GetGoToSocialReplyRequest().JSONLDContext()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
child = this.GetActivityStreamsService().JSONLDContext()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
|
|
@ -1958,177 +2127,195 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int {
|
|||
if this.IsGoToSocialAnnounceApproval() {
|
||||
return 7
|
||||
}
|
||||
if this.IsActivityStreamsApplication() {
|
||||
if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return 8
|
||||
}
|
||||
if this.IsActivityStreamsArrive() {
|
||||
if this.IsGoToSocialAnnounceRequest() {
|
||||
return 9
|
||||
}
|
||||
if this.IsActivityStreamsArticle() {
|
||||
if this.IsActivityStreamsApplication() {
|
||||
return 10
|
||||
}
|
||||
if this.IsFunkwhaleArtist() {
|
||||
if this.IsActivityStreamsArrive() {
|
||||
return 11
|
||||
}
|
||||
if this.IsActivityStreamsAudio() {
|
||||
if this.IsActivityStreamsArticle() {
|
||||
return 12
|
||||
}
|
||||
if this.IsActivityStreamsBlock() {
|
||||
if this.IsFunkwhaleArtist() {
|
||||
return 13
|
||||
}
|
||||
if this.IsActivityStreamsCollection() {
|
||||
if this.IsActivityStreamsAudio() {
|
||||
return 14
|
||||
}
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
if this.IsActivityStreamsBlock() {
|
||||
return 15
|
||||
}
|
||||
if this.IsActivityStreamsCreate() {
|
||||
if this.IsActivityStreamsCollection() {
|
||||
return 16
|
||||
}
|
||||
if this.IsActivityStreamsDelete() {
|
||||
if this.IsActivityStreamsCollectionPage() {
|
||||
return 17
|
||||
}
|
||||
if this.IsActivityStreamsDislike() {
|
||||
if this.IsActivityStreamsCreate() {
|
||||
return 18
|
||||
}
|
||||
if this.IsActivityStreamsDocument() {
|
||||
if this.IsActivityStreamsDelete() {
|
||||
return 19
|
||||
}
|
||||
if this.IsTootEmoji() {
|
||||
if this.IsActivityStreamsDislike() {
|
||||
return 20
|
||||
}
|
||||
if this.IsActivityStreamsEvent() {
|
||||
if this.IsActivityStreamsDocument() {
|
||||
return 21
|
||||
}
|
||||
if this.IsActivityStreamsFlag() {
|
||||
if this.IsTootEmoji() {
|
||||
return 22
|
||||
}
|
||||
if this.IsActivityStreamsFollow() {
|
||||
if this.IsActivityStreamsEvent() {
|
||||
return 23
|
||||
}
|
||||
if this.IsActivityStreamsGroup() {
|
||||
if this.IsActivityStreamsFlag() {
|
||||
return 24
|
||||
}
|
||||
if this.IsTootHashtag() {
|
||||
if this.IsActivityStreamsFollow() {
|
||||
return 25
|
||||
}
|
||||
if this.IsTootIdentityProof() {
|
||||
if this.IsActivityStreamsGroup() {
|
||||
return 26
|
||||
}
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
if this.IsTootHashtag() {
|
||||
return 27
|
||||
}
|
||||
if this.IsActivityStreamsImage() {
|
||||
if this.IsTootIdentityProof() {
|
||||
return 28
|
||||
}
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
if this.IsActivityStreamsIgnore() {
|
||||
return 29
|
||||
}
|
||||
if this.IsActivityStreamsInvite() {
|
||||
if this.IsActivityStreamsImage() {
|
||||
return 30
|
||||
}
|
||||
if this.IsActivityStreamsJoin() {
|
||||
if this.IsActivityStreamsIntransitiveActivity() {
|
||||
return 31
|
||||
}
|
||||
if this.IsActivityStreamsLeave() {
|
||||
if this.IsActivityStreamsInvite() {
|
||||
return 32
|
||||
}
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
if this.IsActivityStreamsJoin() {
|
||||
return 33
|
||||
}
|
||||
if this.IsActivityStreamsLike() {
|
||||
if this.IsActivityStreamsLeave() {
|
||||
return 34
|
||||
}
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
if this.IsFunkwhaleLibrary() {
|
||||
return 35
|
||||
}
|
||||
if this.IsActivityStreamsListen() {
|
||||
if this.IsActivityStreamsLike() {
|
||||
return 36
|
||||
}
|
||||
if this.IsActivityStreamsMention() {
|
||||
if this.IsGoToSocialLikeApproval() {
|
||||
return 37
|
||||
}
|
||||
if this.IsActivityStreamsMove() {
|
||||
if this.IsGoToSocialLikeAuthorization() {
|
||||
return 38
|
||||
}
|
||||
if this.IsActivityStreamsNote() {
|
||||
if this.IsGoToSocialLikeRequest() {
|
||||
return 39
|
||||
}
|
||||
if this.IsActivityStreamsOffer() {
|
||||
if this.IsActivityStreamsListen() {
|
||||
return 40
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
if this.IsActivityStreamsMention() {
|
||||
return 41
|
||||
}
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
if this.IsActivityStreamsMove() {
|
||||
return 42
|
||||
}
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
if this.IsActivityStreamsNote() {
|
||||
return 43
|
||||
}
|
||||
if this.IsActivityStreamsPage() {
|
||||
if this.IsActivityStreamsOffer() {
|
||||
return 44
|
||||
}
|
||||
if this.IsActivityStreamsPerson() {
|
||||
if this.IsActivityStreamsOrderedCollection() {
|
||||
return 45
|
||||
}
|
||||
if this.IsActivityStreamsPlace() {
|
||||
if this.IsActivityStreamsOrderedCollectionPage() {
|
||||
return 46
|
||||
}
|
||||
if this.IsActivityStreamsProfile() {
|
||||
if this.IsActivityStreamsOrganization() {
|
||||
return 47
|
||||
}
|
||||
if this.IsSchemaPropertyValue() {
|
||||
if this.IsActivityStreamsPage() {
|
||||
return 48
|
||||
}
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
if this.IsActivityStreamsPerson() {
|
||||
return 49
|
||||
}
|
||||
if this.IsActivityStreamsRead() {
|
||||
if this.IsActivityStreamsPlace() {
|
||||
return 50
|
||||
}
|
||||
if this.IsActivityStreamsReject() {
|
||||
if this.IsActivityStreamsProfile() {
|
||||
return 51
|
||||
}
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
if this.IsSchemaPropertyValue() {
|
||||
return 52
|
||||
}
|
||||
if this.IsActivityStreamsRemove() {
|
||||
if this.IsActivityStreamsQuestion() {
|
||||
return 53
|
||||
}
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
if this.IsActivityStreamsRead() {
|
||||
return 54
|
||||
}
|
||||
if this.IsActivityStreamsService() {
|
||||
if this.IsActivityStreamsReject() {
|
||||
return 55
|
||||
}
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
if this.IsActivityStreamsRelationship() {
|
||||
return 56
|
||||
}
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
if this.IsActivityStreamsRemove() {
|
||||
return 57
|
||||
}
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
if this.IsGoToSocialReplyApproval() {
|
||||
return 58
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
if this.IsGoToSocialReplyAuthorization() {
|
||||
return 59
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
if this.IsGoToSocialReplyRequest() {
|
||||
return 60
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
if this.IsActivityStreamsService() {
|
||||
return 61
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
if this.IsActivityStreamsTentativeAccept() {
|
||||
return 62
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
if this.IsActivityStreamsTentativeReject() {
|
||||
return 63
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
if this.IsActivityStreamsTombstone() {
|
||||
return 64
|
||||
}
|
||||
if this.IsFunkwhaleTrack() {
|
||||
return 65
|
||||
}
|
||||
if this.IsActivityStreamsTravel() {
|
||||
return 66
|
||||
}
|
||||
if this.IsActivityStreamsUndo() {
|
||||
return 67
|
||||
}
|
||||
if this.IsActivityStreamsUpdate() {
|
||||
return 68
|
||||
}
|
||||
if this.IsActivityStreamsVideo() {
|
||||
return 69
|
||||
}
|
||||
if this.IsActivityStreamsView() {
|
||||
return 70
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
|
|
@ -2162,6 +2349,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce())
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().LessThan(o.GetGoToSocialAnnounceApproval())
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().LessThan(o.GetGoToSocialAnnounceAuthorization())
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().LessThan(o.GetGoToSocialAnnounceRequest())
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication())
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
|
|
@ -2218,6 +2409,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike())
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().LessThan(o.GetGoToSocialLikeApproval())
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().LessThan(o.GetGoToSocialLikeAuthorization())
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().LessThan(o.GetGoToSocialLikeRequest())
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen())
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
|
|
@ -2256,6 +2451,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje
|
|||
return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove())
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().LessThan(o.GetGoToSocialReplyApproval())
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().LessThan(o.GetGoToSocialReplyAuthorization())
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().LessThan(o.GetGoToSocialReplyRequest())
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService())
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
|
|
@ -2312,6 +2511,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsAnnounce().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceApproval() {
|
||||
return this.GetGoToSocialAnnounceApproval().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceAuthorization() {
|
||||
return this.GetGoToSocialAnnounceAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialAnnounceRequest() {
|
||||
return this.GetGoToSocialAnnounceRequest().Serialize()
|
||||
} else if this.IsActivityStreamsApplication() {
|
||||
return this.GetActivityStreamsApplication().Serialize()
|
||||
} else if this.IsActivityStreamsArrive() {
|
||||
|
|
@ -2368,6 +2571,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsLike().Serialize()
|
||||
} else if this.IsGoToSocialLikeApproval() {
|
||||
return this.GetGoToSocialLikeApproval().Serialize()
|
||||
} else if this.IsGoToSocialLikeAuthorization() {
|
||||
return this.GetGoToSocialLikeAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialLikeRequest() {
|
||||
return this.GetGoToSocialLikeRequest().Serialize()
|
||||
} else if this.IsActivityStreamsListen() {
|
||||
return this.GetActivityStreamsListen().Serialize()
|
||||
} else if this.IsActivityStreamsMention() {
|
||||
|
|
@ -2406,6 +2613,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) {
|
|||
return this.GetActivityStreamsRemove().Serialize()
|
||||
} else if this.IsGoToSocialReplyApproval() {
|
||||
return this.GetGoToSocialReplyApproval().Serialize()
|
||||
} else if this.IsGoToSocialReplyAuthorization() {
|
||||
return this.GetGoToSocialReplyAuthorization().Serialize()
|
||||
} else if this.IsGoToSocialReplyRequest() {
|
||||
return this.GetGoToSocialReplyRequest().Serialize()
|
||||
} else if this.IsActivityStreamsService() {
|
||||
return this.GetActivityStreamsService().Serialize()
|
||||
} else if this.IsActivityStreamsTentativeAccept() {
|
||||
|
|
@ -2845,6 +3056,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceApproval(v voca
|
|||
this.gotosocialAnnounceApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceAuthorization(v vocab.GoToSocialAnnounceAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialAnnounceRequest sets the value of this property. Calling
|
||||
// IsGoToSocialAnnounceRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialAnnounceRequest(v vocab.GoToSocialAnnounceRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialAnnounceRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeApproval sets the value of this property. Calling
|
||||
// IsGoToSocialLikeApproval afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.GoToSocialLikeApproval) {
|
||||
|
|
@ -2852,6 +3077,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeApproval(v vocab.Go
|
|||
this.gotosocialLikeApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialLikeAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeAuthorization(v vocab.GoToSocialLikeAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialLikeRequest sets the value of this property. Calling
|
||||
// IsGoToSocialLikeRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialLikeRequest(v vocab.GoToSocialLikeRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialLikeRequestMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyApproval sets the value of this property. Calling
|
||||
// IsGoToSocialReplyApproval afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.GoToSocialReplyApproval) {
|
||||
|
|
@ -2859,6 +3098,20 @@ func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyApproval(v vocab.G
|
|||
this.gotosocialReplyApprovalMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyAuthorization sets the value of this property. Calling
|
||||
// IsGoToSocialReplyAuthorization afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyAuthorization(v vocab.GoToSocialReplyAuthorization) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyAuthorizationMember = v
|
||||
}
|
||||
|
||||
// SetGoToSocialReplyRequest sets the value of this property. Calling
|
||||
// IsGoToSocialReplyRequest afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetGoToSocialReplyRequest(v vocab.GoToSocialReplyRequest) {
|
||||
this.Clear()
|
||||
this.gotosocialReplyRequestMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards returns true.
|
||||
func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) {
|
||||
this.Clear()
|
||||
|
|
@ -2928,6 +3181,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetGoToSocialAnnounceApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceAuthorization); ok {
|
||||
this.SetGoToSocialAnnounceAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialAnnounceRequest); ok {
|
||||
this.SetGoToSocialAnnounceRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsApplication); ok {
|
||||
this.SetActivityStreamsApplication(v)
|
||||
return nil
|
||||
|
|
@ -3040,6 +3301,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetGoToSocialLikeApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeAuthorization); ok {
|
||||
this.SetGoToSocialLikeAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialLikeRequest); ok {
|
||||
this.SetGoToSocialLikeRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsListen); ok {
|
||||
this.SetActivityStreamsListen(v)
|
||||
return nil
|
||||
|
|
@ -3116,6 +3385,14 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error {
|
|||
this.SetGoToSocialReplyApproval(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyAuthorization); ok {
|
||||
this.SetGoToSocialReplyAuthorization(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.GoToSocialReplyRequest); ok {
|
||||
this.SetGoToSocialReplyRequest(v)
|
||||
return nil
|
||||
}
|
||||
if v, ok := t.(vocab.ActivityStreamsService); ok {
|
||||
this.SetActivityStreamsService(v)
|
||||
return nil
|
||||
|
|
|
|||
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,6 +33,14 @@ type privateManager interface {
|
|||
// method for the "GoToSocialAnnounceApproval" non-functional property
|
||||
// in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceApproval, error)
|
||||
// DeserializeAnnounceAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialAnnounceAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeAnnounceAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceAuthorization, error)
|
||||
// DeserializeAnnounceRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialAnnounceRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeAnnounceRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialAnnounceRequest, error)
|
||||
// DeserializeApplicationActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsApplication" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
|
|
@ -143,6 +151,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialLikeApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeApproval, error)
|
||||
// DeserializeLikeAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialLikeAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeLikeAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeAuthorization, error)
|
||||
// DeserializeLikeRequestGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialLikeRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeLikeRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialLikeRequest, error)
|
||||
// DeserializeLinkActivityStreams returns the deserialization method for
|
||||
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
||||
// "ActivityStreams"
|
||||
|
|
@ -228,6 +244,14 @@ type privateManager interface {
|
|||
// for the "GoToSocialReplyApproval" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyApprovalGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyApproval, error)
|
||||
// DeserializeReplyAuthorizationGoToSocial returns the deserialization
|
||||
// method for the "GoToSocialReplyAuthorization" non-functional
|
||||
// property in the vocabulary "GoToSocial"
|
||||
DeserializeReplyAuthorizationGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyAuthorization, error)
|
||||
// DeserializeReplyRequestGoToSocial returns the deserialization method
|
||||
// for the "GoToSocialReplyRequest" non-functional property in the
|
||||
// vocabulary "GoToSocial"
|
||||
DeserializeReplyRequestGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialReplyRequest, error)
|
||||
// DeserializeServiceActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsService" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -88,7 +88,7 @@ func ActivityIsDisjointWith(other vocab.Type) bool {
|
|||
// Activity type. Note that it returns false if the types are the same; see
|
||||
// the "IsOrExtendsActivity" variant instead.
|
||||
func ActivityIsExtendedBy(other vocab.Type) bool {
|
||||
extensions := []string{"Accept", "Add", "Announce", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
|
||||
extensions := []string{"Accept", "Add", "Announce", "AnnounceRequest", "Arrive", "Block", "Create", "Delete", "Dislike", "Flag", "Follow", "Ignore", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "LikeRequest", "Listen", "Move", "Offer", "Question", "Read", "Reject", "Remove", "ReplyRequest", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"}
|
||||
for _, ext := range extensions {
|
||||
if ext == other.GetTypeName() {
|
||||
return true
|
||||
|
|
|
|||
|
|
@ -104,6 +104,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsInboxProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for
|
||||
// the "TootIndexableProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ type ActivityStreamsApplication struct {
|
|||
ActivityStreamsImage vocab.ActivityStreamsImageProperty
|
||||
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
|
||||
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
|
||||
TootIndexable vocab.TootIndexableProperty
|
||||
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
|
||||
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
|
||||
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
|
||||
|
|
@ -253,6 +254,11 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsInbox = p
|
||||
}
|
||||
if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootIndexable = p
|
||||
}
|
||||
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
|
@ -431,6 +437,8 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string
|
|||
continue
|
||||
} else if k == "inbox" {
|
||||
continue
|
||||
} else if k == "indexable" {
|
||||
continue
|
||||
} else if k == "liked" {
|
||||
continue
|
||||
} else if k == "likes" {
|
||||
|
|
@ -793,6 +801,12 @@ func (this ActivityStreamsApplication) GetTootFeatured() vocab.TootFeaturedPrope
|
|||
return this.TootFeatured
|
||||
}
|
||||
|
||||
// GetTootIndexable returns the "indexable" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsApplication) GetTootIndexable() vocab.TootIndexableProperty {
|
||||
return this.TootIndexable
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsApplication) GetTypeName() string {
|
||||
return "Application"
|
||||
|
|
@ -847,6 +861,7 @@ func (this ActivityStreamsApplication) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
|
||||
m = this.helperJSONLDContext(this.TootIndexable, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
|
||||
|
|
@ -1202,6 +1217,20 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "indexable"
|
||||
if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); 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 "liked"
|
||||
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
|
@ -1759,6 +1788,14 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro
|
|||
m[this.ActivityStreamsInbox.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "indexable"
|
||||
if this.TootIndexable != nil {
|
||||
if i, err := this.TootIndexable.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootIndexable.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "liked"
|
||||
if this.ActivityStreamsLiked != nil {
|
||||
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
|
||||
|
|
@ -2209,6 +2246,11 @@ func (this *ActivityStreamsApplication) SetTootFeatured(i vocab.TootFeaturedProp
|
|||
this.TootFeatured = i
|
||||
}
|
||||
|
||||
// SetTootIndexable sets the "indexable" property.
|
||||
func (this *ActivityStreamsApplication) SetTootIndexable(i vocab.TootIndexableProperty) {
|
||||
this.TootIndexable = i
|
||||
}
|
||||
|
||||
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
|
||||
func (this *ActivityStreamsApplication) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
|
||||
this.W3IDSecurityV1PublicKey = i
|
||||
|
|
|
|||
|
|
@ -64,6 +64,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method
|
||||
// for the "TootFocalPointProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ type ActivityStreamsAudio struct {
|
|||
ActivityStreamsContext vocab.ActivityStreamsContextProperty
|
||||
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
|
||||
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
|
||||
TootFocalPoint vocab.TootFocalPointProperty
|
||||
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
|
||||
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
|
||||
JSONLDId vocab.JSONLDIdProperty
|
||||
|
|
@ -197,6 +198,11 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsEndTime = p
|
||||
}
|
||||
if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootFocalPoint = p
|
||||
}
|
||||
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
|
@ -350,6 +356,8 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
|||
continue
|
||||
} else if k == "endTime" {
|
||||
continue
|
||||
} else if k == "focalPoint" {
|
||||
continue
|
||||
} else if k == "generator" {
|
||||
continue
|
||||
} else if k == "icon" {
|
||||
|
|
@ -648,6 +656,12 @@ func (this ActivityStreamsAudio) GetTootBlurhash() vocab.TootBlurhashProperty {
|
|||
return this.TootBlurhash
|
||||
}
|
||||
|
||||
// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsAudio) GetTootFocalPoint() vocab.TootFocalPointProperty {
|
||||
return this.TootFocalPoint
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsAudio) GetTypeName() string {
|
||||
return "Audio"
|
||||
|
|
@ -686,6 +700,7 @@ func (this ActivityStreamsAudio) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
|
||||
m = this.helperJSONLDContext(this.TootFocalPoint, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
|
||||
m = this.helperJSONLDContext(this.JSONLDId, m)
|
||||
|
|
@ -900,6 +915,20 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool {
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "focalPoint"
|
||||
if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); 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 "generator"
|
||||
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
|
@ -1363,6 +1392,14 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) {
|
|||
m[this.ActivityStreamsEndTime.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "focalPoint"
|
||||
if this.TootFocalPoint != nil {
|
||||
if i, err := this.TootFocalPoint.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootFocalPoint.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "generator"
|
||||
if this.ActivityStreamsGenerator != nil {
|
||||
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
|
||||
|
|
@ -1754,6 +1791,11 @@ func (this *ActivityStreamsAudio) SetTootBlurhash(i vocab.TootBlurhashProperty)
|
|||
this.TootBlurhash = i
|
||||
}
|
||||
|
||||
// SetTootFocalPoint sets the "focalPoint" property.
|
||||
func (this *ActivityStreamsAudio) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
|
||||
this.TootFocalPoint = i
|
||||
}
|
||||
|
||||
// VocabularyURI returns the vocabulary's URI as a string.
|
||||
func (this ActivityStreamsAudio) VocabularyURI() string {
|
||||
return "https://www.w3.org/ns/activitystreams"
|
||||
|
|
|
|||
|
|
@ -64,6 +64,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method
|
||||
// for the "TootFocalPointProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ type ActivityStreamsDocument struct {
|
|||
ActivityStreamsContext vocab.ActivityStreamsContextProperty
|
||||
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
|
||||
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
|
||||
TootFocalPoint vocab.TootFocalPointProperty
|
||||
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
|
||||
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
|
||||
JSONLDId vocab.JSONLDIdProperty
|
||||
|
|
@ -173,6 +174,11 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) (
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsEndTime = p
|
||||
}
|
||||
if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootFocalPoint = p
|
||||
}
|
||||
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
|
@ -326,6 +332,8 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) (
|
|||
continue
|
||||
} else if k == "endTime" {
|
||||
continue
|
||||
} else if k == "focalPoint" {
|
||||
continue
|
||||
} else if k == "generator" {
|
||||
continue
|
||||
} else if k == "icon" {
|
||||
|
|
@ -649,6 +657,12 @@ func (this ActivityStreamsDocument) GetTootBlurhash() vocab.TootBlurhashProperty
|
|||
return this.TootBlurhash
|
||||
}
|
||||
|
||||
// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsDocument) GetTootFocalPoint() vocab.TootFocalPointProperty {
|
||||
return this.TootFocalPoint
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsDocument) GetTypeName() string {
|
||||
return "Document"
|
||||
|
|
@ -687,6 +701,7 @@ func (this ActivityStreamsDocument) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
|
||||
m = this.helperJSONLDContext(this.TootFocalPoint, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
|
||||
m = this.helperJSONLDContext(this.JSONLDId, m)
|
||||
|
|
@ -901,6 +916,20 @@ func (this ActivityStreamsDocument) LessThan(o vocab.ActivityStreamsDocument) bo
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "focalPoint"
|
||||
if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); 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 "generator"
|
||||
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
|
@ -1364,6 +1393,14 @@ func (this ActivityStreamsDocument) Serialize() (map[string]interface{}, error)
|
|||
m[this.ActivityStreamsEndTime.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "focalPoint"
|
||||
if this.TootFocalPoint != nil {
|
||||
if i, err := this.TootFocalPoint.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootFocalPoint.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "generator"
|
||||
if this.ActivityStreamsGenerator != nil {
|
||||
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
|
||||
|
|
@ -1755,6 +1792,11 @@ func (this *ActivityStreamsDocument) SetTootBlurhash(i vocab.TootBlurhashPropert
|
|||
this.TootBlurhash = i
|
||||
}
|
||||
|
||||
// SetTootFocalPoint sets the "focalPoint" property.
|
||||
func (this *ActivityStreamsDocument) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
|
||||
this.TootFocalPoint = i
|
||||
}
|
||||
|
||||
// VocabularyURI returns the vocabulary's URI as a string.
|
||||
func (this ActivityStreamsDocument) VocabularyURI() string {
|
||||
return "https://www.w3.org/ns/activitystreams"
|
||||
|
|
|
|||
|
|
@ -104,6 +104,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsInboxProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for
|
||||
// the "TootIndexableProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ type ActivityStreamsGroup struct {
|
|||
ActivityStreamsImage vocab.ActivityStreamsImageProperty
|
||||
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
|
||||
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
|
||||
TootIndexable vocab.TootIndexableProperty
|
||||
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
|
||||
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
|
||||
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
|
||||
|
|
@ -233,6 +234,11 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsInbox = p
|
||||
}
|
||||
if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootIndexable = p
|
||||
}
|
||||
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
|
@ -411,6 +417,8 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
|||
continue
|
||||
} else if k == "inbox" {
|
||||
continue
|
||||
} else if k == "indexable" {
|
||||
continue
|
||||
} else if k == "liked" {
|
||||
continue
|
||||
} else if k == "likes" {
|
||||
|
|
@ -793,6 +801,12 @@ func (this ActivityStreamsGroup) GetTootFeatured() vocab.TootFeaturedProperty {
|
|||
return this.TootFeatured
|
||||
}
|
||||
|
||||
// GetTootIndexable returns the "indexable" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsGroup) GetTootIndexable() vocab.TootIndexableProperty {
|
||||
return this.TootIndexable
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsGroup) GetTypeName() string {
|
||||
return "Group"
|
||||
|
|
@ -847,6 +861,7 @@ func (this ActivityStreamsGroup) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
|
||||
m = this.helperJSONLDContext(this.TootIndexable, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
|
||||
|
|
@ -1202,6 +1217,20 @@ func (this ActivityStreamsGroup) LessThan(o vocab.ActivityStreamsGroup) bool {
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "indexable"
|
||||
if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); 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 "liked"
|
||||
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
|
@ -1759,6 +1788,14 @@ func (this ActivityStreamsGroup) Serialize() (map[string]interface{}, error) {
|
|||
m[this.ActivityStreamsInbox.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "indexable"
|
||||
if this.TootIndexable != nil {
|
||||
if i, err := this.TootIndexable.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootIndexable.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "liked"
|
||||
if this.ActivityStreamsLiked != nil {
|
||||
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
|
||||
|
|
@ -2209,6 +2246,11 @@ func (this *ActivityStreamsGroup) SetTootFeatured(i vocab.TootFeaturedProperty)
|
|||
this.TootFeatured = i
|
||||
}
|
||||
|
||||
// SetTootIndexable sets the "indexable" property.
|
||||
func (this *ActivityStreamsGroup) SetTootIndexable(i vocab.TootIndexableProperty) {
|
||||
this.TootIndexable = i
|
||||
}
|
||||
|
||||
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
|
||||
func (this *ActivityStreamsGroup) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
|
||||
this.W3IDSecurityV1PublicKey = i
|
||||
|
|
|
|||
|
|
@ -64,6 +64,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method
|
||||
// for the "TootFocalPointProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ type ActivityStreamsImage struct {
|
|||
ActivityStreamsContext vocab.ActivityStreamsContextProperty
|
||||
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
|
||||
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
|
||||
TootFocalPoint vocab.TootFocalPointProperty
|
||||
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
|
||||
ActivityStreamsHeight vocab.ActivityStreamsHeightProperty
|
||||
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
|
||||
|
|
@ -186,6 +187,11 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsEndTime = p
|
||||
}
|
||||
if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootFocalPoint = p
|
||||
}
|
||||
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
|
@ -349,6 +355,8 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
|||
continue
|
||||
} else if k == "endTime" {
|
||||
continue
|
||||
} else if k == "focalPoint" {
|
||||
continue
|
||||
} else if k == "generator" {
|
||||
continue
|
||||
} else if k == "height" {
|
||||
|
|
@ -683,6 +691,12 @@ func (this ActivityStreamsImage) GetTootBlurhash() vocab.TootBlurhashProperty {
|
|||
return this.TootBlurhash
|
||||
}
|
||||
|
||||
// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsImage) GetTootFocalPoint() vocab.TootFocalPointProperty {
|
||||
return this.TootFocalPoint
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsImage) GetTypeName() string {
|
||||
return "Image"
|
||||
|
|
@ -721,6 +735,7 @@ func (this ActivityStreamsImage) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
|
||||
m = this.helperJSONLDContext(this.TootFocalPoint, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsHeight, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
|
||||
|
|
@ -937,6 +952,20 @@ func (this ActivityStreamsImage) LessThan(o vocab.ActivityStreamsImage) bool {
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "focalPoint"
|
||||
if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); 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 "generator"
|
||||
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
|
@ -1428,6 +1457,14 @@ func (this ActivityStreamsImage) Serialize() (map[string]interface{}, error) {
|
|||
m[this.ActivityStreamsEndTime.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "focalPoint"
|
||||
if this.TootFocalPoint != nil {
|
||||
if i, err := this.TootFocalPoint.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootFocalPoint.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "generator"
|
||||
if this.ActivityStreamsGenerator != nil {
|
||||
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
|
||||
|
|
@ -1845,6 +1882,11 @@ func (this *ActivityStreamsImage) SetTootBlurhash(i vocab.TootBlurhashProperty)
|
|||
this.TootBlurhash = i
|
||||
}
|
||||
|
||||
// SetTootFocalPoint sets the "focalPoint" property.
|
||||
func (this *ActivityStreamsImage) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
|
||||
this.TootFocalPoint = i
|
||||
}
|
||||
|
||||
// VocabularyURI returns the vocabulary's URI as a string.
|
||||
func (this ActivityStreamsImage) VocabularyURI() string {
|
||||
return "https://www.w3.org/ns/activitystreams"
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ func IsOrExtendsLink(other vocab.Type) bool {
|
|||
// LinkIsDisjointWith returns true if the other provided type is disjoint with the
|
||||
// Link type.
|
||||
func LinkIsDisjointWith(other vocab.Type) bool {
|
||||
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
|
||||
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
|
||||
for _, disjoint := range disjointWith {
|
||||
if disjoint == other.GetTypeName() {
|
||||
return true
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ func IsOrExtendsMention(other vocab.Type) bool {
|
|||
// MentionIsDisjointWith returns true if the other provided type is disjoint with
|
||||
// the Mention type.
|
||||
func MentionIsDisjointWith(other vocab.Type) bool {
|
||||
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
|
||||
disjointWith := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
|
||||
for _, disjoint := range disjointWith {
|
||||
if disjoint == other.GetTypeName() {
|
||||
return true
|
||||
|
|
|
|||
|
|
@ -397,7 +397,7 @@ func ObjectIsDisjointWith(other vocab.Type) bool {
|
|||
// Object type. Note that it returns false if the types are the same; see the
|
||||
// "IsOrExtendsObject" variant instead.
|
||||
func ObjectIsExtendedBy(other vocab.Type) bool {
|
||||
extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
|
||||
extensions := []string{"Accept", "Activity", "Add", "Album", "Announce", "AnnounceApproval", "AnnounceAuthorization", "AnnounceRequest", "Application", "Arrive", "Article", "Artist", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Library", "Like", "LikeApproval", "LikeAuthorization", "LikeRequest", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "ReplyApproval", "ReplyAuthorization", "ReplyRequest", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Track", "Travel", "Undo", "Update", "Video", "View"}
|
||||
for _, ext := range extensions {
|
||||
if ext == other.GetTypeName() {
|
||||
return true
|
||||
|
|
|
|||
|
|
@ -104,6 +104,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsInboxProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for
|
||||
// the "TootIndexableProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ type ActivityStreamsOrganization struct {
|
|||
ActivityStreamsImage vocab.ActivityStreamsImageProperty
|
||||
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
|
||||
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
|
||||
TootIndexable vocab.TootIndexableProperty
|
||||
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
|
||||
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
|
||||
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
|
||||
|
|
@ -233,6 +234,11 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsInbox = p
|
||||
}
|
||||
if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootIndexable = p
|
||||
}
|
||||
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
|
@ -411,6 +417,8 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin
|
|||
continue
|
||||
} else if k == "inbox" {
|
||||
continue
|
||||
} else if k == "indexable" {
|
||||
continue
|
||||
} else if k == "liked" {
|
||||
continue
|
||||
} else if k == "likes" {
|
||||
|
|
@ -793,6 +801,12 @@ func (this ActivityStreamsOrganization) GetTootFeatured() vocab.TootFeaturedProp
|
|||
return this.TootFeatured
|
||||
}
|
||||
|
||||
// GetTootIndexable returns the "indexable" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsOrganization) GetTootIndexable() vocab.TootIndexableProperty {
|
||||
return this.TootIndexable
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsOrganization) GetTypeName() string {
|
||||
return "Organization"
|
||||
|
|
@ -847,6 +861,7 @@ func (this ActivityStreamsOrganization) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
|
||||
m = this.helperJSONLDContext(this.TootIndexable, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
|
||||
|
|
@ -1202,6 +1217,20 @@ func (this ActivityStreamsOrganization) LessThan(o vocab.ActivityStreamsOrganiza
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "indexable"
|
||||
if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); 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 "liked"
|
||||
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
|
@ -1759,6 +1788,14 @@ func (this ActivityStreamsOrganization) Serialize() (map[string]interface{}, err
|
|||
m[this.ActivityStreamsInbox.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "indexable"
|
||||
if this.TootIndexable != nil {
|
||||
if i, err := this.TootIndexable.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootIndexable.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "liked"
|
||||
if this.ActivityStreamsLiked != nil {
|
||||
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
|
||||
|
|
@ -2209,6 +2246,11 @@ func (this *ActivityStreamsOrganization) SetTootFeatured(i vocab.TootFeaturedPro
|
|||
this.TootFeatured = i
|
||||
}
|
||||
|
||||
// SetTootIndexable sets the "indexable" property.
|
||||
func (this *ActivityStreamsOrganization) SetTootIndexable(i vocab.TootIndexableProperty) {
|
||||
this.TootIndexable = i
|
||||
}
|
||||
|
||||
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
|
||||
func (this *ActivityStreamsOrganization) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
|
||||
this.W3IDSecurityV1PublicKey = i
|
||||
|
|
|
|||
|
|
@ -64,6 +64,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method
|
||||
// for the "TootFocalPointProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ type ActivityStreamsPage struct {
|
|||
ActivityStreamsContext vocab.ActivityStreamsContextProperty
|
||||
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
|
||||
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
|
||||
TootFocalPoint vocab.TootFocalPointProperty
|
||||
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
|
||||
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
|
||||
JSONLDId vocab.JSONLDIdProperty
|
||||
|
|
@ -173,6 +174,11 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsEndTime = p
|
||||
}
|
||||
if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootFocalPoint = p
|
||||
}
|
||||
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
|
@ -326,6 +332,8 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act
|
|||
continue
|
||||
} else if k == "endTime" {
|
||||
continue
|
||||
} else if k == "focalPoint" {
|
||||
continue
|
||||
} else if k == "generator" {
|
||||
continue
|
||||
} else if k == "icon" {
|
||||
|
|
@ -644,6 +652,12 @@ func (this ActivityStreamsPage) GetTootBlurhash() vocab.TootBlurhashProperty {
|
|||
return this.TootBlurhash
|
||||
}
|
||||
|
||||
// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsPage) GetTootFocalPoint() vocab.TootFocalPointProperty {
|
||||
return this.TootFocalPoint
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsPage) GetTypeName() string {
|
||||
return "Page"
|
||||
|
|
@ -682,6 +696,7 @@ func (this ActivityStreamsPage) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
|
||||
m = this.helperJSONLDContext(this.TootFocalPoint, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
|
||||
m = this.helperJSONLDContext(this.JSONLDId, m)
|
||||
|
|
@ -896,6 +911,20 @@ func (this ActivityStreamsPage) LessThan(o vocab.ActivityStreamsPage) bool {
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "focalPoint"
|
||||
if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); 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 "generator"
|
||||
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
|
@ -1359,6 +1388,14 @@ func (this ActivityStreamsPage) Serialize() (map[string]interface{}, error) {
|
|||
m[this.ActivityStreamsEndTime.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "focalPoint"
|
||||
if this.TootFocalPoint != nil {
|
||||
if i, err := this.TootFocalPoint.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootFocalPoint.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "generator"
|
||||
if this.ActivityStreamsGenerator != nil {
|
||||
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
|
||||
|
|
@ -1750,6 +1787,11 @@ func (this *ActivityStreamsPage) SetTootBlurhash(i vocab.TootBlurhashProperty) {
|
|||
this.TootBlurhash = i
|
||||
}
|
||||
|
||||
// SetTootFocalPoint sets the "focalPoint" property.
|
||||
func (this *ActivityStreamsPage) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
|
||||
this.TootFocalPoint = i
|
||||
}
|
||||
|
||||
// VocabularyURI returns the vocabulary's URI as a string.
|
||||
func (this ActivityStreamsPage) VocabularyURI() string {
|
||||
return "https://www.w3.org/ns/activitystreams"
|
||||
|
|
|
|||
|
|
@ -104,6 +104,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsInboxProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for
|
||||
// the "TootIndexableProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ type ActivityStreamsPerson struct {
|
|||
ActivityStreamsImage vocab.ActivityStreamsImageProperty
|
||||
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
|
||||
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
|
||||
TootIndexable vocab.TootIndexableProperty
|
||||
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
|
||||
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
|
||||
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
|
||||
|
|
@ -233,6 +234,11 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsInbox = p
|
||||
}
|
||||
if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootIndexable = p
|
||||
}
|
||||
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
|
@ -411,6 +417,8 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A
|
|||
continue
|
||||
} else if k == "inbox" {
|
||||
continue
|
||||
} else if k == "indexable" {
|
||||
continue
|
||||
} else if k == "liked" {
|
||||
continue
|
||||
} else if k == "likes" {
|
||||
|
|
@ -793,6 +801,12 @@ func (this ActivityStreamsPerson) GetTootFeatured() vocab.TootFeaturedProperty {
|
|||
return this.TootFeatured
|
||||
}
|
||||
|
||||
// GetTootIndexable returns the "indexable" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsPerson) GetTootIndexable() vocab.TootIndexableProperty {
|
||||
return this.TootIndexable
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsPerson) GetTypeName() string {
|
||||
return "Person"
|
||||
|
|
@ -847,6 +861,7 @@ func (this ActivityStreamsPerson) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
|
||||
m = this.helperJSONLDContext(this.TootIndexable, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
|
||||
|
|
@ -1202,6 +1217,20 @@ func (this ActivityStreamsPerson) LessThan(o vocab.ActivityStreamsPerson) bool {
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "indexable"
|
||||
if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); 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 "liked"
|
||||
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
|
@ -1759,6 +1788,14 @@ func (this ActivityStreamsPerson) Serialize() (map[string]interface{}, error) {
|
|||
m[this.ActivityStreamsInbox.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "indexable"
|
||||
if this.TootIndexable != nil {
|
||||
if i, err := this.TootIndexable.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootIndexable.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "liked"
|
||||
if this.ActivityStreamsLiked != nil {
|
||||
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
|
||||
|
|
@ -2209,6 +2246,11 @@ func (this *ActivityStreamsPerson) SetTootFeatured(i vocab.TootFeaturedProperty)
|
|||
this.TootFeatured = i
|
||||
}
|
||||
|
||||
// SetTootIndexable sets the "indexable" property.
|
||||
func (this *ActivityStreamsPerson) SetTootIndexable(i vocab.TootIndexableProperty) {
|
||||
this.TootIndexable = i
|
||||
}
|
||||
|
||||
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
|
||||
func (this *ActivityStreamsPerson) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
|
||||
this.W3IDSecurityV1PublicKey = i
|
||||
|
|
|
|||
|
|
@ -104,6 +104,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsInboxProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInboxPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInboxProperty, error)
|
||||
// DeserializeIndexablePropertyToot returns the deserialization method for
|
||||
// the "TootIndexableProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeIndexablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootIndexableProperty, error)
|
||||
// DeserializeLikedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ type ActivityStreamsService struct {
|
|||
ActivityStreamsImage vocab.ActivityStreamsImageProperty
|
||||
ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty
|
||||
ActivityStreamsInbox vocab.ActivityStreamsInboxProperty
|
||||
TootIndexable vocab.TootIndexableProperty
|
||||
ActivityStreamsLiked vocab.ActivityStreamsLikedProperty
|
||||
ActivityStreamsLikes vocab.ActivityStreamsLikesProperty
|
||||
ActivityStreamsLocation vocab.ActivityStreamsLocationProperty
|
||||
|
|
@ -233,6 +234,11 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (*
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsInbox = p
|
||||
}
|
||||
if p, err := mgr.DeserializeIndexablePropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootIndexable = p
|
||||
}
|
||||
if p, err := mgr.DeserializeLikedPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
|
@ -411,6 +417,8 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (*
|
|||
continue
|
||||
} else if k == "inbox" {
|
||||
continue
|
||||
} else if k == "indexable" {
|
||||
continue
|
||||
} else if k == "liked" {
|
||||
continue
|
||||
} else if k == "likes" {
|
||||
|
|
@ -793,6 +801,12 @@ func (this ActivityStreamsService) GetTootFeatured() vocab.TootFeaturedProperty
|
|||
return this.TootFeatured
|
||||
}
|
||||
|
||||
// GetTootIndexable returns the "indexable" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsService) GetTootIndexable() vocab.TootIndexableProperty {
|
||||
return this.TootIndexable
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsService) GetTypeName() string {
|
||||
return "Service"
|
||||
|
|
@ -847,6 +861,7 @@ func (this ActivityStreamsService) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsImage, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsInbox, m)
|
||||
m = this.helperJSONLDContext(this.TootIndexable, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLiked, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLikes, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsLocation, m)
|
||||
|
|
@ -1202,6 +1217,20 @@ func (this ActivityStreamsService) LessThan(o vocab.ActivityStreamsService) bool
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "indexable"
|
||||
if lhs, rhs := this.TootIndexable, o.GetTootIndexable(); 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 "liked"
|
||||
if lhs, rhs := this.ActivityStreamsLiked, o.GetActivityStreamsLiked(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
|
@ -1759,6 +1788,14 @@ func (this ActivityStreamsService) Serialize() (map[string]interface{}, error) {
|
|||
m[this.ActivityStreamsInbox.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "indexable"
|
||||
if this.TootIndexable != nil {
|
||||
if i, err := this.TootIndexable.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootIndexable.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "liked"
|
||||
if this.ActivityStreamsLiked != nil {
|
||||
if i, err := this.ActivityStreamsLiked.Serialize(); err != nil {
|
||||
|
|
@ -2209,6 +2246,11 @@ func (this *ActivityStreamsService) SetTootFeatured(i vocab.TootFeaturedProperty
|
|||
this.TootFeatured = i
|
||||
}
|
||||
|
||||
// SetTootIndexable sets the "indexable" property.
|
||||
func (this *ActivityStreamsService) SetTootIndexable(i vocab.TootIndexableProperty) {
|
||||
this.TootIndexable = i
|
||||
}
|
||||
|
||||
// SetW3IDSecurityV1PublicKey sets the "publicKey" property.
|
||||
func (this *ActivityStreamsService) SetW3IDSecurityV1PublicKey(i vocab.W3IDSecurityV1PublicKeyProperty) {
|
||||
this.W3IDSecurityV1PublicKey = i
|
||||
|
|
|
|||
|
|
@ -64,6 +64,10 @@ type privateManager interface {
|
|||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeFocalPointPropertyToot returns the deserialization method
|
||||
// for the "TootFocalPointProperty" non-functional property in the
|
||||
// vocabulary "Toot"
|
||||
DeserializeFocalPointPropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootFocalPointProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ type ActivityStreamsVideo struct {
|
|||
ActivityStreamsContext vocab.ActivityStreamsContextProperty
|
||||
ActivityStreamsDuration vocab.ActivityStreamsDurationProperty
|
||||
ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty
|
||||
TootFocalPoint vocab.TootFocalPointProperty
|
||||
ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty
|
||||
ActivityStreamsIcon vocab.ActivityStreamsIconProperty
|
||||
JSONLDId vocab.JSONLDIdProperty
|
||||
|
|
@ -174,6 +175,11 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
|||
} else if p != nil {
|
||||
this.ActivityStreamsEndTime = p
|
||||
}
|
||||
if p, err := mgr.DeserializeFocalPointPropertyToot()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
this.TootFocalPoint = p
|
||||
}
|
||||
if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil {
|
||||
return nil, err
|
||||
} else if p != nil {
|
||||
|
|
@ -327,6 +333,8 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac
|
|||
continue
|
||||
} else if k == "endTime" {
|
||||
continue
|
||||
} else if k == "focalPoint" {
|
||||
continue
|
||||
} else if k == "generator" {
|
||||
continue
|
||||
} else if k == "icon" {
|
||||
|
|
@ -645,6 +653,12 @@ func (this ActivityStreamsVideo) GetTootBlurhash() vocab.TootBlurhashProperty {
|
|||
return this.TootBlurhash
|
||||
}
|
||||
|
||||
// GetTootFocalPoint returns the "focalPoint" property if it exists, and nil
|
||||
// otherwise.
|
||||
func (this ActivityStreamsVideo) GetTootFocalPoint() vocab.TootFocalPointProperty {
|
||||
return this.TootFocalPoint
|
||||
}
|
||||
|
||||
// GetTypeName returns the name of this type.
|
||||
func (this ActivityStreamsVideo) GetTypeName() string {
|
||||
return "Video"
|
||||
|
|
@ -683,6 +697,7 @@ func (this ActivityStreamsVideo) JSONLDContext() map[string]string {
|
|||
m = this.helperJSONLDContext(this.ActivityStreamsContext, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsDuration, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m)
|
||||
m = this.helperJSONLDContext(this.TootFocalPoint, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m)
|
||||
m = this.helperJSONLDContext(this.ActivityStreamsIcon, m)
|
||||
m = this.helperJSONLDContext(this.JSONLDId, m)
|
||||
|
|
@ -897,6 +912,20 @@ func (this ActivityStreamsVideo) LessThan(o vocab.ActivityStreamsVideo) bool {
|
|||
// Anything else is greater than nil
|
||||
return false
|
||||
} // Else: Both are nil
|
||||
// Compare property "focalPoint"
|
||||
if lhs, rhs := this.TootFocalPoint, o.GetTootFocalPoint(); 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 "generator"
|
||||
if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil {
|
||||
if lhs.LessThan(rhs) {
|
||||
|
|
@ -1360,6 +1389,14 @@ func (this ActivityStreamsVideo) Serialize() (map[string]interface{}, error) {
|
|||
m[this.ActivityStreamsEndTime.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "focalPoint"
|
||||
if this.TootFocalPoint != nil {
|
||||
if i, err := this.TootFocalPoint.Serialize(); err != nil {
|
||||
return nil, err
|
||||
} else if i != nil {
|
||||
m[this.TootFocalPoint.Name()] = i
|
||||
}
|
||||
}
|
||||
// Maybe serialize property "generator"
|
||||
if this.ActivityStreamsGenerator != nil {
|
||||
if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil {
|
||||
|
|
@ -1751,6 +1788,11 @@ func (this *ActivityStreamsVideo) SetTootBlurhash(i vocab.TootBlurhashProperty)
|
|||
this.TootBlurhash = i
|
||||
}
|
||||
|
||||
// SetTootFocalPoint sets the "focalPoint" property.
|
||||
func (this *ActivityStreamsVideo) SetTootFocalPoint(i vocab.TootFocalPointProperty) {
|
||||
this.TootFocalPoint = i
|
||||
}
|
||||
|
||||
// VocabularyURI returns the vocabulary's URI as a string.
|
||||
func (this ActivityStreamsVideo) VocabularyURI() string {
|
||||
return "https://www.w3.org/ns/activitystreams"
|
||||
|
|
|
|||
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_doc.go
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package propertyautomaticapproval contains the implementation for the
|
||||
// automaticApproval property. All applications are strongly encouraged to use
|
||||
// the interface instead of this concrete definition. The interfaces allow
|
||||
// applications to consume only the types and properties needed and be
|
||||
// independent of the go-fed implementation if another alternative
|
||||
// implementation is created. This package is code-generated and subject to
|
||||
// the same license as the go-fed tool used to generate it.
|
||||
//
|
||||
// This package is independent of other types' and properties' implementations
|
||||
// by having a Manager injected into it to act as a factory for the concrete
|
||||
// implementations. The implementations have been generated into their own
|
||||
// separate subpackages for each vocabulary.
|
||||
//
|
||||
// Strongly consider using the interfaces instead of this package.
|
||||
package propertyautomaticapproval
|
||||
15
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go
generated
vendored
Normal file
15
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_automaticapproval/gen_pkg.go
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertyautomaticapproval
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface{}
|
||||
|
||||
// SetManager sets the manager package-global variable. For internal use only, do
|
||||
// not use as part of Application behavior. Must be called at golang init time.
|
||||
func SetManager(m privateManager) {
|
||||
mgr = m
|
||||
}
|
||||
|
|
@ -0,0 +1,511 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertyautomaticapproval
|
||||
|
||||
import (
|
||||
anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
"fmt"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
// GoToSocialAutomaticApprovalPropertyIterator is an iterator for a property. It
|
||||
// is permitted to be a single nilable value type.
|
||||
type GoToSocialAutomaticApprovalPropertyIterator struct {
|
||||
xmlschemaAnyURIMember *url.URL
|
||||
unknown interface{}
|
||||
alias string
|
||||
myIdx int
|
||||
parent vocab.GoToSocialAutomaticApprovalProperty
|
||||
}
|
||||
|
||||
// NewGoToSocialAutomaticApprovalPropertyIterator creates a new
|
||||
// GoToSocialAutomaticApproval property.
|
||||
func NewGoToSocialAutomaticApprovalPropertyIterator() *GoToSocialAutomaticApprovalPropertyIterator {
|
||||
return &GoToSocialAutomaticApprovalPropertyIterator{alias: ""}
|
||||
}
|
||||
|
||||
// deserializeGoToSocialAutomaticApprovalPropertyIterator creates an iterator from
|
||||
// an element that has been unmarshalled from a text or binary format.
|
||||
func deserializeGoToSocialAutomaticApprovalPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialAutomaticApprovalPropertyIterator, error) {
|
||||
alias := ""
|
||||
if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
|
||||
alias = a
|
||||
}
|
||||
if v, err := anyuri.DeserializeAnyURI(i); err == nil {
|
||||
this := &GoToSocialAutomaticApprovalPropertyIterator{
|
||||
alias: alias,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
this := &GoToSocialAutomaticApprovalPropertyIterator{
|
||||
alias: alias,
|
||||
unknown: i,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
|
||||
// Get returns the value of this property. When IsXMLSchemaAnyURI returns false,
|
||||
// Get will return any arbitrary value.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) Get() *url.URL {
|
||||
return this.xmlschemaAnyURIMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return any arbitrary value.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) GetIRI() *url.URL {
|
||||
return this.xmlschemaAnyURIMember
|
||||
}
|
||||
|
||||
// HasAny returns true if the value or IRI is set.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) HasAny() bool {
|
||||
return this.IsXMLSchemaAnyURI()
|
||||
}
|
||||
|
||||
// IsIRI returns true if this property is an IRI.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) IsIRI() bool {
|
||||
return this.xmlschemaAnyURIMember != nil
|
||||
}
|
||||
|
||||
// IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) IsXMLSchemaAnyURI() bool {
|
||||
return this.xmlschemaAnyURIMember != 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.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) JSONLDContext() map[string]string {
|
||||
m := map[string]string{"https://gotosocial.org/ns": this.alias}
|
||||
var child map[string]string
|
||||
|
||||
/*
|
||||
Since the literal maps in this function are determined at
|
||||
code-generation time, this loop should not overwrite an existing key with a
|
||||
new value.
|
||||
*/
|
||||
for k, v := range child {
|
||||
m[k] = v
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||||
// a leaky API detail only for folks looking to replace the go-fed
|
||||
// implementation. Applications should not use this method.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) KindIndex() int {
|
||||
if this.IsXMLSchemaAnyURI() {
|
||||
return 0
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
return -1
|
||||
}
|
||||
|
||||
// LessThan compares two instances of this property with an arbitrary but stable
|
||||
// comparison. Applications should not use this because it is only meant to
|
||||
// help alternative implementations to go-fed to be able to normalize
|
||||
// nonfunctional properties.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) LessThan(o vocab.GoToSocialAutomaticApprovalPropertyIterator) bool {
|
||||
if this.IsIRI() {
|
||||
// IRIs are always less than other values, none, or unknowns
|
||||
return true
|
||||
} else if o.IsIRI() {
|
||||
// This other, none, or unknown value is always greater than IRIs
|
||||
return false
|
||||
}
|
||||
// LessThan comparison for the single value or unknown value.
|
||||
if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
|
||||
// Both are unknowns.
|
||||
return false
|
||||
} else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
|
||||
// Values are always greater than unknown values.
|
||||
return false
|
||||
} else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() {
|
||||
// Unknowns are always less than known values.
|
||||
return true
|
||||
} else {
|
||||
// Actual comparison.
|
||||
return anyuri.LessAnyURI(this.Get(), o.Get())
|
||||
}
|
||||
}
|
||||
|
||||
// Name returns the name of this property: "GoToSocialAutomaticApproval".
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) Name() string {
|
||||
if len(this.alias) > 0 {
|
||||
return this.alias + ":" + "GoToSocialAutomaticApproval"
|
||||
} else {
|
||||
return "GoToSocialAutomaticApproval"
|
||||
}
|
||||
}
|
||||
|
||||
// Next returns the next iterator, or nil if there is no next iterator.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) Next() vocab.GoToSocialAutomaticApprovalPropertyIterator {
|
||||
if this.myIdx+1 >= this.parent.Len() {
|
||||
return nil
|
||||
} else {
|
||||
return this.parent.At(this.myIdx + 1)
|
||||
}
|
||||
}
|
||||
|
||||
// Prev returns the previous iterator, or nil if there is no previous iterator.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) Prev() vocab.GoToSocialAutomaticApprovalPropertyIterator {
|
||||
if this.myIdx-1 < 0 {
|
||||
return nil
|
||||
} else {
|
||||
return this.parent.At(this.myIdx - 1)
|
||||
}
|
||||
}
|
||||
|
||||
// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will
|
||||
// return true.
|
||||
func (this *GoToSocialAutomaticApprovalPropertyIterator) Set(v *url.URL) {
|
||||
this.clear()
|
||||
this.xmlschemaAnyURIMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards will return
|
||||
// true.
|
||||
func (this *GoToSocialAutomaticApprovalPropertyIterator) SetIRI(v *url.URL) {
|
||||
this.clear()
|
||||
this.Set(v)
|
||||
}
|
||||
|
||||
// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI
|
||||
// afterwards will return false.
|
||||
func (this *GoToSocialAutomaticApprovalPropertyIterator) clear() {
|
||||
this.unknown = nil
|
||||
this.xmlschemaAnyURIMember = nil
|
||||
}
|
||||
|
||||
// serialize converts this into an interface representation suitable for
|
||||
// marshalling into a text or binary format. Applications should not need this
|
||||
// function as most typical use cases serialize types instead of individual
|
||||
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||||
func (this GoToSocialAutomaticApprovalPropertyIterator) serialize() (interface{}, error) {
|
||||
if this.IsXMLSchemaAnyURI() {
|
||||
return anyuri.SerializeAnyURI(this.Get())
|
||||
}
|
||||
return this.unknown, nil
|
||||
}
|
||||
|
||||
// GoToSocialAutomaticApprovalProperty is the non-functional property
|
||||
// "automaticApproval". It is permitted to have one or more values, and of
|
||||
// different value types.
|
||||
type GoToSocialAutomaticApprovalProperty struct {
|
||||
properties []*GoToSocialAutomaticApprovalPropertyIterator
|
||||
alias string
|
||||
}
|
||||
|
||||
// DeserializeAutomaticApprovalProperty creates a "automaticApproval" property
|
||||
// from an interface representation that has been unmarshalled from a text or
|
||||
// binary format.
|
||||
func DeserializeAutomaticApprovalProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialAutomaticApprovalProperty, error) {
|
||||
alias := ""
|
||||
if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
|
||||
alias = a
|
||||
}
|
||||
propName := "automaticApproval"
|
||||
if len(alias) > 0 {
|
||||
propName = fmt.Sprintf("%s:%s", alias, "automaticApproval")
|
||||
}
|
||||
i, ok := m[propName]
|
||||
|
||||
if ok {
|
||||
this := &GoToSocialAutomaticApprovalProperty{
|
||||
alias: alias,
|
||||
properties: []*GoToSocialAutomaticApprovalPropertyIterator{},
|
||||
}
|
||||
if list, ok := i.([]interface{}); ok {
|
||||
for _, iterator := range list {
|
||||
if p, err := deserializeGoToSocialAutomaticApprovalPropertyIterator(iterator, aliasMap); err != nil {
|
||||
return this, err
|
||||
} else if p != nil {
|
||||
this.properties = append(this.properties, p)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if p, err := deserializeGoToSocialAutomaticApprovalPropertyIterator(i, aliasMap); err != nil {
|
||||
return this, err
|
||||
} else if p != nil {
|
||||
this.properties = append(this.properties, p)
|
||||
}
|
||||
}
|
||||
// Set up the properties for iteration.
|
||||
for idx, ele := range this.properties {
|
||||
ele.parent = this
|
||||
ele.myIdx = idx
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// NewGoToSocialAutomaticApprovalProperty creates a new automaticApproval property.
|
||||
func NewGoToSocialAutomaticApprovalProperty() *GoToSocialAutomaticApprovalProperty {
|
||||
return &GoToSocialAutomaticApprovalProperty{alias: ""}
|
||||
}
|
||||
|
||||
// AppendIRI appends an IRI value to the back of a list of the property
|
||||
// "automaticApproval"
|
||||
func (this *GoToSocialAutomaticApprovalProperty) AppendIRI(v *url.URL) {
|
||||
this.properties = append(this.properties, &GoToSocialAutomaticApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the
|
||||
// property "automaticApproval". Invalidates iterators that are traversing
|
||||
// using Prev.
|
||||
func (this *GoToSocialAutomaticApprovalProperty) AppendXMLSchemaAnyURI(v *url.URL) {
|
||||
this.properties = append(this.properties, &GoToSocialAutomaticApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// At returns the property value for the specified index. Panics if the index is
|
||||
// out of bounds.
|
||||
func (this GoToSocialAutomaticApprovalProperty) At(index int) vocab.GoToSocialAutomaticApprovalPropertyIterator {
|
||||
return this.properties[index]
|
||||
}
|
||||
|
||||
// Begin returns the first iterator, or nil if empty. Can be used with the
|
||||
// iterator's Next method and this property's End method to iterate from front
|
||||
// to back through all values.
|
||||
func (this GoToSocialAutomaticApprovalProperty) Begin() vocab.GoToSocialAutomaticApprovalPropertyIterator {
|
||||
if this.Empty() {
|
||||
return nil
|
||||
} else {
|
||||
return this.properties[0]
|
||||
}
|
||||
}
|
||||
|
||||
// Empty returns returns true if there are no elements.
|
||||
func (this GoToSocialAutomaticApprovalProperty) Empty() bool {
|
||||
return this.Len() == 0
|
||||
}
|
||||
|
||||
// End returns beyond-the-last iterator, which is nil. Can be used with the
|
||||
// iterator's Next method and this property's Begin method to iterate from
|
||||
// front to back through all values.
|
||||
func (this GoToSocialAutomaticApprovalProperty) End() vocab.GoToSocialAutomaticApprovalPropertyIterator {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Insert inserts an IRI value at the specified index for a property
|
||||
// "automaticApproval". Existing elements at that index and higher are shifted
|
||||
// back once. Invalidates all iterators.
|
||||
func (this *GoToSocialAutomaticApprovalProperty) InsertIRI(idx int, v *url.URL) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &GoToSocialAutomaticApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a
|
||||
// property "automaticApproval". Existing elements at that index and higher
|
||||
// are shifted back once. Invalidates all iterators.
|
||||
func (this *GoToSocialAutomaticApprovalProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &GoToSocialAutomaticApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// 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.
|
||||
func (this GoToSocialAutomaticApprovalProperty) JSONLDContext() map[string]string {
|
||||
m := map[string]string{"https://gotosocial.org/ns": this.alias}
|
||||
for _, elem := range this.properties {
|
||||
child := elem.JSONLDContext()
|
||||
/*
|
||||
Since the literal maps in this function are determined at
|
||||
code-generation time, this loop should not overwrite an existing key with a
|
||||
new value.
|
||||
*/
|
||||
for k, v := range child {
|
||||
m[k] = v
|
||||
}
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||||
// a leaky API method specifically needed only for alternate implementations
|
||||
// for go-fed. Applications should not use this method. Panics if the index is
|
||||
// out of bounds.
|
||||
func (this GoToSocialAutomaticApprovalProperty) KindIndex(idx int) int {
|
||||
return this.properties[idx].KindIndex()
|
||||
}
|
||||
|
||||
// Len returns the number of values that exist for the "automaticApproval"
|
||||
// property.
|
||||
func (this GoToSocialAutomaticApprovalProperty) Len() (length int) {
|
||||
return len(this.properties)
|
||||
}
|
||||
|
||||
// Less computes whether another property is less than this one. Mixing types
|
||||
// results in a consistent but arbitrary ordering
|
||||
func (this GoToSocialAutomaticApprovalProperty) Less(i, j int) bool {
|
||||
idx1 := this.KindIndex(i)
|
||||
idx2 := this.KindIndex(j)
|
||||
if idx1 < idx2 {
|
||||
return true
|
||||
} else if idx1 == idx2 {
|
||||
if idx1 == 0 {
|
||||
lhs := this.properties[i].Get()
|
||||
rhs := this.properties[j].Get()
|
||||
return anyuri.LessAnyURI(lhs, rhs)
|
||||
} else if idx1 == -2 {
|
||||
lhs := this.properties[i].GetIRI()
|
||||
rhs := this.properties[j].GetIRI()
|
||||
return lhs.String() < rhs.String()
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// LessThan compares two instances of this property with an arbitrary but stable
|
||||
// comparison. Applications should not use this because it is only meant to
|
||||
// help alternative implementations to go-fed to be able to normalize
|
||||
// nonfunctional properties.
|
||||
func (this GoToSocialAutomaticApprovalProperty) LessThan(o vocab.GoToSocialAutomaticApprovalProperty) bool {
|
||||
l1 := this.Len()
|
||||
l2 := o.Len()
|
||||
l := l1
|
||||
if l2 < l1 {
|
||||
l = l2
|
||||
}
|
||||
for i := 0; i < l; i++ {
|
||||
if this.properties[i].LessThan(o.At(i)) {
|
||||
return true
|
||||
} else if o.At(i).LessThan(this.properties[i]) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return l1 < l2
|
||||
}
|
||||
|
||||
// Name returns the name of this property ("automaticApproval") with any alias.
|
||||
func (this GoToSocialAutomaticApprovalProperty) Name() string {
|
||||
if len(this.alias) > 0 {
|
||||
return this.alias + ":" + "automaticApproval"
|
||||
} else {
|
||||
return "automaticApproval"
|
||||
}
|
||||
}
|
||||
|
||||
// PrependIRI prepends an IRI value to the front of a list of the property
|
||||
// "automaticApproval".
|
||||
func (this *GoToSocialAutomaticApprovalProperty) PrependIRI(v *url.URL) {
|
||||
this.properties = append([]*GoToSocialAutomaticApprovalPropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the
|
||||
// property "automaticApproval". Invalidates all iterators.
|
||||
func (this *GoToSocialAutomaticApprovalProperty) PrependXMLSchemaAnyURI(v *url.URL) {
|
||||
this.properties = append([]*GoToSocialAutomaticApprovalPropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// Remove deletes an element at the specified index from a list of the property
|
||||
// "automaticApproval", regardless of its type. Panics if the index is out of
|
||||
// bounds. Invalidates all iterators.
|
||||
func (this *GoToSocialAutomaticApprovalProperty) Remove(idx int) {
|
||||
(this.properties)[idx].parent = nil
|
||||
copy((this.properties)[idx:], (this.properties)[idx+1:])
|
||||
(this.properties)[len(this.properties)-1] = &GoToSocialAutomaticApprovalPropertyIterator{}
|
||||
this.properties = (this.properties)[:len(this.properties)-1]
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// Serialize converts this into an interface representation suitable for
|
||||
// marshalling into a text or binary format. Applications should not need this
|
||||
// function as most typical use cases serialize types instead of individual
|
||||
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||||
func (this GoToSocialAutomaticApprovalProperty) Serialize() (interface{}, error) {
|
||||
s := make([]interface{}, 0, len(this.properties))
|
||||
for _, iterator := range this.properties {
|
||||
if b, err := iterator.serialize(); err != nil {
|
||||
return s, err
|
||||
} else {
|
||||
s = append(s, b)
|
||||
}
|
||||
}
|
||||
// Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
|
||||
if len(s) == 1 {
|
||||
return s[0], nil
|
||||
}
|
||||
return s, nil
|
||||
}
|
||||
|
||||
// Set sets a anyURI value to be at the specified index for the property
|
||||
// "automaticApproval". Panics if the index is out of bounds. Invalidates all
|
||||
// iterators.
|
||||
func (this *GoToSocialAutomaticApprovalProperty) Set(idx int, v *url.URL) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &GoToSocialAutomaticApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// SetIRI sets an IRI value to be at the specified index for the property
|
||||
// "automaticApproval". Panics if the index is out of bounds.
|
||||
func (this *GoToSocialAutomaticApprovalProperty) SetIRI(idx int, v *url.URL) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &GoToSocialAutomaticApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// Swap swaps the location of values at two indices for the "automaticApproval"
|
||||
// property.
|
||||
func (this GoToSocialAutomaticApprovalProperty) Swap(i, j int) {
|
||||
this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
|
||||
}
|
||||
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_doc.go
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package propertycanquote contains the implementation for the canQuote property.
|
||||
// All applications are strongly encouraged to use the interface instead of
|
||||
// this concrete definition. The interfaces allow applications to consume only
|
||||
// the types and properties needed and be independent of the go-fed
|
||||
// implementation if another alternative implementation is created. This
|
||||
// package is code-generated and subject to the same license as the go-fed
|
||||
// tool used to generate it.
|
||||
//
|
||||
// This package is independent of other types' and properties' implementations
|
||||
// by having a Manager injected into it to act as a factory for the concrete
|
||||
// implementations. The implementations have been generated into their own
|
||||
// separate subpackages for each vocabulary.
|
||||
//
|
||||
// Strongly consider using the interfaces instead of this package.
|
||||
package propertycanquote
|
||||
22
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go
generated
vendored
Normal file
22
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_pkg.go
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertycanquote
|
||||
|
||||
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface {
|
||||
// DeserializeCanQuoteGoToSocial returns the deserialization method for
|
||||
// the "GoToSocialCanQuote" non-functional property in the vocabulary
|
||||
// "GoToSocial"
|
||||
DeserializeCanQuoteGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialCanQuote, error)
|
||||
}
|
||||
|
||||
// SetManager sets the manager package-global variable. For internal use only, do
|
||||
// not use as part of Application behavior. Must be called at golang init time.
|
||||
func SetManager(m privateManager) {
|
||||
mgr = m
|
||||
}
|
||||
618
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go
generated
vendored
Normal file
618
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_canquote/gen_property_gotosocial_canQuote.go
generated
vendored
Normal file
|
|
@ -0,0 +1,618 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertycanquote
|
||||
|
||||
import (
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
"fmt"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
// GoToSocialCanQuotePropertyIterator is an iterator for a property. It is
|
||||
// permitted to be a single nilable value type.
|
||||
type GoToSocialCanQuotePropertyIterator struct {
|
||||
gotosocialCanQuoteMember vocab.GoToSocialCanQuote
|
||||
unknown interface{}
|
||||
iri *url.URL
|
||||
alias string
|
||||
myIdx int
|
||||
parent vocab.GoToSocialCanQuoteProperty
|
||||
}
|
||||
|
||||
// NewGoToSocialCanQuotePropertyIterator creates a new GoToSocialCanQuote property.
|
||||
func NewGoToSocialCanQuotePropertyIterator() *GoToSocialCanQuotePropertyIterator {
|
||||
return &GoToSocialCanQuotePropertyIterator{alias: ""}
|
||||
}
|
||||
|
||||
// deserializeGoToSocialCanQuotePropertyIterator creates an iterator from an
|
||||
// element that has been unmarshalled from a text or binary format.
|
||||
func deserializeGoToSocialCanQuotePropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialCanQuotePropertyIterator, error) {
|
||||
alias := ""
|
||||
if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
|
||||
alias = a
|
||||
}
|
||||
if s, ok := i.(string); ok {
|
||||
u, err := url.Parse(s)
|
||||
// If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst
|
||||
// Also, if no scheme exists, don't treat it as a URL -- net/url is greedy
|
||||
if err == nil && len(u.Scheme) > 0 {
|
||||
this := &GoToSocialCanQuotePropertyIterator{
|
||||
alias: alias,
|
||||
iri: u,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
}
|
||||
if m, ok := i.(map[string]interface{}); ok {
|
||||
if v, err := mgr.DeserializeCanQuoteGoToSocial()(m, aliasMap); err == nil {
|
||||
this := &GoToSocialCanQuotePropertyIterator{
|
||||
alias: alias,
|
||||
gotosocialCanQuoteMember: v,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
}
|
||||
this := &GoToSocialCanQuotePropertyIterator{
|
||||
alias: alias,
|
||||
unknown: i,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
|
||||
// Get returns the value of this property. When IsGoToSocialCanQuote returns
|
||||
// false, Get will return any arbitrary value.
|
||||
func (this GoToSocialCanQuotePropertyIterator) Get() vocab.GoToSocialCanQuote {
|
||||
return this.gotosocialCanQuoteMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return any arbitrary value.
|
||||
func (this GoToSocialCanQuotePropertyIterator) GetIRI() *url.URL {
|
||||
return this.iri
|
||||
}
|
||||
|
||||
// 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 GoToSocialCanQuotePropertyIterator) GetType() vocab.Type {
|
||||
if this.IsGoToSocialCanQuote() {
|
||||
return this.Get()
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// HasAny returns true if the value or IRI is set.
|
||||
func (this GoToSocialCanQuotePropertyIterator) HasAny() bool {
|
||||
return this.IsGoToSocialCanQuote() || this.iri != nil
|
||||
}
|
||||
|
||||
// IsGoToSocialCanQuote returns true if this property is set and not an IRI.
|
||||
func (this GoToSocialCanQuotePropertyIterator) IsGoToSocialCanQuote() bool {
|
||||
return this.gotosocialCanQuoteMember != nil
|
||||
}
|
||||
|
||||
// IsIRI returns true if this property is an IRI.
|
||||
func (this GoToSocialCanQuotePropertyIterator) IsIRI() bool {
|
||||
return this.iri != 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.
|
||||
func (this GoToSocialCanQuotePropertyIterator) JSONLDContext() map[string]string {
|
||||
m := map[string]string{"https://gotosocial.org/ns": this.alias}
|
||||
var child map[string]string
|
||||
if this.IsGoToSocialCanQuote() {
|
||||
child = this.Get().JSONLDContext()
|
||||
}
|
||||
/*
|
||||
Since the literal maps in this function are determined at
|
||||
code-generation time, this loop should not overwrite an existing key with a
|
||||
new value.
|
||||
*/
|
||||
for k, v := range child {
|
||||
m[k] = v
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||||
// a leaky API detail only for folks looking to replace the go-fed
|
||||
// implementation. Applications should not use this method.
|
||||
func (this GoToSocialCanQuotePropertyIterator) KindIndex() int {
|
||||
if this.IsGoToSocialCanQuote() {
|
||||
return 0
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
return -1
|
||||
}
|
||||
|
||||
// LessThan compares two instances of this property with an arbitrary but stable
|
||||
// comparison. Applications should not use this because it is only meant to
|
||||
// help alternative implementations to go-fed to be able to normalize
|
||||
// nonfunctional properties.
|
||||
func (this GoToSocialCanQuotePropertyIterator) LessThan(o vocab.GoToSocialCanQuotePropertyIterator) bool {
|
||||
// LessThan comparison for if either or both are IRIs.
|
||||
if this.IsIRI() && o.IsIRI() {
|
||||
return this.iri.String() < o.GetIRI().String()
|
||||
} else if this.IsIRI() {
|
||||
// IRIs are always less than other values, none, or unknowns
|
||||
return true
|
||||
} else if o.IsIRI() {
|
||||
// This other, none, or unknown value is always greater than IRIs
|
||||
return false
|
||||
}
|
||||
// LessThan comparison for the single value or unknown value.
|
||||
if !this.IsGoToSocialCanQuote() && !o.IsGoToSocialCanQuote() {
|
||||
// Both are unknowns.
|
||||
return false
|
||||
} else if this.IsGoToSocialCanQuote() && !o.IsGoToSocialCanQuote() {
|
||||
// Values are always greater than unknown values.
|
||||
return false
|
||||
} else if !this.IsGoToSocialCanQuote() && o.IsGoToSocialCanQuote() {
|
||||
// Unknowns are always less than known values.
|
||||
return true
|
||||
} else {
|
||||
// Actual comparison.
|
||||
return this.Get().LessThan(o.Get())
|
||||
}
|
||||
}
|
||||
|
||||
// Name returns the name of this property: "GoToSocialCanQuote".
|
||||
func (this GoToSocialCanQuotePropertyIterator) Name() string {
|
||||
if len(this.alias) > 0 {
|
||||
return this.alias + ":" + "GoToSocialCanQuote"
|
||||
} else {
|
||||
return "GoToSocialCanQuote"
|
||||
}
|
||||
}
|
||||
|
||||
// Next returns the next iterator, or nil if there is no next iterator.
|
||||
func (this GoToSocialCanQuotePropertyIterator) Next() vocab.GoToSocialCanQuotePropertyIterator {
|
||||
if this.myIdx+1 >= this.parent.Len() {
|
||||
return nil
|
||||
} else {
|
||||
return this.parent.At(this.myIdx + 1)
|
||||
}
|
||||
}
|
||||
|
||||
// Prev returns the previous iterator, or nil if there is no previous iterator.
|
||||
func (this GoToSocialCanQuotePropertyIterator) Prev() vocab.GoToSocialCanQuotePropertyIterator {
|
||||
if this.myIdx-1 < 0 {
|
||||
return nil
|
||||
} else {
|
||||
return this.parent.At(this.myIdx - 1)
|
||||
}
|
||||
}
|
||||
|
||||
// Set sets the value of this property. Calling IsGoToSocialCanQuote afterwards
|
||||
// will return true.
|
||||
func (this *GoToSocialCanQuotePropertyIterator) Set(v vocab.GoToSocialCanQuote) {
|
||||
this.clear()
|
||||
this.gotosocialCanQuoteMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards will return
|
||||
// true.
|
||||
func (this *GoToSocialCanQuotePropertyIterator) SetIRI(v *url.URL) {
|
||||
this.clear()
|
||||
this.iri = 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 *GoToSocialCanQuotePropertyIterator) SetType(t vocab.Type) error {
|
||||
if v, ok := t.(vocab.GoToSocialCanQuote); ok {
|
||||
this.Set(v)
|
||||
return nil
|
||||
}
|
||||
|
||||
return fmt.Errorf("illegal type to set on GoToSocialCanQuote property: %T", t)
|
||||
}
|
||||
|
||||
// clear ensures no value of this property is set. Calling IsGoToSocialCanQuote
|
||||
// afterwards will return false.
|
||||
func (this *GoToSocialCanQuotePropertyIterator) clear() {
|
||||
this.unknown = nil
|
||||
this.iri = nil
|
||||
this.gotosocialCanQuoteMember = nil
|
||||
}
|
||||
|
||||
// serialize converts this into an interface representation suitable for
|
||||
// marshalling into a text or binary format. Applications should not need this
|
||||
// function as most typical use cases serialize types instead of individual
|
||||
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||||
func (this GoToSocialCanQuotePropertyIterator) serialize() (interface{}, error) {
|
||||
if this.IsGoToSocialCanQuote() {
|
||||
return this.Get().Serialize()
|
||||
} else if this.IsIRI() {
|
||||
return this.iri.String(), nil
|
||||
}
|
||||
return this.unknown, nil
|
||||
}
|
||||
|
||||
// GoToSocialCanQuoteProperty is the non-functional property "canQuote". It is
|
||||
// permitted to have one or more values, and of different value types.
|
||||
type GoToSocialCanQuoteProperty struct {
|
||||
properties []*GoToSocialCanQuotePropertyIterator
|
||||
alias string
|
||||
}
|
||||
|
||||
// DeserializeCanQuoteProperty creates a "canQuote" property from an interface
|
||||
// representation that has been unmarshalled from a text or binary format.
|
||||
func DeserializeCanQuoteProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialCanQuoteProperty, error) {
|
||||
alias := ""
|
||||
if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
|
||||
alias = a
|
||||
}
|
||||
propName := "canQuote"
|
||||
if len(alias) > 0 {
|
||||
propName = fmt.Sprintf("%s:%s", alias, "canQuote")
|
||||
}
|
||||
i, ok := m[propName]
|
||||
|
||||
if ok {
|
||||
this := &GoToSocialCanQuoteProperty{
|
||||
alias: alias,
|
||||
properties: []*GoToSocialCanQuotePropertyIterator{},
|
||||
}
|
||||
if list, ok := i.([]interface{}); ok {
|
||||
for _, iterator := range list {
|
||||
if p, err := deserializeGoToSocialCanQuotePropertyIterator(iterator, aliasMap); err != nil {
|
||||
return this, err
|
||||
} else if p != nil {
|
||||
this.properties = append(this.properties, p)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if p, err := deserializeGoToSocialCanQuotePropertyIterator(i, aliasMap); err != nil {
|
||||
return this, err
|
||||
} else if p != nil {
|
||||
this.properties = append(this.properties, p)
|
||||
}
|
||||
}
|
||||
// Set up the properties for iteration.
|
||||
for idx, ele := range this.properties {
|
||||
ele.parent = this
|
||||
ele.myIdx = idx
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// NewGoToSocialCanQuoteProperty creates a new canQuote property.
|
||||
func NewGoToSocialCanQuoteProperty() *GoToSocialCanQuoteProperty {
|
||||
return &GoToSocialCanQuoteProperty{alias: ""}
|
||||
}
|
||||
|
||||
// AppendGoToSocialCanQuote appends a CanQuote value to the back of a list of the
|
||||
// property "canQuote". Invalidates iterators that are traversing using Prev.
|
||||
func (this *GoToSocialCanQuoteProperty) AppendGoToSocialCanQuote(v vocab.GoToSocialCanQuote) {
|
||||
this.properties = append(this.properties, &GoToSocialCanQuotePropertyIterator{
|
||||
alias: this.alias,
|
||||
gotosocialCanQuoteMember: v,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
})
|
||||
}
|
||||
|
||||
// AppendIRI appends an IRI value to the back of a list of the property "canQuote"
|
||||
func (this *GoToSocialCanQuoteProperty) AppendIRI(v *url.URL) {
|
||||
this.properties = append(this.properties, &GoToSocialCanQuotePropertyIterator{
|
||||
alias: this.alias,
|
||||
iri: v,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
})
|
||||
}
|
||||
|
||||
// PrependType prepends an arbitrary type value to the front of a list of the
|
||||
// property "canQuote". Invalidates iterators that are traversing using Prev.
|
||||
// Returns an error if the type is not a valid one to set for this property.
|
||||
func (this *GoToSocialCanQuoteProperty) AppendType(t vocab.Type) error {
|
||||
n := &GoToSocialCanQuotePropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
}
|
||||
if err := n.SetType(t); err != nil {
|
||||
return err
|
||||
}
|
||||
this.properties = append(this.properties, n)
|
||||
return nil
|
||||
}
|
||||
|
||||
// At returns the property value for the specified index. Panics if the index is
|
||||
// out of bounds.
|
||||
func (this GoToSocialCanQuoteProperty) At(index int) vocab.GoToSocialCanQuotePropertyIterator {
|
||||
return this.properties[index]
|
||||
}
|
||||
|
||||
// Begin returns the first iterator, or nil if empty. Can be used with the
|
||||
// iterator's Next method and this property's End method to iterate from front
|
||||
// to back through all values.
|
||||
func (this GoToSocialCanQuoteProperty) Begin() vocab.GoToSocialCanQuotePropertyIterator {
|
||||
if this.Empty() {
|
||||
return nil
|
||||
} else {
|
||||
return this.properties[0]
|
||||
}
|
||||
}
|
||||
|
||||
// Empty returns returns true if there are no elements.
|
||||
func (this GoToSocialCanQuoteProperty) Empty() bool {
|
||||
return this.Len() == 0
|
||||
}
|
||||
|
||||
// End returns beyond-the-last iterator, which is nil. Can be used with the
|
||||
// iterator's Next method and this property's Begin method to iterate from
|
||||
// front to back through all values.
|
||||
func (this GoToSocialCanQuoteProperty) End() vocab.GoToSocialCanQuotePropertyIterator {
|
||||
return nil
|
||||
}
|
||||
|
||||
// InsertGoToSocialCanQuote inserts a CanQuote value at the specified index for a
|
||||
// property "canQuote". Existing elements at that index and higher are shifted
|
||||
// back once. Invalidates all iterators.
|
||||
func (this *GoToSocialCanQuoteProperty) InsertGoToSocialCanQuote(idx int, v vocab.GoToSocialCanQuote) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &GoToSocialCanQuotePropertyIterator{
|
||||
alias: this.alias,
|
||||
gotosocialCanQuoteMember: v,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// Insert inserts an IRI value at the specified index for a property "canQuote".
|
||||
// Existing elements at that index and higher are shifted back once.
|
||||
// Invalidates all iterators.
|
||||
func (this *GoToSocialCanQuoteProperty) InsertIRI(idx int, v *url.URL) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &GoToSocialCanQuotePropertyIterator{
|
||||
alias: this.alias,
|
||||
iri: v,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
}
|
||||
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 "canQuote". Invalidates all iterators. Returns an error if the
|
||||
// type is not a valid one to set for this property.
|
||||
func (this *GoToSocialCanQuoteProperty) InsertType(idx int, t vocab.Type) error {
|
||||
n := &GoToSocialCanQuotePropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
}
|
||||
if err := n.SetType(t); err != nil {
|
||||
return err
|
||||
}
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = n
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
return 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.
|
||||
func (this GoToSocialCanQuoteProperty) JSONLDContext() map[string]string {
|
||||
m := map[string]string{"https://gotosocial.org/ns": this.alias}
|
||||
for _, elem := range this.properties {
|
||||
child := elem.JSONLDContext()
|
||||
/*
|
||||
Since the literal maps in this function are determined at
|
||||
code-generation time, this loop should not overwrite an existing key with a
|
||||
new value.
|
||||
*/
|
||||
for k, v := range child {
|
||||
m[k] = v
|
||||
}
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||||
// a leaky API method specifically needed only for alternate implementations
|
||||
// for go-fed. Applications should not use this method. Panics if the index is
|
||||
// out of bounds.
|
||||
func (this GoToSocialCanQuoteProperty) KindIndex(idx int) int {
|
||||
return this.properties[idx].KindIndex()
|
||||
}
|
||||
|
||||
// Len returns the number of values that exist for the "canQuote" property.
|
||||
func (this GoToSocialCanQuoteProperty) Len() (length int) {
|
||||
return len(this.properties)
|
||||
}
|
||||
|
||||
// Less computes whether another property is less than this one. Mixing types
|
||||
// results in a consistent but arbitrary ordering
|
||||
func (this GoToSocialCanQuoteProperty) Less(i, j int) bool {
|
||||
idx1 := this.KindIndex(i)
|
||||
idx2 := this.KindIndex(j)
|
||||
if idx1 < idx2 {
|
||||
return true
|
||||
} else if idx1 == idx2 {
|
||||
if idx1 == 0 {
|
||||
lhs := this.properties[i].Get()
|
||||
rhs := this.properties[j].Get()
|
||||
return lhs.LessThan(rhs)
|
||||
} else if idx1 == -2 {
|
||||
lhs := this.properties[i].GetIRI()
|
||||
rhs := this.properties[j].GetIRI()
|
||||
return lhs.String() < rhs.String()
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// LessThan compares two instances of this property with an arbitrary but stable
|
||||
// comparison. Applications should not use this because it is only meant to
|
||||
// help alternative implementations to go-fed to be able to normalize
|
||||
// nonfunctional properties.
|
||||
func (this GoToSocialCanQuoteProperty) LessThan(o vocab.GoToSocialCanQuoteProperty) bool {
|
||||
l1 := this.Len()
|
||||
l2 := o.Len()
|
||||
l := l1
|
||||
if l2 < l1 {
|
||||
l = l2
|
||||
}
|
||||
for i := 0; i < l; i++ {
|
||||
if this.properties[i].LessThan(o.At(i)) {
|
||||
return true
|
||||
} else if o.At(i).LessThan(this.properties[i]) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return l1 < l2
|
||||
}
|
||||
|
||||
// Name returns the name of this property ("canQuote") with any alias.
|
||||
func (this GoToSocialCanQuoteProperty) Name() string {
|
||||
if len(this.alias) > 0 {
|
||||
return this.alias + ":" + "canQuote"
|
||||
} else {
|
||||
return "canQuote"
|
||||
}
|
||||
}
|
||||
|
||||
// PrependGoToSocialCanQuote prepends a CanQuote value to the front of a list of
|
||||
// the property "canQuote". Invalidates all iterators.
|
||||
func (this *GoToSocialCanQuoteProperty) PrependGoToSocialCanQuote(v vocab.GoToSocialCanQuote) {
|
||||
this.properties = append([]*GoToSocialCanQuotePropertyIterator{{
|
||||
alias: this.alias,
|
||||
gotosocialCanQuoteMember: v,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependIRI prepends an IRI value to the front of a list of the property
|
||||
// "canQuote".
|
||||
func (this *GoToSocialCanQuoteProperty) PrependIRI(v *url.URL) {
|
||||
this.properties = append([]*GoToSocialCanQuotePropertyIterator{{
|
||||
alias: this.alias,
|
||||
iri: v,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
}}, 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 "canQuote". Invalidates all iterators. Returns an error if the
|
||||
// type is not a valid one to set for this property.
|
||||
func (this *GoToSocialCanQuoteProperty) PrependType(t vocab.Type) error {
|
||||
n := &GoToSocialCanQuotePropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
}
|
||||
if err := n.SetType(t); err != nil {
|
||||
return err
|
||||
}
|
||||
this.properties = append([]*GoToSocialCanQuotePropertyIterator{n}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Remove deletes an element at the specified index from a list of the property
|
||||
// "canQuote", regardless of its type. Panics if the index is out of bounds.
|
||||
// Invalidates all iterators.
|
||||
func (this *GoToSocialCanQuoteProperty) Remove(idx int) {
|
||||
(this.properties)[idx].parent = nil
|
||||
copy((this.properties)[idx:], (this.properties)[idx+1:])
|
||||
(this.properties)[len(this.properties)-1] = &GoToSocialCanQuotePropertyIterator{}
|
||||
this.properties = (this.properties)[:len(this.properties)-1]
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// Serialize converts this into an interface representation suitable for
|
||||
// marshalling into a text or binary format. Applications should not need this
|
||||
// function as most typical use cases serialize types instead of individual
|
||||
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||||
func (this GoToSocialCanQuoteProperty) Serialize() (interface{}, error) {
|
||||
s := make([]interface{}, 0, len(this.properties))
|
||||
for _, iterator := range this.properties {
|
||||
if b, err := iterator.serialize(); err != nil {
|
||||
return s, err
|
||||
} else {
|
||||
s = append(s, b)
|
||||
}
|
||||
}
|
||||
// Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
|
||||
if len(s) == 1 {
|
||||
return s[0], nil
|
||||
}
|
||||
return s, nil
|
||||
}
|
||||
|
||||
// Set sets a CanQuote value to be at the specified index for the property
|
||||
// "canQuote". Panics if the index is out of bounds. Invalidates all iterators.
|
||||
func (this *GoToSocialCanQuoteProperty) Set(idx int, v vocab.GoToSocialCanQuote) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &GoToSocialCanQuotePropertyIterator{
|
||||
alias: this.alias,
|
||||
gotosocialCanQuoteMember: v,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
}
|
||||
}
|
||||
|
||||
// SetIRI sets an IRI value to be at the specified index for the property
|
||||
// "canQuote". Panics if the index is out of bounds.
|
||||
func (this *GoToSocialCanQuoteProperty) SetIRI(idx int, v *url.URL) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &GoToSocialCanQuotePropertyIterator{
|
||||
alias: this.alias,
|
||||
iri: v,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
}
|
||||
}
|
||||
|
||||
// SetType sets an arbitrary type value to the specified index of the property
|
||||
// "canQuote". 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.
|
||||
func (this *GoToSocialCanQuoteProperty) SetType(idx int, t vocab.Type) error {
|
||||
n := &GoToSocialCanQuotePropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
}
|
||||
if err := n.SetType(t); err != nil {
|
||||
return err
|
||||
}
|
||||
(this.properties)[idx] = n
|
||||
return nil
|
||||
}
|
||||
|
||||
// Swap swaps the location of values at two indices for the "canQuote" property.
|
||||
func (this GoToSocialCanQuoteProperty) Swap(i, j int) {
|
||||
this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
|
||||
}
|
||||
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_doc.go
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package propertyinteractingobject contains the implementation for the
|
||||
// interactingObject property. All applications are strongly encouraged to use
|
||||
// the interface instead of this concrete definition. The interfaces allow
|
||||
// applications to consume only the types and properties needed and be
|
||||
// independent of the go-fed implementation if another alternative
|
||||
// implementation is created. This package is code-generated and subject to
|
||||
// the same license as the go-fed tool used to generate it.
|
||||
//
|
||||
// This package is independent of other types' and properties' implementations
|
||||
// by having a Manager injected into it to act as a factory for the concrete
|
||||
// implementations. The implementations have been generated into their own
|
||||
// separate subpackages for each vocabulary.
|
||||
//
|
||||
// Strongly consider using the interfaces instead of this package.
|
||||
package propertyinteractingobject
|
||||
15
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go
generated
vendored
Normal file
15
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactingobject/gen_pkg.go
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertyinteractingobject
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface{}
|
||||
|
||||
// SetManager sets the manager package-global variable. For internal use only, do
|
||||
// not use as part of Application behavior. Must be called at golang init time.
|
||||
func SetManager(m privateManager) {
|
||||
mgr = m
|
||||
}
|
||||
|
|
@ -0,0 +1,511 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertyinteractingobject
|
||||
|
||||
import (
|
||||
anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
"fmt"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
// GoToSocialInteractingObjectPropertyIterator is an iterator for a property. It
|
||||
// is permitted to be a single nilable value type.
|
||||
type GoToSocialInteractingObjectPropertyIterator struct {
|
||||
xmlschemaAnyURIMember *url.URL
|
||||
unknown interface{}
|
||||
alias string
|
||||
myIdx int
|
||||
parent vocab.GoToSocialInteractingObjectProperty
|
||||
}
|
||||
|
||||
// NewGoToSocialInteractingObjectPropertyIterator creates a new
|
||||
// GoToSocialInteractingObject property.
|
||||
func NewGoToSocialInteractingObjectPropertyIterator() *GoToSocialInteractingObjectPropertyIterator {
|
||||
return &GoToSocialInteractingObjectPropertyIterator{alias: ""}
|
||||
}
|
||||
|
||||
// deserializeGoToSocialInteractingObjectPropertyIterator creates an iterator from
|
||||
// an element that has been unmarshalled from a text or binary format.
|
||||
func deserializeGoToSocialInteractingObjectPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialInteractingObjectPropertyIterator, error) {
|
||||
alias := ""
|
||||
if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
|
||||
alias = a
|
||||
}
|
||||
if v, err := anyuri.DeserializeAnyURI(i); err == nil {
|
||||
this := &GoToSocialInteractingObjectPropertyIterator{
|
||||
alias: alias,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
this := &GoToSocialInteractingObjectPropertyIterator{
|
||||
alias: alias,
|
||||
unknown: i,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
|
||||
// Get returns the value of this property. When IsXMLSchemaAnyURI returns false,
|
||||
// Get will return any arbitrary value.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) Get() *url.URL {
|
||||
return this.xmlschemaAnyURIMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return any arbitrary value.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) GetIRI() *url.URL {
|
||||
return this.xmlschemaAnyURIMember
|
||||
}
|
||||
|
||||
// HasAny returns true if the value or IRI is set.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) HasAny() bool {
|
||||
return this.IsXMLSchemaAnyURI()
|
||||
}
|
||||
|
||||
// IsIRI returns true if this property is an IRI.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) IsIRI() bool {
|
||||
return this.xmlschemaAnyURIMember != nil
|
||||
}
|
||||
|
||||
// IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) IsXMLSchemaAnyURI() bool {
|
||||
return this.xmlschemaAnyURIMember != 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.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) JSONLDContext() map[string]string {
|
||||
m := map[string]string{"https://gotosocial.org/ns": this.alias}
|
||||
var child map[string]string
|
||||
|
||||
/*
|
||||
Since the literal maps in this function are determined at
|
||||
code-generation time, this loop should not overwrite an existing key with a
|
||||
new value.
|
||||
*/
|
||||
for k, v := range child {
|
||||
m[k] = v
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||||
// a leaky API detail only for folks looking to replace the go-fed
|
||||
// implementation. Applications should not use this method.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) KindIndex() int {
|
||||
if this.IsXMLSchemaAnyURI() {
|
||||
return 0
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
return -1
|
||||
}
|
||||
|
||||
// LessThan compares two instances of this property with an arbitrary but stable
|
||||
// comparison. Applications should not use this because it is only meant to
|
||||
// help alternative implementations to go-fed to be able to normalize
|
||||
// nonfunctional properties.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) LessThan(o vocab.GoToSocialInteractingObjectPropertyIterator) bool {
|
||||
if this.IsIRI() {
|
||||
// IRIs are always less than other values, none, or unknowns
|
||||
return true
|
||||
} else if o.IsIRI() {
|
||||
// This other, none, or unknown value is always greater than IRIs
|
||||
return false
|
||||
}
|
||||
// LessThan comparison for the single value or unknown value.
|
||||
if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
|
||||
// Both are unknowns.
|
||||
return false
|
||||
} else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
|
||||
// Values are always greater than unknown values.
|
||||
return false
|
||||
} else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() {
|
||||
// Unknowns are always less than known values.
|
||||
return true
|
||||
} else {
|
||||
// Actual comparison.
|
||||
return anyuri.LessAnyURI(this.Get(), o.Get())
|
||||
}
|
||||
}
|
||||
|
||||
// Name returns the name of this property: "GoToSocialInteractingObject".
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) Name() string {
|
||||
if len(this.alias) > 0 {
|
||||
return this.alias + ":" + "GoToSocialInteractingObject"
|
||||
} else {
|
||||
return "GoToSocialInteractingObject"
|
||||
}
|
||||
}
|
||||
|
||||
// Next returns the next iterator, or nil if there is no next iterator.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) Next() vocab.GoToSocialInteractingObjectPropertyIterator {
|
||||
if this.myIdx+1 >= this.parent.Len() {
|
||||
return nil
|
||||
} else {
|
||||
return this.parent.At(this.myIdx + 1)
|
||||
}
|
||||
}
|
||||
|
||||
// Prev returns the previous iterator, or nil if there is no previous iterator.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) Prev() vocab.GoToSocialInteractingObjectPropertyIterator {
|
||||
if this.myIdx-1 < 0 {
|
||||
return nil
|
||||
} else {
|
||||
return this.parent.At(this.myIdx - 1)
|
||||
}
|
||||
}
|
||||
|
||||
// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will
|
||||
// return true.
|
||||
func (this *GoToSocialInteractingObjectPropertyIterator) Set(v *url.URL) {
|
||||
this.clear()
|
||||
this.xmlschemaAnyURIMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards will return
|
||||
// true.
|
||||
func (this *GoToSocialInteractingObjectPropertyIterator) SetIRI(v *url.URL) {
|
||||
this.clear()
|
||||
this.Set(v)
|
||||
}
|
||||
|
||||
// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI
|
||||
// afterwards will return false.
|
||||
func (this *GoToSocialInteractingObjectPropertyIterator) clear() {
|
||||
this.unknown = nil
|
||||
this.xmlschemaAnyURIMember = nil
|
||||
}
|
||||
|
||||
// serialize converts this into an interface representation suitable for
|
||||
// marshalling into a text or binary format. Applications should not need this
|
||||
// function as most typical use cases serialize types instead of individual
|
||||
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||||
func (this GoToSocialInteractingObjectPropertyIterator) serialize() (interface{}, error) {
|
||||
if this.IsXMLSchemaAnyURI() {
|
||||
return anyuri.SerializeAnyURI(this.Get())
|
||||
}
|
||||
return this.unknown, nil
|
||||
}
|
||||
|
||||
// GoToSocialInteractingObjectProperty is the non-functional property
|
||||
// "interactingObject". It is permitted to have one or more values, and of
|
||||
// different value types.
|
||||
type GoToSocialInteractingObjectProperty struct {
|
||||
properties []*GoToSocialInteractingObjectPropertyIterator
|
||||
alias string
|
||||
}
|
||||
|
||||
// DeserializeInteractingObjectProperty creates a "interactingObject" property
|
||||
// from an interface representation that has been unmarshalled from a text or
|
||||
// binary format.
|
||||
func DeserializeInteractingObjectProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractingObjectProperty, error) {
|
||||
alias := ""
|
||||
if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
|
||||
alias = a
|
||||
}
|
||||
propName := "interactingObject"
|
||||
if len(alias) > 0 {
|
||||
propName = fmt.Sprintf("%s:%s", alias, "interactingObject")
|
||||
}
|
||||
i, ok := m[propName]
|
||||
|
||||
if ok {
|
||||
this := &GoToSocialInteractingObjectProperty{
|
||||
alias: alias,
|
||||
properties: []*GoToSocialInteractingObjectPropertyIterator{},
|
||||
}
|
||||
if list, ok := i.([]interface{}); ok {
|
||||
for _, iterator := range list {
|
||||
if p, err := deserializeGoToSocialInteractingObjectPropertyIterator(iterator, aliasMap); err != nil {
|
||||
return this, err
|
||||
} else if p != nil {
|
||||
this.properties = append(this.properties, p)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if p, err := deserializeGoToSocialInteractingObjectPropertyIterator(i, aliasMap); err != nil {
|
||||
return this, err
|
||||
} else if p != nil {
|
||||
this.properties = append(this.properties, p)
|
||||
}
|
||||
}
|
||||
// Set up the properties for iteration.
|
||||
for idx, ele := range this.properties {
|
||||
ele.parent = this
|
||||
ele.myIdx = idx
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// NewGoToSocialInteractingObjectProperty creates a new interactingObject property.
|
||||
func NewGoToSocialInteractingObjectProperty() *GoToSocialInteractingObjectProperty {
|
||||
return &GoToSocialInteractingObjectProperty{alias: ""}
|
||||
}
|
||||
|
||||
// AppendIRI appends an IRI value to the back of a list of the property
|
||||
// "interactingObject"
|
||||
func (this *GoToSocialInteractingObjectProperty) AppendIRI(v *url.URL) {
|
||||
this.properties = append(this.properties, &GoToSocialInteractingObjectPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the
|
||||
// property "interactingObject". Invalidates iterators that are traversing
|
||||
// using Prev.
|
||||
func (this *GoToSocialInteractingObjectProperty) AppendXMLSchemaAnyURI(v *url.URL) {
|
||||
this.properties = append(this.properties, &GoToSocialInteractingObjectPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// At returns the property value for the specified index. Panics if the index is
|
||||
// out of bounds.
|
||||
func (this GoToSocialInteractingObjectProperty) At(index int) vocab.GoToSocialInteractingObjectPropertyIterator {
|
||||
return this.properties[index]
|
||||
}
|
||||
|
||||
// Begin returns the first iterator, or nil if empty. Can be used with the
|
||||
// iterator's Next method and this property's End method to iterate from front
|
||||
// to back through all values.
|
||||
func (this GoToSocialInteractingObjectProperty) Begin() vocab.GoToSocialInteractingObjectPropertyIterator {
|
||||
if this.Empty() {
|
||||
return nil
|
||||
} else {
|
||||
return this.properties[0]
|
||||
}
|
||||
}
|
||||
|
||||
// Empty returns returns true if there are no elements.
|
||||
func (this GoToSocialInteractingObjectProperty) Empty() bool {
|
||||
return this.Len() == 0
|
||||
}
|
||||
|
||||
// End returns beyond-the-last iterator, which is nil. Can be used with the
|
||||
// iterator's Next method and this property's Begin method to iterate from
|
||||
// front to back through all values.
|
||||
func (this GoToSocialInteractingObjectProperty) End() vocab.GoToSocialInteractingObjectPropertyIterator {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Insert inserts an IRI value at the specified index for a property
|
||||
// "interactingObject". Existing elements at that index and higher are shifted
|
||||
// back once. Invalidates all iterators.
|
||||
func (this *GoToSocialInteractingObjectProperty) InsertIRI(idx int, v *url.URL) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &GoToSocialInteractingObjectPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a
|
||||
// property "interactingObject". Existing elements at that index and higher
|
||||
// are shifted back once. Invalidates all iterators.
|
||||
func (this *GoToSocialInteractingObjectProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &GoToSocialInteractingObjectPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// 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.
|
||||
func (this GoToSocialInteractingObjectProperty) JSONLDContext() map[string]string {
|
||||
m := map[string]string{"https://gotosocial.org/ns": this.alias}
|
||||
for _, elem := range this.properties {
|
||||
child := elem.JSONLDContext()
|
||||
/*
|
||||
Since the literal maps in this function are determined at
|
||||
code-generation time, this loop should not overwrite an existing key with a
|
||||
new value.
|
||||
*/
|
||||
for k, v := range child {
|
||||
m[k] = v
|
||||
}
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||||
// a leaky API method specifically needed only for alternate implementations
|
||||
// for go-fed. Applications should not use this method. Panics if the index is
|
||||
// out of bounds.
|
||||
func (this GoToSocialInteractingObjectProperty) KindIndex(idx int) int {
|
||||
return this.properties[idx].KindIndex()
|
||||
}
|
||||
|
||||
// Len returns the number of values that exist for the "interactingObject"
|
||||
// property.
|
||||
func (this GoToSocialInteractingObjectProperty) Len() (length int) {
|
||||
return len(this.properties)
|
||||
}
|
||||
|
||||
// Less computes whether another property is less than this one. Mixing types
|
||||
// results in a consistent but arbitrary ordering
|
||||
func (this GoToSocialInteractingObjectProperty) Less(i, j int) bool {
|
||||
idx1 := this.KindIndex(i)
|
||||
idx2 := this.KindIndex(j)
|
||||
if idx1 < idx2 {
|
||||
return true
|
||||
} else if idx1 == idx2 {
|
||||
if idx1 == 0 {
|
||||
lhs := this.properties[i].Get()
|
||||
rhs := this.properties[j].Get()
|
||||
return anyuri.LessAnyURI(lhs, rhs)
|
||||
} else if idx1 == -2 {
|
||||
lhs := this.properties[i].GetIRI()
|
||||
rhs := this.properties[j].GetIRI()
|
||||
return lhs.String() < rhs.String()
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// LessThan compares two instances of this property with an arbitrary but stable
|
||||
// comparison. Applications should not use this because it is only meant to
|
||||
// help alternative implementations to go-fed to be able to normalize
|
||||
// nonfunctional properties.
|
||||
func (this GoToSocialInteractingObjectProperty) LessThan(o vocab.GoToSocialInteractingObjectProperty) bool {
|
||||
l1 := this.Len()
|
||||
l2 := o.Len()
|
||||
l := l1
|
||||
if l2 < l1 {
|
||||
l = l2
|
||||
}
|
||||
for i := 0; i < l; i++ {
|
||||
if this.properties[i].LessThan(o.At(i)) {
|
||||
return true
|
||||
} else if o.At(i).LessThan(this.properties[i]) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return l1 < l2
|
||||
}
|
||||
|
||||
// Name returns the name of this property ("interactingObject") with any alias.
|
||||
func (this GoToSocialInteractingObjectProperty) Name() string {
|
||||
if len(this.alias) > 0 {
|
||||
return this.alias + ":" + "interactingObject"
|
||||
} else {
|
||||
return "interactingObject"
|
||||
}
|
||||
}
|
||||
|
||||
// PrependIRI prepends an IRI value to the front of a list of the property
|
||||
// "interactingObject".
|
||||
func (this *GoToSocialInteractingObjectProperty) PrependIRI(v *url.URL) {
|
||||
this.properties = append([]*GoToSocialInteractingObjectPropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the
|
||||
// property "interactingObject". Invalidates all iterators.
|
||||
func (this *GoToSocialInteractingObjectProperty) PrependXMLSchemaAnyURI(v *url.URL) {
|
||||
this.properties = append([]*GoToSocialInteractingObjectPropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// Remove deletes an element at the specified index from a list of the property
|
||||
// "interactingObject", regardless of its type. Panics if the index is out of
|
||||
// bounds. Invalidates all iterators.
|
||||
func (this *GoToSocialInteractingObjectProperty) Remove(idx int) {
|
||||
(this.properties)[idx].parent = nil
|
||||
copy((this.properties)[idx:], (this.properties)[idx+1:])
|
||||
(this.properties)[len(this.properties)-1] = &GoToSocialInteractingObjectPropertyIterator{}
|
||||
this.properties = (this.properties)[:len(this.properties)-1]
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// Serialize converts this into an interface representation suitable for
|
||||
// marshalling into a text or binary format. Applications should not need this
|
||||
// function as most typical use cases serialize types instead of individual
|
||||
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||||
func (this GoToSocialInteractingObjectProperty) Serialize() (interface{}, error) {
|
||||
s := make([]interface{}, 0, len(this.properties))
|
||||
for _, iterator := range this.properties {
|
||||
if b, err := iterator.serialize(); err != nil {
|
||||
return s, err
|
||||
} else {
|
||||
s = append(s, b)
|
||||
}
|
||||
}
|
||||
// Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
|
||||
if len(s) == 1 {
|
||||
return s[0], nil
|
||||
}
|
||||
return s, nil
|
||||
}
|
||||
|
||||
// Set sets a anyURI value to be at the specified index for the property
|
||||
// "interactingObject". Panics if the index is out of bounds. Invalidates all
|
||||
// iterators.
|
||||
func (this *GoToSocialInteractingObjectProperty) Set(idx int, v *url.URL) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &GoToSocialInteractingObjectPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// SetIRI sets an IRI value to be at the specified index for the property
|
||||
// "interactingObject". Panics if the index is out of bounds.
|
||||
func (this *GoToSocialInteractingObjectProperty) SetIRI(idx int, v *url.URL) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &GoToSocialInteractingObjectPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// Swap swaps the location of values at two indices for the "interactingObject"
|
||||
// property.
|
||||
func (this GoToSocialInteractingObjectProperty) Swap(i, j int) {
|
||||
this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
|
||||
}
|
||||
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_doc.go
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package propertyinteractiontarget contains the implementation for the
|
||||
// interactionTarget property. All applications are strongly encouraged to use
|
||||
// the interface instead of this concrete definition. The interfaces allow
|
||||
// applications to consume only the types and properties needed and be
|
||||
// independent of the go-fed implementation if another alternative
|
||||
// implementation is created. This package is code-generated and subject to
|
||||
// the same license as the go-fed tool used to generate it.
|
||||
//
|
||||
// This package is independent of other types' and properties' implementations
|
||||
// by having a Manager injected into it to act as a factory for the concrete
|
||||
// implementations. The implementations have been generated into their own
|
||||
// separate subpackages for each vocabulary.
|
||||
//
|
||||
// Strongly consider using the interfaces instead of this package.
|
||||
package propertyinteractiontarget
|
||||
15
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go
generated
vendored
Normal file
15
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_interactiontarget/gen_pkg.go
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertyinteractiontarget
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface{}
|
||||
|
||||
// SetManager sets the manager package-global variable. For internal use only, do
|
||||
// not use as part of Application behavior. Must be called at golang init time.
|
||||
func SetManager(m privateManager) {
|
||||
mgr = m
|
||||
}
|
||||
|
|
@ -0,0 +1,511 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertyinteractiontarget
|
||||
|
||||
import (
|
||||
anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
"fmt"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
// GoToSocialInteractionTargetPropertyIterator is an iterator for a property. It
|
||||
// is permitted to be a single nilable value type.
|
||||
type GoToSocialInteractionTargetPropertyIterator struct {
|
||||
xmlschemaAnyURIMember *url.URL
|
||||
unknown interface{}
|
||||
alias string
|
||||
myIdx int
|
||||
parent vocab.GoToSocialInteractionTargetProperty
|
||||
}
|
||||
|
||||
// NewGoToSocialInteractionTargetPropertyIterator creates a new
|
||||
// GoToSocialInteractionTarget property.
|
||||
func NewGoToSocialInteractionTargetPropertyIterator() *GoToSocialInteractionTargetPropertyIterator {
|
||||
return &GoToSocialInteractionTargetPropertyIterator{alias: ""}
|
||||
}
|
||||
|
||||
// deserializeGoToSocialInteractionTargetPropertyIterator creates an iterator from
|
||||
// an element that has been unmarshalled from a text or binary format.
|
||||
func deserializeGoToSocialInteractionTargetPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialInteractionTargetPropertyIterator, error) {
|
||||
alias := ""
|
||||
if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
|
||||
alias = a
|
||||
}
|
||||
if v, err := anyuri.DeserializeAnyURI(i); err == nil {
|
||||
this := &GoToSocialInteractionTargetPropertyIterator{
|
||||
alias: alias,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
this := &GoToSocialInteractionTargetPropertyIterator{
|
||||
alias: alias,
|
||||
unknown: i,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
|
||||
// Get returns the value of this property. When IsXMLSchemaAnyURI returns false,
|
||||
// Get will return any arbitrary value.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) Get() *url.URL {
|
||||
return this.xmlschemaAnyURIMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return any arbitrary value.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) GetIRI() *url.URL {
|
||||
return this.xmlschemaAnyURIMember
|
||||
}
|
||||
|
||||
// HasAny returns true if the value or IRI is set.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) HasAny() bool {
|
||||
return this.IsXMLSchemaAnyURI()
|
||||
}
|
||||
|
||||
// IsIRI returns true if this property is an IRI.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) IsIRI() bool {
|
||||
return this.xmlschemaAnyURIMember != nil
|
||||
}
|
||||
|
||||
// IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) IsXMLSchemaAnyURI() bool {
|
||||
return this.xmlschemaAnyURIMember != 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.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) JSONLDContext() map[string]string {
|
||||
m := map[string]string{"https://gotosocial.org/ns": this.alias}
|
||||
var child map[string]string
|
||||
|
||||
/*
|
||||
Since the literal maps in this function are determined at
|
||||
code-generation time, this loop should not overwrite an existing key with a
|
||||
new value.
|
||||
*/
|
||||
for k, v := range child {
|
||||
m[k] = v
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||||
// a leaky API detail only for folks looking to replace the go-fed
|
||||
// implementation. Applications should not use this method.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) KindIndex() int {
|
||||
if this.IsXMLSchemaAnyURI() {
|
||||
return 0
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
return -1
|
||||
}
|
||||
|
||||
// LessThan compares two instances of this property with an arbitrary but stable
|
||||
// comparison. Applications should not use this because it is only meant to
|
||||
// help alternative implementations to go-fed to be able to normalize
|
||||
// nonfunctional properties.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) LessThan(o vocab.GoToSocialInteractionTargetPropertyIterator) bool {
|
||||
if this.IsIRI() {
|
||||
// IRIs are always less than other values, none, or unknowns
|
||||
return true
|
||||
} else if o.IsIRI() {
|
||||
// This other, none, or unknown value is always greater than IRIs
|
||||
return false
|
||||
}
|
||||
// LessThan comparison for the single value or unknown value.
|
||||
if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
|
||||
// Both are unknowns.
|
||||
return false
|
||||
} else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
|
||||
// Values are always greater than unknown values.
|
||||
return false
|
||||
} else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() {
|
||||
// Unknowns are always less than known values.
|
||||
return true
|
||||
} else {
|
||||
// Actual comparison.
|
||||
return anyuri.LessAnyURI(this.Get(), o.Get())
|
||||
}
|
||||
}
|
||||
|
||||
// Name returns the name of this property: "GoToSocialInteractionTarget".
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) Name() string {
|
||||
if len(this.alias) > 0 {
|
||||
return this.alias + ":" + "GoToSocialInteractionTarget"
|
||||
} else {
|
||||
return "GoToSocialInteractionTarget"
|
||||
}
|
||||
}
|
||||
|
||||
// Next returns the next iterator, or nil if there is no next iterator.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) Next() vocab.GoToSocialInteractionTargetPropertyIterator {
|
||||
if this.myIdx+1 >= this.parent.Len() {
|
||||
return nil
|
||||
} else {
|
||||
return this.parent.At(this.myIdx + 1)
|
||||
}
|
||||
}
|
||||
|
||||
// Prev returns the previous iterator, or nil if there is no previous iterator.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) Prev() vocab.GoToSocialInteractionTargetPropertyIterator {
|
||||
if this.myIdx-1 < 0 {
|
||||
return nil
|
||||
} else {
|
||||
return this.parent.At(this.myIdx - 1)
|
||||
}
|
||||
}
|
||||
|
||||
// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will
|
||||
// return true.
|
||||
func (this *GoToSocialInteractionTargetPropertyIterator) Set(v *url.URL) {
|
||||
this.clear()
|
||||
this.xmlschemaAnyURIMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards will return
|
||||
// true.
|
||||
func (this *GoToSocialInteractionTargetPropertyIterator) SetIRI(v *url.URL) {
|
||||
this.clear()
|
||||
this.Set(v)
|
||||
}
|
||||
|
||||
// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI
|
||||
// afterwards will return false.
|
||||
func (this *GoToSocialInteractionTargetPropertyIterator) clear() {
|
||||
this.unknown = nil
|
||||
this.xmlschemaAnyURIMember = nil
|
||||
}
|
||||
|
||||
// serialize converts this into an interface representation suitable for
|
||||
// marshalling into a text or binary format. Applications should not need this
|
||||
// function as most typical use cases serialize types instead of individual
|
||||
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||||
func (this GoToSocialInteractionTargetPropertyIterator) serialize() (interface{}, error) {
|
||||
if this.IsXMLSchemaAnyURI() {
|
||||
return anyuri.SerializeAnyURI(this.Get())
|
||||
}
|
||||
return this.unknown, nil
|
||||
}
|
||||
|
||||
// GoToSocialInteractionTargetProperty is the non-functional property
|
||||
// "interactionTarget". It is permitted to have one or more values, and of
|
||||
// different value types.
|
||||
type GoToSocialInteractionTargetProperty struct {
|
||||
properties []*GoToSocialInteractionTargetPropertyIterator
|
||||
alias string
|
||||
}
|
||||
|
||||
// DeserializeInteractionTargetProperty creates a "interactionTarget" property
|
||||
// from an interface representation that has been unmarshalled from a text or
|
||||
// binary format.
|
||||
func DeserializeInteractionTargetProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialInteractionTargetProperty, error) {
|
||||
alias := ""
|
||||
if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
|
||||
alias = a
|
||||
}
|
||||
propName := "interactionTarget"
|
||||
if len(alias) > 0 {
|
||||
propName = fmt.Sprintf("%s:%s", alias, "interactionTarget")
|
||||
}
|
||||
i, ok := m[propName]
|
||||
|
||||
if ok {
|
||||
this := &GoToSocialInteractionTargetProperty{
|
||||
alias: alias,
|
||||
properties: []*GoToSocialInteractionTargetPropertyIterator{},
|
||||
}
|
||||
if list, ok := i.([]interface{}); ok {
|
||||
for _, iterator := range list {
|
||||
if p, err := deserializeGoToSocialInteractionTargetPropertyIterator(iterator, aliasMap); err != nil {
|
||||
return this, err
|
||||
} else if p != nil {
|
||||
this.properties = append(this.properties, p)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if p, err := deserializeGoToSocialInteractionTargetPropertyIterator(i, aliasMap); err != nil {
|
||||
return this, err
|
||||
} else if p != nil {
|
||||
this.properties = append(this.properties, p)
|
||||
}
|
||||
}
|
||||
// Set up the properties for iteration.
|
||||
for idx, ele := range this.properties {
|
||||
ele.parent = this
|
||||
ele.myIdx = idx
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// NewGoToSocialInteractionTargetProperty creates a new interactionTarget property.
|
||||
func NewGoToSocialInteractionTargetProperty() *GoToSocialInteractionTargetProperty {
|
||||
return &GoToSocialInteractionTargetProperty{alias: ""}
|
||||
}
|
||||
|
||||
// AppendIRI appends an IRI value to the back of a list of the property
|
||||
// "interactionTarget"
|
||||
func (this *GoToSocialInteractionTargetProperty) AppendIRI(v *url.URL) {
|
||||
this.properties = append(this.properties, &GoToSocialInteractionTargetPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the
|
||||
// property "interactionTarget". Invalidates iterators that are traversing
|
||||
// using Prev.
|
||||
func (this *GoToSocialInteractionTargetProperty) AppendXMLSchemaAnyURI(v *url.URL) {
|
||||
this.properties = append(this.properties, &GoToSocialInteractionTargetPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// At returns the property value for the specified index. Panics if the index is
|
||||
// out of bounds.
|
||||
func (this GoToSocialInteractionTargetProperty) At(index int) vocab.GoToSocialInteractionTargetPropertyIterator {
|
||||
return this.properties[index]
|
||||
}
|
||||
|
||||
// Begin returns the first iterator, or nil if empty. Can be used with the
|
||||
// iterator's Next method and this property's End method to iterate from front
|
||||
// to back through all values.
|
||||
func (this GoToSocialInteractionTargetProperty) Begin() vocab.GoToSocialInteractionTargetPropertyIterator {
|
||||
if this.Empty() {
|
||||
return nil
|
||||
} else {
|
||||
return this.properties[0]
|
||||
}
|
||||
}
|
||||
|
||||
// Empty returns returns true if there are no elements.
|
||||
func (this GoToSocialInteractionTargetProperty) Empty() bool {
|
||||
return this.Len() == 0
|
||||
}
|
||||
|
||||
// End returns beyond-the-last iterator, which is nil. Can be used with the
|
||||
// iterator's Next method and this property's Begin method to iterate from
|
||||
// front to back through all values.
|
||||
func (this GoToSocialInteractionTargetProperty) End() vocab.GoToSocialInteractionTargetPropertyIterator {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Insert inserts an IRI value at the specified index for a property
|
||||
// "interactionTarget". Existing elements at that index and higher are shifted
|
||||
// back once. Invalidates all iterators.
|
||||
func (this *GoToSocialInteractionTargetProperty) InsertIRI(idx int, v *url.URL) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &GoToSocialInteractionTargetPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a
|
||||
// property "interactionTarget". Existing elements at that index and higher
|
||||
// are shifted back once. Invalidates all iterators.
|
||||
func (this *GoToSocialInteractionTargetProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &GoToSocialInteractionTargetPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// 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.
|
||||
func (this GoToSocialInteractionTargetProperty) JSONLDContext() map[string]string {
|
||||
m := map[string]string{"https://gotosocial.org/ns": this.alias}
|
||||
for _, elem := range this.properties {
|
||||
child := elem.JSONLDContext()
|
||||
/*
|
||||
Since the literal maps in this function are determined at
|
||||
code-generation time, this loop should not overwrite an existing key with a
|
||||
new value.
|
||||
*/
|
||||
for k, v := range child {
|
||||
m[k] = v
|
||||
}
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||||
// a leaky API method specifically needed only for alternate implementations
|
||||
// for go-fed. Applications should not use this method. Panics if the index is
|
||||
// out of bounds.
|
||||
func (this GoToSocialInteractionTargetProperty) KindIndex(idx int) int {
|
||||
return this.properties[idx].KindIndex()
|
||||
}
|
||||
|
||||
// Len returns the number of values that exist for the "interactionTarget"
|
||||
// property.
|
||||
func (this GoToSocialInteractionTargetProperty) Len() (length int) {
|
||||
return len(this.properties)
|
||||
}
|
||||
|
||||
// Less computes whether another property is less than this one. Mixing types
|
||||
// results in a consistent but arbitrary ordering
|
||||
func (this GoToSocialInteractionTargetProperty) Less(i, j int) bool {
|
||||
idx1 := this.KindIndex(i)
|
||||
idx2 := this.KindIndex(j)
|
||||
if idx1 < idx2 {
|
||||
return true
|
||||
} else if idx1 == idx2 {
|
||||
if idx1 == 0 {
|
||||
lhs := this.properties[i].Get()
|
||||
rhs := this.properties[j].Get()
|
||||
return anyuri.LessAnyURI(lhs, rhs)
|
||||
} else if idx1 == -2 {
|
||||
lhs := this.properties[i].GetIRI()
|
||||
rhs := this.properties[j].GetIRI()
|
||||
return lhs.String() < rhs.String()
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// LessThan compares two instances of this property with an arbitrary but stable
|
||||
// comparison. Applications should not use this because it is only meant to
|
||||
// help alternative implementations to go-fed to be able to normalize
|
||||
// nonfunctional properties.
|
||||
func (this GoToSocialInteractionTargetProperty) LessThan(o vocab.GoToSocialInteractionTargetProperty) bool {
|
||||
l1 := this.Len()
|
||||
l2 := o.Len()
|
||||
l := l1
|
||||
if l2 < l1 {
|
||||
l = l2
|
||||
}
|
||||
for i := 0; i < l; i++ {
|
||||
if this.properties[i].LessThan(o.At(i)) {
|
||||
return true
|
||||
} else if o.At(i).LessThan(this.properties[i]) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return l1 < l2
|
||||
}
|
||||
|
||||
// Name returns the name of this property ("interactionTarget") with any alias.
|
||||
func (this GoToSocialInteractionTargetProperty) Name() string {
|
||||
if len(this.alias) > 0 {
|
||||
return this.alias + ":" + "interactionTarget"
|
||||
} else {
|
||||
return "interactionTarget"
|
||||
}
|
||||
}
|
||||
|
||||
// PrependIRI prepends an IRI value to the front of a list of the property
|
||||
// "interactionTarget".
|
||||
func (this *GoToSocialInteractionTargetProperty) PrependIRI(v *url.URL) {
|
||||
this.properties = append([]*GoToSocialInteractionTargetPropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the
|
||||
// property "interactionTarget". Invalidates all iterators.
|
||||
func (this *GoToSocialInteractionTargetProperty) PrependXMLSchemaAnyURI(v *url.URL) {
|
||||
this.properties = append([]*GoToSocialInteractionTargetPropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// Remove deletes an element at the specified index from a list of the property
|
||||
// "interactionTarget", regardless of its type. Panics if the index is out of
|
||||
// bounds. Invalidates all iterators.
|
||||
func (this *GoToSocialInteractionTargetProperty) Remove(idx int) {
|
||||
(this.properties)[idx].parent = nil
|
||||
copy((this.properties)[idx:], (this.properties)[idx+1:])
|
||||
(this.properties)[len(this.properties)-1] = &GoToSocialInteractionTargetPropertyIterator{}
|
||||
this.properties = (this.properties)[:len(this.properties)-1]
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// Serialize converts this into an interface representation suitable for
|
||||
// marshalling into a text or binary format. Applications should not need this
|
||||
// function as most typical use cases serialize types instead of individual
|
||||
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||||
func (this GoToSocialInteractionTargetProperty) Serialize() (interface{}, error) {
|
||||
s := make([]interface{}, 0, len(this.properties))
|
||||
for _, iterator := range this.properties {
|
||||
if b, err := iterator.serialize(); err != nil {
|
||||
return s, err
|
||||
} else {
|
||||
s = append(s, b)
|
||||
}
|
||||
}
|
||||
// Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
|
||||
if len(s) == 1 {
|
||||
return s[0], nil
|
||||
}
|
||||
return s, nil
|
||||
}
|
||||
|
||||
// Set sets a anyURI value to be at the specified index for the property
|
||||
// "interactionTarget". Panics if the index is out of bounds. Invalidates all
|
||||
// iterators.
|
||||
func (this *GoToSocialInteractionTargetProperty) Set(idx int, v *url.URL) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &GoToSocialInteractionTargetPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// SetIRI sets an IRI value to be at the specified index for the property
|
||||
// "interactionTarget". Panics if the index is out of bounds.
|
||||
func (this *GoToSocialInteractionTargetProperty) SetIRI(idx int, v *url.URL) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &GoToSocialInteractionTargetPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// Swap swaps the location of values at two indices for the "interactionTarget"
|
||||
// property.
|
||||
func (this GoToSocialInteractionTargetProperty) Swap(i, j int) {
|
||||
this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
|
||||
}
|
||||
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_doc.go
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package propertymanualapproval contains the implementation for the
|
||||
// manualApproval property. All applications are strongly encouraged to use
|
||||
// the interface instead of this concrete definition. The interfaces allow
|
||||
// applications to consume only the types and properties needed and be
|
||||
// independent of the go-fed implementation if another alternative
|
||||
// implementation is created. This package is code-generated and subject to
|
||||
// the same license as the go-fed tool used to generate it.
|
||||
//
|
||||
// This package is independent of other types' and properties' implementations
|
||||
// by having a Manager injected into it to act as a factory for the concrete
|
||||
// implementations. The implementations have been generated into their own
|
||||
// separate subpackages for each vocabulary.
|
||||
//
|
||||
// Strongly consider using the interfaces instead of this package.
|
||||
package propertymanualapproval
|
||||
15
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go
generated
vendored
Normal file
15
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_pkg.go
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertymanualapproval
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface{}
|
||||
|
||||
// SetManager sets the manager package-global variable. For internal use only, do
|
||||
// not use as part of Application behavior. Must be called at golang init time.
|
||||
func SetManager(m privateManager) {
|
||||
mgr = m
|
||||
}
|
||||
510
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go
generated
vendored
Normal file
510
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/property_manualapproval/gen_property_gotosocial_manualApproval.go
generated
vendored
Normal file
|
|
@ -0,0 +1,510 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package propertymanualapproval
|
||||
|
||||
import (
|
||||
anyuri "codeberg.org/superseriousbusiness/activity/streams/values/anyURI"
|
||||
vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
"fmt"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
// GoToSocialManualApprovalPropertyIterator is an iterator for a property. It is
|
||||
// permitted to be a single nilable value type.
|
||||
type GoToSocialManualApprovalPropertyIterator struct {
|
||||
xmlschemaAnyURIMember *url.URL
|
||||
unknown interface{}
|
||||
alias string
|
||||
myIdx int
|
||||
parent vocab.GoToSocialManualApprovalProperty
|
||||
}
|
||||
|
||||
// NewGoToSocialManualApprovalPropertyIterator creates a new
|
||||
// GoToSocialManualApproval property.
|
||||
func NewGoToSocialManualApprovalPropertyIterator() *GoToSocialManualApprovalPropertyIterator {
|
||||
return &GoToSocialManualApprovalPropertyIterator{alias: ""}
|
||||
}
|
||||
|
||||
// deserializeGoToSocialManualApprovalPropertyIterator creates an iterator from an
|
||||
// element that has been unmarshalled from a text or binary format.
|
||||
func deserializeGoToSocialManualApprovalPropertyIterator(i interface{}, aliasMap map[string]string) (*GoToSocialManualApprovalPropertyIterator, error) {
|
||||
alias := ""
|
||||
if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
|
||||
alias = a
|
||||
}
|
||||
if v, err := anyuri.DeserializeAnyURI(i); err == nil {
|
||||
this := &GoToSocialManualApprovalPropertyIterator{
|
||||
alias: alias,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
this := &GoToSocialManualApprovalPropertyIterator{
|
||||
alias: alias,
|
||||
unknown: i,
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
|
||||
// Get returns the value of this property. When IsXMLSchemaAnyURI returns false,
|
||||
// Get will return any arbitrary value.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) Get() *url.URL {
|
||||
return this.xmlschemaAnyURIMember
|
||||
}
|
||||
|
||||
// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will
|
||||
// return any arbitrary value.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) GetIRI() *url.URL {
|
||||
return this.xmlschemaAnyURIMember
|
||||
}
|
||||
|
||||
// HasAny returns true if the value or IRI is set.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) HasAny() bool {
|
||||
return this.IsXMLSchemaAnyURI()
|
||||
}
|
||||
|
||||
// IsIRI returns true if this property is an IRI.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) IsIRI() bool {
|
||||
return this.xmlschemaAnyURIMember != nil
|
||||
}
|
||||
|
||||
// IsXMLSchemaAnyURI returns true if this property is set and not an IRI.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) IsXMLSchemaAnyURI() bool {
|
||||
return this.xmlschemaAnyURIMember != 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.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) JSONLDContext() map[string]string {
|
||||
m := map[string]string{"https://gotosocial.org/ns": this.alias}
|
||||
var child map[string]string
|
||||
|
||||
/*
|
||||
Since the literal maps in this function are determined at
|
||||
code-generation time, this loop should not overwrite an existing key with a
|
||||
new value.
|
||||
*/
|
||||
for k, v := range child {
|
||||
m[k] = v
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||||
// a leaky API detail only for folks looking to replace the go-fed
|
||||
// implementation. Applications should not use this method.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) KindIndex() int {
|
||||
if this.IsXMLSchemaAnyURI() {
|
||||
return 0
|
||||
}
|
||||
if this.IsIRI() {
|
||||
return -2
|
||||
}
|
||||
return -1
|
||||
}
|
||||
|
||||
// LessThan compares two instances of this property with an arbitrary but stable
|
||||
// comparison. Applications should not use this because it is only meant to
|
||||
// help alternative implementations to go-fed to be able to normalize
|
||||
// nonfunctional properties.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) LessThan(o vocab.GoToSocialManualApprovalPropertyIterator) bool {
|
||||
if this.IsIRI() {
|
||||
// IRIs are always less than other values, none, or unknowns
|
||||
return true
|
||||
} else if o.IsIRI() {
|
||||
// This other, none, or unknown value is always greater than IRIs
|
||||
return false
|
||||
}
|
||||
// LessThan comparison for the single value or unknown value.
|
||||
if !this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
|
||||
// Both are unknowns.
|
||||
return false
|
||||
} else if this.IsXMLSchemaAnyURI() && !o.IsXMLSchemaAnyURI() {
|
||||
// Values are always greater than unknown values.
|
||||
return false
|
||||
} else if !this.IsXMLSchemaAnyURI() && o.IsXMLSchemaAnyURI() {
|
||||
// Unknowns are always less than known values.
|
||||
return true
|
||||
} else {
|
||||
// Actual comparison.
|
||||
return anyuri.LessAnyURI(this.Get(), o.Get())
|
||||
}
|
||||
}
|
||||
|
||||
// Name returns the name of this property: "GoToSocialManualApproval".
|
||||
func (this GoToSocialManualApprovalPropertyIterator) Name() string {
|
||||
if len(this.alias) > 0 {
|
||||
return this.alias + ":" + "GoToSocialManualApproval"
|
||||
} else {
|
||||
return "GoToSocialManualApproval"
|
||||
}
|
||||
}
|
||||
|
||||
// Next returns the next iterator, or nil if there is no next iterator.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) Next() vocab.GoToSocialManualApprovalPropertyIterator {
|
||||
if this.myIdx+1 >= this.parent.Len() {
|
||||
return nil
|
||||
} else {
|
||||
return this.parent.At(this.myIdx + 1)
|
||||
}
|
||||
}
|
||||
|
||||
// Prev returns the previous iterator, or nil if there is no previous iterator.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) Prev() vocab.GoToSocialManualApprovalPropertyIterator {
|
||||
if this.myIdx-1 < 0 {
|
||||
return nil
|
||||
} else {
|
||||
return this.parent.At(this.myIdx - 1)
|
||||
}
|
||||
}
|
||||
|
||||
// Set sets the value of this property. Calling IsXMLSchemaAnyURI afterwards will
|
||||
// return true.
|
||||
func (this *GoToSocialManualApprovalPropertyIterator) Set(v *url.URL) {
|
||||
this.clear()
|
||||
this.xmlschemaAnyURIMember = v
|
||||
}
|
||||
|
||||
// SetIRI sets the value of this property. Calling IsIRI afterwards will return
|
||||
// true.
|
||||
func (this *GoToSocialManualApprovalPropertyIterator) SetIRI(v *url.URL) {
|
||||
this.clear()
|
||||
this.Set(v)
|
||||
}
|
||||
|
||||
// clear ensures no value of this property is set. Calling IsXMLSchemaAnyURI
|
||||
// afterwards will return false.
|
||||
func (this *GoToSocialManualApprovalPropertyIterator) clear() {
|
||||
this.unknown = nil
|
||||
this.xmlschemaAnyURIMember = nil
|
||||
}
|
||||
|
||||
// serialize converts this into an interface representation suitable for
|
||||
// marshalling into a text or binary format. Applications should not need this
|
||||
// function as most typical use cases serialize types instead of individual
|
||||
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||||
func (this GoToSocialManualApprovalPropertyIterator) serialize() (interface{}, error) {
|
||||
if this.IsXMLSchemaAnyURI() {
|
||||
return anyuri.SerializeAnyURI(this.Get())
|
||||
}
|
||||
return this.unknown, nil
|
||||
}
|
||||
|
||||
// GoToSocialManualApprovalProperty is the non-functional property
|
||||
// "manualApproval". It is permitted to have one or more values, and of
|
||||
// different value types.
|
||||
type GoToSocialManualApprovalProperty struct {
|
||||
properties []*GoToSocialManualApprovalPropertyIterator
|
||||
alias string
|
||||
}
|
||||
|
||||
// DeserializeManualApprovalProperty creates a "manualApproval" property from an
|
||||
// interface representation that has been unmarshalled from a text or binary
|
||||
// format.
|
||||
func DeserializeManualApprovalProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.GoToSocialManualApprovalProperty, error) {
|
||||
alias := ""
|
||||
if a, ok := aliasMap["https://gotosocial.org/ns"]; ok {
|
||||
alias = a
|
||||
}
|
||||
propName := "manualApproval"
|
||||
if len(alias) > 0 {
|
||||
propName = fmt.Sprintf("%s:%s", alias, "manualApproval")
|
||||
}
|
||||
i, ok := m[propName]
|
||||
|
||||
if ok {
|
||||
this := &GoToSocialManualApprovalProperty{
|
||||
alias: alias,
|
||||
properties: []*GoToSocialManualApprovalPropertyIterator{},
|
||||
}
|
||||
if list, ok := i.([]interface{}); ok {
|
||||
for _, iterator := range list {
|
||||
if p, err := deserializeGoToSocialManualApprovalPropertyIterator(iterator, aliasMap); err != nil {
|
||||
return this, err
|
||||
} else if p != nil {
|
||||
this.properties = append(this.properties, p)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if p, err := deserializeGoToSocialManualApprovalPropertyIterator(i, aliasMap); err != nil {
|
||||
return this, err
|
||||
} else if p != nil {
|
||||
this.properties = append(this.properties, p)
|
||||
}
|
||||
}
|
||||
// Set up the properties for iteration.
|
||||
for idx, ele := range this.properties {
|
||||
ele.parent = this
|
||||
ele.myIdx = idx
|
||||
}
|
||||
return this, nil
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
// NewGoToSocialManualApprovalProperty creates a new manualApproval property.
|
||||
func NewGoToSocialManualApprovalProperty() *GoToSocialManualApprovalProperty {
|
||||
return &GoToSocialManualApprovalProperty{alias: ""}
|
||||
}
|
||||
|
||||
// AppendIRI appends an IRI value to the back of a list of the property
|
||||
// "manualApproval"
|
||||
func (this *GoToSocialManualApprovalProperty) AppendIRI(v *url.URL) {
|
||||
this.properties = append(this.properties, &GoToSocialManualApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// AppendXMLSchemaAnyURI appends a anyURI value to the back of a list of the
|
||||
// property "manualApproval". Invalidates iterators that are traversing using
|
||||
// Prev.
|
||||
func (this *GoToSocialManualApprovalProperty) AppendXMLSchemaAnyURI(v *url.URL) {
|
||||
this.properties = append(this.properties, &GoToSocialManualApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: this.Len(),
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
})
|
||||
}
|
||||
|
||||
// At returns the property value for the specified index. Panics if the index is
|
||||
// out of bounds.
|
||||
func (this GoToSocialManualApprovalProperty) At(index int) vocab.GoToSocialManualApprovalPropertyIterator {
|
||||
return this.properties[index]
|
||||
}
|
||||
|
||||
// Begin returns the first iterator, or nil if empty. Can be used with the
|
||||
// iterator's Next method and this property's End method to iterate from front
|
||||
// to back through all values.
|
||||
func (this GoToSocialManualApprovalProperty) Begin() vocab.GoToSocialManualApprovalPropertyIterator {
|
||||
if this.Empty() {
|
||||
return nil
|
||||
} else {
|
||||
return this.properties[0]
|
||||
}
|
||||
}
|
||||
|
||||
// Empty returns returns true if there are no elements.
|
||||
func (this GoToSocialManualApprovalProperty) Empty() bool {
|
||||
return this.Len() == 0
|
||||
}
|
||||
|
||||
// End returns beyond-the-last iterator, which is nil. Can be used with the
|
||||
// iterator's Next method and this property's Begin method to iterate from
|
||||
// front to back through all values.
|
||||
func (this GoToSocialManualApprovalProperty) End() vocab.GoToSocialManualApprovalPropertyIterator {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Insert inserts an IRI value at the specified index for a property
|
||||
// "manualApproval". Existing elements at that index and higher are shifted
|
||||
// back once. Invalidates all iterators.
|
||||
func (this *GoToSocialManualApprovalProperty) InsertIRI(idx int, v *url.URL) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &GoToSocialManualApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// InsertXMLSchemaAnyURI inserts a anyURI value at the specified index for a
|
||||
// property "manualApproval". Existing elements at that index and higher are
|
||||
// shifted back once. Invalidates all iterators.
|
||||
func (this *GoToSocialManualApprovalProperty) InsertXMLSchemaAnyURI(idx int, v *url.URL) {
|
||||
this.properties = append(this.properties, nil)
|
||||
copy(this.properties[idx+1:], this.properties[idx:])
|
||||
this.properties[idx] = &GoToSocialManualApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// 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.
|
||||
func (this GoToSocialManualApprovalProperty) JSONLDContext() map[string]string {
|
||||
m := map[string]string{"https://gotosocial.org/ns": this.alias}
|
||||
for _, elem := range this.properties {
|
||||
child := elem.JSONLDContext()
|
||||
/*
|
||||
Since the literal maps in this function are determined at
|
||||
code-generation time, this loop should not overwrite an existing key with a
|
||||
new value.
|
||||
*/
|
||||
for k, v := range child {
|
||||
m[k] = v
|
||||
}
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// KindIndex computes an arbitrary value for indexing this kind of value. This is
|
||||
// a leaky API method specifically needed only for alternate implementations
|
||||
// for go-fed. Applications should not use this method. Panics if the index is
|
||||
// out of bounds.
|
||||
func (this GoToSocialManualApprovalProperty) KindIndex(idx int) int {
|
||||
return this.properties[idx].KindIndex()
|
||||
}
|
||||
|
||||
// Len returns the number of values that exist for the "manualApproval" property.
|
||||
func (this GoToSocialManualApprovalProperty) Len() (length int) {
|
||||
return len(this.properties)
|
||||
}
|
||||
|
||||
// Less computes whether another property is less than this one. Mixing types
|
||||
// results in a consistent but arbitrary ordering
|
||||
func (this GoToSocialManualApprovalProperty) Less(i, j int) bool {
|
||||
idx1 := this.KindIndex(i)
|
||||
idx2 := this.KindIndex(j)
|
||||
if idx1 < idx2 {
|
||||
return true
|
||||
} else if idx1 == idx2 {
|
||||
if idx1 == 0 {
|
||||
lhs := this.properties[i].Get()
|
||||
rhs := this.properties[j].Get()
|
||||
return anyuri.LessAnyURI(lhs, rhs)
|
||||
} else if idx1 == -2 {
|
||||
lhs := this.properties[i].GetIRI()
|
||||
rhs := this.properties[j].GetIRI()
|
||||
return lhs.String() < rhs.String()
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// LessThan compares two instances of this property with an arbitrary but stable
|
||||
// comparison. Applications should not use this because it is only meant to
|
||||
// help alternative implementations to go-fed to be able to normalize
|
||||
// nonfunctional properties.
|
||||
func (this GoToSocialManualApprovalProperty) LessThan(o vocab.GoToSocialManualApprovalProperty) bool {
|
||||
l1 := this.Len()
|
||||
l2 := o.Len()
|
||||
l := l1
|
||||
if l2 < l1 {
|
||||
l = l2
|
||||
}
|
||||
for i := 0; i < l; i++ {
|
||||
if this.properties[i].LessThan(o.At(i)) {
|
||||
return true
|
||||
} else if o.At(i).LessThan(this.properties[i]) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return l1 < l2
|
||||
}
|
||||
|
||||
// Name returns the name of this property ("manualApproval") with any alias.
|
||||
func (this GoToSocialManualApprovalProperty) Name() string {
|
||||
if len(this.alias) > 0 {
|
||||
return this.alias + ":" + "manualApproval"
|
||||
} else {
|
||||
return "manualApproval"
|
||||
}
|
||||
}
|
||||
|
||||
// PrependIRI prepends an IRI value to the front of a list of the property
|
||||
// "manualApproval".
|
||||
func (this *GoToSocialManualApprovalProperty) PrependIRI(v *url.URL) {
|
||||
this.properties = append([]*GoToSocialManualApprovalPropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// PrependXMLSchemaAnyURI prepends a anyURI value to the front of a list of the
|
||||
// property "manualApproval". Invalidates all iterators.
|
||||
func (this *GoToSocialManualApprovalProperty) PrependXMLSchemaAnyURI(v *url.URL) {
|
||||
this.properties = append([]*GoToSocialManualApprovalPropertyIterator{{
|
||||
alias: this.alias,
|
||||
myIdx: 0,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}}, this.properties...)
|
||||
for i := 1; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// Remove deletes an element at the specified index from a list of the property
|
||||
// "manualApproval", regardless of its type. Panics if the index is out of
|
||||
// bounds. Invalidates all iterators.
|
||||
func (this *GoToSocialManualApprovalProperty) Remove(idx int) {
|
||||
(this.properties)[idx].parent = nil
|
||||
copy((this.properties)[idx:], (this.properties)[idx+1:])
|
||||
(this.properties)[len(this.properties)-1] = &GoToSocialManualApprovalPropertyIterator{}
|
||||
this.properties = (this.properties)[:len(this.properties)-1]
|
||||
for i := idx; i < this.Len(); i++ {
|
||||
(this.properties)[i].myIdx = i
|
||||
}
|
||||
}
|
||||
|
||||
// Serialize converts this into an interface representation suitable for
|
||||
// marshalling into a text or binary format. Applications should not need this
|
||||
// function as most typical use cases serialize types instead of individual
|
||||
// properties. It is exposed for alternatives to go-fed implementations to use.
|
||||
func (this GoToSocialManualApprovalProperty) Serialize() (interface{}, error) {
|
||||
s := make([]interface{}, 0, len(this.properties))
|
||||
for _, iterator := range this.properties {
|
||||
if b, err := iterator.serialize(); err != nil {
|
||||
return s, err
|
||||
} else {
|
||||
s = append(s, b)
|
||||
}
|
||||
}
|
||||
// Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example.
|
||||
if len(s) == 1 {
|
||||
return s[0], nil
|
||||
}
|
||||
return s, nil
|
||||
}
|
||||
|
||||
// Set sets a anyURI value to be at the specified index for the property
|
||||
// "manualApproval". Panics if the index is out of bounds. Invalidates all
|
||||
// iterators.
|
||||
func (this *GoToSocialManualApprovalProperty) Set(idx int, v *url.URL) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &GoToSocialManualApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// SetIRI sets an IRI value to be at the specified index for the property
|
||||
// "manualApproval". Panics if the index is out of bounds.
|
||||
func (this *GoToSocialManualApprovalProperty) SetIRI(idx int, v *url.URL) {
|
||||
(this.properties)[idx].parent = nil
|
||||
(this.properties)[idx] = &GoToSocialManualApprovalPropertyIterator{
|
||||
alias: this.alias,
|
||||
myIdx: idx,
|
||||
parent: this,
|
||||
xmlschemaAnyURIMember: v,
|
||||
}
|
||||
}
|
||||
|
||||
// Swap swaps the location of values at two indices for the "manualApproval"
|
||||
// property.
|
||||
func (this GoToSocialManualApprovalProperty) Swap(i, j int) {
|
||||
this.properties[i], this.properties[j] = this.properties[j], this.properties[i]
|
||||
}
|
||||
|
|
@ -8,6 +8,7 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
// DEPRECATED: Use `AnnounceAuthorization` instead.
|
||||
type GoToSocialAnnounceApproval struct {
|
||||
ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty
|
||||
ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty
|
||||
|
|
|
|||
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go
generated
vendored
Normal file
17
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_doc.go
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
// Package typeannounceauthorization contains the implementation for the
|
||||
// AnnounceAuthorization type. All applications are strongly encouraged to use
|
||||
// the interface instead of this concrete definition. The interfaces allow
|
||||
// applications to consume only the types and properties needed and be
|
||||
// independent of the go-fed implementation if another alternative
|
||||
// implementation is created. This package is code-generated and subject to
|
||||
// the same license as the go-fed tool used to generate it.
|
||||
//
|
||||
// This package is independent of other types' and properties' implementations
|
||||
// by having a Manager injected into it to act as a factory for the concrete
|
||||
// implementations. The implementations have been generated into their own
|
||||
// separate subpackages for each vocabulary.
|
||||
//
|
||||
// Strongly consider using the interfaces instead of this package.
|
||||
package typeannounceauthorization
|
||||
189
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go
generated
vendored
Normal file
189
vendor/codeberg.org/superseriousbusiness/activity/streams/impl/gotosocial/type_announceauthorization/gen_pkg.go
generated
vendored
Normal file
|
|
@ -0,0 +1,189 @@
|
|||
// Code generated by astool. DO NOT EDIT.
|
||||
|
||||
package typeannounceauthorization
|
||||
|
||||
import vocab "codeberg.org/superseriousbusiness/activity/streams/vocab"
|
||||
|
||||
var mgr privateManager
|
||||
|
||||
var typePropertyConstructor func() vocab.JSONLDTypeProperty
|
||||
|
||||
// privateManager abstracts the code-generated manager that provides access to
|
||||
// concrete implementations.
|
||||
type privateManager interface {
|
||||
// DeserializeAltitudePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAltitudeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
|
||||
// DeserializeAttachmentPropertyActivityStreams returns the
|
||||
// deserialization method for the "ActivityStreamsAttachmentProperty"
|
||||
// non-functional property in the vocabulary "ActivityStreams"
|
||||
DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
|
||||
// DeserializeAttributedToPropertyActivityStreams returns the
|
||||
// deserialization method for the
|
||||
// "ActivityStreamsAttributedToProperty" non-functional property in
|
||||
// the vocabulary "ActivityStreams"
|
||||
DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
|
||||
// DeserializeAudiencePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsAudienceProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
|
||||
// DeserializeBccPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsBccProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
|
||||
// DeserializeBtoPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsBtoProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
|
||||
// DeserializeCcPropertyActivityStreams returns the deserialization method
|
||||
// for the "ActivityStreamsCcProperty" non-functional property in the
|
||||
// vocabulary "ActivityStreams"
|
||||
DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
|
||||
// DeserializeContentPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsContentProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
|
||||
// DeserializeContextPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsContextProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
|
||||
// DeserializeDurationPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsDurationProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
|
||||
// DeserializeEndTimePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
||||
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
|
||||
// DeserializeIconPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsIconProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
|
||||
// DeserializeIdPropertyJSONLD returns the deserialization method for the
|
||||
// "JSONLDIdProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error)
|
||||
// DeserializeImagePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsImageProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
|
||||
// DeserializeInReplyToPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsInReplyToProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
|
||||
// DeserializeInteractingObjectPropertyGoToSocial returns the
|
||||
// deserialization method for the
|
||||
// "GoToSocialInteractingObjectProperty" non-functional property in
|
||||
// the vocabulary "GoToSocial"
|
||||
DeserializeInteractingObjectPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractingObjectProperty, error)
|
||||
// DeserializeInteractionTargetPropertyGoToSocial returns the
|
||||
// deserialization method for the
|
||||
// "GoToSocialInteractionTargetProperty" non-functional property in
|
||||
// the vocabulary "GoToSocial"
|
||||
DeserializeInteractionTargetPropertyGoToSocial() func(map[string]interface{}, map[string]string) (vocab.GoToSocialInteractionTargetProperty, error)
|
||||
// DeserializeLikesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLikesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
|
||||
// DeserializeLocationPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsLocationProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
|
||||
// DeserializeMediaTypePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsMediaTypeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
|
||||
// DeserializeNamePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsNameProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
|
||||
// DeserializeObjectPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsObjectProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
|
||||
// DeserializePreviewPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsPreviewProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
|
||||
// DeserializePublishedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsPublishedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
|
||||
// DeserializeRepliesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsRepliesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
|
||||
// DeserializeSensitivePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSensitiveProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error)
|
||||
// DeserializeSharesPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSharesProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
|
||||
// DeserializeSourcePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSourceProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error)
|
||||
// DeserializeStartTimePropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsStartTimeProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
|
||||
// DeserializeSummaryPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsSummaryProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
|
||||
// DeserializeTagPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsTagProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, 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)
|
||||
// DeserializeTypePropertyJSONLD returns the deserialization method for
|
||||
// the "JSONLDTypeProperty" non-functional property in the vocabulary
|
||||
// "JSONLD"
|
||||
DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error)
|
||||
// DeserializeUpdatedPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsUpdatedProperty" non-functional
|
||||
// property in the vocabulary "ActivityStreams"
|
||||
DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
|
||||
// DeserializeUrlPropertyActivityStreams returns the deserialization
|
||||
// method for the "ActivityStreamsUrlProperty" non-functional property
|
||||
// in the vocabulary "ActivityStreams"
|
||||
DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
|
||||
}
|
||||
|
||||
// jsonldContexter is a private interface to determine the JSON-LD contexts and
|
||||
// aliases needed for functional and non-functional properties. It is a helper
|
||||
// interface for this implementation.
|
||||
type jsonldContexter interface {
|
||||
// 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.
|
||||
JSONLDContext() map[string]string
|
||||
}
|
||||
|
||||
// SetManager sets the manager package-global variable. For internal use only, do
|
||||
// not use as part of Application behavior. Must be called at golang init time.
|
||||
func SetManager(m privateManager) {
|
||||
mgr = m
|
||||
}
|
||||
|
||||
// SetTypePropertyConstructor sets the "type" property's constructor in the
|
||||
// package-global variable. For internal use only, do not use as part of
|
||||
// Application behavior. Must be called at golang init time. Permits
|
||||
// ActivityStreams types to correctly set their "type" property at
|
||||
// construction time, so users don't have to remember to do so each time. It
|
||||
// is dependency injected so other go-fed compatible implementations could
|
||||
// inject their own type.
|
||||
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) {
|
||||
typePropertyConstructor = f
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue