All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.outputs.GetCpsEnrollmentsEnrollmentAdminContact.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai.outputs


final case class GetCpsEnrollmentsEnrollmentAdminContact 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 GetCpsEnrollmentsEnrollmentAdminContact :

  given decoder(using besom.types.Context): besom.types.Decoder[GetCpsEnrollmentsEnrollmentAdminContact] =
    besom.internal.Decoder.derived[GetCpsEnrollmentsEnrollmentAdminContact]



  given outputOps: {} with
    extension(output: besom.types.Output[GetCpsEnrollmentsEnrollmentAdminContact])
      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[GetCpsEnrollmentsEnrollmentAdminContact]])
      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))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy