Package io.lakefs.clients.api.model
Class CurrentUser
- java.lang.Object
-
- io.lakefs.clients.api.model.CurrentUser
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CurrentUser extends Object
CurrentUser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCurrentUser.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_USER
-
Constructor Summary
Constructors Constructor Description CurrentUser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static CurrentUserfromJson(String jsonString)Create an instance of CurrentUser given an JSON stringUsergetUser()Get userinthashCode()voidsetUser(User user)StringtoJson()Convert an instance of CurrentUser to an JSON stringStringtoString()CurrentUseruser(User user)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
user
public CurrentUser user(User user)
-
setUser
public void setUser(User user)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to CurrentUser
-
fromJson
public static CurrentUser fromJson(String jsonString) throws IOException
Create an instance of CurrentUser given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CurrentUser
- Throws:
IOException- if the JSON string is invalid with respect to CurrentUser
-
toJson
public String toJson()
Convert an instance of CurrentUser to an JSON string- Returns:
- JSON string
-
-