Merge pull request #12520 from zexi/cdn-gen-code

fix(region): cdn generated code
This commit is contained in:
Zexi Li
2021-10-26 11:02:07 +08:00
committed by GitHub
+3
View File
@@ -21,6 +21,7 @@ import (
"yunion.io/x/pkg/gotypes"
)
// +onecloud:model-api-gen
type SCdnDomain struct {
// cdn加速域名
Domain string
@@ -36,6 +37,7 @@ type SCdnDomain struct {
OriginType string
}
// +onecloud:model-api-gen
type SCdnOrigin struct {
Type string
Origin string
@@ -44,6 +46,7 @@ type SCdnOrigin struct {
Path string
}
// +onecloud:model-api-gen
type SCdnOrigins []SCdnOrigin
func (self SCdnOrigins) IsZero() bool {