From 5151ae5a3f04bb0f4da08d62070eafa53ee1e57d Mon Sep 17 00:00:00 2001 From: Ievgenii Tkachenko Date: Tue, 10 Aug 2021 13:52:43 +0300 Subject: [PATCH 1/3] VCANDROID-1320 Add edit_session.min_tier_for_movie field --- models/src/main/java/com/vimeo/networking2/EditSession.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/models/src/main/java/com/vimeo/networking2/EditSession.kt b/models/src/main/java/com/vimeo/networking2/EditSession.kt index 71621a07..20307f74 100644 --- a/models/src/main/java/com/vimeo/networking2/EditSession.kt +++ b/models/src/main/java/com/vimeo/networking2/EditSession.kt @@ -12,6 +12,7 @@ import com.squareup.moshi.JsonClass * @param resultVideoHash The result video hash. * @param hasWatermark Whether the video has watermark. * @param isRated Whether the video is rated. + * @param minTierForMovie Whether video requires paid plan. . */ @JsonClass(generateAdapter = true) data class EditSession( @@ -33,4 +34,7 @@ data class EditSession( @Json(name = "is_rated") val isRated: Boolean? = null, + + @Json(name = "min_tier_for_movie") + val minTierForMovie: String? = null, ) From 9e4c8f8881fdd18f7301a860446935ccd9970e87 Mon Sep 17 00:00:00 2001 From: Ievgenii Tkachenko Date: Tue, 10 Aug 2021 16:31:34 +0300 Subject: [PATCH 2/3] VCANDROID-1320 Add edit_session.min_tier_for_movie field --- models/src/main/java/com/vimeo/networking2/EditSession.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/src/main/java/com/vimeo/networking2/EditSession.kt b/models/src/main/java/com/vimeo/networking2/EditSession.kt index 20307f74..33c85e01 100644 --- a/models/src/main/java/com/vimeo/networking2/EditSession.kt +++ b/models/src/main/java/com/vimeo/networking2/EditSession.kt @@ -12,7 +12,7 @@ import com.squareup.moshi.JsonClass * @param resultVideoHash The result video hash. * @param hasWatermark Whether the video has watermark. * @param isRated Whether the video is rated. - * @param minTierForMovie Whether video requires paid plan. . + * @param minTierForMovie Whether video requires paid plan. */ @JsonClass(generateAdapter = true) data class EditSession( From c694015a6557a4d9a0740264bd519241b1c0c2ac Mon Sep 17 00:00:00 2001 From: Ievgenii Tkachenko Date: Tue, 10 Aug 2021 16:49:21 +0300 Subject: [PATCH 3/3] Change minTierForMovie field description --- models/src/main/java/com/vimeo/networking2/EditSession.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/src/main/java/com/vimeo/networking2/EditSession.kt b/models/src/main/java/com/vimeo/networking2/EditSession.kt index 33c85e01..7a75251d 100644 --- a/models/src/main/java/com/vimeo/networking2/EditSession.kt +++ b/models/src/main/java/com/vimeo/networking2/EditSession.kt @@ -12,7 +12,7 @@ import com.squareup.moshi.JsonClass * @param resultVideoHash The result video hash. * @param hasWatermark Whether the video has watermark. * @param isRated Whether the video is rated. - * @param minTierForMovie Whether video requires paid plan. + * @param minTierForMovie The minimum required Vimeo membership for the user to be able to share or download the video. */ @JsonClass(generateAdapter = true) data class EditSession(