Record Class McpAccessibilityViolation
java.lang.Object
java.lang.Record
com.shaft.mcp.McpAccessibilityViolation
-
Constructor Summary
ConstructorsConstructorDescriptionMcpAccessibilityViolation(String id, String impact, String description, String help, String helpUrl, List<String> tags, int nodeCount, List<McpAccessibilityViolationNode> nodes) Creates an instance of aMcpAccessibilityViolationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.help()Returns the value of thehelprecord component.helpUrl()Returns the value of thehelpUrlrecord component.id()Returns the value of theidrecord component.impact()Returns the value of theimpactrecord component.intReturns the value of thenodeCountrecord component.nodes()Returns the value of thenodesrecord component.tags()Returns the value of thetagsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpAccessibilityViolation
public McpAccessibilityViolation(String id, String impact, String description, String help, String helpUrl, List<String> tags, int nodeCount, List<McpAccessibilityViolationNode> nodes) Creates an instance of aMcpAccessibilityViolationrecord class.- Parameters:
id- the value for theidrecord componentimpact- the value for theimpactrecord componentdescription- the value for thedescriptionrecord componenthelp- the value for thehelprecord componenthelpUrl- the value for thehelpUrlrecord componenttags- the value for thetagsrecord componentnodeCount- the value for thenodeCountrecord componentnodes- the value for thenodesrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
impact
Returns the value of theimpactrecord component.- Returns:
- the value of the
impactrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
help
Returns the value of thehelprecord component.- Returns:
- the value of the
helprecord component
-
helpUrl
Returns the value of thehelpUrlrecord component.- Returns:
- the value of the
helpUrlrecord component
-
tags
-
nodeCount
public int nodeCount()Returns the value of thenodeCountrecord component.- Returns:
- the value of the
nodeCountrecord component
-
nodes
Returns the value of thenodesrecord component.- Returns:
- the value of the
nodesrecord component
-