GitCommitRef Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides properties that describe a Git commit and associated metadata.
[System.Runtime.Serialization.DataContract]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.TeamFoundation.SourceControl.WebApi.GitCommit))]
public class GitCommitRef : Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlSecuredObject
type GitCommitRef = class
inherit VersionControlSecuredObject
Public Class GitCommitRef
Inherits VersionControlSecuredObject
- Inheritance
- Derived
- Attributes
Constructors
| GitCommitRef() |
Properties
| Author |
Author of the commit. |
| ChangeCounts |
Counts of the types of changes (edits, deletes, etc.) included with the commit. |
| Changes |
An enumeration of the changes included with the commit. |
| Comment |
Comment or message of the commit. |
| CommentTruncated |
Indicates if the comment is truncated from the full Git commit comment message. |
| CommitId |
ID (SHA-1) of the commit. |
| Committer |
Committer of the commit. |
| Links |
A collection of related REST reference links. |
| Parents |
An enumeration of the parent commit IDs for this commit. |
| Push |
The push associated with this commit. |
| RemoteUrl |
Remote URL path to the commit. |
| Statuses |
A list of status metadata from services and extensions that may associate additional information to the commit. |
| Url |
REST URL for this resource. |
| WorkItems |
A list of workitems associated with this commit. |
Methods
| SetSecuredObject(ISecuredObject) |
Explicit Interface Implementations
| ISecuredObject.GetToken() | (Inherited from VersionControlSecuredObject) |
| ISecuredObject.NamespaceId | (Inherited from VersionControlSecuredObject) |
| ISecuredObject.RequiredPermissions | (Inherited from VersionControlSecuredObject) |