Class ContentsResponse
ContentsResponse contains information about a repo's entry's (dir, file, symlink, submodule) metadata and content
Inheritance
System.Object
ContentsResponse
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dangl.GiteaOrgManager.Client
Assembly: Dangl.GiteaOrgManager.dll
Syntax
public class ContentsResponse
Properties
| Improve this Doc View Source_links
Declaration
public FileLinksResponse _links { get; set; }
Property Value
| Type | Description |
|---|---|
| FileLinksResponse |
Content
content is populated when type is file, otherwise null
Declaration
public string Content { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Download_url
Declaration
public string Download_url { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Encoding
encoding is populated when type is file, otherwise null
Declaration
public string Encoding { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Git_url
Declaration
public string Git_url { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Html_url
Declaration
public string Html_url { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Last_commit_sha
Declaration
public string Last_commit_sha { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Path
Declaration
public string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Sha
Declaration
public string Sha { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Size
Declaration
public long? Size { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
Submodule_git_url
submodule_git_url is populated when type is submodule, otherwise null
Declaration
public string Submodule_git_url { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Target
target is populated when type is symlink, otherwise null
Declaration
public string Target { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Type
type will be file, dir, symlink, or submodule
Declaration
public string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Url
Declaration
public string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |