Documentation
¶
Index ¶
- type IPDestinationGroups
- type Service
- func (service *Service) Create(ipGroupID *IPDestinationGroups) (*IPDestinationGroups, error)
- func (service *Service) Delete(ipGroupID int) (*http.Response, error)
- func (service *Service) Get(ipGroupID int) (*IPDestinationGroups, error)
- func (service *Service) GetByName(ipDestinationGroupsName string) (*IPDestinationGroups, error)
- func (service *Service) Update(ipGroupID int, ipGroup *IPDestinationGroups) (*IPDestinationGroups, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPDestinationGroups ¶
type IPDestinationGroups struct { ID int `json:"id"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Addresses []string `json:"addresses,omitempty"` Description string `json:"description,omitempty"` IPCategories []string `json:"ipCategories,omitempty"` Countries []string `json:"countries,omitempty"` }
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(ipGroupID *IPDestinationGroups) (*IPDestinationGroups, error)
func (*Service) GetByName ¶
func (service *Service) GetByName(ipDestinationGroupsName string) (*IPDestinationGroups, error)
func (*Service) Update ¶
func (service *Service) Update(ipGroupID int, ipGroup *IPDestinationGroups) (*IPDestinationGroups, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.