Class GetDifferencesRequest

    • Method Detail

      • repositoryName

        public final String repositoryName()

        The name of the repository where you want to get differences.

        Returns:
        The name of the repository where you want to get differences.
      • beforeCommitSpecifier

        public final String beforeCommitSpecifier()

        The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, the full commit ID). Optional. If not specified, all changes before the afterCommitSpecifier value are shown. If you do not use beforeCommitSpecifier in your request, consider limiting the results with maxResults.

        Returns:
        The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, the full commit ID). Optional. If not specified, all changes before the afterCommitSpecifier value are shown. If you do not use beforeCommitSpecifier in your request, consider limiting the results with maxResults.
      • afterCommitSpecifier

        public final String afterCommitSpecifier()

        The branch, tag, HEAD, or other fully qualified reference used to identify a commit.

        Returns:
        The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
      • beforePath

        public final String beforePath()

        The file path in which to check for differences. Limits the results to this path. Can also be used to specify the previous name of a directory or folder. If beforePath and afterPath are not specified, differences are shown for all paths.

        Returns:
        The file path in which to check for differences. Limits the results to this path. Can also be used to specify the previous name of a directory or folder. If beforePath and afterPath are not specified, differences are shown for all paths.
      • afterPath

        public final String afterPath()

        The file path in which to check differences. Limits the results to this path. Can also be used to specify the changed name of a directory or folder, if it has changed. If not specified, differences are shown for all paths.

        Returns:
        The file path in which to check differences. Limits the results to this path. Can also be used to specify the changed name of a directory or folder, if it has changed. If not specified, differences are shown for all paths.
      • maxResults

        public final Integer maxResults()

        A non-zero, non-negative integer used to limit the number of returned results.

        Returns:
        A non-zero, non-negative integer used to limit the number of returned results.
      • nextToken

        public final String nextToken()

        An enumeration token that, when provided in a request, returns the next batch of the results.

        Returns:
        An enumeration token that, when provided in a request, returns the next batch of the results.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object