com.pulumi.digitalocean.kotlin.outputs.GetSshKeysResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getSshKeys.
* @property filters
* @property id The provider-assigned unique ID for this managed resource.
* @property sorts
* @property sshKeys A list of SSH Keys. Each SSH Key has the following attributes:
*/
public data class GetSshKeysResult(
public val filters: List? = null,
public val id: String,
public val sorts: List? = null,
public val sshKeys: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetSshKeysResult): GetSshKeysResult = GetSshKeysResult(
filters = javaType.filters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetSshKeysFilter.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
sorts = javaType.sorts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetSshKeysSort.Companion.toKotlin(args0)
})
}),
sshKeys = javaType.sshKeys().map({ args0 ->
args0.let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetSshKeysSshKey.Companion.toKotlin(args0)
})
}),
)
}
}