com.google.api.ads.dfp.axis.v201111
Class Role

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201111.Role
All Implemented Interfaces:
Serializable

public class Role
extends Object
implements Serializable

Each Role provides a user with permissions to perform specific operations in the system.

See Also:
Serialized Form

Constructor Summary
Role()
           
Role(Long id, String name, String description)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          Gets the description value for this Role.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Long getId()
          Gets the id value for this Role.
 String getName()
          Gets the name value for this Role.
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 setDescription(String description)
          Sets the description value for this Role.
 void setId(Long id)
          Sets the id value for this Role.
 void setName(String name)
          Sets the name value for this Role.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Role

public Role()

Role

public Role(Long id,
            String name,
            String description)
Method Detail

getId

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

Returns:
id * The unique ID of the role. This value is readonly and is assigned by Google. Roles that are created by Google will have negative IDs.

setId

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

Parameters:
id - * The unique ID of the role. This value is readonly and is assigned by Google. Roles that are created by Google will have negative IDs.

getName

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

Returns:
name * The name of the role. This value is readonly and is assigned by Google.

setName

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

Parameters:
name - * The name of the role. This value is readonly and is assigned by Google.

getDescription

public String getDescription()
Gets the description value for this Role.

Returns:
description * The description of the role. This value is readonly and is assigned by Google.

setDescription

public void setDescription(String description)
Sets the description value for this Role.

Parameters:
description - * The description of the role. This value is readonly and is assigned by Google.

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.