Class: TencentCloud::Ams::V20201229::CreateAudioModerationSyncTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20201229::CreateAudioModerationSyncTaskRequest
- Defined in:
- lib/v20201229/models.rb
Overview
CreateAudioModerationSyncTask请求参数结构体
Instance Attribute Summary collapse
-
#BizType ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s; 支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。 支持范围及格式:同FileContent;.
-
#DataId ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s; 支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。 支持范围及格式:同FileContent;.
-
#FileContent ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s; 支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。 支持范围及格式:同FileContent;.
-
#FileFormat ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s; 支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。 支持范围及格式:同FileContent;.
-
#FileUrl ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s; 支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。 支持范围及格式:同FileContent;.
-
#Name ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s; 支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。 支持范围及格式:同FileContent;.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(biztype = nil, dataid = nil, fileformat = nil, name = nil, filecontent = nil, fileurl = nil) ⇒ CreateAudioModerationSyncTaskRequest
constructor
A new instance of CreateAudioModerationSyncTaskRequest.
Constructor Details
#initialize(biztype = nil, dataid = nil, fileformat = nil, name = nil, filecontent = nil, fileurl = nil) ⇒ CreateAudioModerationSyncTaskRequest
Returns a new instance of CreateAudioModerationSyncTaskRequest.
432 433 434 435 436 437 438 439 |
# File 'lib/v20201229/models.rb', line 432 def initialize(biztype=nil, dataid=nil, fileformat=nil, name=nil, filecontent=nil, fileurl=nil) @BizType = biztype @DataId = dataid @FileFormat = fileformat @Name = name @FileContent = filecontent @FileUrl = fileurl end |
Instance Attribute Details
#BizType ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s;支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。支持范围及格式:同FileContent;
430 431 432 |
# File 'lib/v20201229/models.rb', line 430 def BizType @BizType end |
#DataId ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s;支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。支持范围及格式:同FileContent;
430 431 432 |
# File 'lib/v20201229/models.rb', line 430 def DataId @DataId end |
#FileContent ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s;支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。支持范围及格式:同FileContent;
430 431 432 |
# File 'lib/v20201229/models.rb', line 430 def FileContent @FileContent end |
#FileFormat ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s;支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。支持范围及格式:同FileContent;
430 431 432 |
# File 'lib/v20201229/models.rb', line 430 def FileFormat @FileFormat end |
#FileUrl ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s;支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。支持范围及格式:同FileContent;
430 431 432 |
# File 'lib/v20201229/models.rb', line 430 def FileUrl @FileUrl end |
#Name ⇒ Object
支持范围:文件大小不能超过5M,时长不可超过60s;支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。支持范围及格式:同FileContent;
430 431 432 |
# File 'lib/v20201229/models.rb', line 430 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
441 442 443 444 445 446 447 448 |
# File 'lib/v20201229/models.rb', line 441 def deserialize(params) @BizType = params['BizType'] @DataId = params['DataId'] @FileFormat = params['FileFormat'] @Name = params['Name'] @FileContent = params['FileContent'] @FileUrl = params['FileUrl'] end |