ru.testit.kotlin.client.models.WorkItemPostModel.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testit-api-client-kotlin Show documentation
Show all versions of testit-api-client-kotlin Show documentation
Kotlin API client for TestIT.
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package ru.testit.kotlin.client.models
import ru.testit.kotlin.client.models.AttachmentPutModel
import ru.testit.kotlin.client.models.AutoTestIdModel
import ru.testit.kotlin.client.models.IterationPutModel
import ru.testit.kotlin.client.models.LinkPostModel
import ru.testit.kotlin.client.models.StepPostModel
import ru.testit.kotlin.client.models.TagPostModel
import ru.testit.kotlin.client.models.WorkItemEntityTypes
import ru.testit.kotlin.client.models.WorkItemPriorityModel
import ru.testit.kotlin.client.models.WorkItemStates
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
*
*
* @param entityTypeName
* @param state
* @param priority
* @param steps
* @param preconditionSteps
* @param postconditionSteps
* @param duration Must be 0 for shared steps and greater than 0 for the other types of work items
* @param attributes
* @param tags
* @param links
* @param name
* @param projectId This property is used to link workitem with project
* @param sectionId
* @param description
* @param attachments
* @param iterations
* @param autoTests
*/
data class WorkItemPostModel (
@Json(name = "entityTypeName")
val entityTypeName: WorkItemEntityTypes,
@Json(name = "state")
val state: WorkItemStates,
@Json(name = "priority")
val priority: WorkItemPriorityModel,
@Json(name = "steps")
val steps: kotlin.collections.List,
@Json(name = "preconditionSteps")
val preconditionSteps: kotlin.collections.List,
@Json(name = "postconditionSteps")
val postconditionSteps: kotlin.collections.List,
/* Must be 0 for shared steps and greater than 0 for the other types of work items */
@Json(name = "duration")
val duration: kotlin.Int,
@Json(name = "attributes")
val attributes: kotlin.collections.Map,
@Json(name = "tags")
val tags: kotlin.collections.List,
@Json(name = "links")
val links: kotlin.collections.List,
@Json(name = "name")
val name: kotlin.String,
/* This property is used to link workitem with project */
@Json(name = "projectId")
val projectId: java.util.UUID,
@Json(name = "sectionId")
val sectionId: java.util.UUID,
@Json(name = "description")
val description: kotlin.String? = null,
@Json(name = "attachments")
val attachments: kotlin.collections.List? = null,
@Json(name = "iterations")
val iterations: kotlin.collections.List? = null,
@Json(name = "autoTests")
val autoTests: kotlin.collections.List? = null
) {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy