Class: TencentCloud::Iecp::V20210914::ModifyEdgeNodeLabelsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::ModifyEdgeNodeLabelsRequest
- Defined in:
- lib/v20210914/models.rb
Overview
ModifyEdgeNodeLabels请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(edgeunitid = nil, nodeid = nil, labels = nil) ⇒ ModifyEdgeNodeLabelsRequest
constructor
A new instance of ModifyEdgeNodeLabelsRequest.
Constructor Details
#initialize(edgeunitid = nil, nodeid = nil, labels = nil) ⇒ ModifyEdgeNodeLabelsRequest
Returns a new instance of ModifyEdgeNodeLabelsRequest.
5233 5234 5235 5236 5237 |
# File 'lib/v20210914/models.rb', line 5233 def initialize(edgeunitid=nil, nodeid=nil, labels=nil) @EdgeUnitId = edgeunitid @NodeId = nodeid @Labels = labels end |
Instance Attribute Details
#EdgeUnitId ⇒ Object
5231 5232 5233 |
# File 'lib/v20210914/models.rb', line 5231 def EdgeUnitId @EdgeUnitId end |
#Labels ⇒ Object
5231 5232 5233 |
# File 'lib/v20210914/models.rb', line 5231 def Labels @Labels end |
#NodeId ⇒ Object
5231 5232 5233 |
# File 'lib/v20210914/models.rb', line 5231 def NodeId @NodeId end |
Instance Method Details
#deserialize(params) ⇒ Object
5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 |
# File 'lib/v20210914/models.rb', line 5239 def deserialize(params) @EdgeUnitId = params['EdgeUnitId'] @NodeId = params['NodeId'] unless params['Labels'].nil? @Labels = [] params['Labels'].each do |i| keyvalueobj_tmp = KeyValueObj.new keyvalueobj_tmp.deserialize(i) @Labels << keyvalueobj_tmp end end end |