@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class User extends Object
Details about the user object.
Note: Objects should always be created or deserialized using the User.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the User.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
User.Builder |
Constructor and Description |
---|
User(String key,
String firstName,
String lastName,
String country,
String csi,
String phone,
String timezone,
String organizationName,
String compartmentId,
String contactEmail)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static User.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the tenancy.
|
String |
getContactEmail()
The email of the contact person.
|
String |
getCountry()
Country of the user.
|
String |
getCsi()
CSI to be associated to the user.
|
String |
getFirstName()
First name of the user.
|
String |
getKey()
Unique identifier for the user.
|
String |
getLastName()
Last name of the user.
|
String |
getOrganizationName()
Organization of the user.
|
String |
getPhone()
Contact number of the user.
|
String |
getTimezone()
Timezone of the user.
|
int |
hashCode() |
User.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"key","firstName","lastName","country","csi","phone","timezone","organizationName","compartmentId","contactEmail"}) public User(String key, String firstName, String lastName, String country, String csi, String phone, String timezone, String organizationName, String compartmentId, String contactEmail)
public static User.Builder builder()
Create a new builder.
public User.Builder toBuilder()
public String getKey()
Unique identifier for the user.
public String getFirstName()
First name of the user.
public String getLastName()
Last name of the user.
public String getCountry()
Country of the user.
public String getCsi()
CSI to be associated to the user.
public String getPhone()
Contact number of the user.
public String getTimezone()
Timezone of the user.
public String getOrganizationName()
Organization of the user.
public String getCompartmentId()
The OCID of the tenancy.
public String getContactEmail()
The email of the contact person.
Copyright © 2016–2022. All rights reserved.