Class: TencentCloud::Lcic::V20220817::DocumentInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220817/models.rb

Overview

文档信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(documentid = nil, documenturl = nil, documentname = nil, owner = nil, sdkappid = nil, permission = nil, transcoderesult = nil, transcodetype = nil, transcodeprogress = nil, transcodestate = nil, transcodeinfo = nil, documenttype = nil, documentsize = nil, updatetime = nil, pages = nil, width = nil, height = nil, cover = nil, preview = nil, resolution = nil, minscaleresolution = nil) ⇒ DocumentInfo

Returns a new instance of DocumentInfo.



3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
# File 'lib/v20220817/models.rb', line 3073

def initialize(documentid=nil, documenturl=nil, documentname=nil, owner=nil, sdkappid=nil, permission=nil, transcoderesult=nil, transcodetype=nil, transcodeprogress=nil, transcodestate=nil, transcodeinfo=nil, documenttype=nil, documentsize=nil, updatetime=nil, pages=nil, width=nil, height=nil, cover=nil, preview=nil, resolution=nil, minscaleresolution=nil)
  @DocumentId = documentid
  @DocumentUrl = documenturl
  @DocumentName = documentname
  @Owner = owner
  @SdkAppId = sdkappid
  @Permission = permission
  @TranscodeResult = transcoderesult
  @TranscodeType = transcodetype
  @TranscodeProgress = transcodeprogress
  @TranscodeState = transcodestate
  @TranscodeInfo = transcodeinfo
  @DocumentType = documenttype
  @DocumentSize = documentsize
  @UpdateTime = updatetime
  @Pages = pages
  @Width = width
  @Height = height
  @Cover = cover
  @Preview = preview
  @Resolution = resolution
  @MinScaleResolution = minscaleresolution
end

Instance Attribute Details

#CoverObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def Cover
  @Cover
end

#DocumentIdObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def DocumentId
  @DocumentId
end

#DocumentNameObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def DocumentName
  @DocumentName
end

#DocumentSizeObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def DocumentSize
  @DocumentSize
end

#DocumentTypeObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def DocumentType
  @DocumentType
end

#DocumentUrlObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def DocumentUrl
  @DocumentUrl
end

#HeightObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def Height
  @Height
end

#MinScaleResolutionObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def MinScaleResolution
  @MinScaleResolution
end

#OwnerObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def Owner
  @Owner
end

#PagesObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def Pages
  @Pages
end

#PermissionObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def Permission
  @Permission
end

#PreviewObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def Preview
  @Preview
end

#ResolutionObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def Resolution
  @Resolution
end

#SdkAppIdObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def SdkAppId
  @SdkAppId
end

#TranscodeInfoObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def TranscodeInfo
  @TranscodeInfo
end

#TranscodeProgressObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def TranscodeProgress
  @TranscodeProgress
end

#TranscodeResultObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def TranscodeResult
  @TranscodeResult
end

#TranscodeStateObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def TranscodeState
  @TranscodeState
end

#TranscodeTypeObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def TranscodeType
  @TranscodeType
end

#UpdateTimeObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def UpdateTime
  @UpdateTime
end

#WidthObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限,0:私有课件 1:公共课件

  • TranscodeResult:

    转码结果,无需转码为空,转码成功为结果url,转码失败为错误码

  • TranscodeType:

    转码类型

  • TranscodeProgress:

    转码进度, 0 - 100 表示(0% - 100%)

  • TranscodeState:

    转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Width:

    宽,仅在静态转码的课件有效

  • Height:

    高,仅在静态转码的课件有效

  • Cover:

    封面,仅转码的课件会生成封面

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

    转码后文档的最小分辨率,和创建文档时传入的参数一致。



3071
3072
3073
# File 'lib/v20220817/models.rb', line 3071

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
# File 'lib/v20220817/models.rb', line 3097

def deserialize(params)
  @DocumentId = params['DocumentId']
  @DocumentUrl = params['DocumentUrl']
  @DocumentName = params['DocumentName']
  @Owner = params['Owner']
  @SdkAppId = params['SdkAppId']
  @Permission = params['Permission']
  @TranscodeResult = params['TranscodeResult']
  @TranscodeType = params['TranscodeType']
  @TranscodeProgress = params['TranscodeProgress']
  @TranscodeState = params['TranscodeState']
  @TranscodeInfo = params['TranscodeInfo']
  @DocumentType = params['DocumentType']
  @DocumentSize = params['DocumentSize']
  @UpdateTime = params['UpdateTime']
  @Pages = params['Pages']
  @Width = params['Width']
  @Height = params['Height']
  @Cover = params['Cover']
  @Preview = params['Preview']
  @Resolution = params['Resolution']
  @MinScaleResolution = params['MinScaleResolution']
end