Skip to content

Commit

Permalink
feat: adding display_priorities (#64)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefano Cafarella <[email protected]>
  • Loading branch information
scafarella and Stefano Cafarella committed Jun 20, 2024
1 parent 8384886 commit 034bf76
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ type WatchRegionList struct {
// WatchProviderList type is a struct for watch provider list JSON response.
type WatchProviderList struct {
Providers []struct {
ID int64 `json:"id"`
Name string `json:"name"`
DisplayPriority int64 `json:"display_priority"`
LogoPath string `json:"logo_path"`
ProviderName string `json:"provider_name"`
ProviderID int `json:"provider_id"`
ID int64 `json:"id"`
Name string `json:"name"`
DisplayPriorities map[string]int `json:"display_priorities"`
DisplayPriority int64 `json:"display_priority"`
LogoPath string `json:"logo_path"`
ProviderName string `json:"provider_name"`
ProviderID int `json:"provider_id"`
} `json:"results"`
}

Expand Down

0 comments on commit 034bf76

Please sign in to comment.