Class GetManualMappingMapping

java.lang.Object
org.hihn.listenbrainz.GetManualMappingMapping

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

  • Constructor Details

    • GetManualMappingMapping

      public GetManualMappingMapping()
  • Method Details

    • created

      public GetManualMappingMapping created(String created)
    • getCreated

      @Nonnull public String getCreated()
      Get created
      Returns:
      created
    • setCreated

      public void setCreated(String created)
    • recordingMbid

      public GetManualMappingMapping recordingMbid(UUID recordingMbid)
    • getRecordingMbid

      @Nonnull public UUID getRecordingMbid()
      Get recordingMbid
      Returns:
      recordingMbid
    • setRecordingMbid

      public void setRecordingMbid(UUID recordingMbid)
    • recordingMsid

      public GetManualMappingMapping recordingMsid(UUID recordingMsid)
    • getRecordingMsid

      @Nonnull public UUID getRecordingMsid()
      Get recordingMsid
      Returns:
      recordingMsid
    • setRecordingMsid

      public void setRecordingMsid(UUID recordingMsid)
    • userId

      public GetManualMappingMapping userId(Integer userId)
    • getUserId

      @Nonnull public Integer getUserId()
      Get userId
      Returns:
      userId
    • setUserId

      public void setUserId(Integer userId)
    • 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 GetManualMappingMapping
    • fromJson

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

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