public enum TeamErrorReason extends Enum<TeamErrorReason>
Java class for TeamError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TeamError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ENTITY_NOT_ON_USERS_TEAMS"/>
<enumeration value="AD_UNITS_NOT_ON_ORDER_TEAMS"/>
<enumeration value="PLACEMENTS_NOT_ON_ORDER_TEAMS"/>
<enumeration value="MISSING_USERS_TEAM"/>
<enumeration value="ALL_TEAM_ASSOCIATION_NOT_ALLOWED"/>
<enumeration value="INVALID_TEAM_ASSIGNMENT"/>
<enumeration value="ALL_TEAM_ACCESS_OVERRIDE_NOT_ALLOWED"/>
<enumeration value="CANNOT_UPDATE_INACTIVE_TEAM"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AD_UNITS_NOT_ON_ORDER_TEAMS
The targeted or excluded ad unit must be on the order's teams.
|
ALL_TEAM_ACCESS_OVERRIDE_NOT_ALLOWED
The all entities team access type cannot be overridden.
|
ALL_TEAM_ASSOCIATION_NOT_ALLOWED
A team that gives access to all entities of a given type cannot be
associated with an entity of that type.
|
CANNOT_UPDATE_INACTIVE_TEAM
Cannot modify or create a team with an inactive status.
|
ENTITY_NOT_ON_USERS_TEAMS
User cannot use this entity because it is not on any of the user's teams.
|
INVALID_TEAM_ASSIGNMENT
The assignment of team to entities is invalid.
|
MISSING_USERS_TEAM
Entity cannot be created because it is not on any of the user's teams.
|
PLACEMENTS_NOT_ON_ORDER_TEAMS
The targeted placement must be on the order's teams.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static TeamErrorReason |
fromValue(String v) |
String |
value() |
static TeamErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TeamErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TeamErrorReason ENTITY_NOT_ON_USERS_TEAMS
public static final TeamErrorReason AD_UNITS_NOT_ON_ORDER_TEAMS
public static final TeamErrorReason PLACEMENTS_NOT_ON_ORDER_TEAMS
public static final TeamErrorReason MISSING_USERS_TEAM
public static final TeamErrorReason ALL_TEAM_ASSOCIATION_NOT_ALLOWED
public static final TeamErrorReason INVALID_TEAM_ASSIGNMENT
public static final TeamErrorReason ALL_TEAM_ACCESS_OVERRIDE_NOT_ALLOWED
public static final TeamErrorReason CANNOT_UPDATE_INACTIVE_TEAM
public static final TeamErrorReason UNKNOWN
public static TeamErrorReason[] values()
for (TeamErrorReason c : TeamErrorReason.values()) System.out.println(c);
public static TeamErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static TeamErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.