Record Class CurrentlyShownView

java.lang.Object
java.lang.Record
de.chojo.universalis.entities.views.CurrentlyShownView

public record CurrentlyShownView(Item item, World world, @Nullable Map<String,Long> worldUploadTimes, LocalDateTime lastUploadTime, List<ListingView> listingViews, List<SaleView> recentHistory, DataCenter datacenter, Region region, float currentAveragePrice, float currentAveragePriceNQ, float currentAveragePriceHQ, float regularSaleVelocity, float nqSaleVelocity, float hqSaleVelocity, float averagePrice, float averagePriceNQ, float averagePriceHQ, int minPrice, int minPriceNQ, int minPriceHQ, int maxPrice, int maxPriceNQ, int maxPriceHQ, Map<String,Integer> stackSizeHistogram, Map<String,Integer> stackSizeHistogramNQ, Map<String,Integer> stackSizeHistogramHQ, int listingsCount, int recentHistoryCount, int unitsSold) extends Record
  • Constructor Details

    • CurrentlyShownView

      public CurrentlyShownView(Item item, World world, @Nullable @Nullable Map<String,Long> worldUploadTimes, LocalDateTime lastUploadTime, List<ListingView> listingViews, List<SaleView> recentHistory, DataCenter datacenter, Region region, float currentAveragePrice, float currentAveragePriceNQ, float currentAveragePriceHQ, float regularSaleVelocity, float nqSaleVelocity, float hqSaleVelocity, float averagePrice, float averagePriceNQ, float averagePriceHQ, int minPrice, int minPriceNQ, int minPriceHQ, int maxPrice, int maxPriceNQ, int maxPriceHQ, Map<String,Integer> stackSizeHistogram, Map<String,Integer> stackSizeHistogramNQ, Map<String,Integer> stackSizeHistogramHQ, int listingsCount, int recentHistoryCount, int unitsSold)
      Creates an instance of a CurrentlyShownView record class.
      Parameters:
      item - the value for the item record component
      world - the value for the world record component
      worldUploadTimes - the value for the worldUploadTimes record component
      lastUploadTime - the value for the lastUploadTime record component
      listingViews - the value for the listingViews record component
      recentHistory - the value for the recentHistory record component
      datacenter - the value for the datacenter record component
      region - the value for the region record component
      currentAveragePrice - the value for the currentAveragePrice record component
      currentAveragePriceNQ - the value for the currentAveragePriceNQ record component
      currentAveragePriceHQ - the value for the currentAveragePriceHQ record component
      regularSaleVelocity - the value for the regularSaleVelocity record component
      nqSaleVelocity - the value for the nqSaleVelocity record component
      hqSaleVelocity - the value for the hqSaleVelocity record component
      averagePrice - the value for the averagePrice record component
      averagePriceNQ - the value for the averagePriceNQ record component
      averagePriceHQ - the value for the averagePriceHQ record component
      minPrice - the value for the minPrice record component
      minPriceNQ - the value for the minPriceNQ record component
      minPriceHQ - the value for the minPriceHQ record component
      maxPrice - the value for the maxPrice record component
      maxPriceNQ - the value for the maxPriceNQ record component
      maxPriceHQ - the value for the maxPriceHQ record component
      stackSizeHistogram - the value for the stackSizeHistogram record component
      stackSizeHistogramNQ - the value for the stackSizeHistogramNQ record component
      stackSizeHistogramHQ - the value for the stackSizeHistogramHQ record component
      listingsCount - the value for the listingsCount record component
      recentHistoryCount - the value for the recentHistoryCount record component
      unitsSold - the value for the unitsSold record component
  • Method Details

    • stackSizeHistogramHQ

      public Map<String,Integer> stackSizeHistogramHQ()
      Returns the value of the stackSizeHistogramHQ record component.
      Returns:
      the value of the stackSizeHistogramHQ record component
    • stackSizeHistogramNQ

      public Map<String,Integer> stackSizeHistogramNQ()
      Returns the value of the stackSizeHistogramNQ record component.
      Returns:
      the value of the stackSizeHistogramNQ record component
    • stackSizeHistogram

      public Map<String,Integer> stackSizeHistogram()
      Returns the value of the stackSizeHistogram record component.
      Returns:
      the value of the stackSizeHistogram record component
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • item

      public Item item()
      Returns the value of the item record component.
      Returns:
      the value of the item record component
    • world

      public World world()
      Returns the value of the world record component.
      Returns:
      the value of the world record component
    • worldUploadTimes

      @Nullable public @Nullable Map<String,Long> worldUploadTimes()
      Returns the value of the worldUploadTimes record component.
      Returns:
      the value of the worldUploadTimes record component
    • lastUploadTime

      public LocalDateTime lastUploadTime()
      Returns the value of the lastUploadTime record component.
      Returns:
      the value of the lastUploadTime record component
    • listingViews

      public List<ListingView> listingViews()
      Returns the value of the listingViews record component.
      Returns:
      the value of the listingViews record component
    • recentHistory

      public List<SaleView> recentHistory()
      Returns the value of the recentHistory record component.
      Returns:
      the value of the recentHistory record component
    • datacenter

      public DataCenter datacenter()
      Returns the value of the datacenter record component.
      Returns:
      the value of the datacenter record component
    • region

      public Region region()
      Returns the value of the region record component.
      Returns:
      the value of the region record component
    • currentAveragePrice

      public float currentAveragePrice()
      Returns the value of the currentAveragePrice record component.
      Returns:
      the value of the currentAveragePrice record component
    • currentAveragePriceNQ

      public float currentAveragePriceNQ()
      Returns the value of the currentAveragePriceNQ record component.
      Returns:
      the value of the currentAveragePriceNQ record component
    • currentAveragePriceHQ

      public float currentAveragePriceHQ()
      Returns the value of the currentAveragePriceHQ record component.
      Returns:
      the value of the currentAveragePriceHQ record component
    • regularSaleVelocity

      public float regularSaleVelocity()
      Returns the value of the regularSaleVelocity record component.
      Returns:
      the value of the regularSaleVelocity record component
    • nqSaleVelocity

      public float nqSaleVelocity()
      Returns the value of the nqSaleVelocity record component.
      Returns:
      the value of the nqSaleVelocity record component
    • hqSaleVelocity

      public float hqSaleVelocity()
      Returns the value of the hqSaleVelocity record component.
      Returns:
      the value of the hqSaleVelocity record component
    • averagePrice

      public float averagePrice()
      Returns the value of the averagePrice record component.
      Returns:
      the value of the averagePrice record component
    • averagePriceNQ

      public float averagePriceNQ()
      Returns the value of the averagePriceNQ record component.
      Returns:
      the value of the averagePriceNQ record component
    • averagePriceHQ

      public float averagePriceHQ()
      Returns the value of the averagePriceHQ record component.
      Returns:
      the value of the averagePriceHQ record component
    • minPrice

      public int minPrice()
      Returns the value of the minPrice record component.
      Returns:
      the value of the minPrice record component
    • minPriceNQ

      public int minPriceNQ()
      Returns the value of the minPriceNQ record component.
      Returns:
      the value of the minPriceNQ record component
    • minPriceHQ

      public int minPriceHQ()
      Returns the value of the minPriceHQ record component.
      Returns:
      the value of the minPriceHQ record component
    • maxPrice

      public int maxPrice()
      Returns the value of the maxPrice record component.
      Returns:
      the value of the maxPrice record component
    • maxPriceNQ

      public int maxPriceNQ()
      Returns the value of the maxPriceNQ record component.
      Returns:
      the value of the maxPriceNQ record component
    • maxPriceHQ

      public int maxPriceHQ()
      Returns the value of the maxPriceHQ record component.
      Returns:
      the value of the maxPriceHQ record component
    • listingsCount

      public int listingsCount()
      Returns the value of the listingsCount record component.
      Returns:
      the value of the listingsCount record component
    • recentHistoryCount

      public int recentHistoryCount()
      Returns the value of the recentHistoryCount record component.
      Returns:
      the value of the recentHistoryCount record component
    • unitsSold

      public int unitsSold()
      Returns the value of the unitsSold record component.
      Returns:
      the value of the unitsSold record component