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.
7847 7848 7849 7850 7851 |
# File 'lib/v20210527/models.rb', line 7847 def initialize(agentid=nil, switch=nil, product=nil) @AgentId = agentid @Switch = switch @Product = product end |
Instance Attribute Details
#AgentId ⇒ Object
7845 7846 7847 |
# File 'lib/v20210527/models.rb', line 7845 def AgentId @AgentId end |
#Product ⇒ Object
7845 7846 7847 |
# File 'lib/v20210527/models.rb', line 7845 def Product @Product end |
#Switch ⇒ Object
7845 7846 7847 |
# File 'lib/v20210527/models.rb', line 7845 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
7853 7854 7855 7856 7857 |
# File 'lib/v20210527/models.rb', line 7853 def deserialize(params) @AgentId = params['AgentId'] @Switch = params['Switch'] @Product = params['Product'] end |