com.google.api.ads.dfp.axis.v201201
Class Team

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

public class Team
extends Object
implements Serializable

A Team defines a grouping of users and what entities they have access to.

See Also:
Serialized Form

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

Constructor Detail

Team

public Team()

Team

public Team(Long id,
            String name,
            String description,
            long[] userIds)
Method Detail

getId

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

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

setId

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

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

getName

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

Returns:
name * The name of the Team. This value is required to create a team and has a maximum length of 106 characters.

setName

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

Parameters:
name - * The name of the Team. This value is required to create a team and has a maximum length of 106 characters.

getDescription

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

Returns:
description * The description of the Team. This value is optional and has a maximum length of 255 characters.

setDescription

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

Parameters:
description - * The description of the Team. This value is optional and has a maximum length of 255 characters.

getUserIds

public long[] getUserIds()
Gets the userIds value for this Team.

Returns:
userIds * The list of user IDs on the team.

setUserIds

public void setUserIds(long[] userIds)
Sets the userIds value for this Team.

Parameters:
userIds - * The list of user IDs on the team.

getUserIds

public long getUserIds(int i)

setUserIds

public void setUserIds(int i,
                       long _value)

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.