src.index.GetPropertyIncludesResult.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetPropertyIncludesResult private(
contractId: String,
groupId: String,
id: String,
includes: scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertyIncludesInclude],
parentProperty: scala.Option[besom.api.akamai.outputs.GetPropertyIncludesParentProperty],
`type`: scala.Option[String]
)
object GetPropertyIncludesResult :
given decoder(using besom.types.Context): besom.types.Decoder[GetPropertyIncludesResult] =
besom.internal.Decoder.derived[GetPropertyIncludesResult]
given outputOps: {} with
extension(output: besom.types.Output[GetPropertyIncludesResult])
def contractId : besom.types.Output[String] = output.map(_.contractId)
def groupId : besom.types.Output[String] = output.map(_.groupId)
def id : besom.types.Output[String] = output.map(_.id)
def includes : besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertyIncludesInclude]] = output.map(_.includes)
def parentProperty : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyIncludesParentProperty]] = output.map(_.parentProperty)
def `type` : besom.types.Output[scala.Option[String]] = output.map(_.`type`)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetPropertyIncludesResult]])
def contractId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.contractId))
def groupId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.groupId))
def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
def includes : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetPropertyIncludesInclude]]] = output.map(_.map(_.includes))
def parentProperty : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetPropertyIncludesParentProperty]] = output.map(_.flatMap(_.parentProperty))
def `type` : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.`type`))