Class BooleanResponseAgent
java.lang.Object
travel.wink.sdk.travel.agent.model.BooleanResponseAgent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-01-24T16:12:20.831752593+07:00[Asia/Bangkok]")
public class BooleanResponseAgent
extends Object
Boolean response
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanA message indicating more textual information.Whether call to endpoint was successful or not.inthashCode()voidsetMessage(String message) voidsetSuccess(Boolean success) toString()
-
Field Details
-
JSON_PROPERTY_SUCCESS
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
-
Constructor Details
-
BooleanResponseAgent
public BooleanResponseAgent()
-
-
Method Details
-
success
-
getSuccess
Whether call to endpoint was successful or not.- Returns:
- success
-
setSuccess
-
message
-
getMessage
A message indicating more textual information. Mostly used to convey an error message.- Returns:
- message
-
setMessage
-
equals
-
hashCode
-
toString
-