Release series object (#37)
This commit is contained in:
parent
f499b48b2f
commit
e287c7d9b3
@ -54,7 +54,7 @@ type Release struct {
|
|||||||
Released string `json:"released"`
|
Released string `json:"released"`
|
||||||
ReleasedFormatted string `json:"released_formatted"`
|
ReleasedFormatted string `json:"released_formatted"`
|
||||||
ResourceURL string `json:"resource_url"`
|
ResourceURL string `json:"resource_url"`
|
||||||
Series []string `json:"series"`
|
Series []Series `json:"series"`
|
||||||
Status string `json:"status"`
|
Status string `json:"status"`
|
||||||
Styles []string `json:"styles"`
|
Styles []string `json:"styles"`
|
||||||
Tracklist []Track `json:"tracklist"`
|
Tracklist []Track `json:"tracklist"`
|
||||||
|
12
models.go
12
models.go
@ -14,6 +14,17 @@ type Video struct {
|
|||||||
URI string `json:"uri"`
|
URI string `json:"uri"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Series ...
|
||||||
|
type Series struct {
|
||||||
|
Catno string `json:"catno"`
|
||||||
|
EntityType string `json:"entity_type"`
|
||||||
|
EntityTypeName string `json:"entity_type_name"`
|
||||||
|
ID int `json:"id"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
ResourceURL string `json:"resource_url"`
|
||||||
|
ThumbnailURL string `json:"thumbnail_url"`
|
||||||
|
}
|
||||||
|
|
||||||
// ArtistSource ...
|
// ArtistSource ...
|
||||||
type ArtistSource struct {
|
type ArtistSource struct {
|
||||||
Anv string `json:"anv"`
|
Anv string `json:"anv"`
|
||||||
@ -57,6 +68,7 @@ type LabelSource struct {
|
|||||||
|
|
||||||
// Identifier ...
|
// Identifier ...
|
||||||
type Identifier struct {
|
type Identifier struct {
|
||||||
|
Description string `json:"description"`
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Value string `json:"value"`
|
Value string `json:"value"`
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user