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.



6016
6017
6018
6019
6020
6021
# File 'lib/v20200910/models.rb', line 6016

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:

    原文



6014
6015
6016
# File 'lib/v20200910/models.rb', line 6014

def Index
  @Index
end

#PartObject

Parameters:

  • Index:

    原文位置

  • Part:

    部位

  • Positive:

    阳性

  • Src:

    原文



6014
6015
6016
# File 'lib/v20200910/models.rb', line 6014

def Part
  @Part
end

#PositiveObject

Parameters:

  • Index:

    原文位置

  • Part:

    部位

  • Positive:

    阳性

  • Src:

    原文



6014
6015
6016
# File 'lib/v20200910/models.rb', line 6014

def Positive
  @Positive
end

#SrcObject

Parameters:

  • Index:

    原文位置

  • Part:

    部位

  • Positive:

    阳性

  • Src:

    原文



6014
6015
6016
# File 'lib/v20200910/models.rb', line 6014

def Src
  @Src
end

Instance Method Details

#deserialize(params) ⇒ Object



6023
6024
6025
6026
6027
6028
6029
6030
6031
# File 'lib/v20200910/models.rb', line 6023

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