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

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

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


final case class CpsThirdPartyEnrollmentCsr private(
  city: String,
  countryCode: String,
  organization: String,
  organizationalUnit: scala.Option[String],
  preferredTrustChain: scala.Option[String],
  state: scala.Option[String]
)
object CpsThirdPartyEnrollmentCsr :

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



  given outputOps: {} with
    extension(output: besom.types.Output[CpsThirdPartyEnrollmentCsr])
      def city : besom.types.Output[String] = output.map(_.city)
      def countryCode : besom.types.Output[String] = output.map(_.countryCode)
      def organization : besom.types.Output[String] = output.map(_.organization)
      def organizationalUnit : besom.types.Output[scala.Option[String]] = output.map(_.organizationalUnit)
      def preferredTrustChain : besom.types.Output[scala.Option[String]] = output.map(_.preferredTrustChain)
      def state : besom.types.Output[scala.Option[String]] = output.map(_.state)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[CpsThirdPartyEnrollmentCsr]])
      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 organization : besom.types.Output[scala.Option[String]] = output.map(_.map(_.organization))
      def organizationalUnit : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.organizationalUnit))
      def preferredTrustChain : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.preferredTrustChain))
      def state : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.state))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy