Show / Hide Table of Contents

Class RepositoryRef

Reference object with name and commit ID.

Inheritance
object
RepositoryRef
RepositoryBranch
RepositoryTag
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
[JsonConverter(typeof(RepositoryRefModelConverter))]
public class RepositoryRef

Properties

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace": {"bar-key": "value"}}

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

FullRefName

Declaration
[Required(ErrorMessage = "FullRefName is required.")]
[JsonProperty(PropertyName = "fullRefName")]
public string FullRefName { get; set; }
Property Value
Type Description
string

Unique full reference name inside a repository.

Remarks

Required

RefName

Declaration
[Required(ErrorMessage = "RefName is required.")]
[JsonProperty(PropertyName = "refName")]
public string RefName { get; set; }
Property Value
Type Description
string

Unique reference name inside a repository.

Remarks

Required

RepositoryId

Declaration
[Required(ErrorMessage = "RepositoryId is required.")]
[JsonProperty(PropertyName = "repositoryId")]
public string RepositoryId { get; set; }
Property Value
Type Description
string

The OCID of the repository containing the reference.

Remarks

Required

In this article
Back to top