src.index.outputs.CpsThirdPartyEnrollmentOrganization.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.outputs
final case class CpsThirdPartyEnrollmentOrganization private(
addressLineOne: String,
addressLineTwo: scala.Option[String],
city: String,
countryCode: String,
name: String,
phone: String,
postalCode: String,
region: String
)
object CpsThirdPartyEnrollmentOrganization :
given decoder(using besom.types.Context): besom.types.Decoder[CpsThirdPartyEnrollmentOrganization] =
besom.internal.Decoder.derived[CpsThirdPartyEnrollmentOrganization]
given outputOps: {} with
extension(output: besom.types.Output[CpsThirdPartyEnrollmentOrganization])
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[CpsThirdPartyEnrollmentOrganization]])
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))