Package ai.reveng.model
Class LoginResponse
java.lang.Object
ai.reveng.model.LoginResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoginResponse
extends Object
LoginResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LoginResponseCreate an instance of LoginResponse given an JSON stringgetToken()Authentication token for subsequent requestsinthashCode()voidtoJson()Convert an instance of LoginResponse to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TOKEN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoginResponse
public LoginResponse()
-
-
Method Details
-
token
-
getToken
Authentication token for subsequent requests- Returns:
- token
-
setToken
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to LoginResponse
-
fromJson
Create an instance of LoginResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoginResponse
- Throws:
IOException- if the JSON string is invalid with respect to LoginResponse
-
toJson
Convert an instance of LoginResponse to an JSON string- Returns:
- JSON string
-