Skip to content

Commit 573cb10

Browse files
ECWID-116277 Implement alt-text support for all image API | Update AsyncPictureData dto
1 parent c4a70f3 commit 573cb10

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/main/kotlin/com/ecwid/apiclient/v3/dto/common/AsyncPictureData.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,11 @@ package com.ecwid.apiclient.v3.dto.common
33
data class AsyncPictureData(
44
val url: String = "",
55
val width: Int = 0,
6-
val height: Int = 0
6+
val height: Int = 0,
7+
val alt: PictureAlt? = null
8+
)
9+
10+
data class PictureAlt (
11+
var main: String? = null,
12+
var translated: Map<String, String>? = null
713
)

0 commit comments

Comments
 (0)