src.index.outputs.GtmResourceResourceInstance.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.outputs
final case class GtmResourceResourceInstance private(
datacenterId: Int,
loadObject: scala.Option[String],
loadObjectPort: scala.Option[Int],
loadServers: scala.Option[scala.collection.immutable.List[String]],
useDefaultLoadObject: scala.Option[Boolean]
)
object GtmResourceResourceInstance :
given decoder(using besom.types.Context): besom.types.Decoder[GtmResourceResourceInstance] =
besom.internal.Decoder.derived[GtmResourceResourceInstance]
given outputOps: {} with
extension(output: besom.types.Output[GtmResourceResourceInstance])
def datacenterId : besom.types.Output[Int] = output.map(_.datacenterId)
def loadObject : besom.types.Output[scala.Option[String]] = output.map(_.loadObject)
def loadObjectPort : besom.types.Output[scala.Option[Int]] = output.map(_.loadObjectPort)
def loadServers : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.loadServers)
def useDefaultLoadObject : besom.types.Output[scala.Option[Boolean]] = output.map(_.useDefaultLoadObject)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GtmResourceResourceInstance]])
def datacenterId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.datacenterId))
def loadObject : besom.types.Output[scala.Option[String]] = output.map(_.flatMap(_.loadObject))
def loadObjectPort : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.loadObjectPort))
def loadServers : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.flatMap(_.loadServers))
def useDefaultLoadObject : besom.types.Output[scala.Option[Boolean]] = output.map(_.flatMap(_.useDefaultLoadObject))