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

src.main.kotlin.com.gabrielfeo.develocity.api.model.TestDistributionAgentPoolConfiguration.kt Maven / Gradle / Ivy

The 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 com.gabrielfeo.develocity.api.model


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

/**
 * An agent pool configuration.
 *
 * @param name The alias or display name of the agent pool.
 * @param minimumSize 
 * @param maximumSize 
 * @param capabilities 
 * @param orderIndex The order in which the agent pool is considered for allocation. Lower values are considered first.
 * @param restrictAccessToProjectGroups Controls whether this pool can be used by everyone, or only the assigned project groups. A `true` value implies that `projectGroupIds` is present and has at least one entry. Conversely, a `false` value implies that `projectGroupIds` is empty. 
 * @param projectGroupIds Controls which project groups can use this pool. If it is empty, then `restrictAccessToProjectGroups` must be `false`. Conversely, if it has values then `restrictAccessToProjectGroups` must be `true`. 
 */


data class TestDistributionAgentPoolConfiguration (

    /* The alias or display name of the agent pool. */
    @Json(name = "name")
    val name: kotlin.String,

    @Json(name = "minimumSize")
    val minimumSize: kotlin.Int,

    @Json(name = "maximumSize")
    val maximumSize: kotlin.Int,

    @Json(name = "capabilities")
    val capabilities: kotlin.collections.List,

    /* The order in which the agent pool is considered for allocation. Lower values are considered first. */
    @Json(name = "orderIndex")
    val orderIndex: kotlin.Int? = null,

    /* Controls whether this pool can be used by everyone, or only the assigned project groups. A `true` value implies that `projectGroupIds` is present and has at least one entry. Conversely, a `false` value implies that `projectGroupIds` is empty.  */
    @Json(name = "restrictAccessToProjectGroups")
    val restrictAccessToProjectGroups: kotlin.Boolean? = false,

    /* Controls which project groups can use this pool. If it is empty, then `restrictAccessToProjectGroups` must be `false`. Conversely, if it has values then `restrictAccessToProjectGroups` must be `true`.  */
    @Json(name = "projectGroupIds")
    val projectGroupIds: kotlin.collections.List? = null

) {


}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy