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

src.index.IamUserArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai

final case class IamUserArgs private(
  address: besom.types.Output[scala.Option[String]],
  authGrantsJson: besom.types.Output[String],
  city: besom.types.Output[scala.Option[String]],
  contactType: besom.types.Output[scala.Option[String]],
  country: besom.types.Output[String],
  email: besom.types.Output[String],
  enableTfa: besom.types.Output[Boolean],
  firstName: besom.types.Output[String],
  jobTitle: besom.types.Output[scala.Option[String]],
  lastName: besom.types.Output[String],
  lock: besom.types.Output[scala.Option[Boolean]],
  mobilePhone: besom.types.Output[scala.Option[String]],
  phone: besom.types.Output[scala.Option[String]],
  preferredLanguage: besom.types.Output[scala.Option[String]],
  secondaryEmail: besom.types.Output[scala.Option[String]],
  sessionTimeout: besom.types.Output[scala.Option[Int]],
  state: besom.types.Output[scala.Option[String]],
  timeZone: besom.types.Output[scala.Option[String]],
  zipCode: besom.types.Output[scala.Option[String]]
)

object IamUserArgs:
  def apply(
    address: besom.types.Input.Optional[String] = scala.None,
    authGrantsJson: besom.types.Input[String],
    city: besom.types.Input.Optional[String] = scala.None,
    contactType: besom.types.Input.Optional[String] = scala.None,
    country: besom.types.Input[String],
    email: besom.types.Input[String],
    enableTfa: besom.types.Input[Boolean],
    firstName: besom.types.Input[String],
    jobTitle: besom.types.Input.Optional[String] = scala.None,
    lastName: besom.types.Input[String],
    lock: besom.types.Input.Optional[Boolean] = scala.None,
    mobilePhone: besom.types.Input.Optional[String] = scala.None,
    phone: besom.types.Input.Optional[String] = scala.None,
    preferredLanguage: besom.types.Input.Optional[String] = scala.None,
    secondaryEmail: besom.types.Input.Optional[String] = scala.None,
    sessionTimeout: besom.types.Input.Optional[Int] = scala.None,
    state: besom.types.Input.Optional[String] = scala.None,
    timeZone: besom.types.Input.Optional[String] = scala.None,
    zipCode: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): IamUserArgs =
    new IamUserArgs(
      address = address.asOptionOutput(isSecret = false),
      authGrantsJson = authGrantsJson.asOutput(isSecret = false),
      city = city.asOptionOutput(isSecret = false),
      contactType = contactType.asOptionOutput(isSecret = false),
      country = country.asOutput(isSecret = false),
      email = email.asOutput(isSecret = false),
      enableTfa = enableTfa.asOutput(isSecret = false),
      firstName = firstName.asOutput(isSecret = false),
      jobTitle = jobTitle.asOptionOutput(isSecret = false),
      lastName = lastName.asOutput(isSecret = false),
      lock = lock.asOptionOutput(isSecret = false),
      mobilePhone = mobilePhone.asOptionOutput(isSecret = false),
      phone = phone.asOptionOutput(isSecret = false),
      preferredLanguage = preferredLanguage.asOptionOutput(isSecret = false),
      secondaryEmail = secondaryEmail.asOptionOutput(isSecret = false),
      sessionTimeout = sessionTimeout.asOptionOutput(isSecret = false),
      state = state.asOptionOutput(isSecret = false),
      timeZone = timeZone.asOptionOutput(isSecret = false),
      zipCode = zipCode.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy