Package io.lakefs.clients.api.model
Class SetupState
- java.lang.Object
-
- io.lakefs.clients.api.model.SetupState
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SetupState extends Object
SetupState
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSetupState.CustomTypeAdapterFactorystatic classSetupState.StateEnumGets or Sets state
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_LOGIN_CONFIGstatic StringSERIALIZED_NAME_STATE
-
Constructor Summary
Constructors Constructor Description SetupState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static SetupStatefromJson(String jsonString)Create an instance of SetupState given an JSON stringLoginConfiggetLoginConfig()Get loginConfigSetupState.StateEnumgetState()Get stateinthashCode()SetupStateloginConfig(LoginConfig loginConfig)voidsetLoginConfig(LoginConfig loginConfig)voidsetState(SetupState.StateEnum state)SetupStatestate(SetupState.StateEnum state)StringtoJson()Convert an instance of SetupState to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOGIN_CONFIG
public static final String SERIALIZED_NAME_LOGIN_CONFIG
- See Also:
- Constant Field Values
-
-
Method Detail
-
state
public SetupState state(SetupState.StateEnum state)
-
getState
@Nullable public SetupState.StateEnum getState()
Get state- Returns:
- state
-
setState
public void setState(SetupState.StateEnum state)
-
loginConfig
public SetupState loginConfig(LoginConfig loginConfig)
-
getLoginConfig
@Nullable public LoginConfig getLoginConfig()
Get loginConfig- Returns:
- loginConfig
-
setLoginConfig
public void setLoginConfig(LoginConfig loginConfig)
-
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 SetupState
-
fromJson
public static SetupState fromJson(String jsonString) throws IOException
Create an instance of SetupState given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SetupState
- Throws:
IOException- if the JSON string is invalid with respect to SetupState
-
toJson
public String toJson()
Convert an instance of SetupState to an JSON string- Returns:
- JSON string
-
-