Class CheckoutWith.Jsii$Proxy

  • All Implemented Interfaces:
    CheckoutWith, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    CheckoutWith

    @Stability(Experimental)
    @Internal
    public static final class CheckoutWith.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements CheckoutWith
    An implementation for CheckoutWith
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getFetchDepth

        public final Number getFetchDepth()
        Description copied from interface: CheckoutWith
        (experimental) Number of commits to fetch.

        0 indicates all history for all branches and tags.

        Default: 1

        Specified by:
        getFetchDepth in interface CheckoutWith
      • getLfs

        public final Boolean getLfs()
        Description copied from interface: CheckoutWith
        (experimental) Whether LFS is enabled for the GitHub repository.

        Default: false

        Specified by:
        getLfs in interface CheckoutWith
      • getRef

        public final String getRef()
        Description copied from interface: CheckoutWith
        (experimental) Branch or tag name.

        Default: - the default branch is implicitly used

        Specified by:
        getRef in interface CheckoutWith
      • getRepository

        public final String getRepository()
        Description copied from interface: CheckoutWith
        (experimental) The repository (owner/repo) to use.

        Default: - the default repository is implicitly used

        Specified by:
        getRepository in interface CheckoutWith
      • getToken

        public final String getToken()
        Description copied from interface: CheckoutWith
        (experimental) A GitHub token to use when checking out the repository.

        If the intent is to push changes back to the branch, then you must use a PAT with repo (and possibly workflows) permissions.

        Default: - the default GITHUB_TOKEN is implicitly used

        Specified by:
        getToken in interface CheckoutWith
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object