Class RepositoryObject
Object containing information about files and directories in a repository.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class RepositoryObjectProperties
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