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

src.cloudiot.v1.GetRegistryResult.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.cloudiot.v1


final case class GetRegistryResult private(
  credentials: scala.collection.immutable.List[besom.api.googlenative.cloudiot.v1.outputs.RegistryCredentialResponse],
  eventNotificationConfigs: scala.collection.immutable.List[besom.api.googlenative.cloudiot.v1.outputs.EventNotificationConfigResponse],
  httpConfig: besom.api.googlenative.cloudiot.v1.outputs.HttpConfigResponse,
  logLevel: String,
  mqttConfig: besom.api.googlenative.cloudiot.v1.outputs.MqttConfigResponse,
  name: String,
  stateNotificationConfig: besom.api.googlenative.cloudiot.v1.outputs.StateNotificationConfigResponse
)
object GetRegistryResult :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetRegistryResult])
      def credentials : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.cloudiot.v1.outputs.RegistryCredentialResponse]] = output.map(_.credentials)
      def eventNotificationConfigs : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.cloudiot.v1.outputs.EventNotificationConfigResponse]] = output.map(_.eventNotificationConfigs)
      def httpConfig : besom.types.Output[besom.api.googlenative.cloudiot.v1.outputs.HttpConfigResponse] = output.map(_.httpConfig)
      def logLevel : besom.types.Output[String] = output.map(_.logLevel)
      def mqttConfig : besom.types.Output[besom.api.googlenative.cloudiot.v1.outputs.MqttConfigResponse] = output.map(_.mqttConfig)
      def name : besom.types.Output[String] = output.map(_.name)
      def stateNotificationConfig : besom.types.Output[besom.api.googlenative.cloudiot.v1.outputs.StateNotificationConfigResponse] = output.map(_.stateNotificationConfig)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetRegistryResult]])
      def credentials : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.cloudiot.v1.outputs.RegistryCredentialResponse]]] = output.map(_.map(_.credentials))
      def eventNotificationConfigs : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.cloudiot.v1.outputs.EventNotificationConfigResponse]]] = output.map(_.map(_.eventNotificationConfigs))
      def httpConfig : besom.types.Output[scala.Option[besom.api.googlenative.cloudiot.v1.outputs.HttpConfigResponse]] = output.map(_.map(_.httpConfig))
      def logLevel : besom.types.Output[scala.Option[String]] = output.map(_.map(_.logLevel))
      def mqttConfig : besom.types.Output[scala.Option[besom.api.googlenative.cloudiot.v1.outputs.MqttConfigResponse]] = output.map(_.map(_.mqttConfig))
      def name : besom.types.Output[scala.Option[String]] = output.map(_.map(_.name))
      def stateNotificationConfig : besom.types.Output[scala.Option[besom.api.googlenative.cloudiot.v1.outputs.StateNotificationConfigResponse]] = output.map(_.map(_.stateNotificationConfig))





© 2015 - 2025 Weber Informatics LLC | Privacy Policy