Class POBCoreNativeRequestTitleAsset

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final JSONObject RTBJSON
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      JSONObject getRTBJSON()
      final Integer getLength() Getter for length of the text
      • Methods inherited from class com.pubmatic.sdk.openwrap.core.nativead.POBCoreNativeRequestAsset

        getId, isRequired
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • POBCoreNativeRequestTitleAsset

        POBCoreNativeRequestTitleAsset(Integer id, Boolean isRequired, Integer length)
    • Method Detail

      • getRTBJSON

         JSONObject getRTBJSON()
        Returns:

        JSON of format: { "id":123, "required":1, "title":{ "len":140 } }

      • getLength

         final Integer getLength()

        Getter for length of the text

        Returns:

        length of the text