Record Class ClientYamlSuiteRestApi.Path
java.lang.Object
java.lang.Record
org.elasticsearch.test.rest.yaml.restspec.ClientYamlSuiteRestApi.Path
- Enclosing class:
ClientYamlSuiteRestApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thedeprecatedrecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.String[]methods()Returns the value of themethodsrecord component.parts()Returns the value of thepartsrecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Path
Creates an instance of aPathrecord class.- Parameters:
path- the value for thepathrecord componentmethods- the value for themethodsrecord componentparts- the value for thepartsrecord componentdeprecated- the value for thedeprecatedrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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 thepathrecord component.- Returns:
- the value of the
pathrecord component
-
methods
Returns the value of themethodsrecord component.- Returns:
- the value of the
methodsrecord component
-
parts
Returns the value of thepartsrecord component.- Returns:
- the value of the
partsrecord component
-
deprecated
public boolean deprecated()Returns the value of thedeprecatedrecord component.- Returns:
- the value of the
deprecatedrecord component
-