2019-01-30 06:28:40 +09:00
|
|
|
package typecollectionpage
|
|
|
|
|
|
|
|
import vocab "github.com/go-fed/activity/streams/vocab"
|
|
|
|
|
|
|
|
var mgr privateManager
|
|
|
|
|
2019-02-10 05:56:00 +09:00
|
|
|
var typePropertyConstructor func() vocab.ActivityStreamsTypeProperty
|
2019-02-07 04:28:32 +09:00
|
|
|
|
2019-01-30 06:28:40 +09:00
|
|
|
// privateManager abstracts the code-generated manager that provides access to
|
|
|
|
// concrete implementations.
|
|
|
|
type privateManager interface {
|
|
|
|
// DeserializeAltitudePropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsAltitudeProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeAttachmentPropertyActivityStreams returns the
|
2019-02-10 05:56:00 +09:00
|
|
|
// deserialization method for the "ActivityStreamsAttachmentProperty"
|
2019-01-30 06:28:40 +09:00
|
|
|
// non-functional property in the vocabulary "ActivityStreams"
|
2019-02-10 05:56:00 +09:00
|
|
|
DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeAttributedToPropertyActivityStreams returns the
|
2019-02-10 05:56:00 +09:00
|
|
|
// deserialization method for the
|
|
|
|
// "ActivityStreamsAttributedToProperty" non-functional property in
|
|
|
|
// the vocabulary "ActivityStreams"
|
|
|
|
DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeAudiencePropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsAudienceProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeBccPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsBccProperty" non-functional property
|
|
|
|
// in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeBtoPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsBtoProperty" non-functional property
|
|
|
|
// in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeCcPropertyActivityStreams returns the deserialization method
|
2019-02-10 05:56:00 +09:00
|
|
|
// for the "ActivityStreamsCcProperty" non-functional property in the
|
2019-01-30 06:28:40 +09:00
|
|
|
// vocabulary "ActivityStreams"
|
2019-02-10 05:56:00 +09:00
|
|
|
DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeContentPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsContentProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeContextPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsContextProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeCurrentPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsCurrentProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeCurrentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCurrentProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeDurationPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsDurationProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeEndTimePropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsEndTimeProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeFirstPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsFirstProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeFirstPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFirstProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeGeneratorPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsGeneratorProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeIconPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsIconProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeIdPropertyActivityStreams returns the deserialization method
|
2019-02-10 05:56:00 +09:00
|
|
|
// for the "ActivityStreamsIdProperty" non-functional property in the
|
2019-01-30 06:28:40 +09:00
|
|
|
// vocabulary "ActivityStreams"
|
2019-02-10 05:56:00 +09:00
|
|
|
DeserializeIdPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIdProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeImagePropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsImageProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeInReplyToPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsInReplyToProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeItemsPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsItemsProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeItemsPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsItemsProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeLastPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsLastProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeLastPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLastProperty, error)
|
2019-02-06 08:26:21 +09:00
|
|
|
// DeserializeLikesPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsLikesProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeLocationPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsLocationProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeMediaTypePropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsMediaTypeProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeNamePropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsNameProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeNextPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsNextProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeNextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNextProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeObjectPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsObjectProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializePartOfPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsPartOfProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializePartOfPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPartOfProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializePrevPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsPrevProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializePrevPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPrevProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializePreviewPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsPreviewProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializePublishedPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsPublishedProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeRepliesPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsRepliesProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error)
|
2019-02-06 08:26:21 +09:00
|
|
|
// DeserializeSharesPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsSharesProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeStartTimePropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsStartTimeProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeSummaryPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsSummaryProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeTagPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsTagProperty" non-functional property
|
|
|
|
// in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeToPropertyActivityStreams returns the deserialization method
|
2019-02-10 05:56:00 +09:00
|
|
|
// for the "ActivityStreamsToProperty" non-functional property in the
|
2019-01-30 06:28:40 +09:00
|
|
|
// vocabulary "ActivityStreams"
|
2019-02-10 05:56:00 +09:00
|
|
|
DeserializeToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsToProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeTotalItemsPropertyActivityStreams returns the
|
2019-02-10 05:56:00 +09:00
|
|
|
// deserialization method for the "ActivityStreamsTotalItemsProperty"
|
2019-01-30 06:28:40 +09:00
|
|
|
// non-functional property in the vocabulary "ActivityStreams"
|
2019-02-10 05:56:00 +09:00
|
|
|
DeserializeTotalItemsPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTotalItemsProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeTypePropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsTypeProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTypeProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeUpdatedPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsUpdatedProperty" non-functional
|
|
|
|
// property in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
// DeserializeUrlPropertyActivityStreams returns the deserialization
|
2019-02-10 05:56:00 +09:00
|
|
|
// method for the "ActivityStreamsUrlProperty" non-functional property
|
|
|
|
// in the vocabulary "ActivityStreams"
|
|
|
|
DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error)
|
2019-01-30 06:28:40 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
// 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
|
|
|
|
}
|
2019-02-07 04:28:32 +09:00
|
|
|
|
|
|
|
// 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.
|
2019-02-10 05:56:00 +09:00
|
|
|
func SetTypePropertyConstructor(f func() vocab.ActivityStreamsTypeProperty) {
|
2019-02-07 04:28:32 +09:00
|
|
|
typePropertyConstructor = f
|
|
|
|
}
|