networkapplications

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkApplicationGroups

type NetworkApplicationGroups struct {
	ID                  int      `json:"id"`
	Name                string   `json:"name,omitempty"`
	NetworkApplications []string `json:"networkApplications,omitempty"`
	Description         string   `json:"description,omitempty"`
}

type NetworkApplications

type NetworkApplications struct {
	ID             string `json:"id"`
	ParentCategory string `json:"parentCategory,omitempty"`
	Description    string `json:"description,omitempty"`
	Deprecated     bool   `json:"deprecated"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) Create

func (service *Service) Create(applicationGroup *NetworkApplicationGroups) (*NetworkApplicationGroups, error)

func (*Service) Delete

func (service *Service) Delete(groupID int) (*http.Response, error)

func (*Service) GetAllNetworkApplicationGroups

func (service *Service) GetAllNetworkApplicationGroups() ([]NetworkApplicationGroups, error)

func (*Service) GetNetworkApplication

func (service *Service) GetNetworkApplication(id, locale string) (*NetworkApplications, error)

func (*Service) GetNetworkApplicationGroups

func (service *Service) GetNetworkApplicationGroups(groupID int) (*NetworkApplicationGroups, error)

func (*Service) GetNetworkApplicationGroupsByName

func (service *Service) GetNetworkApplicationGroupsByName(appGroupsName string) (*NetworkApplicationGroups, error)

func (*Service) Update

func (service *Service) Update(groupID int, applicationGroup *NetworkApplicationGroups) (*NetworkApplicationGroups, *http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL