com.pulumi.digitalocean.kotlin.outputs.GetProjectsProject.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property createdAt The date and time when the project was created, (ISO8601)
* @property description The description of the project
* @property environment The environment of the project's resources. The possible values are: `Development`, `Staging`, `Production`.
* @property id The ID of the project
* @property isDefault
* @property name The name of the project
* @property ownerId The ID of the project owner
* @property ownerUuid The unique universal identifier of the project owner
* @property purpose The purpose of the project (Default: "Web Application")
* @property resources A set of uniform resource names (URNs) for the resources associated with the project
* @property updatedAt The date and time when the project was last updated, (ISO8601)
*/
public data class GetProjectsProject(
public val createdAt: String,
public val description: String,
public val environment: String,
public val id: String,
public val isDefault: Boolean,
public val name: String,
public val ownerId: Int,
public val ownerUuid: String,
public val purpose: String,
public val resources: List,
public val updatedAt: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetProjectsProject): GetProjectsProject = GetProjectsProject(
createdAt = javaType.createdAt(),
description = javaType.description(),
environment = javaType.environment(),
id = javaType.id(),
isDefault = javaType.isDefault(),
name = javaType.name(),
ownerId = javaType.ownerId(),
ownerUuid = javaType.ownerUuid(),
purpose = javaType.purpose(),
resources = javaType.resources().map({ args0 -> args0 }),
updatedAt = javaType.updatedAt(),
)
}
}