Update Lego
This commit is contained in:
parent
36966da701
commit
253060b4f3
185 changed files with 16653 additions and 3210 deletions
45
vendor/github.com/iij/doapi/protocol/Reset.go
generated
vendored
Normal file
45
vendor/github.com/iij/doapi/protocol/Reset.go
generated
vendored
Normal file
|
@ -0,0 +1,45 @@
|
|||
package protocol
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
)
|
||||
|
||||
// Reset PUT reset (同期)
|
||||
type Reset struct {
|
||||
DoServiceCode string `json:"-"` // DO契約のサービスコード(do########)
|
||||
ZoneName string `json:"-"` // Zone name
|
||||
}
|
||||
|
||||
// URI /{{.DoServiceCode}}/{{.ZoneName}}/reset.json
|
||||
func (t Reset) URI() string {
|
||||
return "/{{.DoServiceCode}}/{{.ZoneName}}/reset.json"
|
||||
}
|
||||
|
||||
// APIName Reset
|
||||
func (t Reset) APIName() string {
|
||||
return "Reset"
|
||||
}
|
||||
|
||||
// Method PUT
|
||||
func (t Reset) Method() string {
|
||||
return "PUT"
|
||||
}
|
||||
|
||||
// http://manual.iij.jp/dns/doapi/754610.html
|
||||
func (t Reset) Document() string {
|
||||
return "http://manual.iij.jp/dns/doapi/754610.html"
|
||||
}
|
||||
|
||||
// JPName PUT reset
|
||||
func (t Reset) JPName() string {
|
||||
return "PUT Reset"
|
||||
}
|
||||
func init() {
|
||||
APIlist = append(APIlist, Reset{})
|
||||
TypeMap["Reset"] = reflect.TypeOf(Reset{})
|
||||
}
|
||||
|
||||
// ResetResponse PUT resetのレスポンス
|
||||
type ResetResponse struct {
|
||||
*CommonResponse
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue