public final class InventoryItem
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the DCM/DFA Reporting And Trafficking API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
InventoryItem() |
| Modifier and Type | Method and Description |
|---|---|
InventoryItem |
clone() |
java.lang.Long |
getAccountId()
Account ID of this inventory item.
|
java.util.List<AdSlot> |
getAdSlots()
Ad slots of this inventory item.
|
java.lang.Long |
getAdvertiserId()
Advertiser ID of this inventory item.
|
java.lang.Long |
getContentCategoryId()
Content category ID of this inventory item.
|
java.lang.Long |
getEstimatedClickThroughRate()
Estimated click-through rate of this inventory item.
|
java.lang.Long |
getEstimatedConversionRate()
Estimated conversion rate of this inventory item.
|
java.lang.Long |
getId()
ID of this inventory item.
|
java.lang.Boolean |
getInPlan()
Whether this inventory item is in plan.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
LastModifiedInfo |
getLastModifiedInfo()
Information about the most recent modification of this inventory item.
|
java.lang.String |
getName()
Name of this inventory item.
|
java.lang.Long |
getNegotiationChannelId()
Negotiation channel ID of this inventory item.
|
java.lang.Long |
getOrderId()
Order ID of this inventory item.
|
java.lang.Long |
getPlacementStrategyId()
Placement strategy ID of this inventory item.
|
Pricing |
getPricing()
Pricing of this inventory item.
|
java.lang.Long |
getProjectId()
Project ID of this inventory item.
|
java.lang.Long |
getRfpId()
RFP ID of this inventory item.
|
java.lang.Long |
getSiteId()
ID of the site this inventory item is associated with.
|
java.lang.Long |
getSubaccountId()
Subaccount ID of this inventory item.
|
java.lang.String |
getType()
Type of inventory item.
|
InventoryItem |
set(java.lang.String fieldName,
java.lang.Object value) |
InventoryItem |
setAccountId(java.lang.Long accountId)
Account ID of this inventory item.
|
InventoryItem |
setAdSlots(java.util.List<AdSlot> adSlots)
Ad slots of this inventory item.
|
InventoryItem |
setAdvertiserId(java.lang.Long advertiserId)
Advertiser ID of this inventory item.
|
InventoryItem |
setContentCategoryId(java.lang.Long contentCategoryId)
Content category ID of this inventory item.
|
InventoryItem |
setEstimatedClickThroughRate(java.lang.Long estimatedClickThroughRate)
Estimated click-through rate of this inventory item.
|
InventoryItem |
setEstimatedConversionRate(java.lang.Long estimatedConversionRate)
Estimated conversion rate of this inventory item.
|
InventoryItem |
setId(java.lang.Long id)
ID of this inventory item.
|
InventoryItem |
setInPlan(java.lang.Boolean inPlan)
Whether this inventory item is in plan.
|
InventoryItem |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
InventoryItem |
setLastModifiedInfo(LastModifiedInfo lastModifiedInfo)
Information about the most recent modification of this inventory item.
|
InventoryItem |
setName(java.lang.String name)
Name of this inventory item.
|
InventoryItem |
setNegotiationChannelId(java.lang.Long negotiationChannelId)
Negotiation channel ID of this inventory item.
|
InventoryItem |
setOrderId(java.lang.Long orderId)
Order ID of this inventory item.
|
InventoryItem |
setPlacementStrategyId(java.lang.Long placementStrategyId)
Placement strategy ID of this inventory item.
|
InventoryItem |
setPricing(Pricing pricing)
Pricing of this inventory item.
|
InventoryItem |
setProjectId(java.lang.Long projectId)
Project ID of this inventory item.
|
InventoryItem |
setRfpId(java.lang.Long rfpId)
RFP ID of this inventory item.
|
InventoryItem |
setSiteId(java.lang.Long siteId)
ID of the site this inventory item is associated with.
|
InventoryItem |
setSubaccountId(java.lang.Long subaccountId)
Subaccount ID of this inventory item.
|
InventoryItem |
setType(java.lang.String type)
Type of inventory item.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getAccountId()
null for nonepublic InventoryItem setAccountId(java.lang.Long accountId)
accountId - accountId or null for nonepublic java.util.List<AdSlot> getAdSlots()
null for nonepublic InventoryItem setAdSlots(java.util.List<AdSlot> adSlots)
adSlots - adSlots or null for nonepublic java.lang.Long getAdvertiserId()
null for nonepublic InventoryItem setAdvertiserId(java.lang.Long advertiserId)
advertiserId - advertiserId or null for nonepublic java.lang.Long getContentCategoryId()
null for nonepublic InventoryItem setContentCategoryId(java.lang.Long contentCategoryId)
contentCategoryId - contentCategoryId or null for nonepublic java.lang.Long getEstimatedClickThroughRate()
null for nonepublic InventoryItem setEstimatedClickThroughRate(java.lang.Long estimatedClickThroughRate)
estimatedClickThroughRate - estimatedClickThroughRate or null for nonepublic java.lang.Long getEstimatedConversionRate()
null for nonepublic InventoryItem setEstimatedConversionRate(java.lang.Long estimatedConversionRate)
estimatedConversionRate - estimatedConversionRate or null for nonepublic java.lang.Long getId()
null for nonepublic InventoryItem setId(java.lang.Long id)
id - id or null for nonepublic java.lang.Boolean getInPlan()
null for nonepublic InventoryItem setInPlan(java.lang.Boolean inPlan)
inPlan - inPlan or null for nonepublic java.lang.String getKind()
null for nonepublic InventoryItem setKind(java.lang.String kind)
kind - kind or null for nonepublic LastModifiedInfo getLastModifiedInfo()
null for nonepublic InventoryItem setLastModifiedInfo(LastModifiedInfo lastModifiedInfo)
lastModifiedInfo - lastModifiedInfo or null for nonepublic java.lang.String getName()
null for nonepublic InventoryItem setName(java.lang.String name)
name - name or null for nonepublic java.lang.Long getNegotiationChannelId()
null for nonepublic InventoryItem setNegotiationChannelId(java.lang.Long negotiationChannelId)
negotiationChannelId - negotiationChannelId or null for nonepublic java.lang.Long getOrderId()
null for nonepublic InventoryItem setOrderId(java.lang.Long orderId)
orderId - orderId or null for nonepublic java.lang.Long getPlacementStrategyId()
null for nonepublic InventoryItem setPlacementStrategyId(java.lang.Long placementStrategyId)
placementStrategyId - placementStrategyId or null for nonepublic Pricing getPricing()
null for nonepublic InventoryItem setPricing(Pricing pricing)
pricing - pricing or null for nonepublic java.lang.Long getProjectId()
null for nonepublic InventoryItem setProjectId(java.lang.Long projectId)
projectId - projectId or null for nonepublic java.lang.Long getRfpId()
null for nonepublic InventoryItem setRfpId(java.lang.Long rfpId)
rfpId - rfpId or null for nonepublic java.lang.Long getSiteId()
null for nonepublic InventoryItem setSiteId(java.lang.Long siteId)
siteId - siteId or null for nonepublic java.lang.Long getSubaccountId()
null for nonepublic InventoryItem setSubaccountId(java.lang.Long subaccountId)
subaccountId - subaccountId or null for nonepublic java.lang.String getType()
null for nonepublic InventoryItem setType(java.lang.String type)
type - type or null for nonepublic InventoryItem set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic InventoryItem clone()
clone in class com.google.api.client.json.GenericJson