Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Client.AppRequestResult.Ok
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Client.AppRequestResult.Ok
- Record Components:
result- Request processing result
- All Implemented Interfaces:
Client.AppRequestResult
- Enclosing interface:
Client.AppRequestResult
public static record Client.AppRequestResult.Ok(com.fasterxml.jackson.databind.JsonNode result)
extends Record
implements Client.AppRequestResult
Request processed successfully
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.Client.AppRequestResult
Client.AppRequestResult.Error, Client.AppRequestResult.Ok -
Constructor Summary
ConstructorsConstructorDescriptionOk(com.fasterxml.jackson.databind.JsonNode result) Creates an instance of aOkrecord 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.com.fasterxml.jackson.databind.JsonNoderesult()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.type()
-
Constructor Details
-
Ok
public Ok(com.fasterxml.jackson.databind.JsonNode result) Creates an instance of aOkrecord class.- Parameters:
result- the value for theresultrecord component
-
-
Method Details
-
type
-
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). -
result
-