-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathserver.go
More file actions
34 lines (25 loc) · 945 Bytes
/
server.go
File metadata and controls
34 lines (25 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* PowerDNS Authoritative HTTP API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: 0.0.13
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package pdnsapi
type Server struct {
// Set to “Server”
Type_ string `json:"type,omitempty"`
// The id of the server, “localhost”
Id string `json:"id,omitempty"`
// “recursor” for the PowerDNS Recursor and “authoritative” for the Authoritative Server
DaemonType string `json:"daemon_type,omitempty"`
// The version of the server software
Version string `json:"version,omitempty"`
// The API endpoint for this server
Url string `json:"url,omitempty"`
// The API endpoint for this server’s configuration
ConfigUrl string `json:"config_url,omitempty"`
// The API endpoint for this server’s zones
ZonesUrl string `json:"zones_url,omitempty"`
}