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

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

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

final case class CpsThirdPartyEnrollmentOrganizationArgs private(
  addressLineOne: besom.types.Output[String],
  addressLineTwo: besom.types.Output[scala.Option[String]],
  city: besom.types.Output[String],
  countryCode: besom.types.Output[String],
  name: besom.types.Output[String],
  phone: besom.types.Output[String],
  postalCode: besom.types.Output[String],
  region: besom.types.Output[String]
)

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

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






© 2015 - 2024 Weber Informatics LLC | Privacy Policy