Record Class EODFundamentalsGeneralResponse
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODFundamentalsGeneralResponse
- Record Components:
code- ticker in EODHD formattype- asset typename- instrument nameexchange- exchange codecurrencyCode- currency codecurrencyName- currency namecountryName- country namecountryISO- ISO country codedescription- business descriptionwebURL- website URLlogoURL- logo URL
public record EODFundamentalsGeneralResponse(String code, String type, String name, String exchange, String currencyCode, String currencyName, String countryName, String countryISO, String description, String webURL, String logoURL)
extends Record
Stable general section of a fundamentals payload.
- Version:
- 1.0.12
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionEODFundamentalsGeneralResponse(String code, String type, String name, String exchange, String currencyCode, String currencyName, String countryName, String countryISO, String description, String webURL, String logoURL) Creates an instance of aEODFundamentalsGeneralResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.Returns the value of thecountryISOrecord component.Returns the value of thecountryNamerecord component.Returns the value of thecurrencyCoderecord component.Returns the value of thecurrencyNamerecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.exchange()Returns the value of theexchangerecord component.final inthashCode()Returns a hash code value for this object.logoURL()Returns the value of thelogoURLrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.webURL()Returns the value of thewebURLrecord component.
-
Constructor Details
-
EODFundamentalsGeneralResponse
public EODFundamentalsGeneralResponse(String code, String type, String name, String exchange, String currencyCode, String currencyName, String countryName, String countryISO, String description, String webURL, String logoURL) Creates an instance of aEODFundamentalsGeneralResponserecord class.- Parameters:
code- the value for thecoderecord componenttype- the value for thetyperecord componentname- the value for thenamerecord componentexchange- the value for theexchangerecord componentcurrencyCode- the value for thecurrencyCoderecord componentcurrencyName- the value for thecurrencyNamerecord componentcountryName- the value for thecountryNamerecord componentcountryISO- the value for thecountryISOrecord componentdescription- the value for thedescriptionrecord componentwebURL- the value for thewebURLrecord componentlogoURL- the value for thelogoURLrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
code
-
type
-
name
-
exchange
-
currencyCode
Returns the value of thecurrencyCoderecord component.- Returns:
- the value of the
currencyCoderecord component
-
currencyName
Returns the value of thecurrencyNamerecord component.- Returns:
- the value of the
currencyNamerecord component
-
countryName
Returns the value of thecountryNamerecord component.- Returns:
- the value of the
countryNamerecord component
-
countryISO
Returns the value of thecountryISOrecord component.- Returns:
- the value of the
countryISOrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
webURL
-
logoURL
-