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

src.redis.v1.GetClusterResult.scala Maven / Gradle / Ivy

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


final case class GetClusterResult private(
  authorizationMode: String,
  createTime: String,
  discoveryEndpoints: scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.DiscoveryEndpointResponse],
  name: String,
  pscConfigs: scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.PscConfigResponse],
  pscConnections: scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.PscConnectionResponse],
  replicaCount: Int,
  shardCount: Int,
  sizeGb: Int,
  state: String,
  stateInfo: besom.api.googlenative.redis.v1.outputs.StateInfoResponse,
  transitEncryptionMode: String,
  uid: String
)
object GetClusterResult :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetClusterResult])
      def authorizationMode : besom.types.Output[String] = output.map(_.authorizationMode)
      def createTime : besom.types.Output[String] = output.map(_.createTime)
      def discoveryEndpoints : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.DiscoveryEndpointResponse]] = output.map(_.discoveryEndpoints)
      def name : besom.types.Output[String] = output.map(_.name)
      def pscConfigs : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.PscConfigResponse]] = output.map(_.pscConfigs)
      def pscConnections : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.PscConnectionResponse]] = output.map(_.pscConnections)
      def replicaCount : besom.types.Output[Int] = output.map(_.replicaCount)
      def shardCount : besom.types.Output[Int] = output.map(_.shardCount)
      def sizeGb : besom.types.Output[Int] = output.map(_.sizeGb)
      def state : besom.types.Output[String] = output.map(_.state)
      def stateInfo : besom.types.Output[besom.api.googlenative.redis.v1.outputs.StateInfoResponse] = output.map(_.stateInfo)
      def transitEncryptionMode : besom.types.Output[String] = output.map(_.transitEncryptionMode)
      def uid : besom.types.Output[String] = output.map(_.uid)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetClusterResult]])
      def authorizationMode : besom.types.Output[scala.Option[String]] = output.map(_.map(_.authorizationMode))
      def createTime : besom.types.Output[scala.Option[String]] = output.map(_.map(_.createTime))
      def discoveryEndpoints : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.DiscoveryEndpointResponse]]] = output.map(_.map(_.discoveryEndpoints))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def pscConfigs : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.PscConfigResponse]]] = output.map(_.map(_.pscConfigs))
      def pscConnections : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.PscConnectionResponse]]] = output.map(_.map(_.pscConnections))
      def replicaCount : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.replicaCount))
      def shardCount : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.shardCount))
      def sizeGb : besom.types.Output[scala.Option[Int]] = output.map(_.map(_.sizeGb))
      def state : besom.types.Output[scala.Option[String]] = output.map(_.map(_.state))
      def stateInfo : besom.types.Output[scala.Option[besom.api.googlenative.redis.v1.outputs.StateInfoResponse]] = output.map(_.map(_.stateInfo))
      def transitEncryptionMode : besom.types.Output[scala.Option[String]] = output.map(_.map(_.transitEncryptionMode))
      def uid : besom.types.Output[scala.Option[String]] = output.map(_.map(_.uid))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy