Skip to content

Commit

Permalink
Add new fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Baltser committed Feb 26, 2021
1 parent 901a8a3 commit 3324baf
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 3324baf

Please sign in to comment.