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

src.index.inputs.CpsDvEnrollmentAdminContactArgs.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai.inputs

final case class CpsDvEnrollmentAdminContactArgs private(
  addressLineOne: besom.types.Output[scala.Option[String]],
  addressLineTwo: besom.types.Output[scala.Option[String]],
  city: besom.types.Output[scala.Option[String]],
  countryCode: besom.types.Output[scala.Option[String]],
  email: besom.types.Output[String],
  firstName: besom.types.Output[String],
  lastName: besom.types.Output[String],
  organization: besom.types.Output[scala.Option[String]],
  phone: besom.types.Output[String],
  postalCode: besom.types.Output[scala.Option[String]],
  region: besom.types.Output[scala.Option[String]],
  title: besom.types.Output[scala.Option[String]]
)

object CpsDvEnrollmentAdminContactArgs:
  def apply(
    addressLineOne: besom.types.Input.Optional[String] = scala.None,
    addressLineTwo: besom.types.Input.Optional[String] = scala.None,
    city: besom.types.Input.Optional[String] = scala.None,
    countryCode: besom.types.Input.Optional[String] = scala.None,
    email: besom.types.Input[String],
    firstName: besom.types.Input[String],
    lastName: besom.types.Input[String],
    organization: besom.types.Input.Optional[String] = scala.None,
    phone: besom.types.Input[String],
    postalCode: besom.types.Input.Optional[String] = scala.None,
    region: besom.types.Input.Optional[String] = scala.None,
    title: besom.types.Input.Optional[String] = scala.None
  )(using besom.types.Context): CpsDvEnrollmentAdminContactArgs =
    new CpsDvEnrollmentAdminContactArgs(
      addressLineOne = addressLineOne.asOptionOutput(isSecret = false),
      addressLineTwo = addressLineTwo.asOptionOutput(isSecret = false),
      city = city.asOptionOutput(isSecret = false),
      countryCode = countryCode.asOptionOutput(isSecret = false),
      email = email.asOutput(isSecret = false),
      firstName = firstName.asOutput(isSecret = false),
      lastName = lastName.asOutput(isSecret = false),
      organization = organization.asOptionOutput(isSecret = false),
      phone = phone.asOutput(isSecret = false),
      postalCode = postalCode.asOptionOutput(isSecret = false),
      region = region.asOptionOutput(isSecret = false),
      title = title.asOptionOutput(isSecret = false)
    )

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy