mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-22 20:33:05 +00:00
add ingnore unknown properties to stream entities
This commit is contained in:
parent
c45084a44b
commit
9191c6145e
5 changed files with 10 additions and 5 deletions
|
@ -1,10 +1,11 @@
|
|||
package de.nicidienase.chaosflix.common.entities.streaming
|
||||
|
||||
import android.arch.persistence.room.Entity
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
||||
|
||||
import java.util.ArrayList
|
||||
|
||||
@Entity(tableName = "group")
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
data class Group(
|
||||
var group: String,
|
||||
var rooms: MutableList<Room>){
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package de.nicidienase.chaosflix.common.entities.streaming
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
||||
import kotlin.collections.ArrayList
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
class LiveConference(
|
||||
var conference: String,
|
||||
var slug: String,
|
||||
|
|
|
@ -2,6 +2,7 @@ package de.nicidienase.chaosflix.common.entities.streaming
|
|||
|
||||
import android.os.Parcel
|
||||
import android.os.Parcelable
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
||||
|
||||
import java.util.ArrayList
|
||||
|
||||
|
@ -9,6 +10,7 @@ import java.util.ArrayList
|
|||
* Created by felix on 23.03.17.
|
||||
*/
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
data class Room (var slug: String,
|
||||
var schedulename: String,
|
||||
var thumb: String,
|
||||
|
|
|
@ -2,13 +2,11 @@ package de.nicidienase.chaosflix.common.entities.streaming
|
|||
|
||||
import android.os.Parcel
|
||||
import android.os.Parcelable
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
||||
|
||||
import kotlin.collections.HashMap
|
||||
|
||||
/**
|
||||
* Created by felix on 23.03.17.
|
||||
*/
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
data class Stream(
|
||||
var slug: String,
|
||||
var display: String,
|
||||
|
|
|
@ -2,7 +2,9 @@ package de.nicidienase.chaosflix.common.entities.streaming
|
|||
|
||||
import android.os.Parcel
|
||||
import android.os.Parcelable
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
|
||||
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
data class StreamUrl(var display: String,
|
||||
var tech: String,
|
||||
var url: String) : Parcelable {
|
||||
|
|
Loading…
Reference in a new issue