Class Rels

java.lang.Object
org.hihn.listenbrainz.Rels

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

  • Constructor Details

    • Rels

      public Rels()
  • Method Details

    • artistMbid

      public Rels artistMbid(UUID artistMbid)
    • getArtistMbid

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

      public void setArtistMbid(UUID artistMbid)
    • artistName

      public Rels artistName(String artistName)
    • getArtistName

      @Nullable public String getArtistName()
      Get artistName
      Returns:
      artistName
    • setArtistName

      public void setArtistName(String artistName)
    • instrument

      public Rels instrument(String instrument)
    • getInstrument

      @Nullable public String getInstrument()
      Get instrument
      Returns:
      instrument
    • setInstrument

      public void setInstrument(String instrument)
    • type

      public Rels type(String type)
    • getType

      @Nullable public String getType()
      Get type
      Returns:
      type
    • setType

      public void setType(String type)
    • 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 Rels
    • fromJson

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

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