dlp_incident_receiver_servers

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IncidentReceiverServers

type IncidentReceiverServers struct {
	// The unique identifier for the Incident Receiver.
	ID int `json:"id"`

	// The Incident Receiver server name.
	Name string `json:"name,omitempty"`

	// The Incident Receiver server URL.
	URL string `json:"url,omitempty"`

	// The status of the Incident Receiver.
	Status string `json:"status,omitempty"`

	// The Incident Receiver server flag.
	Flags int `json:"flags,omitempty"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) Get

func (service *Service) Get(receiverID int) (*IncidentReceiverServers, error)

func (*Service) GetAll

func (service *Service) GetAll() ([]IncidentReceiverServers, error)

func (*Service) GetByName

func (service *Service) GetByName(receiverName string) (*IncidentReceiverServers, error)

Jump to

Keyboard shortcuts

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