Record Class ClientYamlSuiteRestApi.Path
java.lang.Object
java.lang.Record
org.elasticsearch.test.rest.yaml.restspec.ClientYamlSuiteRestApi.Path
- Enclosing class:
- ClientYamlSuiteRestApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.int
hashCode()
Returns a hash code value for this object.String[]
methods()
Returns the value of themethods
record component.parts()
Returns the value of theparts
record component.path()
Returns the value of thepath
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Path
Creates an instance of aPath
record class.- Parameters:
path
- the value for thepath
record componentmethods
- the value for themethods
record componentparts
- the value for theparts
record component
-
-
Method Details
-
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)
. -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
methods
Returns the value of themethods
record component.- Returns:
- the value of the
methods
record component
-
parts
Returns the value of theparts
record component.- Returns:
- the value of the
parts
record component
-