Record Class AutoTierMetadata
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AutoTierMetadata
@Generated("copilot-sdk-codegen")
public record AutoTierMetadata(String defaultTier, List<AutoTierDescriptor> tiers, String providerId)
extends Record
Account-bound discovery metadata for the virtual `auto` model.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAutoTierMetadata(String defaultTier, List<AutoTierDescriptor> tiers, String providerId) Creates an instance of aAutoTierMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefaultTierrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theproviderIdrecord component.tiers()Returns the value of thetiersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AutoTierMetadata
Creates an instance of aAutoTierMetadatarecord class.- Parameters:
defaultTier- the value for thedefaultTierrecord componenttiers- the value for thetiersrecord componentproviderId- the value for theproviderIdrecord 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). -
defaultTier
Returns the value of thedefaultTierrecord component.- Returns:
- the value of the
defaultTierrecord component
-
tiers
Returns the value of thetiersrecord component.- Returns:
- the value of the
tiersrecord component
-
providerId
Returns the value of theproviderIdrecord component.- Returns:
- the value of the
providerIdrecord component
-