Record Class CatalogGeneratedFeedDescription
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.CatalogGeneratedFeedDescription
@Generated("copilot-sdk-codegen")
public record CatalogGeneratedFeedDescription(String strategy, String key, String generatedAt)
extends Record
A generated feed's identity. It has no version; generatedAt is its only freshness signal.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogGeneratedFeedDescription(String strategy, String key, String generatedAt) Creates an instance of aCatalogGeneratedFeedDescriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegeneratedAtrecord component.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.strategy()Returns the value of thestrategyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CatalogGeneratedFeedDescription
Creates an instance of aCatalogGeneratedFeedDescriptionrecord class.- Parameters:
strategy- the value for thestrategyrecord componentkey- the value for thekeyrecord componentgeneratedAt- the value for thegeneratedAtrecord 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). -
strategy
Returns the value of thestrategyrecord component.- Returns:
- the value of the
strategyrecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
generatedAt
Returns the value of thegeneratedAtrecord component.- Returns:
- the value of the
generatedAtrecord component
-