Class CloudSessionRepository

java.lang.Object
com.github.copilot.rpc.CloudSessionRepository

public class CloudSessionRepository extends Object
GitHub repository metadata to associate with a cloud session.
Since:
1.5.0
  • Constructor Details

    • CloudSessionRepository

      public CloudSessionRepository()
  • Method Details

    • getOwner

      public String getOwner()
      Gets the repository owner.
      Returns:
      the repository owner
    • setOwner

      public CloudSessionRepository setOwner(String owner)
      Sets the repository owner.
      Parameters:
      owner - the repository owner
      Returns:
      this instance for method chaining
    • getName

      public String getName()
      Gets the repository name.
      Returns:
      the repository name
    • setName

      public CloudSessionRepository setName(String name)
      Sets the repository name.
      Parameters:
      name - the repository name
      Returns:
      this instance for method chaining
    • getBranch

      public String getBranch()
      Gets the optional branch name.
      Returns:
      the branch name, or null if not set
    • setBranch

      public CloudSessionRepository setBranch(String branch)
      Sets the optional branch name.
      Parameters:
      branch - the branch name
      Returns:
      this instance for method chaining