|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201208.Team
public class Team
A Team defines a grouping of users and what entities they
have access
to. Users are added to teams with UserTeamAssociation
objects.
| 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 |
|---|
public Team()
public Team(Long id,
String name,
String description,
Boolean hasAllCompanies,
Boolean hasAllInventory,
TeamAccessType teamAccessType,
long[] companyIds,
String[] adUnitIds)
| Method Detail |
|---|
public Long getId()
Team. This value is readonly and
is assigned
by Google. Teams that are created by Google will have
negative IDs.public void setId(Long id)
id - * The unique ID of the Team. This value is readonly and
is assigned
by Google. Teams that are created by Google will have
negative IDs.public String getName()
Team. This value is required to create
a team and
has a maximum length of 106 characters.public void setName(String name)
name - * The name of the Team. This value is required to create
a team and
has a maximum length of 106 characters.public String getDescription()
Team. This value is optional
and has a
maximum length of 255 characters.public void setDescription(String description)
description - * The description of the Team. This value is optional
and has a
maximum length of 255 characters.public Boolean getHasAllCompanies()
companyIds must be empty.public void setHasAllCompanies(Boolean hasAllCompanies)
hasAllCompanies - * Whether or not users on this team have access to all companies.
If this
value is true, then companyIds must be empty.public Boolean getHasAllInventory()
adUnitIds must be empty.public void setHasAllInventory(Boolean hasAllInventory)
hasAllInventory - * Whether or not users on this team have access to all inventory.
If this
value is true, then adUnitIds must be empty.public TeamAccessType getTeamAccessType()
public void setTeamAccessType(TeamAccessType teamAccessType)
teamAccessType - * The default access to orders, for users on this team.public long[] getCompanyIds()
hasAllCompanies
is set to
true, then this field must be empty.public void setCompanyIds(long[] companyIds)
companyIds - * The IDs of all companies on the team. If hasAllCompanies
is set to
true, then this field must be empty.public long getCompanyIds(int i)
public void setCompanyIds(int i,
long _value)
public String[] getAdUnitIds()
hasAllInventory
is set to true, then this field must be empty.public void setAdUnitIds(String[] adUnitIds)
adUnitIds - * The IDs of all applied ad units on the team. If hasAllInventory
is set to true, then this field must be empty.public String getAdUnitIds(int i)
public void setAdUnitIds(int i,
String _value)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||