Class CreatePlaylist200Response

java.lang.Object
org.hihn.listenbrainz.CreatePlaylist200Response

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

  • Constructor Details

    • CreatePlaylist200Response

      public CreatePlaylist200Response()
  • Method Details

    • playlistMbid

      public CreatePlaylist200Response playlistMbid(UUID playlistMbid)
    • getPlaylistMbid

      @Nullable public UUID getPlaylistMbid()
      Get playlistMbid
      Returns:
      playlistMbid
    • setPlaylistMbid

      public void setPlaylistMbid(UUID playlistMbid)
    • status

      public CreatePlaylist200Response status(String status)
    • getStatus

      @Nullable public String getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • 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 CreatePlaylist200Response
    • fromJson

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

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