Package app.kntrl.client.openapi.model
Class SaveUserReq
- java.lang.Object
-
- app.kntrl.client.openapi.model.SaveUserReq
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SaveUserReq extends java.lang.ObjectSaveUserReq
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSaveUserReq.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>openapiFieldsstatic java.util.HashSet<java.lang.String>openapiRequiredFieldsstatic java.lang.StringSERIALIZED_NAME_AUTH_REQSstatic java.lang.StringSERIALIZED_NAME_DRY_RUNstatic java.lang.StringSERIALIZED_NAME_FACTORSstatic java.lang.StringSERIALIZED_NAME_LOGINS
-
Constructor Summary
Constructors Constructor Description SaveUserReq()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SaveUserReqauthReqs(java.util.Map<java.lang.String,AuthenticateReqAuthReqsValue> authReqs)SaveUserReqdryRun(java.lang.Boolean dryRun)booleanequals(java.lang.Object o)SaveUserReqfactors(java.util.Map<java.lang.String,java.lang.Boolean> factors)static SaveUserReqfromJson(java.lang.String jsonString)Create an instance of SaveUserReq given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()Return the additional (undeclared) property.java.lang.ObjectgetAdditionalProperty(java.lang.String key)Return the additional (undeclared) property with the specified name.java.util.Map<java.lang.String,AuthenticateReqAuthReqsValue>getAuthReqs()Get authReqsjava.lang.BooleangetDryRun()Get dryRunjava.util.Map<java.lang.String,java.lang.Boolean>getFactors()Optional factors to enable/disable.java.util.Map<java.lang.String,java.lang.String>getLogins()Get loginsinthashCode()SaveUserReqlogins(java.util.Map<java.lang.String,java.lang.String> logins)SaveUserReqputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.SaveUserReqputAuthReqsItem(java.lang.String key, AuthenticateReqAuthReqsValue authReqsItem)SaveUserReqputFactorsItem(java.lang.String key, java.lang.Boolean factorsItem)SaveUserReqputLoginsItem(java.lang.String key, java.lang.String loginsItem)voidsetAuthReqs(java.util.Map<java.lang.String,AuthenticateReqAuthReqsValue> authReqs)voidsetDryRun(java.lang.Boolean dryRun)voidsetFactors(java.util.Map<java.lang.String,java.lang.Boolean> factors)voidsetLogins(java.util.Map<java.lang.String,java.lang.String> logins)java.lang.StringtoJson()Convert an instance of SaveUserReq to an JSON stringjava.lang.StringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_FACTORS
public static final java.lang.String SERIALIZED_NAME_FACTORS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOGINS
public static final java.lang.String SERIALIZED_NAME_LOGINS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_AUTH_REQS
public static final java.lang.String SERIALIZED_NAME_AUTH_REQS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DRY_RUN
public static final java.lang.String SERIALIZED_NAME_DRY_RUN
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
factors
public SaveUserReq factors(java.util.Map<java.lang.String,java.lang.Boolean> factors)
-
putFactorsItem
public SaveUserReq putFactorsItem(java.lang.String key, java.lang.Boolean factorsItem)
-
getFactors
@Nullable public java.util.Map<java.lang.String,java.lang.Boolean> getFactors()
Optional factors to enable/disable. If factor marked as required in config, it will be considered enabled by default and this request doesn't change this.- Returns:
- factors
-
setFactors
public void setFactors(java.util.Map<java.lang.String,java.lang.Boolean> factors)
-
logins
public SaveUserReq logins(java.util.Map<java.lang.String,java.lang.String> logins)
-
putLoginsItem
public SaveUserReq putLoginsItem(java.lang.String key, java.lang.String loginsItem)
-
getLogins
@Nullable public java.util.Map<java.lang.String,java.lang.String> getLogins()
Get logins- Returns:
- logins
-
setLogins
public void setLogins(java.util.Map<java.lang.String,java.lang.String> logins)
-
authReqs
public SaveUserReq authReqs(java.util.Map<java.lang.String,AuthenticateReqAuthReqsValue> authReqs)
-
putAuthReqsItem
public SaveUserReq putAuthReqsItem(java.lang.String key, AuthenticateReqAuthReqsValue authReqsItem)
-
getAuthReqs
@Nullable public java.util.Map<java.lang.String,AuthenticateReqAuthReqsValue> getAuthReqs()
Get authReqs- Returns:
- authReqs
-
setAuthReqs
public void setAuthReqs(java.util.Map<java.lang.String,AuthenticateReqAuthReqsValue> authReqs)
-
dryRun
public SaveUserReq dryRun(java.lang.Boolean dryRun)
-
getDryRun
@Nullable public java.lang.Boolean getDryRun()
Get dryRun- Returns:
- dryRun
-
setDryRun
public void setDryRun(java.lang.Boolean dryRun)
-
putAdditionalProperty
public SaveUserReq putAdditionalProperty(java.lang.String key, java.lang.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.
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
java.io.IOException- if the JSON Object is invalid with respect to SaveUserReq
-
fromJson
public static SaveUserReq fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of SaveUserReq given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SaveUserReq
- Throws:
java.io.IOException- if the JSON string is invalid with respect to SaveUserReq
-
toJson
public java.lang.String toJson()
Convert an instance of SaveUserReq to an JSON string- Returns:
- JSON string
-
-