Package com.pubmatic.sdk.common.models
Class POBDSATransparencyInfo
-
- All Implemented Interfaces:
public final class POBDSATransparencyInfoThis class represents the transparency object of the DSA response object. It contains the domain of the entity and the type of targeting they have applied.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringdomainNameprivate final List<Integer>userParams
-
Constructor Summary
Constructors Constructor Description POBDSATransparencyInfo(String domainName, List<Integer> userParams)
-
Method Summary
Modifier and Type Method Description final StringgetDomainName()Domain of the entity that applied user parameters for DSA. final List<Integer>getUserParams()An array of NSNumber objects representing user parameters for platform or sell-side use. final static POBDSATransparencyInfobuild(JSONObject transparencyObject)Builds the transparency object from the JSON object. final static StringgetCombinedListOfParams(List<POBDSATransparencyInfo> transparencyInfoList)Extract the stringified list of user parameters from the list of transparency info objects. -
-
Method Detail
-
getDomainName
final String getDomainName()
Domain of the entity that applied user parameters for DSA.
-
getUserParams
final List<Integer> getUserParams()
An array of NSNumber objects representing user parameters for platform or sell-side use. This property stores an array of integers, encapsulated as NSNumber objects, that can be used by the platform or sell-side for DSA compliance.
-
build
final static POBDSATransparencyInfo build(JSONObject transparencyObject)
Builds the transparency object from the JSON object.
-
getCombinedListOfParams
final static String getCombinedListOfParams(List<POBDSATransparencyInfo> transparencyInfoList)
Extract the stringified list of user parameters from the list of transparency info objects.
- Parameters:
transparencyInfoList- List of transparency info objects.- Returns:
Stringifies list of user parameters.
-
-
-
-