Package com.oracle.bmc.devops.model
Class DiffResponseEntry.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.DiffResponseEntry.Builder
-
- Enclosing class:
- DiffResponseEntry
public static class DiffResponseEntry.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiffResponseEntry.BuilderaddedLinesCount(Integer addedLinesCount)The number of lines added in whole difference.DiffResponseEntry.BuilderareConflictsInFile(Boolean areConflictsInFile)Indicates whether the changed file contains conflicts.DiffResponseEntrybuild()DiffResponseEntry.BuilderchangeType(String changeType)Type of change made to file.DiffResponseEntry.BuildercommitId(String commitId)The ID of the commit where the change is coming from.DiffResponseEntry.Buildercopy(DiffResponseEntry model)DiffResponseEntry.BuilderdeletedLinesCount(Integer deletedLinesCount)The number of lines deleted in whole difference.DiffResponseEntry.BuildernewId(String newId)The ID of the changed object on the source.DiffResponseEntry.BuildernewPath(String newPath)The path on the source to the changed object.DiffResponseEntry.BuilderobjectType(String objectType)The type of the changed object.DiffResponseEntry.BuilderoldId(String oldId)The ID of the changed object on the target.DiffResponseEntry.BuilderoldPath(String oldPath)The path on the target to the changed object.DiffResponseEntry.Builderurl(String url)The URL of the changed object.
-
-
-
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
-
url
public DiffResponseEntry.Builder url(String url)
The URL of the changed object.- Parameters:
url- 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
-
build
public DiffResponseEntry build()
-
copy
public DiffResponseEntry.Builder copy(DiffResponseEntry model)
-
-