Record Class SessionLimitPredictionDetails
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionLimitPredictionDetails
@Generated("copilot-sdk-codegen")
public record SessionLimitPredictionDetails(SessionLimitPredictionClientType clientType, String modelId, SessionLimitPredictionSource source, String sourceKey, String family, List<SessionLimitPredictionTierOption> tiers, SessionLimitPredictionBaselineData baselineData, SessionLimitPredictionTier recommendedTier, Double recommendedCap)
extends Record
Explainable AI-credit session-limit prediction.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionLimitPredictionDetails(SessionLimitPredictionClientType clientType, String modelId, SessionLimitPredictionSource source, String sourceKey, String family, List<SessionLimitPredictionTierOption> tiers, SessionLimitPredictionBaselineData baselineData, SessionLimitPredictionTier recommendedTier, Double recommendedCap) Creates an instance of aSessionLimitPredictionDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebaselineDatarecord component.Returns the value of theclientTyperecord component.final booleanIndicates whether some other object is "equal to" this one.family()Returns the value of thefamilyrecord component.final inthashCode()Returns a hash code value for this object.modelId()Returns the value of themodelIdrecord component.Returns the value of therecommendedCaprecord component.Returns the value of therecommendedTierrecord component.source()Returns the value of thesourcerecord component.Returns the value of thesourceKeyrecord component.tiers()Returns the value of thetiersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionLimitPredictionDetails
public SessionLimitPredictionDetails(SessionLimitPredictionClientType clientType, String modelId, SessionLimitPredictionSource source, String sourceKey, String family, List<SessionLimitPredictionTierOption> tiers, SessionLimitPredictionBaselineData baselineData, SessionLimitPredictionTier recommendedTier, Double recommendedCap) Creates an instance of aSessionLimitPredictionDetailsrecord class.- Parameters:
clientType- the value for theclientTyperecord componentmodelId- the value for themodelIdrecord componentsource- the value for thesourcerecord componentsourceKey- the value for thesourceKeyrecord componentfamily- the value for thefamilyrecord componenttiers- the value for thetiersrecord componentbaselineData- the value for thebaselineDatarecord componentrecommendedTier- the value for therecommendedTierrecord componentrecommendedCap- the value for therecommendedCaprecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
clientType
Returns the value of theclientTyperecord component.- Returns:
- the value of the
clientTyperecord component
-
modelId
Returns the value of themodelIdrecord component.- Returns:
- the value of the
modelIdrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
sourceKey
Returns the value of thesourceKeyrecord component.- Returns:
- the value of the
sourceKeyrecord component
-
family
Returns the value of thefamilyrecord component.- Returns:
- the value of the
familyrecord component
-
tiers
Returns the value of thetiersrecord component.- Returns:
- the value of the
tiersrecord component
-
baselineData
Returns the value of thebaselineDatarecord component.- Returns:
- the value of the
baselineDatarecord component
-
recommendedTier
Returns the value of therecommendedTierrecord component.- Returns:
- the value of the
recommendedTierrecord component
-
recommendedCap
Returns the value of therecommendedCaprecord component.- Returns:
- the value of the
recommendedCaprecord component
-