public class UserRecord extends Object implements Serializable
UserRecord represents the base class from which a User is
derived.| Constructor and Description |
|---|
UserRecord() |
UserRecord(Long id,
String name,
String email,
Long roleId,
String roleName,
String preferredLocale,
String userRecordType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getEmail()
Gets the email value for this UserRecord.
|
Long |
getId()
Gets the id value for this UserRecord.
|
String |
getName()
Gets the name value for this UserRecord.
|
String |
getPreferredLocale()
Gets the preferredLocale value for this UserRecord.
|
Long |
getRoleId()
Gets the roleId value for this UserRecord.
|
String |
getRoleName()
Gets the roleName value for this UserRecord.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
String |
getUserRecordType()
Gets the userRecordType value for this UserRecord.
|
int |
hashCode() |
void |
setEmail(String email)
Sets the email value for this UserRecord.
|
void |
setId(Long id)
Sets the id value for this UserRecord.
|
void |
setName(String name)
Sets the name value for this UserRecord.
|
void |
setPreferredLocale(String preferredLocale)
Sets the preferredLocale value for this UserRecord.
|
void |
setRoleId(Long roleId)
Sets the roleId value for this UserRecord.
|
void |
setRoleName(String roleName)
Sets the roleName value for this UserRecord.
|
void |
setUserRecordType(String userRecordType)
Sets the userRecordType value for this UserRecord.
|
public Long getId()
User. This attribute is readonly
and is
assigned by Google.public void setId(Long id)
id - * The unique ID of the User. This attribute is readonly
and is
assigned by Google.public String getName()
User. It has a maximum length of 128
characters.public void setName(String name)
name - * The name of the User. It has a maximum length of 128
characters.public String getEmail()
User. In order to create
a new user, you must
already have a Google
Account.public void setEmail(String email)
email - * The email or login of the User. In order to create
a new user, you must
already have a Google
Account.public Long getRoleId()
User. Roles that are created
by Google
will have negative IDs.public void setRoleId(Long roleId)
roleId - * The unique role ID of the User. Roles that are created
by Google
will have negative IDs.public String getRoleName()
User. This attribute
is
readonly.public void setRoleName(String roleName)
roleName - * The name of the role assigned to the User. This attribute
is
readonly.public String getPreferredLocale()
User.
The structure of the locale string should be [ISO
language
code]_[ISO_country code]. This field is required.public void setPreferredLocale(String preferredLocale)
preferredLocale - * Determines the preferred language and format of data for the
User.
The structure of the locale string should be [ISO
language
code]_[ISO_country code]. This field is required.public String getUserRecordType()
public void setUserRecordType(String userRecordType)
userRecordType - * Indicates that this instance is a subtype of UserRecord.
Although this field is returned in the response, it
is ignored on input
and cannot be selected. Specify xsi:type instead.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2013. All Rights Reserved.