Class: TencentCloud::Mrs::V20200910::Invas

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

Overview

侵犯扩散

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(index = nil, part = nil, positive = nil, src = nil) ⇒ Invas

Returns a new instance of Invas.



5989
5990
5991
5992
5993
5994
# File 'lib/v20200910/models.rb', line 5989

def initialize(index=nil, part=nil, positive=nil, src=nil)
  @Index = index
  @Part = part
  @Positive = positive
  @Src = src
end

Instance Attribute Details

#IndexObject

Parameters:

  • Index:

    原文位置

  • Part:

    部位

  • Positive:

    阳性

  • Src:

    原文



5987
5988
5989
# File 'lib/v20200910/models.rb', line 5987

def Index
  @Index
end

#PartObject

Parameters:

  • Index:

    原文位置

  • Part:

    部位

  • Positive:

    阳性

  • Src:

    原文



5987
5988
5989
# File 'lib/v20200910/models.rb', line 5987

def Part
  @Part
end

#PositiveObject

Parameters:

  • Index:

    原文位置

  • Part:

    部位

  • Positive:

    阳性

  • Src:

    原文



5987
5988
5989
# File 'lib/v20200910/models.rb', line 5987

def Positive
  @Positive
end

#SrcObject

Parameters:

  • Index:

    原文位置

  • Part:

    部位

  • Positive:

    阳性

  • Src:

    原文



5987
5988
5989
# File 'lib/v20200910/models.rb', line 5987

def Src
  @Src
end

Instance Method Details

#deserialize(params) ⇒ Object



5996
5997
5998
5999
6000
6001
6002
6003
6004
# File 'lib/v20200910/models.rb', line 5996

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