Record Class McpResourceAnnotations
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpResourceAnnotations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalPropertiesrecord component.audience()Returns the value of theaudiencerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelastModifiedrecord component.priority()Returns the value of thepriorityrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpResourceAnnotations
public McpResourceAnnotations(List<String> audience, Double priority, String lastModified, Map<String, Object> additionalProperties) Creates an instance of aMcpResourceAnnotationsrecord class.- Parameters:
audience- the value for theaudiencerecord componentpriority- the value for thepriorityrecord componentlastModified- the value for thelastModifiedrecord componentadditionalProperties- the value for theadditionalPropertiesrecord 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). -
audience
-
priority
Returns the value of thepriorityrecord component.- Returns:
- the value of the
priorityrecord component
-
lastModified
Returns the value of thelastModifiedrecord component.- Returns:
- the value of the
lastModifiedrecord component
-
additionalProperties
-