public static class DiffResponseEntry.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DiffResponseEntry.Builder |
addedLinesCount(Integer addedLinesCount)
The number of lines added in whole difference.
|
DiffResponseEntry.Builder |
areConflictsInFile(Boolean areConflictsInFile)
Indicates whether the changed file contains conflicts.
|
DiffResponseEntry |
build() |
DiffResponseEntry.Builder |
changeType(String changeType)
Type of change made to file.
|
DiffResponseEntry.Builder |
commitId(String commitId)
The ID of the commit where the change is coming from.
|
DiffResponseEntry.Builder |
copy(DiffResponseEntry model) |
DiffResponseEntry.Builder |
deletedLinesCount(Integer deletedLinesCount)
The number of lines deleted in whole difference.
|
DiffResponseEntry.Builder |
newId(String newId)
The ID of the changed object on the source.
|
DiffResponseEntry.Builder |
newPath(String newPath)
The path on the source to the changed object.
|
DiffResponseEntry.Builder |
objectType(String objectType)
The type of the changed object.
|
DiffResponseEntry.Builder |
oldId(String oldId)
The ID of the changed object on the target.
|
DiffResponseEntry.Builder |
oldPath(String oldPath)
The path on the target to the changed object.
|
DiffResponseEntry.Builder |
url(String url)
The URL of the changed object.
|
public DiffResponseEntry.Builder changeType(String changeType)
Type of change made to file.
changeType
- the value to setpublic DiffResponseEntry.Builder objectType(String objectType)
The type of the changed object.
objectType
- the value to setpublic DiffResponseEntry.Builder commitId(String commitId)
The ID of the commit where the change is coming from.
commitId
- the value to setpublic DiffResponseEntry.Builder oldPath(String oldPath)
The path on the target to the changed object.
oldPath
- the value to setpublic DiffResponseEntry.Builder newPath(String newPath)
The path on the source to the changed object.
newPath
- the value to setpublic DiffResponseEntry.Builder oldId(String oldId)
The ID of the changed object on the target.
oldId
- the value to setpublic DiffResponseEntry.Builder newId(String newId)
The ID of the changed object on the source.
newId
- the value to setpublic DiffResponseEntry.Builder url(String url)
The URL of the changed object.
url
- the value to setpublic DiffResponseEntry.Builder addedLinesCount(Integer addedLinesCount)
The number of lines added in whole difference.
addedLinesCount
- the value to setpublic DiffResponseEntry.Builder deletedLinesCount(Integer deletedLinesCount)
The number of lines deleted in whole difference.
deletedLinesCount
- the value to setpublic DiffResponseEntry.Builder areConflictsInFile(Boolean areConflictsInFile)
Indicates whether the changed file contains conflicts.
areConflictsInFile
- the value to setpublic DiffResponseEntry build()
public DiffResponseEntry.Builder copy(DiffResponseEntry model)
Copyright © 2016–2024. All rights reserved.