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