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