Class: TencentCloud::Tione::V20211111::ProbeAction
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tione::V20211111::ProbeAction
- Defined in:
- lib/v20211111/models.rb
Overview
探针行为
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(httpget = nil, exec = nil, tcpsocket = nil, actiontype = nil) ⇒ ProbeAction
constructor
A new instance of ProbeAction.
Constructor Details
#initialize(httpget = nil, exec = nil, tcpsocket = nil, actiontype = nil) ⇒ ProbeAction
Returns a new instance of ProbeAction.
7231 7232 7233 7234 7235 7236 |
# File 'lib/v20211111/models.rb', line 7231 def initialize(httpget=nil, exec=nil, tcpsocket=nil, actiontype=nil) @HTTPGet = httpget @Exec = exec @TCPSocket = tcpsocket @ActionType = actiontype end |
Instance Attribute Details
#ActionType ⇒ Object
7229 7230 7231 |
# File 'lib/v20211111/models.rb', line 7229 def ActionType @ActionType end |
#Exec ⇒ Object
7229 7230 7231 |
# File 'lib/v20211111/models.rb', line 7229 def Exec @Exec end |
#HTTPGet ⇒ Object
7229 7230 7231 |
# File 'lib/v20211111/models.rb', line 7229 def HTTPGet @HTTPGet end |
#TCPSocket ⇒ Object
7229 7230 7231 |
# File 'lib/v20211111/models.rb', line 7229 def TCPSocket @TCPSocket end |
Instance Method Details
#deserialize(params) ⇒ Object
7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 |
# File 'lib/v20211111/models.rb', line 7238 def deserialize(params) unless params['HTTPGet'].nil? @HTTPGet = HTTPGetAction.new @HTTPGet.deserialize(params['HTTPGet']) end unless params['Exec'].nil? @Exec = ExecAction.new @Exec.deserialize(params['Exec']) end unless params['TCPSocket'].nil? @TCPSocket = TCPSocketAction.new @TCPSocket.deserialize(params['TCPSocket']) end @ActionType = params['ActionType'] end |