Record Class CatalogTrustProvenance
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.CatalogTrustProvenance
@Generated("copilot-sdk-codegen")
public record CatalogTrustProvenance(CatalogTrustSource source, OffsetDateTime observedAt)
extends Record
Where and when the runtime observed the trust metadata. Observation time is not the authority's evaluation time and must not be used to infer staleness.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogTrustProvenance(CatalogTrustSource source, OffsetDateTime observedAt) Creates an instance of aCatalogTrustProvenancerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theobservedAtrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CatalogTrustProvenance
Creates an instance of aCatalogTrustProvenancerecord class.- Parameters:
source- the value for thesourcerecord componentobservedAt- the value for theobservedAtrecord 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). -
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
observedAt
Returns the value of theobservedAtrecord component.- Returns:
- the value of the
observedAtrecord component
-