Class Artist200ResponseInner

java.lang.Object
org.hihn.listenbrainz.Artist200ResponseInner

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.7.0") public class Artist200ResponseInner extends Object
Artist200ResponseInner
  • Field Details

  • Constructor Details

    • Artist200ResponseInner

      public Artist200ResponseInner()
  • Method Details

    • artistMbid

      public Artist200ResponseInner artistMbid(UUID artistMbid)
    • getArtistMbid

      @Nullable public UUID getArtistMbid()
      Get artistMbid
      Returns:
      artistMbid
    • setArtistMbid

      public void setArtistMbid(UUID artistMbid)
    • totalListenCount

      public Artist200ResponseInner totalListenCount(Integer totalListenCount)
    • getTotalListenCount

      @Nullable public Integer getTotalListenCount()
      Get totalListenCount
      Returns:
      totalListenCount
    • setTotalListenCount

      public void setTotalListenCount(Integer totalListenCount)
    • totalUserCount

      public Artist200ResponseInner totalUserCount(Integer totalUserCount)
    • getTotalUserCount

      @Nullable public Integer getTotalUserCount()
      Get totalUserCount
      Returns:
      totalUserCount
    • setTotalUserCount

      public void setTotalUserCount(Integer totalUserCount)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to Artist200ResponseInner
    • fromJson

      public static Artist200ResponseInner fromJson(String jsonString) throws IOException
      Create an instance of Artist200ResponseInner given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of Artist200ResponseInner
      Throws:
      IOException - if the JSON string is invalid with respect to Artist200ResponseInner
    • toJson

      public String toJson()
      Convert an instance of Artist200ResponseInner to an JSON string
      Returns:
      JSON string