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

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

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


final case class PropertyRuleWarning private(
  behaviorName: scala.Option[String],
  detail: scala.Option[String],
  errorLocation: scala.Option[String],
  instance: scala.Option[String],
  statusCode: scala.Option[Int],
  title: scala.Option[String],
  `type`: scala.Option[String]
)
object PropertyRuleWarning :

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



  given outputOps: {} with
    extension(output: besom.types.Output[PropertyRuleWarning])
      def behaviorName : besom.types.Output[scala.Option[String]] = output.map(_.behaviorName)
      def detail : besom.types.Output[scala.Option[String]] = output.map(_.detail)
      def errorLocation : besom.types.Output[scala.Option[String]] = output.map(_.errorLocation)
      def instance : besom.types.Output[scala.Option[String]] = output.map(_.instance)
      def statusCode : besom.types.Output[scala.Option[Int]] = output.map(_.statusCode)
      def title : besom.types.Output[scala.Option[String]] = output.map(_.title)
      def `type` : besom.types.Output[scala.Option[String]] = output.map(_.`type`)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[PropertyRuleWarning]])
      def behaviorName : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.behaviorName))
      def detail : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.detail))
      def errorLocation : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.errorLocation))
      def instance : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.instance))
      def statusCode : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.statusCode))
      def title : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.title))
      def `type` : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.`type`))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy