mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(docs): update swagger api (#20100)
This commit is contained in:
@@ -27,6 +27,7 @@ import (
|
||||
"yunion.io/x/onecloud/pkg/util/stringutils2"
|
||||
)
|
||||
|
||||
// +onecloud:swagger-gen-ignore
|
||||
type SAlertJointsManager struct {
|
||||
db.SJointResourceBaseManager
|
||||
}
|
||||
@@ -41,6 +42,7 @@ func NewAlertJointsManager(
|
||||
}
|
||||
}
|
||||
|
||||
// +onecloud:swagger-gen-ignore
|
||||
type SAlertJointsBase struct {
|
||||
db.SVirtualJointResourceBase
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ const (
|
||||
AlertNotificationUsedByMigrationAlert = monitor.AlertNotificationUsedByMigrationAlert
|
||||
)
|
||||
|
||||
// +onecloud:swagger-gen-ignore
|
||||
type SAlertNotificationManager struct {
|
||||
SAlertJointsManager
|
||||
}
|
||||
@@ -56,6 +57,7 @@ func init() {
|
||||
})
|
||||
}
|
||||
|
||||
// +onecloud:swagger-gen-ignore
|
||||
type SAlertnotification struct {
|
||||
SAlertJointsBase
|
||||
NotificationId string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"required"`
|
||||
|
||||
@@ -53,10 +53,12 @@ func GetAlertResourceAlertManager() *SAlertResourceAlertManager {
|
||||
return alertResourceAlertManager
|
||||
}
|
||||
|
||||
// +onecloud:swagger-gen-ignore
|
||||
type SAlertResourceAlertManager struct {
|
||||
SAlertResourceJointsManager
|
||||
}
|
||||
|
||||
// +onecloud:swagger-gen-ignore
|
||||
type SAlertResourceAlert struct {
|
||||
SAlertResourceJointsBase
|
||||
|
||||
|
||||
@@ -34,10 +34,12 @@ type IAlertResourceJointModel interface {
|
||||
GetDetails(base monitor.AlertResourceJointBaseDetails, isList bool) interface{}
|
||||
}
|
||||
|
||||
// +onecloud:swagger-gen-ignore
|
||||
type SAlertResourceJointsManager struct {
|
||||
db.SJointResourceBaseManager
|
||||
}
|
||||
|
||||
// +onecloud:swagger-gen-ignore
|
||||
type SAlertResourceJointsBase struct {
|
||||
db.SJointResourceBase
|
||||
|
||||
|
||||
Reference in New Issue
Block a user