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

ru.testit.kotlin.client.models.GlobalCustomAttributePostModel.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.CustomAttributeOptionPostModel
import ru.testit.kotlin.client.models.CustomAttributeTypesEnum

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

/**
 * 
 *
 * @param name Name of attribute
 * @param type Type of attribute
 * @param isEnabled Indicates whether the attribute is available
 * @param isRequired Indicates whether the attribute value is mandatory to specify
 * @param options Collection of attribute options     Available for attributes of type `options` and `multiple options` only
 */


data class GlobalCustomAttributePostModel (

    /* Name of attribute */
    @Json(name = "name")
    val name: kotlin.String,

    /* Type of attribute */
    @Json(name = "type")
    val type: CustomAttributeTypesEnum,

    /* Indicates whether the attribute is available */
    @Json(name = "isEnabled")
    val isEnabled: kotlin.Boolean? = null,

    /* Indicates whether the attribute value is mandatory to specify */
    @Json(name = "isRequired")
    val isRequired: kotlin.Boolean? = null,

    /* Collection of attribute options     Available for attributes of type `options` and `multiple options` only */
    @Json(name = "options")
    val options: kotlin.collections.List? = null

) {


}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy