src.index.SshCredentialArgs.scala Maven / Gradle / Ivy
package besom.api.ngrok
final case class SshCredentialArgs private(
acls: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
description: besom.types.Output[scala.Option[String]],
metadata: besom.types.Output[scala.Option[String]],
publicKey: besom.types.Output[String]
)
object SshCredentialArgs:
def apply(
acls: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
description: besom.types.Input.Optional[String] = scala.None,
metadata: besom.types.Input.Optional[String] = scala.None,
publicKey: besom.types.Input[String]
)(using besom.types.Context): SshCredentialArgs =
new SshCredentialArgs(
acls = acls.asOptionOutput(isSecret = false),
description = description.asOptionOutput(isSecret = false),
metadata = metadata.asOptionOutput(isSecret = false),
publicKey = publicKey.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[SshCredentialArgs] =
besom.internal.Encoder.derived[SshCredentialArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[SshCredentialArgs] =
besom.internal.ArgsEncoder.derived[SshCredentialArgs]
© 2015 - 2024 Weber Informatics LLC | Privacy Policy