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

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201204.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. Users are added to teams with UserTeamAssociation objects.

See Also:
Serialized Form

Constructor Summary
Team()
           
Team(Long id, String name, String description, Boolean hasAllCompanies, Boolean hasAllInventory, TeamAccessType teamAccessType, long[] companyIds, String[] adUnitIds)
           
 
Method Summary
 boolean equals(Object obj)
           
 String[] getAdUnitIds()
          Gets the adUnitIds value for this Team.
 String getAdUnitIds(int i)
           
 long[] getCompanyIds()
          Gets the companyIds value for this Team.
 long getCompanyIds(int i)
           
 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
 Boolean getHasAllCompanies()
          Gets the hasAllCompanies value for this Team.
 Boolean getHasAllInventory()
          Gets the hasAllInventory value for this Team.
 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
 TeamAccessType getTeamAccessType()
          Gets the teamAccessType value for this Team.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAdUnitIds(int i, String _value)
           
 void setAdUnitIds(String[] adUnitIds)
          Sets the adUnitIds value for this Team.
 void setCompanyIds(int i, long _value)
           
 void setCompanyIds(long[] companyIds)
          Sets the companyIds value for this Team.
 void setDescription(String description)
          Sets the description value for this Team.
 void setHasAllCompanies(Boolean hasAllCompanies)
          Sets the hasAllCompanies value for this Team.
 void setHasAllInventory(Boolean hasAllInventory)
          Sets the hasAllInventory 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 setTeamAccessType(TeamAccessType teamAccessType)
          Sets the teamAccessType 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,
            Boolean hasAllCompanies,
            Boolean hasAllInventory,
            TeamAccessType teamAccessType,
            long[] companyIds,
            String[] adUnitIds)
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.

getHasAllCompanies

public Boolean getHasAllCompanies()
Gets the hasAllCompanies value for this Team.

Returns:
hasAllCompanies * Whether or not users on this team have access to all companies. If this value is true, then companyIds must be empty.

setHasAllCompanies

public void setHasAllCompanies(Boolean hasAllCompanies)
Sets the hasAllCompanies value for this Team.

Parameters:
hasAllCompanies - * Whether or not users on this team have access to all companies. If this value is true, then companyIds must be empty.

getHasAllInventory

public Boolean getHasAllInventory()
Gets the hasAllInventory value for this Team.

Returns:
hasAllInventory * Whether or not users on this team have access to all inventory. If this value is true, then adUnitIds must be empty.

setHasAllInventory

public void setHasAllInventory(Boolean hasAllInventory)
Sets the hasAllInventory value for this Team.

Parameters:
hasAllInventory - * Whether or not users on this team have access to all inventory. If this value is true, then adUnitIds must be empty.

getTeamAccessType

public TeamAccessType getTeamAccessType()
Gets the teamAccessType value for this Team.

Returns:
teamAccessType * The default access to orders, for users on this team.

setTeamAccessType

public void setTeamAccessType(TeamAccessType teamAccessType)
Sets the teamAccessType value for this Team.

Parameters:
teamAccessType - * The default access to orders, for users on this team.

getCompanyIds

public long[] getCompanyIds()
Gets the companyIds value for this Team.

Returns:
companyIds * The IDs of all companies on the team. If hasAllCompanies is set to true, then this field must be empty.

setCompanyIds

public void setCompanyIds(long[] companyIds)
Sets the companyIds value for this Team.

Parameters:
companyIds - * The IDs of all companies on the team. If hasAllCompanies is set to true, then this field must be empty.

getCompanyIds

public long getCompanyIds(int i)

setCompanyIds

public void setCompanyIds(int i,
                          long _value)

getAdUnitIds

public String[] getAdUnitIds()
Gets the adUnitIds value for this Team.

Returns:
adUnitIds * The IDs of all applied ad units on the team. If hasAllInventory is set to true, then this field must be empty.

setAdUnitIds

public void setAdUnitIds(String[] adUnitIds)
Sets the adUnitIds value for this Team.

Parameters:
adUnitIds - * The IDs of all applied ad units on the team. If hasAllInventory is set to true, then this field must be empty.

getAdUnitIds

public String getAdUnitIds(int i)

setAdUnitIds

public void setAdUnitIds(int i,
                         String _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.