modelarts create notebook接口调整
This commit is contained in:
parent
e51990d7d8
commit
a31b79c33c
|
@ -1047,10 +1047,10 @@ type (
|
||||||
Param ListNotebookParam `json:"param,optional" copier:"Param"`
|
Param ListNotebookParam `json:"param,optional" copier:"Param"`
|
||||||
}
|
}
|
||||||
ListNotebookResp {
|
ListNotebookResp {
|
||||||
Current int32 `json:"current" copier:"Current"`
|
Current int32 `json:"current,omitempty" copier:"Current"`
|
||||||
Data []NotebookResp `json:"data" copier:"Data"`
|
Data []NotebookResp `json:"data" copier:"Data"`
|
||||||
Pages int32 `json:"pages" copier:"Pages"`
|
Pages int32 `json:"pages,omitempty" copier:"Pages"`
|
||||||
Size int32 `json:"size" copier:"Size"`
|
Size int32 `json:"size,omitempty" copier:"Size"`
|
||||||
Total int64 `json:"total" copier:"Total"`
|
Total int64 `json:"total" copier:"Total"`
|
||||||
Code int32 `json:"code,omitempty"`
|
Code int32 `json:"code,omitempty"`
|
||||||
Msg string `json:"msg,omitempty"`
|
Msg string `json:"msg,omitempty"`
|
||||||
|
@ -1073,7 +1073,7 @@ type (
|
||||||
Param CreateNotebookParam `json:"param" copier:"Param"`
|
Param CreateNotebookParam `json:"param" copier:"Param"`
|
||||||
}
|
}
|
||||||
CreateNotebookResp {
|
CreateNotebookResp {
|
||||||
NotebookResp NotebookResp `json:"notebookResp" copier:"NotebookResp"`
|
NotebookResp *NotebookResp `json:"notebookResp,omitempty" copier:"NotebookResp"`
|
||||||
Code int32 `json:"code,omitempty"`
|
Code int32 `json:"code,omitempty"`
|
||||||
Msg string `json:"msg,omitempty"`
|
Msg string `json:"msg,omitempty"`
|
||||||
ErrorMsg string `json:"error_msg,omitempty"`
|
ErrorMsg string `json:"error_msg,omitempty"`
|
||||||
|
|
|
@ -1432,10 +1432,10 @@ type ListNotebookReq struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListNotebookResp struct {
|
type ListNotebookResp struct {
|
||||||
Current int32 `json:"current" copier:"Current"`
|
Current int32 `json:"current,omitempty" copier:"Current"`
|
||||||
Data []NotebookResp `json:"data" copier:"Data"`
|
Data []NotebookResp `json:"data" copier:"Data"`
|
||||||
Pages int32 `json:"pages" copier:"Pages"`
|
Pages int32 `json:"pages,omitempty" copier:"Pages"`
|
||||||
Size int32 `json:"size" copier:"Size"`
|
Size int32 `json:"size,omitempty" copier:"Size"`
|
||||||
Total int64 `json:"total" copier:"Total"`
|
Total int64 `json:"total" copier:"Total"`
|
||||||
Code int32 `json:"code,omitempty"`
|
Code int32 `json:"code,omitempty"`
|
||||||
Msg string `json:"msg,omitempty"`
|
Msg string `json:"msg,omitempty"`
|
||||||
|
@ -1461,10 +1461,10 @@ type CreateNotebookReq struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateNotebookResp struct {
|
type CreateNotebookResp struct {
|
||||||
NotebookResp NotebookResp `json:"notebookResp" copier:"NotebookResp"`
|
NotebookResp *NotebookResp `json:"notebookResp,omitempty" copier:"NotebookResp"`
|
||||||
Code int32 `json:"code,omitempty"`
|
Code int32 `json:"code,omitempty"`
|
||||||
Msg string `json:"msg,omitempty"`
|
Msg string `json:"msg,omitempty"`
|
||||||
ErrorMsg string `json:"error_msg,omitempty"`
|
ErrorMsg string `json:"error_msg,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateNotebookParam struct {
|
type CreateNotebookParam struct {
|
||||||
|
|
Loading…
Reference in New Issue