1
0
Fork 0

Update Lego

This commit is contained in:
Ludovic Fernandez 2018-09-14 10:06:03 +02:00 committed by Traefiker Bot
parent 36966da701
commit 253060b4f3
185 changed files with 16653 additions and 3210 deletions

44
vendor/github.com/iij/doapi/protocol/Commit.go generated vendored Normal file
View file

@ -0,0 +1,44 @@
package protocol
import (
"reflect"
)
// Commit
type Commit struct {
DoServiceCode string `json:"-"` // DO契約のサービスコード(do########)
}
// URI /{{.DoServiceCode}}/commit.json
func (t Commit) URI() string {
return "/{{.DoServiceCode}}/commit.json"
}
// APIName Commit
func (t Commit) APIName() string {
return "Commit"
}
// Method PUT
func (t Commit) Method() string {
return "PUT"
}
// http://manual.iij.jp/dns/doapi/754632.html
func (t Commit) Document() string {
return "http://manual.iij.jp/dns/doapi/754632.html"
}
// JPName PUT Commit
func (t Commit) JPName() string {
return "PUT commit"
}
func init() {
APIlist = append(APIlist, Commit{})
TypeMap["Commit"] = reflect.TypeOf(Commit{})
}
// CommitResponse PUT Commitのレスポンス
type CommitResponse struct {
*CommonResponse
}