Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
SDK: Fix of parsing JSON in PlaceDetail => Description
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Holecy committed Aug 2, 2017
1 parent 96c9ca2 commit 285a88d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ internal class ApiDescription : ApiModel<Description> {
@SerializedName("translation_provider")
var translationProvider: String? = null

@SerializedName("url")
var url: String? = null
@SerializedName("link")
var link: String? = null

override fun convert(): Description {
val description = Description()

description.text = text
description.provider = provider
description.translationProvider = translationProvider
description.url = url
description.link = link

return description
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ class Description {
var text: String? = null
var provider: String? = null
var translationProvider: String? = null
var url: String? = null
var link: String? = null
}

0 comments on commit 285a88d

Please sign in to comment.