mirror of
https://github.com/jimeh/cloudflare-dyndns.git
synced 2026-02-19 10:56:42 +00:00
Initial commit
This commit is contained in:
17
vendor/github.com/cloudflare/cloudflare-go/organizations.go
generated
vendored
Normal file
17
vendor/github.com/cloudflare/cloudflare-go/organizations.go
generated
vendored
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user