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 aOk
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.com.fasterxml.jackson.databind.JsonNode
result()
Returns the value of theresult
record component.final String
toString()
Returns a string representation of this record class.type()
-
Constructor Details
-
Ok
public Ok(com.fasterxml.jackson.databind.JsonNode result) Creates an instance of aOk
record class.- Parameters:
result
- the value for theresult
record 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
-