src.index.outputs.PropertyHostnameCertStatus.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.outputs
final case class PropertyHostnameCertStatus private(
hostname: scala.Option[String],
productionStatus: scala.Option[String],
stagingStatus: scala.Option[String],
target: scala.Option[String]
)
object PropertyHostnameCertStatus :
given decoder(using besom.types.Context): besom.types.Decoder[PropertyHostnameCertStatus] =
besom.internal.Decoder.derived[PropertyHostnameCertStatus]
given outputOps: {} with
extension(output: besom.types.Output[PropertyHostnameCertStatus])
def hostname : besom.types.Output[scala.Option[String]] = output.map(_.hostname)
def productionStatus : besom.types.Output[scala.Option[String]] = output.map(_.productionStatus)
def stagingStatus : besom.types.Output[scala.Option[String]] = output.map(_.stagingStatus)
def target : besom.types.Output[scala.Option[String]] = output.map(_.target)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[PropertyHostnameCertStatus]])
def hostname : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.hostname))
def productionStatus : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.productionStatus))
def stagingStatus : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.stagingStatus))
def target : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.target))