src.index.inputs.PropertyRuleWarningArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class PropertyRuleWarningArgs private(
behaviorName: besom.types.Output[scala.Option[String]],
detail: besom.types.Output[scala.Option[String]],
errorLocation: besom.types.Output[scala.Option[String]],
instance: besom.types.Output[scala.Option[String]],
statusCode: besom.types.Output[scala.Option[Int]],
title: besom.types.Output[scala.Option[String]],
`type`: besom.types.Output[scala.Option[String]]
)
object PropertyRuleWarningArgs:
def apply(
behaviorName: besom.types.Input.Optional[String] = scala.None,
detail: besom.types.Input.Optional[String] = scala.None,
errorLocation: besom.types.Input.Optional[String] = scala.None,
instance: besom.types.Input.Optional[String] = scala.None,
statusCode: besom.types.Input.Optional[Int] = scala.None,
title: besom.types.Input.Optional[String] = scala.None,
`type`: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): PropertyRuleWarningArgs =
new PropertyRuleWarningArgs(
behaviorName = behaviorName.asOptionOutput(isSecret = false),
detail = detail.asOptionOutput(isSecret = false),
errorLocation = errorLocation.asOptionOutput(isSecret = false),
instance = instance.asOptionOutput(isSecret = false),
statusCode = statusCode.asOptionOutput(isSecret = false),
title = title.asOptionOutput(isSecret = false),
`type` = `type`.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[PropertyRuleWarningArgs] =
besom.internal.Encoder.derived[PropertyRuleWarningArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[PropertyRuleWarningArgs] =
besom.internal.ArgsEncoder.derived[PropertyRuleWarningArgs]