com.google.api.ads.dfp.axis.v201206
Class UserRecord

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201206.UserRecord
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
User

public class UserRecord
extends Object
implements Serializable

The UserRecord represents the base class from which a User is derived.

See Also:
Serialized Form

Constructor Summary
UserRecord()
           
UserRecord(Long id, String name, String email, Long roleId, String roleName, String preferredLocale, String userRecordType)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserRecord

public UserRecord()

UserRecord

public UserRecord(Long id,
                  String name,
                  String email,
                  Long roleId,
                  String roleName,
                  String preferredLocale,
                  String userRecordType)
Method Detail

getId

public Long getId()
Gets the id value for this UserRecord.

Returns:
id * The unique ID of the User. This attribute is readonly and is assigned by Google.

setId

public void setId(Long id)
Sets the id value for this UserRecord.

Parameters:
id - * The unique ID of the User. This attribute is readonly and is assigned by Google.

getName

public String getName()
Gets the name value for this UserRecord.

Returns:
name * The name of the User. It has a maximum length of 128 characters.

setName

public void setName(String name)
Sets the name value for this UserRecord.

Parameters:
name - * The name of the User. It has a maximum length of 128 characters.

getEmail

public String getEmail()
Gets the email value for this UserRecord.

Returns:
email * The email or login of the User. In order to create a new user, you must already have a Google Account.

setEmail

public void setEmail(String email)
Sets the email value for this UserRecord.

Parameters:
email - * The email or login of the User. In order to create a new user, you must already have a Google Account.

getRoleId

public Long getRoleId()
Gets the roleId value for this UserRecord.

Returns:
roleId * The unique role ID of the User. Roles that are created by Google will have negative IDs.

setRoleId

public void setRoleId(Long roleId)
Sets the roleId value for this UserRecord.

Parameters:
roleId - * The unique role ID of the User. Roles that are created by Google will have negative IDs.

getRoleName

public String getRoleName()
Gets the roleName value for this UserRecord.

Returns:
roleName * The name of the role assigned to the User. This attribute is readonly.

setRoleName

public void setRoleName(String roleName)
Sets the roleName value for this UserRecord.

Parameters:
roleName - * The name of the role assigned to the User. This attribute is readonly.

getPreferredLocale

public String getPreferredLocale()
Gets the preferredLocale value for this UserRecord.

Returns:
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.

setPreferredLocale

public void setPreferredLocale(String preferredLocale)
Sets the preferredLocale value for this UserRecord.

Parameters:
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.

getUserRecordType

public String getUserRecordType()
Gets the userRecordType value for this UserRecord.

Returns:
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.

setUserRecordType

public void setUserRecordType(String userRecordType)
Sets the userRecordType value for this UserRecord.

Parameters:
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.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2012. All Rights Reserved.