Skip to content

Commit

Permalink
feat(service): expose tech_emails in Service (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-held-aiven authored Dec 21, 2023
1 parent 1daba7c commit 62a14b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 62a14b2

Please sign in to comment.