Versions in this module Expand all Collapse all v1 v1.0.3 May 18, 2022 v1.0.2 May 18, 2022 v1.0.1 May 18, 2022 v1.0.0 May 18, 2022 Changes in this version + type Location struct + Extensions map[string]interface{} + ID int + Name string + type Locations struct + AUPBlockInternetUntilAccepted bool + AUPEnabled bool + AUPForceSSLInspection bool + AUPTimeoutInDays int + AuthRequired bool + CautionEnabled bool + Country string + Description string + DisplayTimeUnit string + DnBandwidth int + ID int + IPAddresses []string + IPSControl bool + IdleTimeInMinutes int + Name string + OFWEnabled bool + ParentID int + Ports string + Profile string + SSLScanEnabled bool + SurrogateIP bool + SurrogateIPEnforcedForKnownBrowsers bool + SurrogateRefreshTimeInMinutes int + SurrogateRefreshTimeUnit string + TZ string + UpBandwidth int + VPNCredentials []VPNCredentials + XFFForwardEnabled bool + ZappSSLScanEnabled bool + type ManagedBy struct + Extensions map[string]interface{} + ID int + Name string + type Service struct + Client *client.Client + func New(c *client.Client) *Service + func (service *Service) Create(locations *Locations) (*Locations, error) + func (service *Service) Delete(locationID int) (*http.Response, error) + func (service *Service) GetLocation(locationID int) (*Locations, error) + func (service *Service) GetLocationByName(locationName string) (*Locations, error) + func (service *Service) GetSublocations(sublocations string) (*Locations, error) + func (service *Service) Update(locationID int, locations *Locations) (*Locations, *http.Response, error) + type VPNCredentials struct + Comments string + FQDN string + ID int + IPAddress string + Location []Location + ManagedBy []ManagedBy + PreSharedKey string + Type string