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

src.apigee.v1.DeveloperArgs.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 DeveloperArgs private(
  accessType: besom.types.Output[scala.Option[String]],
  appFamily: besom.types.Output[scala.Option[String]],
  apps: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  attributes: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1AttributeArgs]]],
  companies: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
  developerId: besom.types.Output[scala.Option[String]],
  email: besom.types.Output[String],
  firstName: besom.types.Output[String],
  lastName: besom.types.Output[String],
  organizationId: besom.types.Output[String],
  userName: besom.types.Output[String]
)

object DeveloperArgs:
  def apply(
    accessType: besom.types.Input.Optional[String] = scala.None,
    appFamily: besom.types.Input.Optional[String] = scala.None,
    apps: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    attributes: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.apigee.v1.inputs.GoogleCloudApigeeV1AttributeArgs]]] = scala.None,
    companies: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
    developerId: besom.types.Input.Optional[String] = scala.None,
    email: besom.types.Input[String],
    firstName: besom.types.Input[String],
    lastName: besom.types.Input[String],
    organizationId: besom.types.Input[String],
    userName: besom.types.Input[String]
  )(using besom.types.Context): DeveloperArgs =
    new DeveloperArgs(
      accessType = accessType.asOptionOutput(isSecret = false),
      appFamily = appFamily.asOptionOutput(isSecret = false),
      apps = apps.asOptionOutput(isSecret = false),
      attributes = attributes.asOptionOutput(isSecret = false),
      companies = companies.asOptionOutput(isSecret = false),
      developerId = developerId.asOptionOutput(isSecret = false),
      email = email.asOutput(isSecret = false),
      firstName = firstName.asOutput(isSecret = false),
      lastName = lastName.asOutput(isSecret = false),
      organizationId = organizationId.asOutput(isSecret = false),
      userName = userName.asOutput(isSecret = false)
    )

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






© 2015 - 2025 Weber Informatics LLC | Privacy Policy