Class: TencentCloud::Lcic::V20220817::DescribeDocumentResponse

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

Overview

DescribeDocument返回参数结构体

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, preview = nil, resolution = nil, minscaleresolution = nil, requestid = nil) ⇒ DescribeDocumentResponse

Returns a new instance of DescribeDocumentResponse.



1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
# File 'lib/v20220817/models.rb', line 1730

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, preview=nil, resolution=nil, minscaleresolution=nil, requestid=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
  @Preview = preview
  @Resolution = resolution
  @MinScaleResolution = minscaleresolution
  @RequestId = requestid
end

Instance Attribute Details

#DocumentIdObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def DocumentId
  @DocumentId
end

#DocumentNameObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def DocumentName
  @DocumentName
end

#DocumentSizeObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def DocumentSize
  @DocumentSize
end

#DocumentTypeObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def DocumentType
  @DocumentType
end

#DocumentUrlObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def DocumentUrl
  @DocumentUrl
end

#MinScaleResolutionObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def MinScaleResolution
  @MinScaleResolution
end

#OwnerObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def Owner
  @Owner
end

#PagesObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def Pages
  @Pages
end

#PermissionObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def Permission
  @Permission
end

#PreviewObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def Preview
  @Preview
end

#RequestIdObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def RequestId
  @RequestId
end

#ResolutionObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def Resolution
  @Resolution
end

#SdkAppIdObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def SdkAppId
  @SdkAppId
end

#TranscodeInfoObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def TranscodeInfo
  @TranscodeInfo
end

#TranscodeProgressObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def TranscodeProgress
  @TranscodeProgress
end

#TranscodeResultObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def TranscodeResult
  @TranscodeResult
end

#TranscodeStateObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def TranscodeState
  @TranscodeState
end

#TranscodeTypeObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def TranscodeType
  @TranscodeType
end

#UpdateTimeObject

Parameters:

  • DocumentId:

    文档Id

  • DocumentUrl:

    文档原址url

  • DocumentName:

    文档名称

  • Owner:

    文档所有者UserId

  • SdkAppId:

    应用Id

  • Permission:

    文档权限

  • TranscodeResult:

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

  • TranscodeType:

    转码类型

  • TranscodeProgress:

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

  • TranscodeState:

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

  • TranscodeInfo:

    转码失败后的错误信息

  • DocumentType:

    文档类型

  • DocumentSize:

    文档大小,单位:字节

  • UpdateTime:

    更新的UNIX时间戳

  • Pages:

    课件页数

  • Preview:

    课件预览地址

  • Resolution:

    文档的分辨率

  • MinScaleResolution:

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

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1728
1729
1730
# File 'lib/v20220817/models.rb', line 1728

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
# File 'lib/v20220817/models.rb', line 1752

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']
  @Preview = params['Preview']
  @Resolution = params['Resolution']
  @MinScaleResolution = params['MinScaleResolution']
  @RequestId = params['RequestId']
end