Record Class CatalogGetSavedFeedParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.CatalogGetSavedFeedParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record CatalogGetSavedFeedParams(CatalogClientContract contract, String policySessionId, String feedId, List<CatalogTrustTier> trustTiers)
extends Record
Retrieves one saved feed by its opaque ID. 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
ConstructorsConstructorDescriptionCatalogGetSavedFeedParams(CatalogClientContract contract, String policySessionId, String feedId, List<CatalogTrustTier> trustTiers) Creates an instance of aCatalogGetSavedFeedParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontract()Returns the value of thecontractrecord component.final booleanIndicates whether some other object is "equal to" this one.feedId()Returns the value of thefeedIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepolicySessionIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrustTiersrecord component.
-
Constructor Details
-
CatalogGetSavedFeedParams
public CatalogGetSavedFeedParams(CatalogClientContract contract, String policySessionId, String feedId, List<CatalogTrustTier> trustTiers) Creates an instance of aCatalogGetSavedFeedParamsrecord class.- Parameters:
contract- the value for thecontractrecord componentpolicySessionId- the value for thepolicySessionIdrecord componentfeedId- the value for thefeedIdrecord 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
-
feedId
Returns the value of thefeedIdrecord component.- Returns:
- the value of the
feedIdrecord component
-
trustTiers
Returns the value of thetrustTiersrecord component.- Returns:
- the value of the
trustTiersrecord component
-