TWSConfiguration

sealed class TWSConfiguration

Represents configuration for a TWSManager. There are two possible configurations Basic and Shared.

Inheritors

Types

Link copied to clipboard
data class Basic(val projectId: String) : TWSConfiguration

Basic configuration for a TWSManager. Configured for a specific project. TWSManager configured with Basic configuration will have access to all snippets in that organizations project, a valid tws-service.json is provided.

Link copied to clipboard
data class Shared(val sharedId: String) : TWSConfiguration

Shared configuration for a TWSManager. Configuration for a single snippet. TWSManager configured with Shared configuration has access to only a single snippet with that sharedId.