Package com.affinda.api.client.models
Class ApiUserWithKey
- java.lang.Object
-
- com.affinda.api.client.models.ApiUserWithKey
-
public final class ApiUserWithKey extends Object
The ApiUserWithKey model.
-
-
Constructor Summary
Constructors Constructor Description ApiUserWithKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiKey()Get the apiKey property: Use this key to authenticate with the API.StringgetAvatar()Get the avatar property: URL of the user's avatar.StringgetEmail()Get the email property: The email property.intgetId()Get the id property: Uniquely identify a user.StringgetName()Get the name property: The name property.List<ApiUserWithKeyOrganizationsItem>getOrganizations()Get the organizations property: The organizations property.StringgetUsername()Get the username property: The username property.ApiUserWithKeysetApiKey(String apiKey)Set the apiKey property: Use this key to authenticate with the API.ApiUserWithKeysetAvatar(String avatar)Set the avatar property: URL of the user's avatar.ApiUserWithKeysetEmail(String email)Set the email property: The email property.ApiUserWithKeysetId(int id)Set the id property: Uniquely identify a user.ApiUserWithKeysetName(String name)Set the name property: The name property.ApiUserWithKeysetOrganizations(List<ApiUserWithKeyOrganizationsItem> organizations)Set the organizations property: The organizations property.ApiUserWithKeysetUsername(String username)Set the username property: The username property.
-
-
-
Method Detail
-
getId
public int getId()
Get the id property: Uniquely identify a user.- Returns:
- the id value.
-
setId
public ApiUserWithKey setId(int id)
Set the id property: Uniquely identify a user.- Parameters:
id- the id value to set.- Returns:
- the ApiUserWithKey object itself.
-
getName
public String getName()
Get the name property: The name property.- Returns:
- the name value.
-
setName
public ApiUserWithKey setName(String name)
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the ApiUserWithKey object itself.
-
getUsername
public String getUsername()
Get the username property: The username property.- Returns:
- the username value.
-
setUsername
public ApiUserWithKey setUsername(String username)
Set the username property: The username property.- Parameters:
username- the username value to set.- Returns:
- the ApiUserWithKey object itself.
-
getEmail
public String getEmail()
Get the email property: The email property.- Returns:
- the email value.
-
setEmail
public ApiUserWithKey setEmail(String email)
Set the email property: The email property.- Parameters:
email- the email value to set.- Returns:
- the ApiUserWithKey object itself.
-
getAvatar
public String getAvatar()
Get the avatar property: URL of the user's avatar.- Returns:
- the avatar value.
-
setAvatar
public ApiUserWithKey setAvatar(String avatar)
Set the avatar property: URL of the user's avatar.- Parameters:
avatar- the avatar value to set.- Returns:
- the ApiUserWithKey object itself.
-
getOrganizations
public List<ApiUserWithKeyOrganizationsItem> getOrganizations()
Get the organizations property: The organizations property.- Returns:
- the organizations value.
-
setOrganizations
public ApiUserWithKey setOrganizations(List<ApiUserWithKeyOrganizationsItem> organizations)
Set the organizations property: The organizations property.- Parameters:
organizations- the organizations value to set.- Returns:
- the ApiUserWithKey object itself.
-
getApiKey
public String getApiKey()
Get the apiKey property: Use this key to authenticate with the API.- Returns:
- the apiKey value.
-
setApiKey
public ApiUserWithKey setApiKey(String apiKey)
Set the apiKey property: Use this key to authenticate with the API.- Parameters:
apiKey- the apiKey value to set.- Returns:
- the ApiUserWithKey object itself.
-
-