mirror of
https://github.com/SrIzan10/automata.git
synced 2026-05-01 10:35:22 +00:00
feat: add pr create options
This commit is contained in:
5
src/main/kotlin/structures/options/PostOptions.kt
Normal file
5
src/main/kotlin/structures/options/PostOptions.kt
Normal file
@@ -0,0 +1,5 @@
|
||||
package structures.options
|
||||
|
||||
|
||||
@kotlinx.serialization.Serializable
|
||||
sealed class PostOptions
|
||||
@@ -0,0 +1,11 @@
|
||||
package structures.options
|
||||
|
||||
@kotlinx.serialization.Serializable
|
||||
data class PullRequestCreateOptions(
|
||||
val title: String,
|
||||
val body: String,
|
||||
val head: String,
|
||||
val base: String,
|
||||
val draft: Boolean? = null,
|
||||
val maintainer_can_modify : Boolean? = null
|
||||
) : PostOptions()
|
||||
Reference in New Issue
Block a user