Class POBCoreNativeRequestDataAsset
-
- All Implemented Interfaces:
public final class POBCoreNativeRequestDataAsset extends POBCoreNativeRequestAsset
This class represents the data object passed in the asset object
-
-
Field Summary
Fields Modifier and Type Field Description private final JSONObjectRTBJSON
-
Constructor Summary
Constructors Constructor Description POBCoreNativeRequestDataAsset(Integer id, Boolean isRequired, POBNativeDataAssetType type)
-
Method Summary
Modifier and Type Method Description JSONObjectgetRTBJSON()final UnitsetLength(Integer length)Setter for the length final IntegergetLength()Getter for the length final POBNativeDataAssetTypegetType()Getter for the type -
-
Constructor Detail
-
POBCoreNativeRequestDataAsset
POBCoreNativeRequestDataAsset(Integer id, Boolean isRequired, POBNativeDataAssetType type)
-
-
Method Detail
-
getRTBJSON
JSONObject getRTBJSON()
- Returns:
JSON of format: { "id":126, "required":1, "data":{ "type":1, "len":25 } }
-
setLength
final Unit setLength(Integer length)
Setter for the length
- Parameters:
length- of the text
-
getType
final POBNativeDataAssetType getType()
Getter for the type
- Returns:
type of the data asset
-
-
-
-