feat: add pr create options

This commit is contained in:
Jacob Nguyen
2022-09-06 22:45:27 -05:00
parent f1dc4decc8
commit 44222d203d
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
package structures.options
@kotlinx.serialization.Serializable
sealed class PostOptions

View File

@@ -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()