Add direct linking bandwidth
This commit is contained in:
parent
0c17329ada
commit
805624bc23
@ -53,6 +53,7 @@ type AdminIPBan struct {
|
||||
BanTime time.Time `json:"ban_time"`
|
||||
ExpireTime time.Time `json:"expire_time"`
|
||||
Reason string `json:"reason"`
|
||||
Offences int `json:"offences"`
|
||||
}
|
||||
|
||||
// AdminGetGlobals returns the global API settings
|
||||
|
@ -23,13 +23,14 @@ type Subscription struct {
|
||||
// active subscription itself, only the properties of the subscription. Like the
|
||||
// perks and cost
|
||||
type SubscriptionType struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
DisableAdDisplay bool `json:"disable_ad_display"`
|
||||
DisableAdsOnFiles bool `json:"disable_ads_on_files"`
|
||||
FileSizeLimit int64 `json:"file_size_limit"`
|
||||
FileExpiryDays int `json:"file_expiry_days"`
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
DisableAdDisplay bool `json:"disable_ad_display"`
|
||||
DisableAdsOnFiles bool `json:"disable_ads_on_files"`
|
||||
FileSizeLimit int64 `json:"file_size_limit"`
|
||||
FileExpiryDays int `json:"file_expiry_days"`
|
||||
DirectLinkingBandwidth int64 `json:"direct_linking_bandwidth"`
|
||||
}
|
||||
|
||||
// GetSubscriptionID returns the subscription object identified by the given ID
|
||||
|
Loading…
Reference in New Issue
Block a user