Fix Zone Owner object
* Fix Zone Owner object
1. `owner_type` was renamed to `type`, though this isn't reflected in the documentation yet
2. When a zone is owned by an organization instead of a user, the `email` field is replaced by a `name` field
@@ -14,7 +14,8 @@ import (
type Owner struct {
ID string `json:"id"`
Email string `json:"email"`
- OwnerType string `json:"owner_type"`
+ Name string `json:"name"`
+ OwnerType string `json:"type"`
}
// Zone describes a Cloudflare zone.
