github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/cis/model.go (about) 1 package cis 2 3 type Event struct { 4 CreationTime int64 `json:"creationTime"` 5 SubAccount string `json:"entityId"` 6 Type string `json:"eventType"` 7 } 8 9 type CisResponse struct { 10 Total int `json:"total"` 11 TotalPages int `json:"totalPages"` 12 PageNum int `json:"pageNum"` 13 Events []Event `json:"events"` 14 } 15 16 type EventDataVer1 struct { 17 SubAccount string `json:"subaccountGuid"` 18 } 19 20 type EventVer1 struct { 21 Type string `json:"type"` 22 Data EventDataVer1 `json:"eventData"` 23 } 24 25 type CisResponseVer1 struct { 26 Total int `json:"totalResults"` 27 TotalPages int `json:"totalPages"` 28 Events []EventVer1 `json:"events"` 29 }