Package app.kntrl.client.openapi.model
Class AuthData
- java.lang.Object
-
- app.kntrl.client.openapi.model.AuthData
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AuthData extends java.lang.ObjectAuthData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthData.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_LOGINstatic java.lang.StringSERIALIZED_NAME_PUBLIC
-
Constructor Summary
Constructors Constructor Description AuthData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthData_public(AuthDataPublic _public)booleanequals(java.lang.Object o)static AuthDatafromJson(java.lang.String jsonString)Create an instance of AuthData 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.lang.StringgetLogin()If authenticator supports identification, it provides login here.AuthDataPublicgetPublic()Get _publicinthashCode()AuthDatalogin(java.lang.String login)AuthDataputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.voidsetLogin(java.lang.String login)voidsetPublic(AuthDataPublic _public)java.lang.StringtoJson()Convert an instance of AuthData 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_PUBLIC
public static final java.lang.String SERIALIZED_NAME_PUBLIC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOGIN
public static final java.lang.String SERIALIZED_NAME_LOGIN
- 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
-
_public
public AuthData _public(AuthDataPublic _public)
-
getPublic
@Nonnull public AuthDataPublic getPublic()
Get _public- Returns:
- _public
-
setPublic
public void setPublic(AuthDataPublic _public)
-
login
public AuthData login(java.lang.String login)
-
getLogin
@Nullable public java.lang.String getLogin()
If authenticator supports identification, it provides login here. This can be email, phone number, facebook account id, etc.- Returns:
- login
-
setLogin
public void setLogin(java.lang.String login)
-
putAdditionalProperty
public AuthData 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 AuthData
-
fromJson
public static AuthData fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of AuthData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AuthData
- Throws:
java.io.IOException- if the JSON string is invalid with respect to AuthData
-
toJson
public java.lang.String toJson()
Convert an instance of AuthData to an JSON string- Returns:
- JSON string
-
-