45 lines
2.5 KiB
Go
45 lines
2.5 KiB
Go
// Code generated from ace.jar fields *.json files
|
|
// DO NOT EDIT.
|
|
|
|
package unifi
|
|
|
|
type HotspotPackage struct {
|
|
ID string `json:"_id,omitempty"`
|
|
SiteID string `json:"site_id,omitempty"`
|
|
|
|
Hidden bool `json:"attr_hidden,omitempty"`
|
|
HiddenID string `json:"attr_hidden_id,omitempty"`
|
|
NoDelete bool `json:"attr_no_delete,omitempty"`
|
|
NoEdit bool `json:"attr_no_edit,omitempty"`
|
|
|
|
Amount float64 `json:"amount,omitempty"`
|
|
ChargedAs string `json:"charged_as,omitempty"`
|
|
Currency string `json:"currency,omitempty"` // [A-Z]{3}
|
|
CustomPaymentFieldsEnabled bool `json:"custom_payment_fields_enabled"`
|
|
Hours int `json:"hours,omitempty"`
|
|
Index int `json:"index,omitempty"`
|
|
LimitDown int `json:"limit_down,omitempty"`
|
|
LimitOverwrite bool `json:"limit_overwrite"`
|
|
LimitQuota int `json:"limit_quota,omitempty"`
|
|
LimitUp int `json:"limit_up,omitempty"`
|
|
Name string `json:"name,omitempty"`
|
|
PaymentFieldsAddressEnabled bool `json:"payment_fields_address_enabled"`
|
|
PaymentFieldsAddressRequired bool `json:"payment_fields_address_required"`
|
|
PaymentFieldsCityEnabled bool `json:"payment_fields_city_enabled"`
|
|
PaymentFieldsCityRequired bool `json:"payment_fields_city_required"`
|
|
PaymentFieldsCountryDefault string `json:"payment_fields_country_default,omitempty"`
|
|
PaymentFieldsCountryEnabled bool `json:"payment_fields_country_enabled"`
|
|
PaymentFieldsCountryRequired bool `json:"payment_fields_country_required"`
|
|
PaymentFieldsEmailEnabled bool `json:"payment_fields_email_enabled"`
|
|
PaymentFieldsEmailRequired bool `json:"payment_fields_email_required"`
|
|
PaymentFieldsFirstNameEnabled bool `json:"payment_fields_first_name_enabled"`
|
|
PaymentFieldsFirstNameRequired bool `json:"payment_fields_first_name_required"`
|
|
PaymentFieldsLastNameEnabled bool `json:"payment_fields_last_name_enabled"`
|
|
PaymentFieldsLastNameRequired bool `json:"payment_fields_last_name_required"`
|
|
PaymentFieldsStateEnabled bool `json:"payment_fields_state_enabled"`
|
|
PaymentFieldsStateRequired bool `json:"payment_fields_state_required"`
|
|
PaymentFieldsZipEnabled bool `json:"payment_fields_zip_enabled"`
|
|
PaymentFieldsZipRequired bool `json:"payment_fields_zip_required"`
|
|
TrialReset float64 `json:"trial_reset,omitempty"`
|
|
}
|