Documentation ¶
Index ¶
- type City
- type DynamicLocationGroupCriteria
- type LastModUser
- type LocationGroup
- type Locations
- type ManagedBy
- type Name
- type Service
- func (service *Service) CreateLocationGroup(locationGroups *LocationGroup) (*LocationGroup, error)
- func (service *Service) DeleteLocationGroup(groupID int) (*http.Response, error)
- func (service *Service) GetAll() ([]LocationGroup, error)
- func (service *Service) GetLocationGroup(groupID int) (*LocationGroup, error)
- func (service *Service) GetLocationGroupByName(locationGroupName string) (*LocationGroup, error)
- func (service *Service) UpdateLocationGroup(groupID int, locationGroups *LocationGroup) (*LocationGroup, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicLocationGroupCriteria ¶
type DynamicLocationGroupCriteria struct { Name *Name `json:"name,omitempty"` Countries []string `json:"countries,omitempty"` City *City `json:"city,omitempty"` ManagedBy []ManagedBy `json:"managedBy,omitempty"` EnforceAuthentication bool `json:"enforceAuthentication"` EnforceAup bool `json:"enforceAup"` EnforceFirewallControl bool `json:"enforceFirewallControl"` EnableXffForwarding bool `json:"enableXffForwarding"` EnableCaution bool `json:"enableCaution"` EnableBandwidthControl bool `json:"enableBandwidthControl"` Profiles []string `json:"profiles"` }
type LastModUser ¶
type LocationGroup ¶
type LocationGroup struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Deleted bool `json:"deleted,omitempty"` GroupType string `json:"groupType,omitempty"` DynamicLocationGroupCriteria *DynamicLocationGroupCriteria `json:"dynamicLocationGroupCriteria,omitempty"` Comments string `json:"comments"` Locations []Locations `json:"locations"` LastModUser *LastModUser `json:"lastModUser"` LastModTime int `json:"lastModTime"` Predefined bool `json:"predefined"` }
type Service ¶
func (*Service) CreateLocationGroup ¶
func (service *Service) CreateLocationGroup(locationGroups *LocationGroup) (*LocationGroup, error)
func (*Service) DeleteLocationGroup ¶
func (*Service) GetAll ¶ added in v0.0.4
func (service *Service) GetAll() ([]LocationGroup, error)
func (*Service) GetLocationGroup ¶
func (service *Service) GetLocationGroup(groupID int) (*LocationGroup, error)
func (*Service) GetLocationGroupByName ¶
func (service *Service) GetLocationGroupByName(locationGroupName string) (*LocationGroup, error)
func (*Service) UpdateLocationGroup ¶
func (service *Service) UpdateLocationGroup(groupID int, locationGroups *LocationGroup) (*LocationGroup, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.