Class ApiKeyAuthInfo

java.lang.Object
com.github.copilot.generated.rpc.AuthInfo
com.github.copilot.generated.rpc.ApiKeyAuthInfo

@Generated("copilot-sdk-codegen") public final class ApiKeyAuthInfo extends AuthInfo
Schema for the `ApiKeyAuthInfo` type.
Since:
1.0.0
  • Constructor Details

    • ApiKeyAuthInfo

      public ApiKeyAuthInfo()
  • Method Details

    • getType

      public String getType()
      Description copied from class: AuthInfo
      Returns the discriminator value for this variant.
      Specified by:
      getType in class AuthInfo
      Returns:
      the type discriminator
    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
    • getCopilotUser

      public CopilotUserResponse getCopilotUser()
    • setCopilotUser

      public void setCopilotUser(CopilotUserResponse copilotUser)