Class StockRetrieveNewsResponse
-
- All Implemented Interfaces:
public final class StockRetrieveNewsResponseA news article relating to a
Stockwhich includes a summary of the article and a link to the original source.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classStockRetrieveNewsResponse.BuilderA builder for StockRetrieveNewsResponse.
-
Method Summary
Modifier and Type Method Description final StringarticleUrl()URL of the news article final Stringdescription()Description of the news article final StringimageUrl()URL of the image for the news article final OffsetDateTimepublishedDt()Datetime when the article was published. final Stringpublisher()The publisher of the news article final Optional<String>ampUrl()Mobile-friendly Accelerated Mobile Page (AMP) URL of the news article, if available final JsonField<String>_articleUrl()Returns the raw JSON value of articleUrl. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_imageUrl()Returns the raw JSON value of imageUrl. final JsonField<OffsetDateTime>_publishedDt()Returns the raw JSON value of publishedDt. final JsonField<String>_publisher()Returns the raw JSON value of publisher. final JsonField<String>_ampUrl()Returns the raw JSON value of ampUrl. final Map<String, JsonValue>_additionalProperties()final StockRetrieveNewsResponse.BuildertoBuilder()final StockRetrieveNewsResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static StockRetrieveNewsResponse.Builderbuilder()Returns a mutable builder for constructing an instance of StockRetrieveNewsResponse. -
-
Method Detail
-
articleUrl
final String articleUrl()
URL of the news article
-
description
final String description()
Description of the news article
-
publishedDt
final OffsetDateTime publishedDt()
Datetime when the article was published. ISO 8601 timestamp.
-
ampUrl
final Optional<String> ampUrl()
Mobile-friendly Accelerated Mobile Page (AMP) URL of the news article, if available
-
_articleUrl
final JsonField<String> _articleUrl()
Returns the raw JSON value of articleUrl.
Unlike articleUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_imageUrl
final JsonField<String> _imageUrl()
Returns the raw JSON value of imageUrl.
Unlike imageUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_publishedDt
final JsonField<OffsetDateTime> _publishedDt()
Returns the raw JSON value of publishedDt.
Unlike publishedDt, this method doesn't throw if the JSON field has an unexpected type.
-
_publisher
final JsonField<String> _publisher()
Returns the raw JSON value of publisher.
Unlike publisher, this method doesn't throw if the JSON field has an unexpected type.
-
_ampUrl
final JsonField<String> _ampUrl()
Returns the raw JSON value of ampUrl.
Unlike ampUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final StockRetrieveNewsResponse.Builder toBuilder()
-
validate
final StockRetrieveNewsResponse validate()
-
builder
final static StockRetrieveNewsResponse.Builder builder()
Returns a mutable builder for constructing an instance of StockRetrieveNewsResponse.
The following fields are required:
.articleUrl() .description() .imageUrl() .publishedDt() .publisher()
-
-
-
-