Class: TencentCloud::Mrs::V20200910::SmokeHistoryBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::SmokeHistoryBlock
- Defined in:
- lib/v20200910/models.rb
Overview
吸烟史
Instance Attribute Summary collapse
- #Amount ⇒ Object
- #Name ⇒ Object
- #QuitState ⇒ Object
- #Src ⇒ Object
- #State ⇒ Object
- #TimeNorm ⇒ Object
- #TimeUnit ⇒ Object
- #Value ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, src = nil, timeunit = nil, timenorm = nil, amount = nil, quitstate = nil, state = nil, value = nil) ⇒ SmokeHistoryBlock
constructor
A new instance of SmokeHistoryBlock.
Constructor Details
#initialize(name = nil, src = nil, timeunit = nil, timenorm = nil, amount = nil, quitstate = nil, state = nil, value = nil) ⇒ SmokeHistoryBlock
9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 |
# File 'lib/v20200910/models.rb', line 9394 def initialize(name=nil, src=nil, timeunit=nil, timenorm=nil, amount=nil, quitstate=nil, state=nil, value=nil) @Name = name @Src = src @TimeUnit = timeunit @TimeNorm = timenorm @Amount = amount @QuitState = quitstate @State = state @Value = value end |
Instance Attribute Details
#Amount ⇒ Object
9392 9393 9394 |
# File 'lib/v20200910/models.rb', line 9392 def Amount @Amount end |
#Name ⇒ Object
9392 9393 9394 |
# File 'lib/v20200910/models.rb', line 9392 def Name @Name end |
#QuitState ⇒ Object
9392 9393 9394 |
# File 'lib/v20200910/models.rb', line 9392 def QuitState @QuitState end |
#Src ⇒ Object
9392 9393 9394 |
# File 'lib/v20200910/models.rb', line 9392 def Src @Src end |
#State ⇒ Object
9392 9393 9394 |
# File 'lib/v20200910/models.rb', line 9392 def State @State end |
#TimeNorm ⇒ Object
9392 9393 9394 |
# File 'lib/v20200910/models.rb', line 9392 def TimeNorm @TimeNorm end |
#TimeUnit ⇒ Object
9392 9393 9394 |
# File 'lib/v20200910/models.rb', line 9392 def TimeUnit @TimeUnit end |
#Value ⇒ Object
9392 9393 9394 |
# File 'lib/v20200910/models.rb', line 9392 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 |
# File 'lib/v20200910/models.rb', line 9405 def deserialize(params) @Name = params['Name'] @Src = params['Src'] @TimeUnit = params['TimeUnit'] @TimeNorm = params['TimeNorm'] @Amount = params['Amount'] @QuitState = params['QuitState'] @State = params['State'] @Value = params['Value'] end |