Class: TencentCloud::Mps::V20190612::TaskOutputStorage

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

Overview

媒体处理输出对象信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, cosoutputstorage = nil, s3outputstorage = nil, vodoutputstorage = nil) ⇒ TaskOutputStorage

Returns a new instance of TaskOutputStorage.



25310
25311
25312
25313
25314
25315
# File 'lib/v20190612/models.rb', line 25310

def initialize(type=nil, cosoutputstorage=nil, s3outputstorage=nil, vodoutputstorage=nil)
  @Type = type
  @CosOutputStorage = cosoutputstorage
  @S3OutputStorage = s3outputstorage
  @VODOutputStorage = vodoutputstorage
end

Instance Attribute Details

#CosOutputStorageObject

<li>COS:COS存储</li> <li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li> <li> VOD:点播专业版 </li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    媒体处理输出对象存储位置的类型,支持:

  • CosOutputStorage:

    当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。

  • S3OutputStorage:

    当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。

  • VODOutputStorage:

    当 Type 为 VOD 时有效,则该项为必填,表示媒体处理 点播专业版 输出位置。



25308
25309
25310
# File 'lib/v20190612/models.rb', line 25308

def CosOutputStorage
  @CosOutputStorage
end

#S3OutputStorageObject

<li>COS:COS存储</li> <li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li> <li> VOD:点播专业版 </li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    媒体处理输出对象存储位置的类型,支持:

  • CosOutputStorage:

    当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。

  • S3OutputStorage:

    当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。

  • VODOutputStorage:

    当 Type 为 VOD 时有效,则该项为必填,表示媒体处理 点播专业版 输出位置。



25308
25309
25310
# File 'lib/v20190612/models.rb', line 25308

def S3OutputStorage
  @S3OutputStorage
end

#TypeObject

<li>COS:COS存储</li> <li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li> <li> VOD:点播专业版 </li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    媒体处理输出对象存储位置的类型,支持:

  • CosOutputStorage:

    当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。

  • S3OutputStorage:

    当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。

  • VODOutputStorage:

    当 Type 为 VOD 时有效,则该项为必填,表示媒体处理 点播专业版 输出位置。



25308
25309
25310
# File 'lib/v20190612/models.rb', line 25308

def Type
  @Type
end

#VODOutputStorageObject

<li>COS:COS存储</li> <li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li> <li> VOD:点播专业版 </li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    媒体处理输出对象存储位置的类型,支持:

  • CosOutputStorage:

    当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。

  • S3OutputStorage:

    当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。

  • VODOutputStorage:

    当 Type 为 VOD 时有效,则该项为必填,表示媒体处理 点播专业版 输出位置。



25308
25309
25310
# File 'lib/v20190612/models.rb', line 25308

def VODOutputStorage
  @VODOutputStorage
end

Instance Method Details

#deserialize(params) ⇒ Object



25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
# File 'lib/v20190612/models.rb', line 25317

def deserialize(params)
  @Type = params['Type']
  unless params['CosOutputStorage'].nil?
    @CosOutputStorage = CosOutputStorage.new
    @CosOutputStorage.deserialize(params['CosOutputStorage'])
  end
  unless params['S3OutputStorage'].nil?
    @S3OutputStorage = S3OutputStorage.new
    @S3OutputStorage.deserialize(params['S3OutputStorage'])
  end
  unless params['VODOutputStorage'].nil?
    @VODOutputStorage = VODOutputStorage.new
    @VODOutputStorage.deserialize(params['VODOutputStorage'])
  end
end