All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.gnuf0rce.github.entry.CommitComment.kt Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
/*
 * Copyright 2021-2022 dsstudio Technologies and contributors.
 *
 *  此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
 *  Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
 *
 *  https://github.com/gnuf0rce/github-helper/blob/master/LICENSE
 */


package io.github.gnuf0rce.github.entry

import kotlinx.serialization.Contextual
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import java.time.OffsetDateTime

@Serializable
@SerialName("CommitComment")
public data class CommitComment(
    @SerialName("author_association")
    override val association: AuthorAssociation,
    @SerialName("body")
    override val body: String,
    @SerialName("text")
    override val text: String,
    @SerialName("html")
    override val html: String,
    @SerialName("commit_id")
    val commitId: String,
    @Contextual
    @SerialName("created_at")
    override val createdAt: OffsetDateTime,
    @SerialName("html_url")
    override val htmlUrl: String,
    @SerialName("id")
    val id: Long,
    @SerialName("line")
    val line: Int?,
    @SerialName("node_id")
    override val nodeId: String,
    @SerialName("path")
    val path: String?,
    @SerialName("position")
    val position: Int?,
    @Contextual
    @SerialName("updated_at")
    override val updatedAt: OffsetDateTime,
    @SerialName("url")
    override val url: String,
    @SerialName("user")
    override val user: User?,
    @SerialName("reactions")
    override val reactions: Reactions? = null
) : Entry, Comment()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy