Skip to content

Commit

Permalink
Merge pull request #473 from vimeo/feature/instant-playback-new-fields
Browse files Browse the repository at this point in the history
Add new fields isPlayable, isMaxResolution
  • Loading branch information
anthonycr authored Mar 2, 2021
2 parents 901a8a3 + 3324baf commit b3de9eb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion models/src/main/java/com/vimeo/networking2/EditSession.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@ data class EditSession(
* Whether the video has licensed music.
*/
@Json(name = "is_music_licensed")
val isMusicLicensed: Boolean? = null
val isMusicLicensed: Boolean? = null,

/**
* Whether the current version of clip is of max resolution.
*/
@Json(name = "is_max_resolution")
val isMaxResolution: Boolean? = null
)
8 changes: 7 additions & 1 deletion models/src/main/java/com/vimeo/networking2/Video.kt
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,13 @@ data class Video(
* Information about the Vimeo Create session of a video.
*/
@Json(name = "edit_session")
val editSession: EditSession? = null
val editSession: EditSession? = null,

/**
* Whether the clip is playable.
*/
@Json(name = "is_playable")
val isPlayable: Boolean? = null

) : Entity {

Expand Down

0 comments on commit b3de9eb

Please sign in to comment.