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

src.billingbudgets.v1beta1.GetBudgetResult.scala Maven / Gradle / Ivy

There is a newer version: 0.32.0-core.0.4
Show newest version
package besom.api.googlenative.billingbudgets.v1beta1


final case class GetBudgetResult private(
  allUpdatesRule: besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponse,
  amount: besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1BudgetAmountResponse,
  budgetFilter: besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1FilterResponse,
  displayName: String,
  etag: String,
  name: String,
  ownershipScope: String,
  thresholdRules: scala.collection.immutable.List[besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse]
)
object GetBudgetResult :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetBudgetResult])
      def allUpdatesRule : besom.types.Output[besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponse] = output.map(_.allUpdatesRule)
      def amount : besom.types.Output[besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1BudgetAmountResponse] = output.map(_.amount)
      def budgetFilter : besom.types.Output[besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1FilterResponse] = output.map(_.budgetFilter)
      def displayName : besom.types.Output[String] = output.map(_.displayName)
      def etag : besom.types.Output[String] = output.map(_.etag)
      def name : besom.types.Output[String] = output.map(_.name)
      def ownershipScope : besom.types.Output[String] = output.map(_.ownershipScope)
      def thresholdRules : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse]] = output.map(_.thresholdRules)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetBudgetResult]])
      def allUpdatesRule : besom.types.Output[scala.Option[besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1AllUpdatesRuleResponse]] = output.map(_.map(_.allUpdatesRule))
      def amount : besom.types.Output[scala.Option[besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1BudgetAmountResponse]] = output.map(_.map(_.amount))
      def budgetFilter : besom.types.Output[scala.Option[besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1FilterResponse]] = output.map(_.map(_.budgetFilter))
      def displayName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.displayName))
      def etag : besom.types.Output[scala.Option[String]] = output.map(_.map(_.etag))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def ownershipScope : besom.types.Output[scala.Option[String]] = output.map(_.map(_.ownershipScope))
      def thresholdRules : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.billingbudgets.v1beta1.outputs.GoogleCloudBillingBudgetsV1beta1ThresholdRuleResponse]]] = output.map(_.map(_.thresholdRules))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy