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

ru.testit.kotlin.client.models.WorkItemModel.kt Maven / Gradle / Ivy

There is a newer version: 0.2.0
Show newest version
/**
 *
 * 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.AttachmentModel
import ru.testit.kotlin.client.models.AutoTestModel
import ru.testit.kotlin.client.models.IterationModel
import ru.testit.kotlin.client.models.LinkModel
import ru.testit.kotlin.client.models.StepModel
import ru.testit.kotlin.client.models.TagPutModel
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 versionId used for versioning changes in workitem
 * @param medianDuration used for getting a median duration of all autotests related to this workitem
 * @param isDeleted 
 * @param projectId 
 * @param entityTypeName 
 * @param isAutomated 
 * @param versionNumber used for define chronology of workitem state in each version
 * @param createdDate 
 * @param createdById 
 * @param globalId 
 * @param id 
 * @param sectionId 
 * @param state 
 * @param priority 
 * @param steps 
 * @param preconditionSteps 
 * @param postconditionSteps 
 * @param duration 
 * @param attributes 
 * @param tags 
 * @param links 
 * @param name 
 * @param autoTests 
 * @param attachments 
 * @param sectionPreconditionSteps 
 * @param sectionPostconditionSteps 
 * @param iterations 
 * @param modifiedDate 
 * @param modifiedById 
 * @param description 
 */


data class WorkItemModel (

    /* used for versioning changes in workitem */
    @Json(name = "versionId")
    val versionId: java.util.UUID,

    /* used for getting a median duration of all autotests related to this workitem */
    @Json(name = "medianDuration")
    val medianDuration: kotlin.Long,

    @Json(name = "isDeleted")
    val isDeleted: kotlin.Boolean,

    @Json(name = "projectId")
    val projectId: java.util.UUID,

    @Json(name = "entityTypeName")
    val entityTypeName: WorkItemEntityTypes,

    @Json(name = "isAutomated")
    val isAutomated: kotlin.Boolean,

    /* used for define chronology of workitem state in each version */
    @Json(name = "versionNumber")
    val versionNumber: kotlin.Int,

    @Json(name = "createdDate")
    val createdDate: java.time.OffsetDateTime,

    @Json(name = "createdById")
    val createdById: java.util.UUID,

    @Json(name = "globalId")
    val globalId: kotlin.Long,

    @Json(name = "id")
    val id: java.util.UUID,

    @Json(name = "sectionId")
    val sectionId: java.util.UUID,

    @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,

    @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,

    @Json(name = "autoTests")
    val autoTests: kotlin.collections.List? = null,

    @Json(name = "attachments")
    val attachments: kotlin.collections.List? = null,

    @Json(name = "sectionPreconditionSteps")
    val sectionPreconditionSteps: kotlin.collections.List? = null,

    @Json(name = "sectionPostconditionSteps")
    val sectionPostconditionSteps: kotlin.collections.List? = null,

    @Json(name = "iterations")
    val iterations: kotlin.collections.List? = null,

    @Json(name = "modifiedDate")
    val modifiedDate: java.time.OffsetDateTime? = null,

    @Json(name = "modifiedById")
    val modifiedById: java.util.UUID? = null,

    @Json(name = "description")
    val description: kotlin.String? = null

) {


}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy