Class: TencentCloud::Mrs::V20200910::InvasiveV2
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::InvasiveV2
- Defined in:
- lib/v20200910/models.rb
Overview
侵犯
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(index = nil, part = nil, positive = nil, src = nil, coords = nil) ⇒ InvasiveV2
constructor
A new instance of InvasiveV2.
Constructor Details
#initialize(index = nil, part = nil, positive = nil, src = nil, coords = nil) ⇒ InvasiveV2
6049 6050 6051 6052 6053 6054 6055 |
# File 'lib/v20200910/models.rb', line 6049 def initialize(index=nil, part=nil, positive=nil, src=nil, coords=nil) @Index = index @Part = part @Positive = positive @Src = src @Coords = coords end |
Instance Attribute Details
#Coords ⇒ Object
6047 6048 6049 |
# File 'lib/v20200910/models.rb', line 6047 def Coords @Coords end |
#Index ⇒ Object
6047 6048 6049 |
# File 'lib/v20200910/models.rb', line 6047 def Index @Index end |
#Part ⇒ Object
6047 6048 6049 |
# File 'lib/v20200910/models.rb', line 6047 def Part @Part end |
#Positive ⇒ Object
6047 6048 6049 |
# File 'lib/v20200910/models.rb', line 6047 def Positive @Positive end |
#Src ⇒ Object
6047 6048 6049 |
# File 'lib/v20200910/models.rb', line 6047 def Src @Src end |
Instance Method Details
#deserialize(params) ⇒ Object
6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 |
# File 'lib/v20200910/models.rb', line 6057 def deserialize(params) @Index = params['Index'] unless params['Part'].nil? @Part = Part.new @Part.deserialize(params['Part']) end @Positive = params['Positive'] @Src = params['Src'] unless params['Coords'].nil? @Coords = [] params['Coords'].each do |i| coord_tmp = Coord.new coord_tmp.deserialize(i) @Coords << coord_tmp end end end |