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