ee.carlrobert.llm.client.codegpt.CodeGPTUserDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of llm-client Show documentation
Show all versions of llm-client Show documentation
Java http client wrapped around the OkHttp3 library
package ee.carlrobert.llm.client.codegpt;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
@JsonIgnoreProperties(ignoreUnknown = true)
public class CodeGPTUserDetails {
private final String fullName;
private final PricingPlan pricingPlan;
private final List availableModels;
private final List toolWindowModels;
@JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
public CodeGPTUserDetails(
@JsonProperty("fullName") String fullName,
@JsonProperty("pricingPlan") PricingPlan pricingPlan,
@JsonProperty("availableModels") List availableModels,
@JsonProperty("toolWindowModels") List toolWindowModels) {
this.fullName = fullName;
this.pricingPlan = pricingPlan;
this.availableModels = availableModels;
this.toolWindowModels = toolWindowModels;
}
public String getFullName() {
return fullName;
}
public PricingPlan getPricingPlan() {
return pricingPlan;
}
public List getAvailableModels() {
return availableModels;
}
public List getToolWindowModels() {
return toolWindowModels;
}
}