fix!: some types were changed
This commit is contained in:
parent
d04248ab7a
commit
ae01eec0fd
2 changed files with 21 additions and 9 deletions
|
|
@ -36,9 +36,9 @@ type ReleaseSeason string
|
|||
|
||||
// Title defines model for Title.
|
||||
type Title struct {
|
||||
EpisodesAired *int32 `json:"episodes_aired,omitempty"`
|
||||
EpisodesAll *int32 `json:"episodes_all,omitempty"`
|
||||
EpisodesLen *[]float64 `json:"episodes_len,omitempty"`
|
||||
EpisodesAired *int32 `json:"episodes_aired,omitempty"`
|
||||
EpisodesAll *int32 `json:"episodes_all,omitempty"`
|
||||
EpisodesLen *map[string]float64 `json:"episodes_len,omitempty"`
|
||||
|
||||
// Id Unique title ID (primary key)
|
||||
Id *int64 `json:"id,omitempty"`
|
||||
|
|
@ -50,7 +50,9 @@ type Title struct {
|
|||
ReleaseSeason *ReleaseSeason `json:"release_season,omitempty"`
|
||||
ReleaseYear *int32 `json:"release_year,omitempty"`
|
||||
StudioId *int64 `json:"studio_id,omitempty"`
|
||||
TitleNames *[]string `json:"title_names,omitempty"`
|
||||
|
||||
// TitleNames Localized titles. Key = language (ISO 639-1), value = list of names
|
||||
TitleNames *map[string][]string `json:"title_names,omitempty"`
|
||||
|
||||
// TitleStatus Title status
|
||||
TitleStatus *TitleStatus `json:"title_status,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue