Package io.lakefs.clients.api.model
Class CommPrefsInput
- java.lang.Object
-
- io.lakefs.clients.api.model.CommPrefsInput
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CommPrefsInput extends Object
CommPrefsInput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommPrefsInput.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_FEATURE_UPDATESstatic StringSERIALIZED_NAME_SECURITY_UPDATES
-
Constructor Summary
Constructors Constructor Description CommPrefsInput()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommPrefsInputemail(String email)booleanequals(Object o)CommPrefsInputfeatureUpdates(Boolean featureUpdates)static CommPrefsInputfromJson(String jsonString)Create an instance of CommPrefsInput given an JSON stringStringgetEmail()the provided emailBooleangetFeatureUpdates()was \"feature updates\" checkedBooleangetSecurityUpdates()was \"security updates\" checkedinthashCode()CommPrefsInputsecurityUpdates(Boolean securityUpdates)voidsetEmail(String email)voidsetFeatureUpdates(Boolean featureUpdates)voidsetSecurityUpdates(Boolean securityUpdates)StringtoJson()Convert an instance of CommPrefsInput 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_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FEATURE_UPDATES
public static final String SERIALIZED_NAME_FEATURE_UPDATES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SECURITY_UPDATES
public static final String SERIALIZED_NAME_SECURITY_UPDATES
- See Also:
- Constant Field Values
-
-
Method Detail
-
email
public CommPrefsInput email(String email)
-
setEmail
public void setEmail(String email)
-
featureUpdates
public CommPrefsInput featureUpdates(Boolean featureUpdates)
-
getFeatureUpdates
@Nonnull public Boolean getFeatureUpdates()
was \"feature updates\" checked- Returns:
- featureUpdates
-
setFeatureUpdates
public void setFeatureUpdates(Boolean featureUpdates)
-
securityUpdates
public CommPrefsInput securityUpdates(Boolean securityUpdates)
-
getSecurityUpdates
@Nonnull public Boolean getSecurityUpdates()
was \"security updates\" checked- Returns:
- securityUpdates
-
setSecurityUpdates
public void setSecurityUpdates(Boolean securityUpdates)
-
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 CommPrefsInput
-
fromJson
public static CommPrefsInput fromJson(String jsonString) throws IOException
Create an instance of CommPrefsInput given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CommPrefsInput
- Throws:
IOException- if the JSON string is invalid with respect to CommPrefsInput
-
toJson
public String toJson()
Convert an instance of CommPrefsInput to an JSON string- Returns:
- JSON string
-
-