Record Class SessionLimitPredictionTierOption
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionLimitPredictionTierOption
@Generated("copilot-sdk-codegen")
public record SessionLimitPredictionTierOption(SessionLimitPredictionTier tier, Double cap)
extends Record
Semantic usage tier and its AI-credit cap.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aSessionLimitPredictionTierOptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncap()Returns the value of thecaprecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.tier()Returns the value of thetierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionLimitPredictionTierOption
Creates an instance of aSessionLimitPredictionTierOptionrecord class.- Parameters:
tier- the value for thetierrecord componentcap- the value for thecaprecord 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). -
tier
Returns the value of thetierrecord component.- Returns:
- the value of the
tierrecord component
-
cap
Returns the value of thecaprecord component.- Returns:
- the value of the
caprecord component
-