Package io.lakefs.clients.sdk.model
Class SetupState
- java.lang.Object
-
- io.lakefs.clients.sdk.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_COMM_PREFS_MISSINGstatic 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 SetupStatecommPrefsMissing(Boolean commPrefsMissing)booleanequals(Object o)static SetupStatefromJson(String jsonString)Create an instance of SetupState given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.BooleangetCommPrefsMissing()true if the comm prefs are missing.LoginConfiggetLoginConfig()Get loginConfigSetupState.StateEnumgetState()Get stateinthashCode()SetupStateloginConfig(LoginConfig loginConfig)SetupStateputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetCommPrefsMissing(Boolean commPrefsMissing)voidsetLoginConfig(LoginConfig loginConfig)voidsetState(SetupState.StateEnum state)SetupStatestate(SetupState.StateEnum state)StringtoJson()Convert an instance of SetupState to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element 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_COMM_PREFS_MISSING
public static final String SERIALIZED_NAME_COMM_PREFS_MISSING
- 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)
-
commPrefsMissing
public SetupState commPrefsMissing(Boolean commPrefsMissing)
-
getCommPrefsMissing
@Nullable public Boolean getCommPrefsMissing()
true if the comm prefs are missing.- Returns:
- commPrefsMissing
-
setCommPrefsMissing
public void setCommPrefsMissing(Boolean commPrefsMissing)
-
loginConfig
public SetupState loginConfig(LoginConfig loginConfig)
-
getLoginConfig
@Nullable public LoginConfig getLoginConfig()
Get loginConfig- Returns:
- loginConfig
-
setLoginConfig
public void setLoginConfig(LoginConfig loginConfig)
-
putAdditionalProperty
public SetupState putAdditionalProperty(String key, Object value)
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 SetupState instance itself
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates 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 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
-
-