types/artist.ql
An artist who creates songs.
Constructor | Description |
---|---|
Artist(_id, _name) | Creates a new artist with the given ID and name. The |
Function | Description |
---|---|
fun getId() | Gets the ID of the artist. |
fun getName() | Gets the name of the artist. |
Field | Description |
---|---|
string _id | The ID of the artist. |
string _name | The name of the artist. |