Class: TencentCloud::Vod::V20180717::ApplyUploadResponse

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

Overview

ApplyUpload返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(storagebucket = nil, storageregion = nil, vodsessionkey = nil, mediastoragepath = nil, coverstoragepath = nil, tempcertificate = nil, requestid = nil) ⇒ ApplyUploadResponse

Returns a new instance of ApplyUploadResponse.



4179
4180
4181
4182
4183
4184
4185
4186
4187
# File 'lib/v20180717/models.rb', line 4179

def initialize(storagebucket=nil, storageregion=nil, vodsessionkey=nil, mediastoragepath=nil, coverstoragepath=nil, tempcertificate=nil, requestid=nil)
  @StorageBucket = storagebucket
  @StorageRegion = storageregion
  @VodSessionKey = vodsessionkey
  @MediaStoragePath = mediastoragepath
  @CoverStoragePath = coverstoragepath
  @TempCertificate = tempcertificate
  @RequestId = requestid
end

Instance Attribute Details

#CoverStoragePathObject

Parameters:

  • StorageBucket:

    存储桶,用于上传接口 URL 的 bucket_name。

  • StorageRegion:

    存储园区,用于上传接口 Host 的 Region。

  • VodSessionKey:

    点播会话,用于确认上传接口的参数 VodSessionKey。

  • MediaStoragePath:

    媒体存储路径,用于上传接口存储媒体的对象键(Key)。

  • CoverStoragePath:

    封面存储路径,用于上传接口存储封面的对象键(Key)。

  • TempCertificate:

    临时凭证,用于上传接口的权限验证。

  • RequestId:

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



4177
4178
4179
# File 'lib/v20180717/models.rb', line 4177

def CoverStoragePath
  @CoverStoragePath
end

#MediaStoragePathObject

Parameters:

  • StorageBucket:

    存储桶,用于上传接口 URL 的 bucket_name。

  • StorageRegion:

    存储园区,用于上传接口 Host 的 Region。

  • VodSessionKey:

    点播会话,用于确认上传接口的参数 VodSessionKey。

  • MediaStoragePath:

    媒体存储路径,用于上传接口存储媒体的对象键(Key)。

  • CoverStoragePath:

    封面存储路径,用于上传接口存储封面的对象键(Key)。

  • TempCertificate:

    临时凭证,用于上传接口的权限验证。

  • RequestId:

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



4177
4178
4179
# File 'lib/v20180717/models.rb', line 4177

def MediaStoragePath
  @MediaStoragePath
end

#RequestIdObject

Parameters:

  • StorageBucket:

    存储桶,用于上传接口 URL 的 bucket_name。

  • StorageRegion:

    存储园区,用于上传接口 Host 的 Region。

  • VodSessionKey:

    点播会话,用于确认上传接口的参数 VodSessionKey。

  • MediaStoragePath:

    媒体存储路径,用于上传接口存储媒体的对象键(Key)。

  • CoverStoragePath:

    封面存储路径,用于上传接口存储封面的对象键(Key)。

  • TempCertificate:

    临时凭证,用于上传接口的权限验证。

  • RequestId:

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



4177
4178
4179
# File 'lib/v20180717/models.rb', line 4177

def RequestId
  @RequestId
end

#StorageBucketObject

Parameters:

  • StorageBucket:

    存储桶,用于上传接口 URL 的 bucket_name。

  • StorageRegion:

    存储园区,用于上传接口 Host 的 Region。

  • VodSessionKey:

    点播会话,用于确认上传接口的参数 VodSessionKey。

  • MediaStoragePath:

    媒体存储路径,用于上传接口存储媒体的对象键(Key)。

  • CoverStoragePath:

    封面存储路径,用于上传接口存储封面的对象键(Key)。

  • TempCertificate:

    临时凭证,用于上传接口的权限验证。

  • RequestId:

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



4177
4178
4179
# File 'lib/v20180717/models.rb', line 4177

def StorageBucket
  @StorageBucket
end

#StorageRegionObject

Parameters:

  • StorageBucket:

    存储桶,用于上传接口 URL 的 bucket_name。

  • StorageRegion:

    存储园区,用于上传接口 Host 的 Region。

  • VodSessionKey:

    点播会话,用于确认上传接口的参数 VodSessionKey。

  • MediaStoragePath:

    媒体存储路径,用于上传接口存储媒体的对象键(Key)。

  • CoverStoragePath:

    封面存储路径,用于上传接口存储封面的对象键(Key)。

  • TempCertificate:

    临时凭证,用于上传接口的权限验证。

  • RequestId:

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



4177
4178
4179
# File 'lib/v20180717/models.rb', line 4177

def StorageRegion
  @StorageRegion
end

#TempCertificateObject

Parameters:

  • StorageBucket:

    存储桶,用于上传接口 URL 的 bucket_name。

  • StorageRegion:

    存储园区,用于上传接口 Host 的 Region。

  • VodSessionKey:

    点播会话,用于确认上传接口的参数 VodSessionKey。

  • MediaStoragePath:

    媒体存储路径,用于上传接口存储媒体的对象键(Key)。

  • CoverStoragePath:

    封面存储路径,用于上传接口存储封面的对象键(Key)。

  • TempCertificate:

    临时凭证,用于上传接口的权限验证。

  • RequestId:

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



4177
4178
4179
# File 'lib/v20180717/models.rb', line 4177

def TempCertificate
  @TempCertificate
end

#VodSessionKeyObject

Parameters:

  • StorageBucket:

    存储桶,用于上传接口 URL 的 bucket_name。

  • StorageRegion:

    存储园区,用于上传接口 Host 的 Region。

  • VodSessionKey:

    点播会话,用于确认上传接口的参数 VodSessionKey。

  • MediaStoragePath:

    媒体存储路径,用于上传接口存储媒体的对象键(Key)。

  • CoverStoragePath:

    封面存储路径,用于上传接口存储封面的对象键(Key)。

  • TempCertificate:

    临时凭证,用于上传接口的权限验证。

  • RequestId:

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



4177
4178
4179
# File 'lib/v20180717/models.rb', line 4177

def VodSessionKey
  @VodSessionKey
end

Instance Method Details

#deserialize(params) ⇒ Object



4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
# File 'lib/v20180717/models.rb', line 4189

def deserialize(params)
  @StorageBucket = params['StorageBucket']
  @StorageRegion = params['StorageRegion']
  @VodSessionKey = params['VodSessionKey']
  @MediaStoragePath = params['MediaStoragePath']
  @CoverStoragePath = params['CoverStoragePath']
  unless params['TempCertificate'].nil?
    @TempCertificate = TempCertificate.new
    @TempCertificate.deserialize(params['TempCertificate'])
  end
  @RequestId = params['RequestId']
end