Class: TencentCloud::Tione::V20191022::InputDataConfig

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

Overview

输入数据配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channelname = nil, datasource = nil, inputmode = nil, contenttype = nil) ⇒ InputDataConfig

Returns a new instance of InputDataConfig.



1547
1548
1549
1550
1551
1552
# File 'lib/v20191022/models.rb', line 1547

def initialize(channelname=nil, datasource=nil, inputmode=nil, contenttype=nil)
  @ChannelName = channelname
  @DataSource = datasource
  @InputMode = inputmode
  @ContentType = contenttype
end

Instance Attribute Details

#ChannelNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ChannelName:

    通道名

  • DataSource:

    数据源配置

  • InputMode:

    输入类型

  • ContentType:

    文件类型



1545
1546
1547
# File 'lib/v20191022/models.rb', line 1545

def ChannelName
  @ChannelName
end

#ContentTypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ChannelName:

    通道名

  • DataSource:

    数据源配置

  • InputMode:

    输入类型

  • ContentType:

    文件类型



1545
1546
1547
# File 'lib/v20191022/models.rb', line 1545

def ContentType
  @ContentType
end

#DataSourceObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ChannelName:

    通道名

  • DataSource:

    数据源配置

  • InputMode:

    输入类型

  • ContentType:

    文件类型



1545
1546
1547
# File 'lib/v20191022/models.rb', line 1545

def DataSource
  @DataSource
end

#InputModeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ChannelName:

    通道名

  • DataSource:

    数据源配置

  • InputMode:

    输入类型

  • ContentType:

    文件类型



1545
1546
1547
# File 'lib/v20191022/models.rb', line 1545

def InputMode
  @InputMode
end

Instance Method Details

#deserialize(params) ⇒ Object



1554
1555
1556
1557
1558
1559
1560
1561
1562
# File 'lib/v20191022/models.rb', line 1554

def deserialize(params)
  @ChannelName = params['ChannelName']
  unless params['DataSource'].nil?
    @DataSource = DataSource.new
    @DataSource.deserialize(params['DataSource'])
  end
  @InputMode = params['InputMode']
  @ContentType = params['ContentType']
end