public sealed class GerritSourceContext : IMessage<GerritSourceContext>, IEquatable<GerritSourceContext>, IDeepCloneable<GerritSourceContext>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class GerritSourceContext.
A SourceContext referring to a Gerrit project.
Implements
IMessageGerritSourceContext, IEquatableGerritSourceContext, IDeepCloneableGerritSourceContext, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
GerritSourceContext()
public GerritSourceContext()
GerritSourceContext(GerritSourceContext)
public GerritSourceContext(GerritSourceContext other)
Parameter | |
---|---|
Name | Description |
other | GerritSourceContext |
Properties
AliasContext
public AliasContext AliasContext { get; set; }
An alias, which may be a branch or tag.
Property Value | |
---|---|
Type | Description |
AliasContext |
GerritProject
public string GerritProject { get; set; }
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
Property Value | |
---|---|
Type | Description |
string |
HasRevisionId
public bool HasRevisionId { get; }
Gets whether the "revision_id" field is set
Property Value | |
---|---|
Type | Description |
bool |
HostUri
public string HostUri { get; set; }
The URI of a running Gerrit instance.
Property Value | |
---|---|
Type | Description |
string |
RevisionCase
public GerritSourceContext.RevisionOneofCase RevisionCase { get; }
Property Value | |
---|---|
Type | Description |
GerritSourceContextRevisionOneofCase |
RevisionId
public string RevisionId { get; set; }
A revision (commit) ID.
Property Value | |
---|---|
Type | Description |
string |