public class Feed extends Object
Java class for Feed complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Feed">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="attributes" type="{https://adwords.google.com/api/adwords/cm/v201809}FeedAttribute" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{https://adwords.google.com/api/adwords/cm/v201809}Feed.Status" minOccurs="0"/>
<element name="origin" type="{https://adwords.google.com/api/adwords/cm/v201809}Feed.Origin" minOccurs="0"/>
<element name="systemFeedGenerationData" type="{https://adwords.google.com/api/adwords/cm/v201809}SystemFeedGenerationData" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<FeedAttribute> |
attributes |
protected Long |
id |
protected String |
name |
protected FeedOrigin |
origin |
protected FeedStatus |
status |
protected SystemFeedGenerationData |
systemFeedGenerationData |
| Constructor and Description |
|---|
Feed() |
| Modifier and Type | Method and Description |
|---|---|
List<FeedAttribute> |
getAttributes()
Gets the value of the attributes property.
|
Long |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
FeedOrigin |
getOrigin()
Gets the value of the origin property.
|
FeedStatus |
getStatus()
Gets the value of the status property.
|
SystemFeedGenerationData |
getSystemFeedGenerationData()
Gets the value of the systemFeedGenerationData property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOrigin(FeedOrigin value)
Sets the value of the origin property.
|
void |
setStatus(FeedStatus value)
Sets the value of the status property.
|
void |
setSystemFeedGenerationData(SystemFeedGenerationData value)
Sets the value of the systemFeedGenerationData property.
|
protected Long id
protected String name
protected List<FeedAttribute> attributes
protected FeedStatus status
protected FeedOrigin origin
protected SystemFeedGenerationData systemFeedGenerationData
public void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic List<FeedAttribute> getAttributes()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the attributes property.
For example, to add a new item, do as follows:
getAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
FeedAttribute
public FeedStatus getStatus()
FeedStatuspublic void setStatus(FeedStatus value)
value - allowed object is
FeedStatuspublic FeedOrigin getOrigin()
FeedOriginpublic void setOrigin(FeedOrigin value)
value - allowed object is
FeedOriginpublic SystemFeedGenerationData getSystemFeedGenerationData()
SystemFeedGenerationDatapublic void setSystemFeedGenerationData(SystemFeedGenerationData value)
value - allowed object is
SystemFeedGenerationDataCopyright © 2023. All rights reserved.