Class GitCommitPatch.Builder

java.lang.Object
io.skipcheck.tm1.client.model.GitCommitPatch.Builder
Enclosing class:
GitCommitPatch

public static final class GitCommitPatch.Builder extends Object
Builds a GitCommitPatch; each setter replaces what an earlier call set.
  • Method Details

    • id

      public GitCommitPatch.Builder id(@Nullable String id)
      Sets ID: The ID of the Git commit.
      Parameters:
      id - the value; null sends an explicit null
      Returns:
      this builder
    • summary

      public GitCommitPatch.Builder summary(@Nullable String summary)
      Sets Summary: The summary of the Git commit.
      Parameters:
      summary - the value; null sends an explicit null
      Returns:
      this builder
    • author

      public GitCommitPatch.Builder author(@Nullable String author)
      Sets Author: The author of the Git commit.
      Parameters:
      author - the value; null sends an explicit null
      Returns:
      this builder
    • build

      public GitCommitPatch build()
      The patch, with what's been set so far.
      Returns:
      the patch