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