Package org.localify.artist.dto
Class ArtistPatchRequest
java.lang.Object
org.localify.artist.dto.ArtistPatchRequest
Represents a request to patch an artist.
This class uses
Optional to distinguish between a field that was not provided
and a field that was provided with a null or empty value.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ArtistPatchRequest
public ArtistPatchRequest()
-
-
Method Details
-
getName
Gets the name of the artist.- Returns:
- an
Optionalcontaining the name of the artist
-
setName
Sets the name of the artist.- Parameters:
name- anOptionalcontaining the name of the artist- Returns:
- this
ArtistPatchRequestinstance
-