From 4298c57c2db2f43728cad7a9e8b8efe04011d82d Mon Sep 17 00:00:00 2001 From: Jeffrey Held Date: Wed, 13 Dec 2023 09:14:30 +0100 Subject: [PATCH] feat(service): expose tech_emails in Service --- service.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/service.go b/service.go index 0b98133..9d2d5d9 100644 --- a/service.go +++ b/service.go @@ -36,6 +36,7 @@ type ( NodeStates []*NodeState `json:"node_states"` DiskSpaceMB int `json:"disk_space_mb"` Features ServiceFeatures `json:"features"` + TechnicalEmails []ContactEmail `json:"tech_emails"` } ServiceFeatures struct { @@ -230,6 +231,7 @@ type ( ServiceIntegrations []NewServiceIntegration `json:"service_integrations"` DiskSpaceMB int `json:"disk_space_mb,omitempty"` StaticIPs []string `json:"static_ips,omitempty"` + TechnicalEmails *[]ContactEmail `json:"tech_emails,omitempty"` } // UpdateServiceRequest are the parameters to update a Service. @@ -244,6 +246,7 @@ type ( UserConfig map[string]interface{} `json:"user_config,omitempty"` DiskSpaceMB int `json:"disk_space_mb,omitempty"` Karapace *bool `json:"karapace,omitempty"` + TechnicalEmails *[]ContactEmail `json:"tech_emails,omitempty"` } // ServiceResponse represents the response from Aiven after interacting with