Documentation
¶
Overview ¶
Package typecommit contains the implementation for the Commit 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.
Index ¶
- func CommitIsDisjointWith(other vocab.Type) bool
- func CommitIsExtendedBy(other vocab.Type) bool
- func ForgeFedCommitExtends(other vocab.Type) bool
- func IsOrExtendsCommit(other vocab.Type) bool
- func SetManager(m privateManager)
- func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
- type ForgeFedCommit
- func (this ForgeFedCommit) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
- func (this ForgeFedCommit) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
- func (this ForgeFedCommit) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
- func (this ForgeFedCommit) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
- func (this ForgeFedCommit) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
- func (this ForgeFedCommit) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
- func (this ForgeFedCommit) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
- func (this ForgeFedCommit) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
- func (this ForgeFedCommit) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
- func (this ForgeFedCommit) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
- func (this ForgeFedCommit) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
- func (this ForgeFedCommit) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
- func (this ForgeFedCommit) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
- func (this ForgeFedCommit) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
- func (this ForgeFedCommit) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
- func (this ForgeFedCommit) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
- func (this ForgeFedCommit) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
- func (this ForgeFedCommit) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
- func (this ForgeFedCommit) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
- func (this ForgeFedCommit) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
- func (this ForgeFedCommit) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
- func (this ForgeFedCommit) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
- func (this ForgeFedCommit) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
- func (this ForgeFedCommit) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
- func (this ForgeFedCommit) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
- func (this ForgeFedCommit) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
- func (this ForgeFedCommit) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
- func (this ForgeFedCommit) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
- func (this ForgeFedCommit) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
- func (this ForgeFedCommit) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
- func (this ForgeFedCommit) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
- func (this ForgeFedCommit) GetForgeFedCommitted() vocab.ForgeFedCommittedProperty
- func (this ForgeFedCommit) GetForgeFedCommittedBy() vocab.ForgeFedCommittedByProperty
- func (this ForgeFedCommit) GetForgeFedDescription() vocab.ForgeFedDescriptionProperty
- func (this ForgeFedCommit) GetForgeFedFilesAdded() vocab.ForgeFedFilesAddedProperty
- func (this ForgeFedCommit) GetForgeFedFilesModified() vocab.ForgeFedFilesModifiedProperty
- func (this ForgeFedCommit) GetForgeFedFilesRemoved() vocab.ForgeFedFilesRemovedProperty
- func (this ForgeFedCommit) GetForgeFedHash() vocab.ForgeFedHashProperty
- func (this ForgeFedCommit) GetForgeFedTeam() vocab.ForgeFedTeamProperty
- func (this ForgeFedCommit) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
- func (this ForgeFedCommit) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
- func (this ForgeFedCommit) GetJSONLDId() vocab.JSONLDIdProperty
- func (this ForgeFedCommit) GetJSONLDType() vocab.JSONLDTypeProperty
- func (this ForgeFedCommit) GetTypeName() string
- func (this ForgeFedCommit) GetUnknownProperties() map[string]interface{}
- func (this ForgeFedCommit) IsExtending(other vocab.Type) bool
- func (this ForgeFedCommit) JSONLDContext() map[string]string
- func (this ForgeFedCommit) LessThan(o vocab.ForgeFedCommit) bool
- func (this ForgeFedCommit) Serialize() (map[string]interface{}, error)
- func (this *ForgeFedCommit) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
- func (this *ForgeFedCommit) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
- func (this *ForgeFedCommit) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
- func (this *ForgeFedCommit) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
- func (this *ForgeFedCommit) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
- func (this *ForgeFedCommit) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
- func (this *ForgeFedCommit) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
- func (this *ForgeFedCommit) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
- func (this *ForgeFedCommit) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
- func (this *ForgeFedCommit) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
- func (this *ForgeFedCommit) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
- func (this *ForgeFedCommit) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
- func (this *ForgeFedCommit) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
- func (this *ForgeFedCommit) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
- func (this *ForgeFedCommit) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
- func (this *ForgeFedCommit) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
- func (this *ForgeFedCommit) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
- func (this *ForgeFedCommit) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
- func (this *ForgeFedCommit) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
- func (this *ForgeFedCommit) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
- func (this *ForgeFedCommit) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
- func (this *ForgeFedCommit) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
- func (this *ForgeFedCommit) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
- func (this *ForgeFedCommit) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
- func (this *ForgeFedCommit) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
- func (this *ForgeFedCommit) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
- func (this *ForgeFedCommit) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
- func (this *ForgeFedCommit) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
- func (this *ForgeFedCommit) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
- func (this *ForgeFedCommit) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
- func (this *ForgeFedCommit) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
- func (this *ForgeFedCommit) SetForgeFedCommitted(i vocab.ForgeFedCommittedProperty)
- func (this *ForgeFedCommit) SetForgeFedCommittedBy(i vocab.ForgeFedCommittedByProperty)
- func (this *ForgeFedCommit) SetForgeFedDescription(i vocab.ForgeFedDescriptionProperty)
- func (this *ForgeFedCommit) SetForgeFedFilesAdded(i vocab.ForgeFedFilesAddedProperty)
- func (this *ForgeFedCommit) SetForgeFedFilesModified(i vocab.ForgeFedFilesModifiedProperty)
- func (this *ForgeFedCommit) SetForgeFedFilesRemoved(i vocab.ForgeFedFilesRemovedProperty)
- func (this *ForgeFedCommit) SetForgeFedHash(i vocab.ForgeFedHashProperty)
- func (this *ForgeFedCommit) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
- func (this *ForgeFedCommit) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
- func (this *ForgeFedCommit) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
- func (this *ForgeFedCommit) SetJSONLDId(i vocab.JSONLDIdProperty)
- func (this *ForgeFedCommit) SetJSONLDType(i vocab.JSONLDTypeProperty)
- func (this ForgeFedCommit) VocabularyURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommitIsDisjointWith ¶
CommitIsDisjointWith returns true if the other provided type is disjoint with the Commit type.
func CommitIsExtendedBy ¶
CommitIsExtendedBy returns true if the other provided type extends from the Commit type. Note that it returns false if the types are the same; see the "IsOrExtendsCommit" variant instead.
func ForgeFedCommitExtends ¶
ForgeFedCommitExtends returns true if the Commit type extends from the other type.
func IsOrExtendsCommit ¶
IsOrExtendsCommit returns true if the other provided type is the Commit type or extends from the Commit type.
func SetManager ¶
func SetManager(m privateManager)
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 SetTypePropertyConstructor ¶
func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty)
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.
Types ¶
type ForgeFedCommit ¶
type ForgeFedCommit struct { ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty ActivityStreamsBcc vocab.ActivityStreamsBccProperty ActivityStreamsBto vocab.ActivityStreamsBtoProperty ActivityStreamsCc vocab.ActivityStreamsCcProperty ForgeFedCommitted vocab.ForgeFedCommittedProperty ForgeFedCommittedBy vocab.ForgeFedCommittedByProperty ActivityStreamsContent vocab.ActivityStreamsContentProperty ActivityStreamsContext vocab.ActivityStreamsContextProperty ForgeFedDescription vocab.ForgeFedDescriptionProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty ForgeFedFilesAdded vocab.ForgeFedFilesAddedProperty ForgeFedFilesModified vocab.ForgeFedFilesModifiedProperty ForgeFedFilesRemoved vocab.ForgeFedFilesRemovedProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty ForgeFedHash vocab.ForgeFedHashProperty ActivityStreamsIcon vocab.ActivityStreamsIconProperty JSONLDId vocab.JSONLDIdProperty ActivityStreamsImage vocab.ActivityStreamsImageProperty ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty ActivityStreamsLikes vocab.ActivityStreamsLikesProperty ActivityStreamsLocation vocab.ActivityStreamsLocationProperty ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty ActivityStreamsName vocab.ActivityStreamsNameProperty ActivityStreamsObject vocab.ActivityStreamsObjectProperty ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty ActivityStreamsSource vocab.ActivityStreamsSourceProperty ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ForgeFedTeam vocab.ForgeFedTeamProperty ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty // contains filtered or unexported fields }
Represents a named set of changes in the history of a Repository. This is called "commit" in Git, Mercurial and Monotone; "patch" in Darcs; sometimes called "change set". Note that Commit is a set of changes that already exists in a repo’s history, while a Patch is a separate proposed change set, that could be applied and pushed to a repo, resulting with a Commit.
{ "@context": [ "https://www.w3.org/ns/activitystreams", "https://forgefed.peers.community/ns" ], "attributedTo": "https://example.dev/bob", "committed": "2019-07-26T23:45:01Z", "committedBy": "https://example.dev/alice", "context": "https://example.dev/alice/myrepo", "created": "2019-07-11T12:34:56Z", "description": { "content": "It's about time people can install on their computers!", "mediaType": "text/plain" }, "hash": "109ec9a09c7df7fec775d2ba0b9d466e5643ec8c", "id": "https://example.dev/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c", "summary": "Add an installation script, fixes issue #89", "type": "Commit" }
func DeserializeCommit ¶
func DeserializeCommit(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedCommit, error)
DeserializeCommit creates a Commit from a map representation that has been unmarshalled from a text or binary format.
func NewForgeFedCommit ¶
func NewForgeFedCommit() *ForgeFedCommit
NewForgeFedCommit creates a new Commit type
func (ForgeFedCommit) GetActivityStreamsAltitude ¶
func (this ForgeFedCommit) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty
GetActivityStreamsAltitude returns the "altitude" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsAttachment ¶
func (this ForgeFedCommit) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty
GetActivityStreamsAttachment returns the "attachment" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsAttributedTo ¶
func (this ForgeFedCommit) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty
GetActivityStreamsAttributedTo returns the "attributedTo" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsAudience ¶
func (this ForgeFedCommit) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty
GetActivityStreamsAudience returns the "audience" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsBcc ¶
func (this ForgeFedCommit) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty
GetActivityStreamsBcc returns the "bcc" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsBto ¶
func (this ForgeFedCommit) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty
GetActivityStreamsBto returns the "bto" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsCc ¶
func (this ForgeFedCommit) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty
GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsContent ¶
func (this ForgeFedCommit) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty
GetActivityStreamsContent returns the "content" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsContext ¶
func (this ForgeFedCommit) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty
GetActivityStreamsContext returns the "context" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsDuration ¶
func (this ForgeFedCommit) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty
GetActivityStreamsDuration returns the "duration" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsEndTime ¶
func (this ForgeFedCommit) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty
GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsGenerator ¶
func (this ForgeFedCommit) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty
GetActivityStreamsGenerator returns the "generator" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsIcon ¶
func (this ForgeFedCommit) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty
GetActivityStreamsIcon returns the "icon" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsImage ¶
func (this ForgeFedCommit) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
GetActivityStreamsImage returns the "image" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsInReplyTo ¶
func (this ForgeFedCommit) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty
GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsLikes ¶
func (this ForgeFedCommit) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty
GetActivityStreamsLikes returns the "likes" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsLocation ¶
func (this ForgeFedCommit) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty
GetActivityStreamsLocation returns the "location" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsMediaType ¶
func (this ForgeFedCommit) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty
GetActivityStreamsMediaType returns the "mediaType" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsName ¶
func (this ForgeFedCommit) GetActivityStreamsName() vocab.ActivityStreamsNameProperty
GetActivityStreamsName returns the "name" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsObject ¶
func (this ForgeFedCommit) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty
GetActivityStreamsObject returns the "object" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsPreview ¶
func (this ForgeFedCommit) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty
GetActivityStreamsPreview returns the "preview" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsPublished ¶
func (this ForgeFedCommit) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty
GetActivityStreamsPublished returns the "published" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsReplies ¶
func (this ForgeFedCommit) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty
GetActivityStreamsReplies returns the "replies" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsShares ¶
func (this ForgeFedCommit) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty
GetActivityStreamsShares returns the "shares" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsSource ¶
func (this ForgeFedCommit) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty
GetActivityStreamsSource returns the "source" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsStartTime ¶
func (this ForgeFedCommit) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty
GetActivityStreamsStartTime returns the "startTime" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsSummary ¶
func (this ForgeFedCommit) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty
GetActivityStreamsSummary returns the "summary" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsTag ¶
func (this ForgeFedCommit) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty
GetActivityStreamsTag returns the "tag" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsTo ¶
func (this ForgeFedCommit) GetActivityStreamsTo() vocab.ActivityStreamsToProperty
GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsUpdated ¶
func (this ForgeFedCommit) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty
GetActivityStreamsUpdated returns the "updated" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetActivityStreamsUrl ¶
func (this ForgeFedCommit) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty
GetActivityStreamsUrl returns the "url" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetForgeFedCommitted ¶
func (this ForgeFedCommit) GetForgeFedCommitted() vocab.ForgeFedCommittedProperty
GetForgeFedCommitted returns the "committed" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetForgeFedCommittedBy ¶
func (this ForgeFedCommit) GetForgeFedCommittedBy() vocab.ForgeFedCommittedByProperty
GetForgeFedCommittedBy returns the "committedBy" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetForgeFedDescription ¶
func (this ForgeFedCommit) GetForgeFedDescription() vocab.ForgeFedDescriptionProperty
GetForgeFedDescription returns the "description" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetForgeFedFilesAdded ¶
func (this ForgeFedCommit) GetForgeFedFilesAdded() vocab.ForgeFedFilesAddedProperty
GetForgeFedFilesAdded returns the "filesAdded" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetForgeFedFilesModified ¶
func (this ForgeFedCommit) GetForgeFedFilesModified() vocab.ForgeFedFilesModifiedProperty
GetForgeFedFilesModified returns the "filesModified" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetForgeFedFilesRemoved ¶
func (this ForgeFedCommit) GetForgeFedFilesRemoved() vocab.ForgeFedFilesRemovedProperty
GetForgeFedFilesRemoved returns the "filesRemoved" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetForgeFedHash ¶
func (this ForgeFedCommit) GetForgeFedHash() vocab.ForgeFedHashProperty
GetForgeFedHash returns the "hash" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetForgeFedTeam ¶
func (this ForgeFedCommit) GetForgeFedTeam() vocab.ForgeFedTeamProperty
GetForgeFedTeam returns the "team" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetForgeFedTicketsTrackedBy ¶
func (this ForgeFedCommit) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty
GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetForgeFedTracksTicketsFor ¶
func (this ForgeFedCommit) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty
GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetJSONLDId ¶
func (this ForgeFedCommit) GetJSONLDId() vocab.JSONLDIdProperty
GetJSONLDId returns the "id" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetJSONLDType ¶
func (this ForgeFedCommit) GetJSONLDType() vocab.JSONLDTypeProperty
GetJSONLDType returns the "type" property if it exists, and nil otherwise.
func (ForgeFedCommit) GetTypeName ¶
func (this ForgeFedCommit) GetTypeName() string
GetTypeName returns the name of this type.
func (ForgeFedCommit) GetUnknownProperties ¶
func (this ForgeFedCommit) GetUnknownProperties() map[string]interface{}
GetUnknownProperties returns the unknown properties for the Commit type. Note that this should not be used by app developers. It is only used to help determine which implementation is LessThan the other. Developers who are creating a different implementation of this type's interface can use this method in their LessThan implementation, but routine ActivityPub applications should not use this to bypass the code generation tool.
func (ForgeFedCommit) IsExtending ¶
func (this ForgeFedCommit) IsExtending(other vocab.Type) bool
IsExtending returns true if the Commit type extends from the other type.
func (ForgeFedCommit) JSONLDContext ¶
func (this ForgeFedCommit) JSONLDContext() map[string]string
JSONLDContext returns the JSONLD URIs required in the context string for this type and the specific properties that are set. The value in the map is the alias used to import the type and its properties.
func (ForgeFedCommit) LessThan ¶
func (this ForgeFedCommit) LessThan(o vocab.ForgeFedCommit) bool
LessThan computes if this Commit is lesser, with an arbitrary but stable determination.
func (ForgeFedCommit) Serialize ¶
func (this ForgeFedCommit) Serialize() (map[string]interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format.
func (*ForgeFedCommit) SetActivityStreamsAltitude ¶
func (this *ForgeFedCommit) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty)
SetActivityStreamsAltitude sets the "altitude" property.
func (*ForgeFedCommit) SetActivityStreamsAttachment ¶
func (this *ForgeFedCommit) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty)
SetActivityStreamsAttachment sets the "attachment" property.
func (*ForgeFedCommit) SetActivityStreamsAttributedTo ¶
func (this *ForgeFedCommit) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty)
SetActivityStreamsAttributedTo sets the "attributedTo" property.
func (*ForgeFedCommit) SetActivityStreamsAudience ¶
func (this *ForgeFedCommit) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty)
SetActivityStreamsAudience sets the "audience" property.
func (*ForgeFedCommit) SetActivityStreamsBcc ¶
func (this *ForgeFedCommit) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty)
SetActivityStreamsBcc sets the "bcc" property.
func (*ForgeFedCommit) SetActivityStreamsBto ¶
func (this *ForgeFedCommit) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty)
SetActivityStreamsBto sets the "bto" property.
func (*ForgeFedCommit) SetActivityStreamsCc ¶
func (this *ForgeFedCommit) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty)
SetActivityStreamsCc sets the "cc" property.
func (*ForgeFedCommit) SetActivityStreamsContent ¶
func (this *ForgeFedCommit) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty)
SetActivityStreamsContent sets the "content" property.
func (*ForgeFedCommit) SetActivityStreamsContext ¶
func (this *ForgeFedCommit) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty)
SetActivityStreamsContext sets the "context" property.
func (*ForgeFedCommit) SetActivityStreamsDuration ¶
func (this *ForgeFedCommit) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty)
SetActivityStreamsDuration sets the "duration" property.
func (*ForgeFedCommit) SetActivityStreamsEndTime ¶
func (this *ForgeFedCommit) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty)
SetActivityStreamsEndTime sets the "endTime" property.
func (*ForgeFedCommit) SetActivityStreamsGenerator ¶
func (this *ForgeFedCommit) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty)
SetActivityStreamsGenerator sets the "generator" property.
func (*ForgeFedCommit) SetActivityStreamsIcon ¶
func (this *ForgeFedCommit) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty)
SetActivityStreamsIcon sets the "icon" property.
func (*ForgeFedCommit) SetActivityStreamsImage ¶
func (this *ForgeFedCommit) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty)
SetActivityStreamsImage sets the "image" property.
func (*ForgeFedCommit) SetActivityStreamsInReplyTo ¶
func (this *ForgeFedCommit) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty)
SetActivityStreamsInReplyTo sets the "inReplyTo" property.
func (*ForgeFedCommit) SetActivityStreamsLikes ¶
func (this *ForgeFedCommit) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty)
SetActivityStreamsLikes sets the "likes" property.
func (*ForgeFedCommit) SetActivityStreamsLocation ¶
func (this *ForgeFedCommit) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty)
SetActivityStreamsLocation sets the "location" property.
func (*ForgeFedCommit) SetActivityStreamsMediaType ¶
func (this *ForgeFedCommit) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty)
SetActivityStreamsMediaType sets the "mediaType" property.
func (*ForgeFedCommit) SetActivityStreamsName ¶
func (this *ForgeFedCommit) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty)
SetActivityStreamsName sets the "name" property.
func (*ForgeFedCommit) SetActivityStreamsObject ¶
func (this *ForgeFedCommit) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty)
SetActivityStreamsObject sets the "object" property.
func (*ForgeFedCommit) SetActivityStreamsPreview ¶
func (this *ForgeFedCommit) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty)
SetActivityStreamsPreview sets the "preview" property.
func (*ForgeFedCommit) SetActivityStreamsPublished ¶
func (this *ForgeFedCommit) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty)
SetActivityStreamsPublished sets the "published" property.
func (*ForgeFedCommit) SetActivityStreamsReplies ¶
func (this *ForgeFedCommit) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty)
SetActivityStreamsReplies sets the "replies" property.
func (*ForgeFedCommit) SetActivityStreamsShares ¶
func (this *ForgeFedCommit) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty)
SetActivityStreamsShares sets the "shares" property.
func (*ForgeFedCommit) SetActivityStreamsSource ¶
func (this *ForgeFedCommit) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty)
SetActivityStreamsSource sets the "source" property.
func (*ForgeFedCommit) SetActivityStreamsStartTime ¶
func (this *ForgeFedCommit) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty)
SetActivityStreamsStartTime sets the "startTime" property.
func (*ForgeFedCommit) SetActivityStreamsSummary ¶
func (this *ForgeFedCommit) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty)
SetActivityStreamsSummary sets the "summary" property.
func (*ForgeFedCommit) SetActivityStreamsTag ¶
func (this *ForgeFedCommit) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty)
SetActivityStreamsTag sets the "tag" property.
func (*ForgeFedCommit) SetActivityStreamsTo ¶
func (this *ForgeFedCommit) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty)
SetActivityStreamsTo sets the "to" property.
func (*ForgeFedCommit) SetActivityStreamsUpdated ¶
func (this *ForgeFedCommit) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty)
SetActivityStreamsUpdated sets the "updated" property.
func (*ForgeFedCommit) SetActivityStreamsUrl ¶
func (this *ForgeFedCommit) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty)
SetActivityStreamsUrl sets the "url" property.
func (*ForgeFedCommit) SetForgeFedCommitted ¶
func (this *ForgeFedCommit) SetForgeFedCommitted(i vocab.ForgeFedCommittedProperty)
SetForgeFedCommitted sets the "committed" property.
func (*ForgeFedCommit) SetForgeFedCommittedBy ¶
func (this *ForgeFedCommit) SetForgeFedCommittedBy(i vocab.ForgeFedCommittedByProperty)
SetForgeFedCommittedBy sets the "committedBy" property.
func (*ForgeFedCommit) SetForgeFedDescription ¶
func (this *ForgeFedCommit) SetForgeFedDescription(i vocab.ForgeFedDescriptionProperty)
SetForgeFedDescription sets the "description" property.
func (*ForgeFedCommit) SetForgeFedFilesAdded ¶
func (this *ForgeFedCommit) SetForgeFedFilesAdded(i vocab.ForgeFedFilesAddedProperty)
SetForgeFedFilesAdded sets the "filesAdded" property.
func (*ForgeFedCommit) SetForgeFedFilesModified ¶
func (this *ForgeFedCommit) SetForgeFedFilesModified(i vocab.ForgeFedFilesModifiedProperty)
SetForgeFedFilesModified sets the "filesModified" property.
func (*ForgeFedCommit) SetForgeFedFilesRemoved ¶
func (this *ForgeFedCommit) SetForgeFedFilesRemoved(i vocab.ForgeFedFilesRemovedProperty)
SetForgeFedFilesRemoved sets the "filesRemoved" property.
func (*ForgeFedCommit) SetForgeFedHash ¶
func (this *ForgeFedCommit) SetForgeFedHash(i vocab.ForgeFedHashProperty)
SetForgeFedHash sets the "hash" property.
func (*ForgeFedCommit) SetForgeFedTeam ¶
func (this *ForgeFedCommit) SetForgeFedTeam(i vocab.ForgeFedTeamProperty)
SetForgeFedTeam sets the "team" property.
func (*ForgeFedCommit) SetForgeFedTicketsTrackedBy ¶
func (this *ForgeFedCommit) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty)
SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property.
func (*ForgeFedCommit) SetForgeFedTracksTicketsFor ¶
func (this *ForgeFedCommit) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty)
SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property.
func (*ForgeFedCommit) SetJSONLDId ¶
func (this *ForgeFedCommit) SetJSONLDId(i vocab.JSONLDIdProperty)
SetJSONLDId sets the "id" property.
func (*ForgeFedCommit) SetJSONLDType ¶
func (this *ForgeFedCommit) SetJSONLDType(i vocab.JSONLDTypeProperty)
SetJSONLDType sets the "type" property.
func (ForgeFedCommit) VocabularyURI ¶
func (this ForgeFedCommit) VocabularyURI() string
VocabularyURI returns the vocabulary's URI as a string.