package live

//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

// SubtitleConfig is a nested struct in live response
type SubtitleConfig struct {
	TemplateId            string                                     `json:"TemplateId" xml:"TemplateId"`
	FontColor             string                                     `json:"FontColor" xml:"FontColor"`
	TemplateName          string                                     `json:"TemplateName" xml:"TemplateName"`
	BackgroundType        string                                     `json:"BackgroundType" xml:"BackgroundType"`
	BackgroundResourceUrl string                                     `json:"BackgroundResourceUrl" xml:"BackgroundResourceUrl"`
	MediaType             string                                     `json:"MediaType" xml:"MediaType"`
	BgColor               string                                     `json:"BgColor" xml:"BgColor"`
	Width                 string                                     `json:"Width" xml:"Width"`
	MediaResourceUrl      string                                     `json:"MediaResourceUrl" xml:"MediaResourceUrl"`
	MediaLayout           string                                     `json:"MediaLayout" xml:"MediaLayout"`
	Description           string                                     `json:"Description" xml:"Description"`
	SubtitleId            string                                     `json:"SubtitleId" xml:"SubtitleId"`
	Height                string                                     `json:"Height" xml:"Height"`
	DstLanguage           string                                     `json:"DstLanguage" xml:"DstLanguage"`
	MattingLayout         string                                     `json:"MattingLayout" xml:"MattingLayout"`
	ShowSourceLan         int                                        `json:"ShowSourceLan" xml:"ShowSourceLan"`
	SubtitleName          string                                     `json:"SubtitleName" xml:"SubtitleName"`
	BgWidthNormalized     float64                                    `json:"BgWidthNormalized" xml:"BgWidthNormalized"`
	FontSizeNormalized    string                                     `json:"FontSizeNormalized" xml:"FontSizeNormalized"`
	FontName              string                                     `json:"FontName" xml:"FontName"`
	WordPerline           int                                        `json:"WordPerline" xml:"WordPerline"`
	MediaResourceId       string                                     `json:"MediaResourceId" xml:"MediaResourceId"`
	BackgroundResourceId  string                                     `json:"BackgroundResourceId" xml:"BackgroundResourceId"`
	MaxLines              int                                        `json:"MaxLines" xml:"MaxLines"`
	BorderWidthNormalized float64                                    `json:"BorderWidthNormalized" xml:"BorderWidthNormalized"`
	MattingType           string                                     `json:"MattingType" xml:"MattingType"`
	SrcLanguage           string                                     `json:"SrcLanguage" xml:"SrcLanguage"`
	RuleIds               RuleIds                                    `json:"RuleIds" xml:"RuleIds"`
	PositionNormalized    PositionNormalizedInDescribeLiveAISubtitle `json:"PositionNormalized" xml:"PositionNormalized"`
	RulesRefer            RulesRefer                                 `json:"RulesRefer" xml:"RulesRefer"`
}
