LinkInfo

data class LinkInfo(url: String?, requestedUrl: String?, host: String?, title: String?, description: String?, section: String?, type: String?, images: List<String>?) : Parcelable

카카오스토리 포스팅을 위한 스크랩 API 응답 클래스

Constructors

Link copied to clipboard
fun LinkInfo(url: String?, requestedUrl: String?, host: String?, title: String?, description: String?, section: String?, type: String?, images: List<String>?)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val description: String?

웹 페이지의 설명

Link copied to clipboard
val host: String?

스크랩한 호스트 도메인

Link copied to clipboard
@SerializedName(value = "image")
val images: List<String>?

웹 페이지의 대표 이미지 주소의 url array. 최대 3개.

Link copied to clipboard
val requestedUrl: String?

요청시의 URL 원본. resolution 을 하기 전의 URL

Link copied to clipboard
val section: String?

웹 페이지의 섹션 정보

Link copied to clipboard
val title: String?

웹 페이지의 제목

Link copied to clipboard
val type: String?

웹 페이지의 콘텐츠 타입. 예) video, music, book, article, profile, website 등.

Link copied to clipboard
val url: String?

스크랩 한 주소의 URL. shorten URL 의 경우 resolution 한 실제 URL