Page tree


com.pubmatic.sdk.nativead.bean

Class PMNativeAssetRequest

java.lang.Object
    com.pubmatic.sdk.nativead.bean.PMNativeAssetRequest
Direct Known Subclasses:
PMNativeDataAssetRequest, PMNativeImageAssetRequest, PMNativeTitleAssetRequest

public abstract class PMNativeAssetRequest
extends java.lang.Object

Field Summary

Modifier and TypeField and Description
int assetId Asset Id
Boolean isRequired Flag to check if asset is required or optional

Constructor Summary

Constructor and Description
PMNativeAssetRequest()

Method Summary

Modifier and TypeMethod and Description
int getAssetId()
Boolean isRequired()
void setAssetId(int assetId)
void setRequired(Boolean isRequired) Set if asset is required or optional.

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, tostring, wait, wait, wait

Field Detail


assetId

public int assetId

Asset Id

isRequired

public Boolean isRequired

Flag to check if asset is required or optional

Constructor Detail


PMNativeAssetRequest

public PMNativeAssetRequest()

Method Detail


getAssetId

public int getAssetId()

setAssetId

public void setAssetId(int assetId)

isRequired

public Boolean isRequired()

setRequired

public void setRequired(Boolean isRequired)

Set if asset is required or optional.

Default: false (optional)

Parameters:
isRequired - : Set true for required or false for optional.


⇧ Top