src.index.inputs.CpsThirdPartyEnrollmentAdminContactArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class CpsThirdPartyEnrollmentAdminContactArgs 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 CpsThirdPartyEnrollmentAdminContactArgs:
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): CpsThirdPartyEnrollmentAdminContactArgs =
new CpsThirdPartyEnrollmentAdminContactArgs(
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[CpsThirdPartyEnrollmentAdminContactArgs] =
besom.internal.Encoder.derived[CpsThirdPartyEnrollmentAdminContactArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[CpsThirdPartyEnrollmentAdminContactArgs] =
besom.internal.ArgsEncoder.derived[CpsThirdPartyEnrollmentAdminContactArgs]