package mini_video_config import ( "git.sxidc.com/go-framework/baize/framework/core/api/request" ) type ( CreateMiniVideoConfigJsonBody struct { ComponentID string `json:"componentId" binding:"required" assign:"toField:ComponentID"` VideoTitle string `json:"videoTitle" binding:"required" assign:"toField:VideoTitle"` VideoUrl string `json:"videoUrl" binding:"required" assign:"toField:VideoUrl"` VideoCover string `json:"videoCover" binding:"required" assign:"toField:VideoCover"` VideoDuration int `json:"videoDuration" assign:"toField:VideoDuration"` AutoPlay string `json:"autoPlay" binding:"required" assign:"toField:AutoPlay"` ShowControls string `json:"showControls" binding:"required" assign:"toField:ShowControls"` IsEnabled string `json:"isEnabled" binding:"required" assign:"toField:IsEnabled"` request.CreateUserIDJsonBody request.OperatorUserNameJsonBody } DeleteMiniVideoConfigQueryParams struct { request.IDQueryParam request.DeleteUserIDQueryParams request.OperatorUserNameQueryParams } UpdateMiniVideoConfigJsonBody struct { request.IDJsonBody ComponentID string `json:"componentId" assign:"toField:ComponentID"` VideoTitle string `json:"videoTitle" assign:"toField:VideoTitle"` VideoUrl string `json:"videoUrl" assign:"toField:VideoUrl"` VideoCover string `json:"videoCover" assign:"toField:VideoCover"` VideoDuration int `json:"videoDuration" assign:"toField:VideoDuration"` AutoPlay string `json:"autoPlay" assign:"toField:AutoPlay"` ShowControls string `json:"showControls" assign:"toField:ShowControls"` IsEnabled string `json:"isEnabled" assign:"toField:IsEnabled"` request.UpdateUserIDJsonBody request.OperatorUserNameJsonBody } GetMiniVideoConfigsQueryParams struct { ComponentID string `form:"componentId" assign:"toField:ComponentID"` VideoTitle string `form:"videoTitle" assign:"toField:VideoTitle"` request.BaseQueryParams } GetMiniVideoConfigQueryParams struct { request.IDQueryParam } EnabledOrDisableJsonBody struct { request.IDJsonBody IsEnabled string `json:"isEnabled" assign:"toField:IsEnabled"` } /* HAC: HTTP RELATION REQUEST PARAMS */ /* HAC: END HTTP RELATION REQUEST PARAMS */ )