TermsOfService

data class TermsOfService(val updatedAt: String, val version: String, val variants: List<TermsOfService.Variant> = emptyList())

Class for describing our terms of service.

Constructors

Link copied to clipboard
constructor(updatedAt: String, version: String, variants: List<TermsOfService.Variant> = emptyList())

Types

Link copied to clipboard
data class Content(val href: String)

Class for link encapsulation

Link copied to clipboard
data class Links(val content: TermsOfService.Content)

Class for link encapsulation

Link copied to clipboard
data class Variant(val isDefault: Boolean = false, val language: String, val links: TermsOfService.Links)

A variant of the terms of service document

Properties

Link copied to clipboard

Gets a link to a downloadable html in the current system language or a default if no translation is available.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard