public interface Article extends GlobalInterface
Modifier and Type | Method and Description |
---|---|
String[] |
getAuthors()
Array of Author Names.
|
String |
getNewsSource()
Source for this article.
|
Integer |
getPages()
Number of pages in the article.
|
Date |
getPublishDate()
Date article was published.
|
void |
setAuthors(String[] authors)
Array of Author Names.
|
void |
setNewsSource(String newsSource)
Source for this article.
|
void |
setPages(Integer pages)
Number of pages in the article.
|
void |
setPublishDate(Date publishDate)
Date article was published.
|
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
void setAuthors(String[] authors)
author | |
Details | Author of the item. |
Example | <g:author>John Steinbeck</g:author> |
Attribute of | Reference Items, News and Articles |
Content type | string |
authors
- Array of Author Names. Limit 10.String[] getAuthors()
author | |
Details | Author of the item. |
Example | <g:author>John Steinbeck</g:author> |
Attribute of | Reference Items, News and Articles |
Content type | string |
void setNewsSource(String newsSource)
news_source | |
Details | The source of news content. |
Example | <g:news_source>Journal</g:news_source> |
Attribute of | News and Articles |
Content type | string |
newsSource
- Source for this articleString getNewsSource()
news_source | |
Details | The source of news content. |
Example | <g:news_source>Journal</g:news_source> |
Attribute of | News and Articles |
Content type | string |
void setPages(Integer pages)
pages | |
Details | The number of pages in the publication. |
Example | <g:pages>18</g:pages> |
Attribute of | Reference Items, News and Articles |
Content type | integer |
pages
- Number of pages in the articleInteger getPages()
pages | |
Details | The number of pages in the publication. |
Example | <g:pages>18</g:pages> |
Attribute of | Reference Items, News and Articles |
Content type | integer |
void setPublishDate(Date publishDate)
publish_date | |
Details | Date the item was published in ISO 8601 format: YYYY-MM-DD |
Example | <g:publish_date>2005-12-20</g:publish_date> |
Attribute of | Reference Items |
Content type | date |
publishDate
- Date article was publishedCopyright © 2023. All rights reserved.