Interface GitPlan

All Known Implementing Classes:
GitPlan.Unknown, GitPullPlan, GitPushPlan

@Generated("io.skipcheck.tm1.codegen") @Since("11.5.0") public sealed interface GitPlan permits GitPullPlan, GitPushPlan, GitPlan.Unknown
A plan of pulling or pushing the source of server objects.

One of GitPullPlan or GitPushPlan, chosen by @odata.type; GitPlan.Unknown when this client doesn't know the type. Generated from $metadata.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    A GitPlan of a type this client doesn't know, such as one a newer server added: only the properties all GitPlans have are read.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ODataProperty
    Branch, for queries: The name of the remote branch.
    static final ODataProperty
    Force, for queries: A flag which is used to evaluate preconditions.
    static final ODataProperty
    ID, for queries: The ID of the plan.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    The name of the remote branch.
    @Nullable String
    The entity's ETag (@odata.etag), for If-Match.
    @Nullable Boolean
    A flag which is used to evaluate preconditions.
    @Nullable String
    id()
    The ID of the plan.
  • Field Details

    • ID

      static final ODataProperty ID
      ID, for queries: The ID of the plan.
    • BRANCH

      static final ODataProperty BRANCH
      Branch, for queries: The name of the remote branch.
    • FORCE

      static final ODataProperty FORCE
      Force, for queries: A flag which is used to evaluate preconditions.
  • Method Details

    • etag

      @Nullable String etag()
      The entity's ETag (@odata.etag), for If-Match.
      Returns:
      the entity's ETag (@odata.etag), for If-Match
    • id

      @Nullable String id()
      The ID of the plan.
      Returns:
      The ID of the plan.
    • branch

      @Nullable String branch()
      The name of the remote branch.
      Returns:
      The name of the remote branch.
    • force

      @Nullable Boolean force()
      A flag which is used to evaluate preconditions.
      Returns:
      A flag which is used to evaluate preconditions.