Show / Hide Table of Contents

Class UpdateRepositoryDetails

The information to be updated.

Inheritance
object
UpdateRepositoryDetails
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
public class UpdateRepositoryDetails

Properties

DefaultBranch

Declaration
[JsonProperty(PropertyName = "defaultBranch")]
public string DefaultBranch { get; set; }
Property Value
Type Description
string

The default branch of the repository.

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"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

Details of the repository. Avoid entering confidential information.

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"}

MirrorRepositoryConfig

Declaration
[JsonProperty(PropertyName = "mirrorRepositoryConfig")]
public MirrorRepositoryConfig MirrorRepositoryConfig { get; set; }
Property Value
Type Description
MirrorRepositoryConfig

Name

Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

Name of the repository. Should be unique within the project.

RepositoryType

Declaration
[JsonProperty(PropertyName = "repositoryType")]
[JsonConverter(typeof(StringEnumConverter))]
public Repository.RepositoryTypeEnum? RepositoryType { get; set; }
Property Value
Type Description
Repository.RepositoryTypeEnum?

Type of repository. Allowed values: MIRRORED HOSTED FORKED

In this article
Back to top