Class: TencentCloud::Cii::V20210408::PerStructDifference
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cii::V20210408::PerStructDifference
- Defined in:
- lib/v20210408/models.rb
Overview
复核差异接口的每一份报告的差异结果
Instance Attribute Summary collapse
- #ModifyItems ⇒ Object
- #NewItems ⇒ Object
- #RemoveItems ⇒ Object
- #SubTaskId ⇒ Object
- #TaskType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(subtaskid = nil, tasktype = nil, modifyitems = nil, newitems = nil, removeitems = nil) ⇒ PerStructDifference
constructor
A new instance of PerStructDifference.
Constructor Details
#initialize(subtaskid = nil, tasktype = nil, modifyitems = nil, newitems = nil, removeitems = nil) ⇒ PerStructDifference
Returns a new instance of PerStructDifference.
1082 1083 1084 1085 1086 1087 1088 |
# File 'lib/v20210408/models.rb', line 1082 def initialize(subtaskid=nil, tasktype=nil, modifyitems=nil, newitems=nil, removeitems=nil) @SubTaskId = subtaskid @TaskType = tasktype @ModifyItems = modifyitems @NewItems = newitems @RemoveItems = removeitems end |
Instance Attribute Details
#ModifyItems ⇒ Object
1080 1081 1082 |
# File 'lib/v20210408/models.rb', line 1080 def ModifyItems @ModifyItems end |
#NewItems ⇒ Object
1080 1081 1082 |
# File 'lib/v20210408/models.rb', line 1080 def NewItems @NewItems end |
#RemoveItems ⇒ Object
1080 1081 1082 |
# File 'lib/v20210408/models.rb', line 1080 def RemoveItems @RemoveItems end |
#SubTaskId ⇒ Object
1080 1081 1082 |
# File 'lib/v20210408/models.rb', line 1080 def SubTaskId @SubTaskId end |
#TaskType ⇒ Object
1080 1081 1082 |
# File 'lib/v20210408/models.rb', line 1080 def TaskType @TaskType end |
Instance Method Details
#deserialize(params) ⇒ Object
1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 |
# File 'lib/v20210408/models.rb', line 1090 def deserialize(params) @SubTaskId = params['SubTaskId'] @TaskType = params['TaskType'] unless params['ModifyItems'].nil? @ModifyItems = [] params['ModifyItems'].each do |i| structuremodifyitem_tmp = StructureModifyItem.new structuremodifyitem_tmp.deserialize(i) @ModifyItems << structuremodifyitem_tmp end end unless params['NewItems'].nil? @NewItems = [] params['NewItems'].each do |i| structureoneitem_tmp = StructureOneItem.new structureoneitem_tmp.deserialize(i) @NewItems << structureoneitem_tmp end end unless params['RemoveItems'].nil? @RemoveItems = [] params['RemoveItems'].each do |i| structureoneitem_tmp = StructureOneItem.new structureoneitem_tmp.deserialize(i) @RemoveItems << structureoneitem_tmp end end end |