Class: TencentCloud::Cme::V20191029::CreateLinkRequest

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

Overview

CreateLink请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(platform = nil, type = nil, name = nil, owner = nil, destinationid = nil, destinationowner = nil, classpath = nil, operator = nil) ⇒ 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

#ClassPathObject

<li>CLASS: 分类链接;</li> <li> MATERIAL:媒体文件链接。</li> <li>当 Type 为 MATERIAL 时填媒体 ID;</li> <li>当 Type 为 CLASS 时填写分类路径。</li>



587
588
589
# File 'lib/v20191029/models.rb', line 587

def ClassPath
  @ClassPath
end

#DestinationIdObject

<li>CLASS: 分类链接;</li> <li> MATERIAL:媒体文件链接。</li> <li>当 Type 为 MATERIAL 时填媒体 ID;</li> <li>当 Type 为 CLASS 时填写分类路径。</li>



587
588
589
# File 'lib/v20191029/models.rb', line 587

def DestinationId
  @DestinationId
end

#DestinationOwnerObject

<li>CLASS: 分类链接;</li> <li> MATERIAL:媒体文件链接。</li> <li>当 Type 为 MATERIAL 时填媒体 ID;</li> <li>当 Type 为 CLASS 时填写分类路径。</li>



587
588
589
# File 'lib/v20191029/models.rb', line 587

def DestinationOwner
  @DestinationOwner
end

#NameObject

<li>CLASS: 分类链接;</li> <li> MATERIAL:媒体文件链接。</li> <li>当 Type 为 MATERIAL 时填媒体 ID;</li> <li>当 Type 为 CLASS 时填写分类路径。</li>



587
588
589
# File 'lib/v20191029/models.rb', line 587

def Name
  @Name
end

#OperatorObject

<li>CLASS: 分类链接;</li> <li> MATERIAL:媒体文件链接。</li> <li>当 Type 为 MATERIAL 时填媒体 ID;</li> <li>当 Type 为 CLASS 时填写分类路径。</li>



587
588
589
# File 'lib/v20191029/models.rb', line 587

def Operator
  @Operator
end

#OwnerObject

<li>CLASS: 分类链接;</li> <li> MATERIAL:媒体文件链接。</li> <li>当 Type 为 MATERIAL 时填媒体 ID;</li> <li>当 Type 为 CLASS 时填写分类路径。</li>



587
588
589
# File 'lib/v20191029/models.rb', line 587

def Owner
  @Owner
end

#PlatformObject

<li>CLASS: 分类链接;</li> <li> MATERIAL:媒体文件链接。</li> <li>当 Type 为 MATERIAL 时填媒体 ID;</li> <li>当 Type 为 CLASS 时填写分类路径。</li>



587
588
589
# File 'lib/v20191029/models.rb', line 587

def Platform
  @Platform
end

#TypeObject

<li>CLASS: 分类链接;</li> <li> MATERIAL:媒体文件链接。</li> <li>当 Type 为 MATERIAL 时填媒体 ID;</li> <li>当 Type 为 CLASS 时填写分类路径。</li>



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