-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfeed_system_information.go
34 lines (32 loc) · 1.62 KB
/
feed_system_information.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package gbfs
type (
// FeedSystemInformation ...
FeedSystemInformation struct {
FeedCommon
Data *FeedSystemInformationData `json:"data"`
}
// FeedSystemInformationData ...
FeedSystemInformationData struct {
SystemID *ID `json:"system_id"`
Language *string `json:"language"`
Name *string `json:"name"`
ShortName *string `json:"short_name,omitempty"`
Operator *string `json:"operator,omitempty"`
URL *string `json:"url,omitempty"`
PurchaseURL *string `json:"purchase_url,omitempty"`
StartDate *string `json:"start_date,omitempty"`
PhoneNumber *string `json:"phone_number,omitempty"`
Email *string `json:"email,omitempty"`
FeedContactEmail *string `json:"feed_contact_email,omitempty"` // (v1.1)
Timezone *string `json:"timezone"`
LicenseID *string `json:"license_id,omitempty"` // (v3.0-RC)
LicenseURL *string `json:"license_url,omitempty"` // (v3.0-RC)
AttributionOrganizationName *string `json:"attribution_organization_name,omitempty"` // (v3.0-RC)
AttributionURL *string `json:"attribution_url,omitempty"` // (v3.0-RC)
RentalApps *RentalApps `json:"rental_apps,omitempty"` // (v1.1)
}
)
// Name ...
func (f *FeedSystemInformation) Name() string {
return FeedNameSystemInformation
}