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

src.index.outputs.GetGroupsGroup.scala Maven / Gradle / Ivy

The newest version!
package besom.api.akamai.outputs


final case class GetGroupsGroup private(
  contractIds: scala.collection.immutable.List[String],
  groupId: String,
  groupName: String,
  parentGroupId: String
)
object GetGroupsGroup :

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



  given outputOps: {} with
    extension(output: besom.types.Output[GetGroupsGroup])
      def contractIds : besom.types.Output[scala.collection.immutable.List[String]] = output.map(_.contractIds)
      def groupId : besom.types.Output[String] = output.map(_.groupId)
      def groupName : besom.types.Output[String] = output.map(_.groupName)
      def parentGroupId : besom.types.Output[String] = output.map(_.parentGroupId)

  given optionOutputOps: {} with
    extension(output: besom.types.Output[scala.Option[GetGroupsGroup]])
      def contractIds : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.map(_.map(_.contractIds))
      def groupId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.groupId))
      def groupName : besom.types.Output[scala.Option[String]] = output.map(_.map(_.groupName))
      def parentGroupId : besom.types.Output[scala.Option[String]] = output.map(_.map(_.parentGroupId))





© 2015 - 2024 Weber Informatics LLC | Privacy Policy