Class DiffResponseEntry.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • changeType

        public DiffResponseEntry.Builder changeType​(String changeType)
        Type of change made to file.
        Parameters:
        changeType - the value to set
        Returns:
        this builder
      • objectType

        public DiffResponseEntry.Builder objectType​(String objectType)
        The type of the changed object.
        Parameters:
        objectType - the value to set
        Returns:
        this builder
      • commitId

        public DiffResponseEntry.Builder commitId​(String commitId)
        The ID of the commit where the change is coming from.
        Parameters:
        commitId - the value to set
        Returns:
        this builder
      • oldPath

        public DiffResponseEntry.Builder oldPath​(String oldPath)
        The path on the target to the changed object.
        Parameters:
        oldPath - the value to set
        Returns:
        this builder
      • newPath

        public DiffResponseEntry.Builder newPath​(String newPath)
        The path on the source to the changed object.
        Parameters:
        newPath - the value to set
        Returns:
        this builder
      • oldId

        public DiffResponseEntry.Builder oldId​(String oldId)
        The ID of the changed object on the target.
        Parameters:
        oldId - the value to set
        Returns:
        this builder
      • newId

        public DiffResponseEntry.Builder newId​(String newId)
        The ID of the changed object on the source.
        Parameters:
        newId - the value to set
        Returns:
        this builder
      • addedLinesCount

        public DiffResponseEntry.Builder addedLinesCount​(Integer addedLinesCount)
        The number of lines added in whole difference.
        Parameters:
        addedLinesCount - the value to set
        Returns:
        this builder
      • deletedLinesCount

        public DiffResponseEntry.Builder deletedLinesCount​(Integer deletedLinesCount)
        The number of lines deleted in whole difference.
        Parameters:
        deletedLinesCount - the value to set
        Returns:
        this builder
      • areConflictsInFile

        public DiffResponseEntry.Builder areConflictsInFile​(Boolean areConflictsInFile)
        Indicates whether the changed file contains conflicts.
        Parameters:
        areConflictsInFile - the value to set
        Returns:
        this builder