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