Package ai.reveng.model
Class GetPublicUserResponse
java.lang.Object
ai.reveng.model.GetPublicUserResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class GetPublicUserResponse
extends Object
GetPublicUserResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GetPublicUserResponseCreate an instance of GetPublicUserResponse given an JSON stringGet userIdGet usernameinthashCode()voidvoidsetUsername(String username) toJson()Convert an instance of GetPublicUserResponse 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_USERNAME
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetPublicUserResponse
public GetPublicUserResponse()
-
-
Method Details
-
username
-
getUsername
Get username- Returns:
- username
-
setUsername
-
userId
-
getUserId
Get userId- Returns:
- userId
-
setUserId
-
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 GetPublicUserResponse
-
fromJson
Create an instance of GetPublicUserResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetPublicUserResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetPublicUserResponse
-
toJson
Convert an instance of GetPublicUserResponse to an JSON string- Returns:
- JSON string
-