com.google.api.ads.dfp.axis.v201203
Class User

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201203.UserRecord
      extended by com.google.api.ads.dfp.axis.v201203.User
All Implemented Interfaces:
Serializable

public class User
extends UserRecord
implements Serializable

Represents a user of the system.

Users may be assigned at most one Role per network. Each role provides a user with permissions to perform specific operations. Without a role, they will not be able to perform any actions.

See Also:
Serialized Form

Constructor Summary
User()
           
User(Long id, String name, String email, Long roleId, String roleName, String preferredLocale, long[] teamIds, String userRecordType, Boolean isActive, Boolean isEmailNotificationAllowed)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Boolean getIsActive()
          Gets the isActive value for this User.
 Boolean getIsEmailNotificationAllowed()
          Gets the isEmailNotificationAllowed value for this User.
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
 int hashCode()
           
 void setIsActive(Boolean isActive)
          Sets the isActive value for this User.
 void setIsEmailNotificationAllowed(Boolean isEmailNotificationAllowed)
          Sets the isEmailNotificationAllowed value for this User.
 
Methods inherited from class com.google.api.ads.dfp.axis.v201203.UserRecord
getEmail, getId, getName, getPreferredLocale, getRoleId, getRoleName, getTeamIds, getTeamIds, getUserRecordType, setEmail, setId, setName, setPreferredLocale, setRoleId, setRoleName, setTeamIds, setTeamIds, setUserRecordType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()

User

public User(Long id,
            String name,
            String email,
            Long roleId,
            String roleName,
            String preferredLocale,
            long[] teamIds,
            String userRecordType,
            Boolean isActive,
            Boolean isEmailNotificationAllowed)
Method Detail

getIsActive

public Boolean getIsActive()
Gets the isActive value for this User.

Returns:
isActive * Specifies whether or not the User is active. An inactive user cannot log in to the system or perform any operations. This attribute is read-only.

setIsActive

public void setIsActive(Boolean isActive)
Sets the isActive value for this User.

Parameters:
isActive - * Specifies whether or not the User is active. An inactive user cannot log in to the system or perform any operations. This attribute is read-only.

getIsEmailNotificationAllowed

public Boolean getIsEmailNotificationAllowed()
Gets the isEmailNotificationAllowed value for this User.

Returns:
isEmailNotificationAllowed * Specifies whether or not the User wants to permit the Publisher Display Ads system to send email notifications to his or her email address. This attribute is optional and defaults to true.

setIsEmailNotificationAllowed

public void setIsEmailNotificationAllowed(Boolean isEmailNotificationAllowed)
Sets the isEmailNotificationAllowed value for this User.

Parameters:
isEmailNotificationAllowed - * Specifies whether or not the User wants to permit the Publisher Display Ads system to send email notifications to his or her email address. This attribute is optional and defaults to true.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class UserRecord

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.