package securitygroup type ListSecurityGroups struct { Data []ItemSecurityGroup `json:"data"` EntryCount uint64 `json:"entryCount"` } type ItemSecurityGroup struct { ID uint64 `json:"id"` AccountID uint64 `json:"account_id"` Name string `json:"name"` Description string `json:"description"` Rules Rules `json:"rules"` CreatedAt uint64 `json:"created_at"` UpdatedAt uint64 `json:"updated_at"` CreatedBy string `json:"created_by"` UpdatedBy string `json:"updated_by"` } type RecordSecurityGroup struct { ID uint64 `json:"id"` AccountID uint64 `json:"account_id"` Name string `json:"name"` Description string `json:"description"` Rules Rules `json:"rules"` CreatedAt uint64 `json:"created_at"` UpdatedAt uint64 `json:"updated_at"` CreatedBy string `json:"created_by"` UpdatedBy string `json:"updated_by"` } type Rules []Rule type Rule struct { ID uint64 `json:"id"` Direction string `json:"direction"` Ethertype string `json:"ethertype"` Protocol string `json:"protocol"` PortRangeMin uint64 `json:"port_range_min"` PortRangeMax uint64 `json:"port_range_max"` RemoteIPPrefix string `json:"remote_ip_prefix"` RemoteGroupID uint64 `json:"remote_group_id"` }