package cg_sdk

import "git.sxidc.com/go-framework/baize/framework/core/api/request"

type CreateEncodeJsonBody struct {
	EncodeRuleID    string                     `json:"encodeRuleId" binding:"required" assign:"toField:EncodeRuleID"`
	Namespace       string                     `json:"namespace" binding:"required" assign:"toField:Namespace"`
	EncodeStatus    uint8                      `json:"encodeStatus" assign:"toField:EncodeStatus"`
	SegmentValueMap map[string]LibraryCodeInfo `json:"segmentValueMap"`
	request.CreateUserIDJsonBody
	request.TenantIDJsonBody
	request.OperatorUserNameJsonBody
}

type UpdateEncodeJsonBody struct {
	Namespace    string `json:"namespace" binding:"required" assign:"toField:Namespace"`
	EncodeRuleID string `json:"encodeRuleId" binding:"required" assign:"toField:EncodeRuleID"`
	Content      string `json:"content" binding:"required" assign:"toField:Content"`
	request.UpdateUserIDJsonBody
	request.TenantIDJsonBody
	request.OperatorUserNameJsonBody
}