Initial commit

This commit is contained in:
2016-08-16 00:14:59 +01:00
commit fec014579d
26 changed files with 2947 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package cloudflare
// Organization represents a multi-user organization.
type Organization struct {
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Status string `json:"status,omitempty"`
Permissions []string `json:"permissions,omitempty"`
Roles []string `json:"roles,omitempty"`
}
// OrganizationResponse represents the response from the Organization endpoint.
type OrganizationResponse struct {
Response
Result []Organization `json:"result"`
ResultInfo ResultInfo `json:"result_info"`
}