src.index.outputs.GetCpsEnrollmentTechContact.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.outputs
final case class GetCpsEnrollmentTechContact private(
addressLineOne: scala.Option[String],
addressLineTwo: scala.Option[String],
city: scala.Option[String],
countryCode: scala.Option[String],
email: String,
firstName: String,
lastName: String,
organization: scala.Option[String],
phone: String,
postalCode: scala.Option[String],
region: scala.Option[String],
title: scala.Option[String]
)
object GetCpsEnrollmentTechContact :
given decoder(using besom.types.Context): besom.types.Decoder[GetCpsEnrollmentTechContact] =
besom.internal.Decoder.derived[GetCpsEnrollmentTechContact]
given outputOps: {} with
extension(output: besom.types.Output[GetCpsEnrollmentTechContact])
def addressLineOne : besom.types.Output[scala.Option[String]] = output.map(_.addressLineOne)
def addressLineTwo : besom.types.Output[scala.Option[String]] = output.map(_.addressLineTwo)
def city : besom.types.Output[scala.Option[String]] = output.map(_.city)
def countryCode : besom.types.Output[scala.Option[String]] = output.map(_.countryCode)
def email : besom.types.Output[String] = output.map(_.email)
def firstName : besom.types.Output[String] = output.map(_.firstName)
def lastName : besom.types.Output[String] = output.map(_.lastName)
def organization : besom.types.Output[scala.Option[String]] = output.map(_.organization)
def phone : besom.types.Output[String] = output.map(_.phone)
def postalCode : besom.types.Output[scala.Option[String]] = output.map(_.postalCode)
def region : besom.types.Output[scala.Option[String]] = output.map(_.region)
def title : besom.types.Output[scala.Option[String]] = output.map(_.title)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetCpsEnrollmentTechContact]])
def addressLineOne : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.addressLineOne))
def addressLineTwo : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.addressLineTwo))
def city : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.city))
def countryCode : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.countryCode))
def email : besom.types.Output[scala.Option[String]] = output.map(_.map(_.email))
def firstName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.firstName))
def lastName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.lastName))
def organization : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.organization))
def phone : besom.types.Output[scala.Option[String]] = output.map(_.map(_.phone))
def postalCode : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.postalCode))
def region : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.region))
def title : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.title))