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

src.apigee.v1.DeveloperAppArgs.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 DeveloperAppArgs private(
  apiProducts: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  appFamily: besom.types.Output[scala.Option[String]],
  appId: besom.types.Output[scala.Option[String]],
  attributes: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1AttributeArgs]]],
  callbackUrl: besom.types.Output[scala.Option[String]],
  developerId: besom.types.Output[String],
  keyExpiresIn: besom.types.Output[scala.Option[String]],
  name: besom.types.Output[scala.Option[String]],
  organizationId: besom.types.Output[String],
  scopes: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  status: besom.types.Output[scala.Option[String]]
)

object DeveloperAppArgs:
  def apply(
    apiProducts: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    appFamily: besom.types.Input.Optional[String] = scala.None,
    appId: besom.types.Input.Optional[String] = scala.None,
    attributes: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1AttributeArgs]]] = scala.None,
    callbackUrl: besom.types.Input.Optional[String] = scala.None,
    developerId: besom.types.Input[String],
    keyExpiresIn: besom.types.Input.Optional[String] = scala.None,
    name: besom.types.Input.Optional[String] = scala.None,
    organizationId: besom.types.Input[String],
    scopes: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    status: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): DeveloperAppArgs =
    new DeveloperAppArgs(
      apiProducts = apiProducts.asOptionOutput(isSecret = false),
      appFamily = appFamily.asOptionOutput(isSecret = false),
      appId = appId.asOptionOutput(isSecret = false),
      attributes = attributes.asOptionOutput(isSecret = false),
      callbackUrl = callbackUrl.asOptionOutput(isSecret = false),
      developerId = developerId.asOutput(isSecret = false),
      keyExpiresIn = keyExpiresIn.asOptionOutput(isSecret = false),
      name = name.asOptionOutput(isSecret = false),
      organizationId = organizationId.asOutput(isSecret = false),
      scopes = scopes.asOptionOutput(isSecret = false),
      status = status.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy