Class: TencentCloud::Cme::V20191029::CreateLinkRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::CreateLinkRequest
- Defined in:
- lib/v20191029/models.rb
Overview
CreateLink请求参数结构体
Instance Attribute Summary collapse
-
#ClassPath ⇒ Object
- CLASS: 分类链接;
- MATERIAL:媒体文件链接。
- 当 Type 为 MATERIAL 时填媒体 ID;
- 当 Type 为 CLASS 时填写分类路径。
. -
#DestinationId ⇒ Object
- CLASS: 分类链接;
- MATERIAL:媒体文件链接。
- 当 Type 为 MATERIAL 时填媒体 ID;
- 当 Type 为 CLASS 时填写分类路径。
. -
#DestinationOwner ⇒ Object
- CLASS: 分类链接;
- MATERIAL:媒体文件链接。
- 当 Type 为 MATERIAL 时填媒体 ID;
- 当 Type 为 CLASS 时填写分类路径。
. -
#Name ⇒ Object
- CLASS: 分类链接;
- MATERIAL:媒体文件链接。
- 当 Type 为 MATERIAL 时填媒体 ID;
- 当 Type 为 CLASS 时填写分类路径。
. -
#Operator ⇒ Object
- CLASS: 分类链接;
- MATERIAL:媒体文件链接。
- 当 Type 为 MATERIAL 时填媒体 ID;
- 当 Type 为 CLASS 时填写分类路径。
. -
#Owner ⇒ Object
- CLASS: 分类链接;
- MATERIAL:媒体文件链接。
- 当 Type 为 MATERIAL 时填媒体 ID;
- 当 Type 为 CLASS 时填写分类路径。
. -
#Platform ⇒ Object
- CLASS: 分类链接;
- MATERIAL:媒体文件链接。
- 当 Type 为 MATERIAL 时填媒体 ID;
- 当 Type 为 CLASS 时填写分类路径。
. -
#Type ⇒ Object
- CLASS: 分类链接;
- MATERIAL:媒体文件链接。
- 当 Type 为 MATERIAL 时填媒体 ID;
- 当 Type 为 CLASS 时填写分类路径。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(platform = nil, type = nil, name = nil, owner = nil, destinationid = nil, destinationowner = nil, classpath = nil, operator = nil) ⇒ CreateLinkRequest
constructor
A new instance of CreateLinkRequest.
Constructor Details
#initialize(platform = nil, type = nil, name = nil, owner = nil, destinationid = nil, destinationowner = nil, classpath = nil, operator = nil) ⇒ CreateLinkRequest
Returns a new instance of CreateLinkRequest.
589 590 591 592 593 594 595 596 597 598 |
# File 'lib/v20191029/models.rb', line 589 def initialize(platform=nil, type=nil, name=nil, owner=nil, destinationid=nil, destinationowner=nil, classpath=nil, operator=nil) @Platform = platform @Type = type @Name = name @Owner = owner @DestinationId = destinationid @DestinationOwner = destinationowner @ClassPath = classpath @Operator = operator end |
Instance Attribute Details
#ClassPath ⇒ Object
587 588 589 |
# File 'lib/v20191029/models.rb', line 587 def ClassPath @ClassPath end |
#DestinationId ⇒ Object
587 588 589 |
# File 'lib/v20191029/models.rb', line 587 def DestinationId @DestinationId end |
#DestinationOwner ⇒ Object
587 588 589 |
# File 'lib/v20191029/models.rb', line 587 def DestinationOwner @DestinationOwner end |
#Name ⇒ Object
587 588 589 |
# File 'lib/v20191029/models.rb', line 587 def Name @Name end |
#Operator ⇒ Object
587 588 589 |
# File 'lib/v20191029/models.rb', line 587 def Operator @Operator end |
#Owner ⇒ Object
587 588 589 |
# File 'lib/v20191029/models.rb', line 587 def Owner @Owner end |
#Platform ⇒ Object
587 588 589 |
# File 'lib/v20191029/models.rb', line 587 def Platform @Platform end |
#Type ⇒ Object
587 588 589 |
# File 'lib/v20191029/models.rb', line 587 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 |
# File 'lib/v20191029/models.rb', line 600 def deserialize(params) @Platform = params['Platform'] @Type = params['Type'] @Name = params['Name'] unless params['Owner'].nil? @Owner = Entity.new @Owner.deserialize(params['Owner']) end @DestinationId = params['DestinationId'] unless params['DestinationOwner'].nil? @DestinationOwner = Entity.new @DestinationOwner.deserialize(params['DestinationOwner']) end @ClassPath = params['ClassPath'] @Operator = params['Operator'] end |