Class ApplyPatchPatchSetInput
- java.lang.Object
-
- com.google.gerrit.extensions.api.changes.ApplyPatchPatchSetInput
-
public class ApplyPatchPatchSetInput extends Object
Information for creating a new patch set from a given patch.
-
-
Field Summary
Fields Modifier and Type Field Description AccountInput
author
The author of the new patch set.String
base
40-hex digit SHA-1 of the commit which will be the parent commit of the newly created patch set.String
commitMessage
The commit message for the new patch set.ApplyPatchInput
patch
The patch to be applied.List<ListChangesOption>
responseFormatOptions
-
Constructor Summary
Constructors Constructor Description ApplyPatchPatchSetInput()
-
-
-
Field Detail
-
patch
public ApplyPatchInput patch
The patch to be applied.
-
commitMessage
public String commitMessage
The commit message for the new patch set. If not specified, a predefined message will be used.
-
base
public String base
40-hex digit SHA-1 of the commit which will be the parent commit of the newly created patch set. If set, it must be a merged commit or a change revision on the destination branch. Otherwise, the target change's branch tip will be used.
-
author
public AccountInput author
The author of the new patch set. Must include bothAccountInput.name
andAccountInput.email
fields.
-
responseFormatOptions
public List<ListChangesOption> responseFormatOptions
-
-