From ef27a808295984fedb94c8fca61d103074b43ea5 Mon Sep 17 00:00:00 2001 From: cmondragon Date: Thu, 16 Jan 2025 14:55:48 -0500 Subject: [PATCH] Add AutoSSL struct --- load_balancer.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/load_balancer.go b/load_balancer.go index 8497faf..3b8fa03 100644 --- a/load_balancer.go +++ b/load_balancer.go @@ -47,6 +47,7 @@ type LoadBalancer struct { HealthCheck *HealthCheck `json:"health_check,omitempty"` GenericInfo *GenericInfo `json:"generic_info,omitempty"` SSLInfo *bool `json:"has_ssl,omitempty"` + AutoSSL *AutoSSL `json:"auto_ssl,omitempty"` HTTP2 *bool `json:"http2,omitempty"` HTTP3 *bool `json:"http3,omitempty"` ForwardingRules []ForwardingRule `json:"forwarding_rules,omitempty"` @@ -64,7 +65,7 @@ type LoadBalancerReq struct { StickySessions *StickySessions `json:"sticky_session,omitempty"` ForwardingRules []ForwardingRule `json:"forwarding_rules,omitempty"` SSL *SSL `json:"ssl,omitempty"` - AutoSSL *SSL `json:"auto_ssl,omitempty"` + AutoSSL *AutoSSL `json:"auto_ssl,omitempty"` SSLRedirect *bool `json:"ssl_redirect,omitempty"` HTTP2 *bool `json:"http2,omitempty"` HTTP3 *bool `json:"http3,omitempty"`