Record Class EODCryptoLinksResponse

java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.responses.eod.EODCryptoLinksResponse
Record Components:
website - official websites
reddit - subreddit links
youtube - video links
explorer - explorer links
facebook - facebook links
sourceCode - source-code links

public record EODCryptoLinksResponse(List<String> website, List<String> reddit, List<String> youtube, List<String> explorer, List<String> facebook, List<String> sourceCode) extends Record
Link categories returned by crypto fundamentals.
Version:
1.0.12
Author:
Stephen Prizio
  • Constructor Details

    • EODCryptoLinksResponse

      public EODCryptoLinksResponse(List<String> website, List<String> reddit, List<String> youtube, List<String> explorer, List<String> facebook, List<String> sourceCode)
      Creates an instance of a EODCryptoLinksResponse record class.
      Parameters:
      website - the value for the website record component
      reddit - the value for the reddit record component
      youtube - the value for the youtube record component
      explorer - the value for the explorer record component
      facebook - the value for the facebook record component
      sourceCode - the value for the sourceCode record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • website

      public List<String> website()
      Returns the value of the website record component.
      Returns:
      the value of the website record component
    • reddit

      public List<String> reddit()
      Returns the value of the reddit record component.
      Returns:
      the value of the reddit record component
    • youtube

      public List<String> youtube()
      Returns the value of the youtube record component.
      Returns:
      the value of the youtube record component
    • explorer

      public List<String> explorer()
      Returns the value of the explorer record component.
      Returns:
      the value of the explorer record component
    • facebook

      public List<String> facebook()
      Returns the value of the facebook record component.
      Returns:
      the value of the facebook record component
    • sourceCode

      public List<String> sourceCode()
      Returns the value of the sourceCode record component.
      Returns:
      the value of the sourceCode record component