eventlogentryreport

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLogEntryReport

type EventLogEntryReport struct {
	StartTime     int      `json:"startTime,omitempty"`
	EndTime       int      `json:"endTime,omitempty"`
	Page          int      `json:"page,omitempty"`
	PageSize      string   `json:"pageSize,omitempty"`
	Category      string   `json:"category,omitempty"`
	Subcategories []string `json:"subcategories,omitempty"`
	ActionResult  string   `json:"actionResult,omitempty"`
	Message       string   `json:"message,omitempty"`
	ErrorCode     string   `json:"errorCode,omitempty"`
	StatusCode    string   `json:"statusCode,omitempty"`
}

type EventLogEntryReportTaskInfo

type EventLogEntryReportTaskInfo struct {
	Status                string `json:"status,omitempty"`
	ProgressItemsComplete int    `json:"progressItemsComplete,omitempty"`
	ProgressEndTime       int    `json:"progressEndTime,omitempty"`
	ErrorMessage          string `json:"errorMessage,omitempty"`
	ErrorCode             string `json:"errorCode,omitempty"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) Create

func (service *Service) Create(eventLog *EventLogEntryReport) (*EventLogEntryReport, error)

func (*Service) GetAll

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

Jump to

Keyboard shortcuts

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