SDK reference / Models / Delivery

GitBranchView

Kind: class

Namespace: Egulu.Sdk.Models.Delivery

One branch of a hosted Git repository.

Properties

NameTypeJSON nameDescription
HeadShastring?headShaThe commit the branch points at.
IsDefaultbool?isDefaultWhether this is the repository's `defaultBranch`.
IsProtectedbool?isProtectedWhether the branch is in the repository's `protectedBranches`.
LastAuthorstring?lastAuthorThe author of the head commit, when the platform holds it.
LastCommitAtDateTimeOffset?lastCommitAtWhen the head commit was made, when the platform holds it.
LastMessagestring?lastMessageThe subject of the head commit, when the platform holds it.
Namestring?nameThe branch name, without `refs/heads/`.