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