Class: TencentCloud::Mrs::V20200910::IHCInfo

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

Overview

Ihc信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(index = nil, src = nil, name = nil, value = nil) ⇒ IHCInfo

Returns a new instance of IHCInfo.



4765
4766
4767
4768
4769
4770
# File 'lib/v20200910/models.rb', line 4765

def initialize(index=nil, src=nil, name=nil, value=nil)
  @Index = index
  @Src = src
  @Name = name
  @Value = value
end

Instance Attribute Details

#IndexObject

Parameters:

  • Index:

    原文位置

  • Src:

    原文

  • Name:

    名称

  • Value:



4763
4764
4765
# File 'lib/v20200910/models.rb', line 4763

def Index
  @Index
end

#NameObject

Parameters:

  • Index:

    原文位置

  • Src:

    原文

  • Name:

    名称

  • Value:



4763
4764
4765
# File 'lib/v20200910/models.rb', line 4763

def Name
  @Name
end

#SrcObject

Parameters:

  • Index:

    原文位置

  • Src:

    原文

  • Name:

    名称

  • Value:



4763
4764
4765
# File 'lib/v20200910/models.rb', line 4763

def Src
  @Src
end

#ValueObject

Parameters:

  • Index:

    原文位置

  • Src:

    原文

  • Name:

    名称

  • Value:



4763
4764
4765
# File 'lib/v20200910/models.rb', line 4763

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4772
4773
4774
4775
4776
4777
4778
4779
4780
# File 'lib/v20200910/models.rb', line 4772

def deserialize(params)
  @Index = params['Index']
  @Src = params['Src']
  @Name = params['Name']
  unless params['Value'].nil?
    @Value = Value.new
    @Value.deserialize(params['Value'])
  end
end