
src.dialogflow.v2beta1.GetIntentArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.dialogflow.v2beta1
final case class GetIntentArgs private(
intentId: besom.types.Output[String],
intentView: besom.types.Output[scala.Option[String]],
languageCode: besom.types.Output[scala.Option[String]],
location: besom.types.Output[String],
project: besom.types.Output[scala.Option[String]]
)
object GetIntentArgs:
def apply(
intentId: besom.types.Input[String],
intentView: besom.types.Input.Optional[String] = scala.None,
languageCode: besom.types.Input.Optional[String] = scala.None,
location: besom.types.Input[String],
project: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): GetIntentArgs =
new GetIntentArgs(
intentId = intentId.asOutput(isSecret = false),
intentView = intentView.asOptionOutput(isSecret = false),
languageCode = languageCode.asOptionOutput(isSecret = false),
location = location.asOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetIntentArgs] =
besom.internal.Encoder.derived[GetIntentArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetIntentArgs] =
besom.internal.ArgsEncoder.derived[GetIntentArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy