Interface BetaTelemetryDestinationWorkspaces.Visitor
-
- All Implemented Interfaces:
public interface BetaTelemetryDestinationWorkspaces.Visitor<T extends Object>An interface that defines how to map each variant of BetaTelemetryDestinationWorkspaces to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitAll(BetaTelemetryDestinationWorkspacesAll all)The destination covers every workspace of the organization, including the default workspace, archived workspaces, and workspaces created later. abstract TvisitInclude(BetaTelemetryDestinationWorkspacesInclude include)The destination covers the workspaces on its list, and no others. abstract TvisitExclude(BetaTelemetryDestinationWorkspacesExclude exclude)The destination covers every workspace of the organization except the workspaces on its list. Tunknown(JsonValue json)Maps an unknown variant of BetaTelemetryDestinationWorkspaces to a value of type T. -
-
Method Detail
-
visitAll
abstract T visitAll(BetaTelemetryDestinationWorkspacesAll all)
The destination covers every workspace of the organization, including the default workspace, archived workspaces, and workspaces created later. It doesn't have a list.
-
visitInclude
abstract T visitInclude(BetaTelemetryDestinationWorkspacesInclude include)
The destination covers the workspaces on its list, and no others.
-
visitExclude
abstract T visitExclude(BetaTelemetryDestinationWorkspacesExclude exclude)
The destination covers every workspace of the organization except the workspaces on its list. A workspace created later is covered until it is added to the list.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaTelemetryDestinationWorkspaces to a value of type T.
An instance of BetaTelemetryDestinationWorkspaces can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-