Class: TencentCloud::Hasim::V20210716::CreateRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hasim::V20210716::CreateRuleRequest
- Defined in:
- lib/v20210716/models.rb
Overview
CreateRule请求参数结构体
Instance Attribute Summary collapse
- #DataThreshold ⇒ Object
- #Distance ⇒ Object
- #District ⇒ Object
- #Email ⇒ Object
- #IsActive ⇒ Object
- #LostDay ⇒ Object
- #Name ⇒ Object
- #Notice ⇒ Object
- #SalePlan ⇒ Object
- #SignalStrength ⇒ Object
- #TagIDs ⇒ Object
- #Type ⇒ Object
- #Url ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, type = nil, isactive = nil, notice = nil, email = nil, url = nil, datathreshold = nil, district = nil, distance = nil, signalstrength = nil, lostday = nil, tagids = nil, saleplan = nil) ⇒ CreateRuleRequest
constructor
A new instance of CreateRuleRequest.
Constructor Details
#initialize(name = nil, type = nil, isactive = nil, notice = nil, email = nil, url = nil, datathreshold = nil, district = nil, distance = nil, signalstrength = nil, lostday = nil, tagids = nil, saleplan = nil) ⇒ CreateRuleRequest
Returns a new instance of CreateRuleRequest.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/v20210716/models.rb', line 51 def initialize(name=nil, type=nil, isactive=nil, notice=nil, email=nil, url=nil, datathreshold=nil, district=nil, distance=nil, signalstrength=nil, lostday=nil, tagids=nil, saleplan=nil) @Name = name @Type = type @IsActive = isactive @Notice = notice @Email = email @Url = url @DataThreshold = datathreshold @District = district @Distance = distance @SignalStrength = signalstrength @LostDay = lostday @TagIDs = tagids @SalePlan = saleplan end |
Instance Attribute Details
#DataThreshold ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def DataThreshold @DataThreshold end |
#Distance ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def Distance @Distance end |
#District ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def District @District end |
#Email ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def Email @Email end |
#IsActive ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def IsActive @IsActive end |
#LostDay ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def LostDay @LostDay end |
#Name ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def Name @Name end |
#Notice ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def Notice @Notice end |
#SalePlan ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def SalePlan @SalePlan end |
#SignalStrength ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def SignalStrength @SignalStrength end |
#TagIDs ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def TagIDs @TagIDs end |
#Type ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def Type @Type end |
#Url ⇒ Object
49 50 51 |
# File 'lib/v20210716/models.rb', line 49 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# File 'lib/v20210716/models.rb', line 67 def deserialize(params) @Name = params['Name'] @Type = params['Type'] @IsActive = params['IsActive'] @Notice = params['Notice'] @Email = params['Email'] @Url = params['Url'] @DataThreshold = params['DataThreshold'] @District = params['District'] @Distance = params['Distance'] @SignalStrength = params['SignalStrength'] @LostDay = params['LostDay'] @TagIDs = params['TagIDs'] @SalePlan = params['SalePlan'] end |