Record Class Cheatsheet.Cheatpaths
java.lang.Object
java.lang.Record
io.micronaut.jsonschema.generator.ref.Cheatsheet.Cheatpaths
- Record Components:
name- A cheatpath name
https://github.com/cheat/cheat#cheatpathspath- A cheatpath path
https://github.com/cheat/cheat#cheatpaths- Cheatpath tags
https://github.com/cheat/cheat#cheatpathsreadonly- Whether allow creating cheatsheets in a cheatpath
https://github.com/cheat/cheat#cheatpaths
- Enclosing class:
Cheatsheet
-
Constructor Summary
ConstructorsConstructorDescriptionCheatpaths(@Size(min=1) String name, @Size(min=1) String path, Set<@Size(min=1) String> tags, boolean readonly) Creates an instance of aCheatpathsrecord 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.@Size(min=1) Stringname()Returns the value of thenamerecord component.@Size(min=1) Stringpath()Returns the value of thepathrecord component.booleanreadonly()Returns the value of thereadonlyrecord component.tags()Returns the value of thetagsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Cheatpaths
-
-
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. -
name
-
path
-
tags
-
readonly
-