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