Class DeleteFileOptions
DeleteFileOptions options for deleting files (used for other File structs below)
Note: author and committer are optional (if only one is given, it will be used for the other, otherwise the authenticated user will be used)
Inheritance
System.Object
DeleteFileOptions
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 DeleteFileOptions
Properties
| Improve this Doc View SourceAuthor
Declaration
public Identity Author { get; set; }
Property Value
| Type | Description |
|---|---|
| Identity |
Branch
branch (optional) to base this file from. if not given, the default branch is used
Declaration
public string Branch { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Committer
Declaration
public Identity Committer { get; set; }
Property Value
| Type | Description |
|---|---|
| Identity |
Dates
Declaration
public CommitDateOptions Dates { get; set; }
Property Value
| Type | Description |
|---|---|
| CommitDateOptions |
Message
message (optional) for the commit of this file. if not supplied, a default message will be used
Declaration
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
New_branch
new_branch (optional) will make a new branch from branch before creating the file
Declaration
public string New_branch { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Sha
sha is the SHA for the file that already exists
Declaration
[Required(AllowEmptyStrings = true)]
public string Sha { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Signoff
Add a Signed-off-by trailer by the committer at the end of the commit log message.
Declaration
public bool? Signoff { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |