Class: TencentCloud::Waf::V20180125::BotToken
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::BotToken
- Defined in:
- lib/v20180125/models.rb
Overview
bot-token配置
Instance Attribute Summary collapse
- #Description ⇒ Object
- #Id ⇒ Object
- #Key ⇒ Object
- #Location ⇒ Object
- #Name ⇒ Object
- #Operator ⇒ Object
- #Priority ⇒ Object
- #Scene ⇒ Object
- #Status ⇒ Object
- #Timestamp ⇒ Object
- #TokenValidation ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, description = nil, id = nil, status = nil, location = nil, key = nil, operator = nil, timestamp = nil, scene = nil, priority = nil, tokenvalidation = nil) ⇒ BotToken
constructor
A new instance of BotToken.
Constructor Details
#initialize(name = nil, description = nil, id = nil, status = nil, location = nil, key = nil, operator = nil, timestamp = nil, scene = nil, priority = nil, tokenvalidation = nil) ⇒ BotToken
Returns a new instance of BotToken.
2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 |
# File 'lib/v20180125/models.rb', line 2677 def initialize(name=nil, description=nil, id=nil, status=nil, location=nil, key=nil, operator=nil, =nil, scene=nil, priority=nil, tokenvalidation=nil) @Name = name @Description = description @Id = id @Status = status @Location = location @Key = key @Operator = operator @Timestamp = @Scene = scene @Priority = priority @TokenValidation = tokenvalidation end |
Instance Attribute Details
#Description ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def Description @Description end |
#Id ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def Id @Id end |
#Key ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def Key @Key end |
#Location ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def Location @Location end |
#Name ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def Name @Name end |
#Operator ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def Operator @Operator end |
#Priority ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def Priority @Priority end |
#Scene ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def Scene @Scene end |
#Status ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def Status @Status end |
#Timestamp ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def Timestamp @Timestamp end |
#TokenValidation ⇒ Object
2675 2676 2677 |
# File 'lib/v20180125/models.rb', line 2675 def TokenValidation @TokenValidation end |
Instance Method Details
#deserialize(params) ⇒ Object
2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 |
# File 'lib/v20180125/models.rb', line 2691 def deserialize(params) @Name = params['Name'] @Description = params['Description'] @Id = params['Id'] @Status = params['Status'] @Location = params['Location'] @Key = params['Key'] @Operator = params['Operator'] @Timestamp = params['Timestamp'] @Scene = params['Scene'] @Priority = params['Priority'] unless params['TokenValidation'].nil? @TokenValidation = TokenValidation.new @TokenValidation.deserialize(params['TokenValidation']) end end |