Package com.okta.sdk.resource.model
Class UserProfile
java.lang.Object
com.okta.sdk.resource.model.UserProfile
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class UserProfile
extends Object
implements Serializable
Specifies the default and custom profile properties for a user. The default user profile is based on the [System for
Cross-domain Identity Management: Core Schema](https://datatracker.ietf.org/doc/html/rfc7643). The only permitted
customizations of the default profile are to update permissions, change whether the `firstName` and
`lastName` properties are nullable, and specify a
[pattern](https://developer.okta.com/docs/reference/api/schemas/#login-pattern-validation) for `login`. You
can use the Profile Editor in the Admin Console or the [Schemas
API](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) to make
schema modifications. You can extend user profiles with custom properties. You must first add the custom property to
the user profile schema before you reference it. You can use the Profile Editor in the Admin console or the [Schemas
API](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) to manage
schema extensions. Custom attributes can contain HTML tags. It's the client's responsibility to escape or
encode this data before displaying it. Use
[best-practices](https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html) to
prevent cross-site scripting.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncostCenter
(String costCenter) countryCode
(String countryCode) department
(String department) displayName
(String displayName) employeeNumber
(String employeeNumber) boolean
getCity()
The city or locality of the User's address (`locality`)org.openapitools.jackson.nullable.JsonNullable
<String> Name of the cost center assigned to a userorg.openapitools.jackson.nullable.JsonNullable
<String> The country name component of the User's address (`country`).org.openapitools.jackson.nullable.JsonNullable
<String> Name of the User's departmentName of the User suitable for display to end usersorg.openapitools.jackson.nullable.JsonNullable
<String> Name of the User's divisionorg.openapitools.jackson.nullable.JsonNullable
<String> getEmail()
The primary email address of the user.The organization or company assigned unique identifier for the userGiven name of the User (`givenName`)org.openapitools.jackson.nullable.JsonNullable
<String> Honorific prefix(es) of the user, or title in most Western languagesorg.openapitools.jackson.nullable.JsonNullable
<String> Honorific suffix(es) of the Userorg.openapitools.jackson.nullable.JsonNullable
<String> The family name of the User (`familyName`)org.openapitools.jackson.nullable.JsonNullable
<String> The User's default location for purposes of localizing items such as currency, date time format, numerical representations, and so on.getLogin()
The unique identifier for the User (`username`).The `displayName` of the User's managerorg.openapitools.jackson.nullable.JsonNullable
<String> The `id` of the User's managerorg.openapitools.jackson.nullable.JsonNullable
<String> The middle name of the userorg.openapitools.jackson.nullable.JsonNullable
<String> The mobile phone number of the userorg.openapitools.jackson.nullable.JsonNullable
<String> The casual way to address the User in real lifeorg.openapitools.jackson.nullable.JsonNullable
<String> Name of the the User's organizationorg.openapitools.jackson.nullable.JsonNullable
<String> Mailing address component of the User's addressorg.openapitools.jackson.nullable.JsonNullable
<String> The User's preferred written or spoken language.org.openapitools.jackson.nullable.JsonNullable
<String> The primary phone number of the User such as a home numberorg.openapitools.jackson.nullable.JsonNullable
<String> The URL of the User's online profile.org.openapitools.jackson.nullable.JsonNullable
<String> The secondary email address of the User typically used for account recovery.org.openapitools.jackson.nullable.JsonNullable
<String> getState()
The state or region component of the User's address (`region`)org.openapitools.jackson.nullable.JsonNullable
<String> The full street address component of the User's addressorg.openapitools.jackson.nullable.JsonNullable
<String> The User's time zoneorg.openapitools.jackson.nullable.JsonNullable
<String> getTitle()
The User's title, such as Vice Presidentorg.openapitools.jackson.nullable.JsonNullable
<String> The property used to describe the organization-to-user relationship, such as employee or contractororg.openapitools.jackson.nullable.JsonNullable
<String> The ZIP code or postal code component of the User's address (`postalCode`)org.openapitools.jackson.nullable.JsonNullable
<String> int
hashCode()
honorificPrefix
(String honorificPrefix) honorificSuffix
(String honorificSuffix) middleName
(String middleName) mobilePhone
(String mobilePhone) organization
(String organization) postalAddress
(String postalAddress) preferredLanguage
(String preferredLanguage) primaryPhone
(String primaryPhone) profileUrl
(String profileUrl) secondEmail
(String secondEmail) void
setAdditionalProperties
(Map<String, Object> additionalProperties) void
void
setCity_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> city) void
setCostCenter
(String costCenter) void
setCostCenter_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> costCenter) void
setCountryCode
(String countryCode) void
setCountryCode_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> countryCode) void
setDepartment
(String department) void
setDisplayName
(String displayName) void
setDisplayName_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> displayName) void
setDivision
(String division) void
setDivision_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> division) void
void
setEmployeeNumber
(String employeeNumber) void
setFirstName
(String firstName) void
setFirstName_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> firstName) void
setHonorificPrefix
(String honorificPrefix) void
setHonorificPrefix_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> honorificPrefix) void
setHonorificSuffix
(String honorificSuffix) void
setHonorificSuffix_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> honorificSuffix) void
setLastName
(String lastName) void
setLastName_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> lastName) void
void
void
setManager
(String manager) void
setManager_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> manager) void
setManagerId
(String managerId) void
setManagerId_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> managerId) void
setMiddleName
(String middleName) void
setMiddleName_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> middleName) void
setMobilePhone
(String mobilePhone) void
setMobilePhone_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> mobilePhone) void
setNickName
(String nickName) void
setNickName_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> nickName) void
setOrganization
(String organization) void
setOrganization_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> organization) void
setPostalAddress
(String postalAddress) void
setPostalAddress_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> postalAddress) void
setPreferredLanguage
(String preferredLanguage) void
setPreferredLanguage_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> preferredLanguage) void
setPrimaryPhone
(String primaryPhone) void
setPrimaryPhone_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> primaryPhone) void
setProfileUrl
(String profileUrl) void
setProfileUrl_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> profileUrl) void
setSecondEmail
(String secondEmail) void
setSecondEmail_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> secondEmail) void
void
setState_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> state) void
setStreetAddress
(String streetAddress) void
setStreetAddress_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> streetAddress) void
setTimezone
(String timezone) void
setTimezone_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> timezone) void
void
setTitle_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> title) void
setUserType
(String userType) void
setUserType_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> userType) void
setZipCode
(String zipCode) void
setZipCode_JsonNullable
(org.openapitools.jackson.nullable.JsonNullable<String> zipCode) streetAddress
(String streetAddress) toString()
-
Field Details
-
additionalProperties
-
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_COST_CENTER
- See Also:
-
JSON_PROPERTY_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_DEPARTMENT
- See Also:
-
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_DIVISION
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_EMPLOYEE_NUMBER
- See Also:
-
JSON_PROPERTY_FIRST_NAME
- See Also:
-
JSON_PROPERTY_HONORIFIC_PREFIX
- See Also:
-
JSON_PROPERTY_HONORIFIC_SUFFIX
- See Also:
-
JSON_PROPERTY_LAST_NAME
- See Also:
-
JSON_PROPERTY_LOCALE
- See Also:
-
JSON_PROPERTY_LOGIN
- See Also:
-
JSON_PROPERTY_MANAGER
- See Also:
-
JSON_PROPERTY_MANAGER_ID
- See Also:
-
JSON_PROPERTY_MIDDLE_NAME
- See Also:
-
JSON_PROPERTY_MOBILE_PHONE
- See Also:
-
JSON_PROPERTY_NICK_NAME
- See Also:
-
JSON_PROPERTY_ORGANIZATION
- See Also:
-
JSON_PROPERTY_POSTAL_ADDRESS
- See Also:
-
JSON_PROPERTY_PREFERRED_LANGUAGE
- See Also:
-
JSON_PROPERTY_PRIMARY_PHONE
- See Also:
-
JSON_PROPERTY_PROFILE_URL
- See Also:
-
JSON_PROPERTY_SECOND_EMAIL
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_STREET_ADDRESS
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_USER_TYPE
- See Also:
-
JSON_PROPERTY_ZIP_CODE
- See Also:
-
-
Constructor Details
-
UserProfile
public UserProfile()
-
-
Method Details
-
getAdditionalProperties
-
setAdditionalProperties
-
city
-
getCity
The city or locality of the User's address (`locality`)- Returns:
- city
-
getCity_JsonNullable
-
setCity_JsonNullable
-
setCity
-
costCenter
-
getCostCenter
Name of the cost center assigned to a user- Returns:
- costCenter
-
getCostCenter_JsonNullable
-
setCostCenter_JsonNullable
public void setCostCenter_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> costCenter) -
setCostCenter
-
countryCode
-
getCountryCode
The country name component of the User's address (`country`). For validation, see [ISO 3166-1 alpha 2 \"short\" code format](https://datatracker.ietf.org/doc/html/draft-ietf-scim-core-schema-22#ref-ISO3166).- Returns:
- countryCode
-
getCountryCode_JsonNullable
-
setCountryCode_JsonNullable
public void setCountryCode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> countryCode) -
setCountryCode
-
department
-
getDepartment
Name of the User's department- Returns:
- department
-
setDepartment
-
displayName
-
getDisplayName
Name of the User suitable for display to end users- Returns:
- displayName
-
getDisplayName_JsonNullable
-
setDisplayName_JsonNullable
public void setDisplayName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> displayName) -
setDisplayName
-
division
-
getDivision
Name of the User's division- Returns:
- division
-
getDivision_JsonNullable
-
setDivision_JsonNullable
public void setDivision_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> division) -
setDivision
-
email
-
getEmail
The primary email address of the user. For validation, see [RFC 5322 Section 3.2.3](https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.3).- Returns:
-
setEmail
-
employeeNumber
-
getEmployeeNumber
The organization or company assigned unique identifier for the user- Returns:
- employeeNumber
-
setEmployeeNumber
-
firstName
-
getFirstName
Given name of the User (`givenName`)- Returns:
- firstName
-
getFirstName_JsonNullable
-
setFirstName_JsonNullable
public void setFirstName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> firstName) -
setFirstName
-
honorificPrefix
-
getHonorificPrefix
Honorific prefix(es) of the user, or title in most Western languages- Returns:
- honorificPrefix
-
getHonorificPrefix_JsonNullable
-
setHonorificPrefix_JsonNullable
public void setHonorificPrefix_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> honorificPrefix) -
setHonorificPrefix
-
honorificSuffix
-
getHonorificSuffix
Honorific suffix(es) of the User- Returns:
- honorificSuffix
-
getHonorificSuffix_JsonNullable
-
setHonorificSuffix_JsonNullable
public void setHonorificSuffix_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> honorificSuffix) -
setHonorificSuffix
-
lastName
-
getLastName
The family name of the User (`familyName`)- Returns:
- lastName
-
getLastName_JsonNullable
-
setLastName_JsonNullable
public void setLastName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> lastName) -
setLastName
-
locale
-
getLocale
The User's default location for purposes of localizing items such as currency, date time format, numerical representations, and so on. A locale value is a concatenation of the ISO 639-1 two-letter language code, an underscore, and the ISO 3166-1 two-letter country code. For example, en_US specifies the language English and country US. This value is `en_US` by default.- Returns:
- locale
-
setLocale
-
login
-
getLogin
The unique identifier for the User (`username`). For validation, see [Login pattern validation](https://developer.okta.com/docs/reference/api/schemas/#login-pattern-validation). Every user within your Okta org must have a unique identifier for a login. This constraint applies to all users you import from other systems or applications such as Active Directory. Your organization is the top-level namespace to mix and match logins from all your connected applications or directories. Careful consideration of naming conventions for your login identifier will make it easier to onboard new applications in the future. Logins are not considered unique if they differ only in case and/or diacritical marks. If one of your users has a login of Isaac.Brock@example.com, there cannot be another user whose login is isaac.brock@example.com, nor isáàc.bröck@example.com. Okta has a default ambiguous name resolution policy for usernames that include @-signs. (By default, usernames must be formatted as email addresses and thus always include @-signs. You can remove that restriction using either the Admin Console or the Schemas API (opens new window).) Users can sign in with their non-qualified short name (for example: isaac.brock with username isaac.brock@example.com) as long as the short name is still unique within the organization. maxLength: 100- Returns:
- login
-
setLogin
-
manager
-
getManager
The `displayName` of the User's manager- Returns:
- manager
-
getManager_JsonNullable
-
setManager_JsonNullable
-
setManager
-
managerId
-
getManagerId
The `id` of the User's manager- Returns:
- managerId
-
getManagerId_JsonNullable
-
setManagerId_JsonNullable
public void setManagerId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> managerId) -
setManagerId
-
middleName
-
getMiddleName
The middle name of the user- Returns:
- middleName
-
getMiddleName_JsonNullable
-
setMiddleName_JsonNullable
public void setMiddleName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> middleName) -
setMiddleName
-
mobilePhone
-
getMobilePhone
The mobile phone number of the user- Returns:
- mobilePhone
-
getMobilePhone_JsonNullable
-
setMobilePhone_JsonNullable
public void setMobilePhone_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> mobilePhone) -
setMobilePhone
-
nickName
-
getNickName
The casual way to address the User in real life- Returns:
- nickName
-
getNickName_JsonNullable
-
setNickName_JsonNullable
public void setNickName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> nickName) -
setNickName
-
organization
-
getOrganization
Name of the the User's organization- Returns:
- organization
-
getOrganization_JsonNullable
-
setOrganization_JsonNullable
public void setOrganization_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> organization) -
setOrganization
-
postalAddress
-
getPostalAddress
Mailing address component of the User's address- Returns:
- postalAddress
-
getPostalAddress_JsonNullable
-
setPostalAddress_JsonNullable
public void setPostalAddress_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> postalAddress) -
setPostalAddress
-
preferredLanguage
-
getPreferredLanguage
The User's preferred written or spoken language. For validation, see [RFC 7231 Section 5.3.5](https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.5).- Returns:
- preferredLanguage
-
getPreferredLanguage_JsonNullable
-
setPreferredLanguage_JsonNullable
public void setPreferredLanguage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> preferredLanguage) -
setPreferredLanguage
-
-
getPrimaryPhone
The primary phone number of the User such as a home number- Returns:
- primaryPhone
-
getPrimaryPhone_JsonNullable
-
setPrimaryPhone_JsonNullable
public void setPrimaryPhone_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> primaryPhone) -
setPrimaryPhone
-
profileUrl
-
getProfileUrl
The URL of the User's online profile. For example, a web page. See [URL](https://datatracker.ietf.org/doc/html/rfc1808).- Returns:
- profileUrl
-
getProfileUrl_JsonNullable
-
setProfileUrl_JsonNullable
public void setProfileUrl_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> profileUrl) -
setProfileUrl
-
secondEmail
-
getSecondEmail
The secondary email address of the User typically used for account recovery. For validation, see [RFC 5322 Section 3.2.3](https://datatracker.ietf.org/doc/html/rfc5322#section-3.2.3).- Returns:
- secondEmail
-
getSecondEmail_JsonNullable
-
setSecondEmail_JsonNullable
public void setSecondEmail_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> secondEmail) -
setSecondEmail
-
state
-
getState
The state or region component of the User's address (`region`)- Returns:
- state
-
getState_JsonNullable
-
setState_JsonNullable
-
setState
-
streetAddress
-
getStreetAddress
The full street address component of the User's address- Returns:
- streetAddress
-
getStreetAddress_JsonNullable
-
setStreetAddress_JsonNullable
public void setStreetAddress_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> streetAddress) -
setStreetAddress
-
timezone
-
getTimezone
The User's time zone- Returns:
- timezone
-
getTimezone_JsonNullable
-
setTimezone_JsonNullable
public void setTimezone_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> timezone) -
setTimezone
-
title
-
getTitle
The User's title, such as Vice President- Returns:
- title
-
getTitle_JsonNullable
-
setTitle_JsonNullable
-
setTitle
-
userType
-
getUserType
The property used to describe the organization-to-user relationship, such as employee or contractor- Returns:
- userType
-
getUserType_JsonNullable
-
setUserType_JsonNullable
public void setUserType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> userType) -
setUserType
-
zipCode
-
getZipCode
The ZIP code or postal code component of the User's address (`postalCode`)- Returns:
- zipCode
-
getZipCode_JsonNullable
-
setZipCode_JsonNullable
-
setZipCode
-
equals
-
hashCode
public int hashCode() -
toString
-