Class: TencentCloud::Monitor::V20180724::BindingPolicyTagRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::BindingPolicyTagRequest
- Defined in:
- lib/v20180724/models.rb
Overview
BindingPolicyTag请求参数结构体
Instance Attribute Summary collapse
- #BatchTag ⇒ Object
- #EbEventFlag ⇒ Object
- #EbSubject ⇒ Object
- #GroupId ⇒ Object
- #InstanceGroupId ⇒ Object
- #Module ⇒ Object
- #PolicyId ⇒ Object
- #ServiceType ⇒ Object
- #Tag ⇒ Object
- #TagOperation ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(_module = nil, policyid = nil, groupid = nil, servicetype = nil, tag = nil, instancegroupid = nil, batchtag = nil, ebeventflag = nil, ebsubject = nil, tagoperation = nil) ⇒ BindingPolicyTagRequest
constructor
A new instance of BindingPolicyTagRequest.
Constructor Details
#initialize(_module = nil, policyid = nil, groupid = nil, servicetype = nil, tag = nil, instancegroupid = nil, batchtag = nil, ebeventflag = nil, ebsubject = nil, tagoperation = nil) ⇒ BindingPolicyTagRequest
Returns a new instance of BindingPolicyTagRequest.
1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 |
# File 'lib/v20180724/models.rb', line 1239 def initialize(_module=nil, policyid=nil, groupid=nil, servicetype=nil, tag=nil, instancegroupid=nil, batchtag=nil, ebeventflag=nil, ebsubject=nil, tagoperation=nil) @Module = _module @PolicyId = policyid @GroupId = groupid @ServiceType = servicetype @Tag = tag @InstanceGroupId = instancegroupid @BatchTag = batchtag @EbEventFlag = ebeventflag @EbSubject = ebsubject @TagOperation = tagoperation end |
Instance Attribute Details
#BatchTag ⇒ Object
1237 1238 1239 |
# File 'lib/v20180724/models.rb', line 1237 def BatchTag @BatchTag end |
#EbEventFlag ⇒ Object
1237 1238 1239 |
# File 'lib/v20180724/models.rb', line 1237 def EbEventFlag @EbEventFlag end |
#EbSubject ⇒ Object
1237 1238 1239 |
# File 'lib/v20180724/models.rb', line 1237 def EbSubject @EbSubject end |
#GroupId ⇒ Object
1237 1238 1239 |
# File 'lib/v20180724/models.rb', line 1237 def GroupId @GroupId end |
#InstanceGroupId ⇒ Object
1237 1238 1239 |
# File 'lib/v20180724/models.rb', line 1237 def InstanceGroupId @InstanceGroupId end |
#Module ⇒ Object
1237 1238 1239 |
# File 'lib/v20180724/models.rb', line 1237 def Module @Module end |
#PolicyId ⇒ Object
1237 1238 1239 |
# File 'lib/v20180724/models.rb', line 1237 def PolicyId @PolicyId end |
#ServiceType ⇒ Object
1237 1238 1239 |
# File 'lib/v20180724/models.rb', line 1237 def ServiceType @ServiceType end |
#Tag ⇒ Object
1237 1238 1239 |
# File 'lib/v20180724/models.rb', line 1237 def Tag @Tag end |
#TagOperation ⇒ Object
1237 1238 1239 |
# File 'lib/v20180724/models.rb', line 1237 def TagOperation @TagOperation end |
Instance Method Details
#deserialize(params) ⇒ Object
1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 |
# File 'lib/v20180724/models.rb', line 1252 def deserialize(params) @Module = params['Module'] @PolicyId = params['PolicyId'] @GroupId = params['GroupId'] @ServiceType = params['ServiceType'] unless params['Tag'].nil? @Tag = PolicyTag.new @Tag.deserialize(params['Tag']) end @InstanceGroupId = params['InstanceGroupId'] unless params['BatchTag'].nil? @BatchTag = [] params['BatchTag'].each do |i| policytag_tmp = PolicyTag.new policytag_tmp.deserialize(i) @BatchTag << policytag_tmp end end @EbEventFlag = params['EbEventFlag'] @EbSubject = params['EbSubject'] @TagOperation = params['TagOperation'] end |