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

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

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

final case class CpsDvEnrollmentTechContactArgs 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 CpsDvEnrollmentTechContactArgs:
  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): CpsDvEnrollmentTechContactArgs =
    new CpsDvEnrollmentTechContactArgs(
      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[CpsDvEnrollmentTechContactArgs] =
    besom.internal.Encoder.derived[CpsDvEnrollmentTechContactArgs]
  given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[CpsDvEnrollmentTechContactArgs] =
    besom.internal.ArgsEncoder.derived[CpsDvEnrollmentTechContactArgs]






© 2015 - 2024 Weber Informatics LLC | Privacy Policy