All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.inputs.EndpointConfigurationResponseHeaderArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.0.24-core.0.3
Show newest version
package besom.api.ngrok.inputs

final case class EndpointConfigurationResponseHeaderArgs private(
  add: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
  enabled: besom.types.Output[scala.Option[Boolean]],
  removes: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]]
)

object EndpointConfigurationResponseHeaderArgs:
  def apply(
    add: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
    enabled: besom.types.Input.Optional[Boolean] = scala.None,
    removes: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None
  )(using besom.types.Context): EndpointConfigurationResponseHeaderArgs =
    new EndpointConfigurationResponseHeaderArgs(
      add = add.asOptionOutput(isSecret = false),
      enabled = enabled.asOptionOutput(isSecret = false),
      removes = removes.asOptionOutput(isSecret = false)
    )

  given encoder(using besom.types.Context): besom.types.Encoder[EndpointConfigurationResponseHeaderArgs] =
    besom.internal.Encoder.derived[EndpointConfigurationResponseHeaderArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[EndpointConfigurationResponseHeaderArgs] =
    besom.internal.ArgsEncoder.derived[EndpointConfigurationResponseHeaderArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy