//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.project.data/SegmentModel
SegmentModel
[jvm]
data class SegmentModel(val id: Int = 0, val text: String = "", val key: String = "", val translatable: Boolean = true)
Segment model. A segment belongs to a specific language within a specific project.
Constructors
SegmentModel | [jvm] constructor(id: Int = 0, text: String = "", key: String = "", translatable: Boolean = true) Create SegmentModel |
Properties
Name | Summary |
---|---|
id | [jvm] val id: Int = 0 segment ID |
key | [jvm] val key: String segment identifier (key) |
text | [jvm] val text: String segment text |
translatable | [jvm] val translatable: Boolean = true indicates whether this is a translatable or source-only segment |