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 stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get userIdGet usernameinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the GetPublicUserResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-