Class GitPlanPatch.Builder

java.lang.Object
io.skipcheck.tm1.client.model.GitPlanPatch.Builder
Direct Known Subclasses:
GitPullPlanPatch.Builder, GitPushPlanPatch.Builder
Enclosing class:
GitPlanPatch

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

    • id

      public GitPlanPatch.Builder id(@Nullable String id)
      Sets ID: The ID of the plan.
      Parameters:
      id - the value; null sends an explicit null
      Returns:
      this builder
    • branch

      public GitPlanPatch.Builder branch(@Nullable String branch)
      Sets Branch: The name of the remote branch.
      Parameters:
      branch - the value; null sends an explicit null
      Returns:
      this builder
    • force

      public GitPlanPatch.Builder force(@Nullable Boolean force)
      Sets Force: A flag which is used to evaluate preconditions.
      Parameters:
      force - the value; null sends an explicit null
      Returns:
      this builder
    • build

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