toggle menu
KotlinInside
1.16.0
jvm
switch theme
search in API
KotlinInside
/
be.zvz.kotlininside.api.article
/
ArticleVote
Article
Vote
class
ArticleVote
(
gallId
:
String
,
articleId
:
Int
,
session
:
Session
)
Members
Constructors
Article
Vote
Link copied to clipboard
constructor
(
gallId
:
String
,
articleId
:
Int
,
session
:
Session
)
Types
Vote
Result
Link copied to clipboard
data
class
VoteResult
(
val
result
:
Boolean
,
val
cause
:
String
,
val
member
:
Int
?
=
null
)
Functions
downvote
Link copied to clipboard
fun
downvote
(
)
:
ArticleVote.VoteResult
글을 비추천합니다.
upvote
Link copied to clipboard
fun
upvote
(
)
:
ArticleVote.VoteResult
글을 추천합니다.