Class: TencentCloud::Eb::V20210416::Connection
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::Connection
- Defined in:
- lib/v20210416/models.rb
Overview
Connection信息
Instance Attribute Summary collapse
- #AddTime ⇒ Object
- #ConnectionDescription ⇒ Object
- #ConnectionId ⇒ Object
- #ConnectionName ⇒ Object
- #Description ⇒ Object
- #Enable ⇒ Object
- #EventBusId ⇒ Object
- #ModTime ⇒ Object
- #Status ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, modtime = nil, enable = nil, description = nil, addtime = nil, connectionid = nil, eventbusid = nil, connectiondescription = nil, connectionname = nil, type = nil) ⇒ Connection
constructor
A new instance of Connection.
Constructor Details
#initialize(status = nil, modtime = nil, enable = nil, description = nil, addtime = nil, connectionid = nil, eventbusid = nil, connectiondescription = nil, connectionname = nil, type = nil) ⇒ Connection
Returns a new instance of Connection.
215 216 217 218 219 220 221 222 223 224 225 226 |
# File 'lib/v20210416/models.rb', line 215 def initialize(status=nil, modtime=nil, enable=nil, description=nil, addtime=nil, connectionid=nil, eventbusid=nil, connectiondescription=nil, connectionname=nil, type=nil) @Status = status @ModTime = modtime @Enable = enable @Description = description @AddTime = addtime @ConnectionId = connectionid @EventBusId = eventbusid @ConnectionDescription = connectiondescription @ConnectionName = connectionname @Type = type end |
Instance Attribute Details
#AddTime ⇒ Object
213 214 215 |
# File 'lib/v20210416/models.rb', line 213 def AddTime @AddTime end |
#ConnectionDescription ⇒ Object
213 214 215 |
# File 'lib/v20210416/models.rb', line 213 def ConnectionDescription @ConnectionDescription end |
#ConnectionId ⇒ Object
213 214 215 |
# File 'lib/v20210416/models.rb', line 213 def ConnectionId @ConnectionId end |
#ConnectionName ⇒ Object
213 214 215 |
# File 'lib/v20210416/models.rb', line 213 def ConnectionName @ConnectionName end |
#Description ⇒ Object
213 214 215 |
# File 'lib/v20210416/models.rb', line 213 def Description @Description end |
#Enable ⇒ Object
213 214 215 |
# File 'lib/v20210416/models.rb', line 213 def Enable @Enable end |
#EventBusId ⇒ Object
213 214 215 |
# File 'lib/v20210416/models.rb', line 213 def EventBusId @EventBusId end |
#ModTime ⇒ Object
213 214 215 |
# File 'lib/v20210416/models.rb', line 213 def ModTime @ModTime end |
#Status ⇒ Object
213 214 215 |
# File 'lib/v20210416/models.rb', line 213 def Status @Status end |
#Type ⇒ Object
213 214 215 |
# File 'lib/v20210416/models.rb', line 213 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 |
# File 'lib/v20210416/models.rb', line 228 def deserialize(params) @Status = params['Status'] @ModTime = params['ModTime'] @Enable = params['Enable'] @Description = params['Description'] @AddTime = params['AddTime'] @ConnectionId = params['ConnectionId'] @EventBusId = params['EventBusId'] unless params['ConnectionDescription'].nil? @ConnectionDescription = ConnectionDescription.new @ConnectionDescription.deserialize(params['ConnectionDescription']) end @ConnectionName = params['ConnectionName'] @Type = params['Type'] end |