Record Class CatalogGetGeneratedFeedParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.CatalogGetGeneratedFeedParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record CatalogGetGeneratedFeedParams(CatalogClientContract contract, String policySessionId, String strategy, String key, List<CatalogTrustTier> trustTiers)
extends Record
Retrieves one generated feed, computed on every request, by strategy and key, such as `telemetry` and `popular`. Requires catalog-feeds and catalog-search-credential-required; add catalog-search-session-bound with policySessionId to retain the selected session's authority for installation, exactly as for catalog.search.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogGetGeneratedFeedParams(CatalogClientContract contract, String policySessionId, String strategy, String key, List<CatalogTrustTier> trustTiers) Creates an instance of aCatalogGetGeneratedFeedParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontract()Returns the value of thecontractrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.Returns the value of thepolicySessionIdrecord component.strategy()Returns the value of thestrategyrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrustTiersrecord component.
-
Constructor Details
-
CatalogGetGeneratedFeedParams
public CatalogGetGeneratedFeedParams(CatalogClientContract contract, String policySessionId, String strategy, String key, List<CatalogTrustTier> trustTiers) Creates an instance of aCatalogGetGeneratedFeedParamsrecord class.- Parameters:
contract- the value for thecontractrecord componentpolicySessionId- the value for thepolicySessionIdrecord componentstrategy- the value for thestrategyrecord componentkey- the value for thekeyrecord componenttrustTiers- the value for thetrustTiersrecord 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). -
contract
Returns the value of thecontractrecord component.- Returns:
- the value of the
contractrecord component
-
policySessionId
Returns the value of thepolicySessionIdrecord component.- Returns:
- the value of the
policySessionIdrecord component
-
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
-
trustTiers
Returns the value of thetrustTiersrecord component.- Returns:
- the value of the
trustTiersrecord component
-