Search Results for

    Show / Hide Table of Contents

    Class CreateFileOptions

    CreateFileOptions options for creating files
    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
    CreateFileOptions
    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 CreateFileOptions

    Properties

    | Improve this Doc View Source

    Author

    Declaration
    public Identity Author { get; set; }
    Property Value
    Type Description
    Identity
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Committer

    Declaration
    public Identity Committer { get; set; }
    Property Value
    Type Description
    Identity
    | Improve this Doc View Source

    Content

    content must be base64 encoded

    Declaration
    [Required(AllowEmptyStrings = true)]
    public string Content { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Dates

    Declaration
    public CommitDateOptions Dates { get; set; }
    Property Value
    Type Description
    CommitDateOptions
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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>
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Dangl IT GmbH