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

src.index.GetCloudletsPolicyResult.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai


final case class GetCloudletsPolicyResult private(
  activations: scala.collection.immutable.List[besom.api.akamai.outputs.GetCloudletsPolicyActivation],
  apiVersion: String,
  cloudletCode: String,
  cloudletId: Int,
  description: String,
  groupId: Int,
  id: String,
  matchRuleFormat: String,
  matchRules: String,
  name: String,
  policyId: Int,
  revisionId: Int,
  rulesLocked: Boolean,
  version: scala.Option[Int],
  versionDescription: String,
  warnings: String
)
object GetCloudletsPolicyResult :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetCloudletsPolicyResult])
      def activations : besom.types.Output[scala.collection.immutable.List[besom.api.akamai.outputs.GetCloudletsPolicyActivation]] = output.map(_.activations)
      def apiVersion : besom.types.Output[String] = output.map(_.apiVersion)
      def cloudletCode : besom.types.Output[String] = output.map(_.cloudletCode)
      def cloudletId : besom.types.Output[Int] = output.map(_.cloudletId)
      def description : besom.types.Output[String] = output.map(_.description)
      def groupId : besom.types.Output[Int] = output.map(_.groupId)
      def id : besom.types.Output[String] = output.map(_.id)
      def matchRuleFormat : besom.types.Output[String] = output.map(_.matchRuleFormat)
      def matchRules : besom.types.Output[String] = output.map(_.matchRules)
      def name : besom.types.Output[String] = output.map(_.name)
      def policyId : besom.types.Output[Int] = output.map(_.policyId)
      def revisionId : besom.types.Output[Int] = output.map(_.revisionId)
      def rulesLocked : besom.types.Output[Boolean] = output.map(_.rulesLocked)
      def version : besom.types.Output[scala.Option[Int]] = output.map(_.version)
      def versionDescription : besom.types.Output[String] = output.map(_.versionDescription)
      def warnings : besom.types.Output[String] = output.map(_.warnings)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetCloudletsPolicyResult]])
      def activations : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.outputs.GetCloudletsPolicyActivation]]] = output.map(_.map(_.activations))
      def apiVersion : besom.types.Output[scala.Option[String]] = output.map(_.map(_.apiVersion))
      def cloudletCode : besom.types.Output[scala.Option[String]] = output.map(_.map(_.cloudletCode))
      def cloudletId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.cloudletId))
      def description : besom.types.Output[scala.Option[String]] = output.map(_.map(_.description))
      def groupId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.groupId))
      def id : besom.types.Output[scala.Option[String]] = output.map(_.map(_.id))
      def matchRuleFormat : besom.types.Output[scala.Option[String]] = output.map(_.map(_.matchRuleFormat))
      def matchRules : besom.types.Output[scala.Option[String]] = output.map(_.map(_.matchRules))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def policyId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.policyId))
      def revisionId : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.revisionId))
      def rulesLocked : besom.types.Output[scala.Option[Boolean]] = output.map(_.map(_.rulesLocked))
      def version : besom.types.Output[scala.Option[Int]] = output.map(_.flatMap(_.version))
      def versionDescription : besom.types.Output[scala.Option[String]] = output.map(_.map(_.versionDescription))
      def warnings : besom.types.Output[scala.Option[String]] = output.map(_.map(_.warnings))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy