Show / Hide Table of Contents

Class RepositoryObject

Object containing information about files and directories in a repository.

Inheritance
object
RepositoryObject
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 RepositoryObject

Properties

IsBinary

Declaration
[JsonProperty(PropertyName = "isBinary")]
public bool? IsBinary { get; set; }
Property Value
Type Description
bool?

Flag to determine if the object contains binary file content or not.

Sha

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

SHA-1 hash of git object.

Remarks

Required

SizeInBytes

Declaration
[Required(ErrorMessage = "SizeInBytes is required.")]
[JsonProperty(PropertyName = "sizeInBytes")]
public long? SizeInBytes { get; set; }
Property Value
Type Description
long?

Size in bytes.

Remarks

Required

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RepositoryObject.TypeEnum? Type { get; set; }
Property Value
Type Description
RepositoryObject.TypeEnum?

The type of git object.

Remarks

Required

In this article
Back to top