public class Team extends Object
Team defines a grouping of users and what entities they have access
to. Users are added to teams with UserTeamAssociation objects.
Java class for Team complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Team">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201805}TeamStatus" minOccurs="0"/>
<element name="hasAllCompanies" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="hasAllInventory" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="teamAccessType" type="{https://www.google.com/apis/ads/publisher/v201805}TeamAccessType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected Boolean |
hasAllCompanies |
protected Boolean |
hasAllInventory |
protected Long |
id |
protected String |
name |
protected TeamStatus |
status |
protected TeamAccessType |
teamAccessType |
| Constructor and Description |
|---|
Team() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
Long |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
TeamStatus |
getStatus()
Gets the value of the status property.
|
TeamAccessType |
getTeamAccessType()
Gets the value of the teamAccessType property.
|
Boolean |
isHasAllCompanies()
Gets the value of the hasAllCompanies property.
|
Boolean |
isHasAllInventory()
Gets the value of the hasAllInventory property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setHasAllCompanies(Boolean value)
Sets the value of the hasAllCompanies property.
|
void |
setHasAllInventory(Boolean value)
Sets the value of the hasAllInventory property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setStatus(TeamStatus value)
Sets the value of the status property.
|
void |
setTeamAccessType(TeamAccessType value)
Sets the value of the teamAccessType property.
|
protected Long id
protected String name
protected String description
protected TeamStatus status
protected Boolean hasAllCompanies
protected Boolean hasAllInventory
protected TeamAccessType teamAccessType
public void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic TeamStatus getStatus()
TeamStatuspublic void setStatus(TeamStatus value)
value - allowed object is
TeamStatuspublic Boolean isHasAllCompanies()
Booleanpublic void setHasAllCompanies(Boolean value)
value - allowed object is
Booleanpublic Boolean isHasAllInventory()
Booleanpublic void setHasAllInventory(Boolean value)
value - allowed object is
Booleanpublic TeamAccessType getTeamAccessType()
TeamAccessTypepublic void setTeamAccessType(TeamAccessType value)
value - allowed object is
TeamAccessTypeCopyright © 2018. All Rights Reserved.