Class: TencentCloud::Dbbrain::V20210527::UpdateAgentSwitchRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::UpdateAgentSwitchRequest
- Defined in:
- lib/v20210527/models.rb
Overview
UpdateAgentSwitch请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(agentid = nil, switch = nil, product = nil) ⇒ UpdateAgentSwitchRequest
constructor
A new instance of UpdateAgentSwitchRequest.
Constructor Details
#initialize(agentid = nil, switch = nil, product = nil) ⇒ UpdateAgentSwitchRequest
Returns a new instance of UpdateAgentSwitchRequest.
7941 7942 7943 7944 7945 |
# File 'lib/v20210527/models.rb', line 7941 def initialize(agentid=nil, switch=nil, product=nil) @AgentId = agentid @Switch = switch @Product = product end |
Instance Attribute Details
#AgentId ⇒ Object
7939 7940 7941 |
# File 'lib/v20210527/models.rb', line 7939 def AgentId @AgentId end |
#Product ⇒ Object
7939 7940 7941 |
# File 'lib/v20210527/models.rb', line 7939 def Product @Product end |
#Switch ⇒ Object
7939 7940 7941 |
# File 'lib/v20210527/models.rb', line 7939 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
7947 7948 7949 7950 7951 |
# File 'lib/v20210527/models.rb', line 7947 def deserialize(params) @AgentId = params['AgentId'] @Switch = params['Switch'] @Product = params['Product'] end |