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

src.apigee.v1.ResourcefileArgs.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.apigee.v1

final case class ResourcefileArgs private(
  contentType: besom.types.Output[scala.Option[String]],
  data: besom.types.Output[scala.Option[String]],
  environmentId: besom.types.Output[String],
  extensions: besom.types.Output[scala.Option[scala.collection.immutable.List[scala.Predef.Map[String, String]]]],
  file: besom.types.Output[scala.Option[besom.types.AssetOrArchive]],
  name: besom.types.Output[String],
  organizationId: besom.types.Output[String],
  `type`: besom.types.Output[String]
)

object ResourcefileArgs:
  def apply(
    contentType: besom.types.Input.Optional[String] = scala.None,
    data: besom.types.Input.Optional[String] = scala.None,
    environmentId: besom.types.Input[String],
    extensions: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[scala.Predef.Map[String, String]]]] = scala.None,
    file: besom.types.Input.Optional[besom.types.AssetOrArchive] = scala.None,
    name: besom.types.Input[String],
    organizationId: besom.types.Input[String],
    `type`: besom.types.Input[String]
  )(using besom.types.Context): ResourcefileArgs =
    new ResourcefileArgs(
      contentType = contentType.asOptionOutput(isSecret = false),
      data = data.asOptionOutput(isSecret = false),
      environmentId = environmentId.asOutput(isSecret = false),
      extensions = extensions.asOptionOutput(isSecret = false),
      file = file.asOptionOutput(isSecret = false),
      name = name.asOutput(isSecret = false),
      organizationId = organizationId.asOutput(isSecret = false),
      `type` = `type`.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy