src.index.outputs.GetCloudwrapperCapacitiesCapacity.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.outputs
final case class GetCloudwrapperCapacitiesCapacity private(
approved: besom.api.akamai.outputs.GetCloudwrapperCapacitiesCapacityApproved,
assigned: besom.api.akamai.outputs.GetCloudwrapperCapacitiesCapacityAssigned,
contractId: String,
locationId: Int,
locationName: String,
`type`: String,
unassigned: besom.api.akamai.outputs.GetCloudwrapperCapacitiesCapacityUnassigned
)
object GetCloudwrapperCapacitiesCapacity :
given decoder(using besom.types.Context): besom.types.Decoder[GetCloudwrapperCapacitiesCapacity] =
besom.internal.Decoder.derived[GetCloudwrapperCapacitiesCapacity]
given outputOps: {} with
extension(output: besom.types.Output[GetCloudwrapperCapacitiesCapacity])
def approved : besom.types.Output[besom.api.akamai.outputs.GetCloudwrapperCapacitiesCapacityApproved] = output.map(_.approved)
def assigned : besom.types.Output[besom.api.akamai.outputs.GetCloudwrapperCapacitiesCapacityAssigned] = output.map(_.assigned)
def contractId : besom.types.Output[String] = output.map(_.contractId)
def locationId : besom.types.Output[Int] = output.map(_.locationId)
def locationName : besom.types.Output[String] = output.map(_.locationName)
def `type` : besom.types.Output[String] = output.map(_.`type`)
def unassigned : besom.types.Output[besom.api.akamai.outputs.GetCloudwrapperCapacitiesCapacityUnassigned] = output.map(_.unassigned)
given optionOutputOps: {} with
extension(output: besom.types.Output[scala.Option[GetCloudwrapperCapacitiesCapacity]])
def approved : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetCloudwrapperCapacitiesCapacityApproved]] = output.map(_.map(_.approved))
def assigned : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetCloudwrapperCapacitiesCapacityAssigned]] = output.map(_.map(_.assigned))
def contractId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.contractId))
def locationId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.locationId))
def locationName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.locationName))
def `type` : besom.types.Output[scala.Option[String]] = output.map(_.map(_.`type`))
def unassigned : besom.types.Output[scala.Option[besom.api.akamai.outputs.GetCloudwrapperCapacitiesCapacityUnassigned]] = output.map(_.map(_.unassigned))