Record Class ContentResponse
java.lang.Object
java.lang.Record
de.chojo.universalis.rest.response.extra.ContentResponse
- Record Components:
content- content
Response for a
ContentRequest-
Constructor Summary
ConstructorsConstructorDescriptionContentResponse(Map<String, Object> content) Creates an instance of aContentResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontent()Returns the value of thecontentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ContentResponse
-
-
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). -
content
-