Class: TencentCloud::Hasim::V20210716::ModifyRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hasim::V20210716::ModifyRuleRequest
- Defined in:
- lib/v20210716/models.rb
Overview
ModifyRule请求参数结构体
Instance Attribute Summary collapse
- #DataThreshold ⇒ Object
- #Distance ⇒ Object
- #District ⇒ Object
- #Email ⇒ Object
- #IsActive ⇒ Object
- #Name ⇒ Object
- #Notice ⇒ Object
- #RuleID ⇒ Object
- #SalePlan ⇒ Object
- #SignalStrength ⇒ Object
- #TagIDs ⇒ Object
- #Type ⇒ Object
- #UinAccount ⇒ Object
- #Url ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, type = nil, isactive = nil, notice = nil, ruleid = nil, email = nil, url = nil, datathreshold = nil, district = nil, distance = nil, signalstrength = nil, tagids = nil, saleplan = nil, uinaccount = nil) ⇒ ModifyRuleRequest
constructor
A new instance of ModifyRuleRequest.
Constructor Details
#initialize(name = nil, type = nil, isactive = nil, notice = nil, ruleid = nil, email = nil, url = nil, datathreshold = nil, district = nil, distance = nil, signalstrength = nil, tagids = nil, saleplan = nil, uinaccount = nil) ⇒ ModifyRuleRequest
Returns a new instance of ModifyRuleRequest.
1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 |
# File 'lib/v20210716/models.rb', line 1207 def initialize(name=nil, type=nil, isactive=nil, notice=nil, ruleid=nil, email=nil, url=nil, datathreshold=nil, district=nil, distance=nil, signalstrength=nil, tagids=nil, saleplan=nil, uinaccount=nil) @Name = name @Type = type @IsActive = isactive @Notice = notice @RuleID = ruleid @Email = email @Url = url @DataThreshold = datathreshold @District = district @Distance = distance @SignalStrength = signalstrength @TagIDs = tagids @SalePlan = saleplan @UinAccount = uinaccount end |
Instance Attribute Details
#DataThreshold ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def DataThreshold @DataThreshold end |
#Distance ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def Distance @Distance end |
#District ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def District @District end |
#Email ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def Email @Email end |
#IsActive ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def IsActive @IsActive end |
#Name ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def Name @Name end |
#Notice ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def Notice @Notice end |
#RuleID ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def RuleID @RuleID end |
#SalePlan ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def SalePlan @SalePlan end |
#SignalStrength ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def SignalStrength @SignalStrength end |
#TagIDs ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def TagIDs @TagIDs end |
#Type ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def Type @Type end |
#UinAccount ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def UinAccount @UinAccount end |
#Url ⇒ Object
1205 1206 1207 |
# File 'lib/v20210716/models.rb', line 1205 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 |
# File 'lib/v20210716/models.rb', line 1224 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @IsActive = params['IsActive'] @Notice = params['Notice'] @RuleID = params['RuleID'] @Email = params['Email'] @Url = params['Url'] @DataThreshold = params['DataThreshold'] @District = params['District'] @Distance = params['Distance'] @SignalStrength = params['SignalStrength'] @TagIDs = params['TagIDs'] @SalePlan = params['SalePlan'] @UinAccount = params['UinAccount'] end |