add optional fields to custom ssl structs
@@ -15,6 +15,7 @@ type ZoneCustomSSL struct {
Signature string `json:"signature"`
Status string `json:"status"`
BundleMethod string `json:"bundle_method"`
+ GeoRestrictions map[string]string `json:"geo_restrictions"`
ZoneID string `json:"zone_id"`
UploadedOn time.Time `json:"uploaded_on"`
ModifiedOn time.Time `json:"modified_on"`
@@ -41,6 +42,8 @@ type ZoneCustomSSLOptions struct {
Certificate string `json:"certificate"`
PrivateKey string `json:"private_key"`
BundleMethod string `json:"bundle_method,omitempty"`
+ GeoRestrictions map[string]string `json:"geo_restrictions,omitempty"`
+ Type string `json:"type,omitempty"`
}
// ZoneCustomSSLPriority represents a certificate's ID and priority. It is a
