com.ziqni.transformer.test.models.ZiqniMember.scala Maven / Gradle / Ivy
package com.ziqni.transformer.test.models
import com.ziqni.admin.sdk.model.Member
import com.ziqni.transformer.test.utils.ScalaUtils
import com.ziqni.transformers.domain.CustomFieldEntry
case class ZiqniMember(member: Member) extends com.ziqni.transformers.domain.ZiqniMember with ZiqniHelper {
override def getMemberRefId: MemberRefId = member.getMemberRefId
override def getDisplayName: Option[String] = Option(member.getName)
override def getTags: Option[Seq[String]] = Option(member.getTags).map(t => ScalaUtils.listJava2Scala(t) )
override def getMetaData: Option[Map[String, String]] = member.getMetadata
override def getMemberId: MemberId = member.getId
override def getCustomFields: Map[String, CustomFieldEntry[_]] = Map.empty
def asBase: com.ziqni.transformers.domain.ZiqniMember = this
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy