Record Class AutoTierDescriptor
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AutoTierDescriptor
@Generated("copilot-sdk-codegen")
public record AutoTierDescriptor(String id, String displayName, String description, String type, AutoTierStatus status)
extends Record
A server-advertised routing preference. Identifiers and execution types are extensible.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAutoTierDescriptor(String id, String displayName, String description, String type, AutoTierStatus status) Creates an instance of aAutoTierDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
AutoTierDescriptor
public AutoTierDescriptor(String id, String displayName, String description, String type, AutoTierStatus status) Creates an instance of aAutoTierDescriptorrecord class.- Parameters:
id- the value for theidrecord componentdisplayName- the value for thedisplayNamerecord componentdescription- the value for thedescriptionrecord componenttype- the value for thetyperecord componentstatus- the value for thestatusrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-