Class: TencentCloud::Cdc::V20201214::Site
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::Site
- Defined in:
- lib/v20201214/models.rb
Overview
客户站点信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, siteid = nil, description = nil, createtime = nil) ⇒ Site
constructor
A new instance of Site.
Constructor Details
#initialize(name = nil, siteid = nil, description = nil, createtime = nil) ⇒ Site
Returns a new instance of Site.
2230 2231 2232 2233 2234 2235 |
# File 'lib/v20201214/models.rb', line 2230 def initialize(name=nil, siteid=nil, description=nil, createtime=nil) @Name = name @SiteId = siteid @Description = description @CreateTime = createtime end |
Instance Attribute Details
#CreateTime ⇒ Object
2228 2229 2230 |
# File 'lib/v20201214/models.rb', line 2228 def CreateTime @CreateTime end |
#Description ⇒ Object
2228 2229 2230 |
# File 'lib/v20201214/models.rb', line 2228 def Description @Description end |
#Name ⇒ Object
2228 2229 2230 |
# File 'lib/v20201214/models.rb', line 2228 def Name @Name end |
#SiteId ⇒ Object
2228 2229 2230 |
# File 'lib/v20201214/models.rb', line 2228 def SiteId @SiteId end |
Instance Method Details
#deserialize(params) ⇒ Object
2237 2238 2239 2240 2241 2242 |
# File 'lib/v20201214/models.rb', line 2237 def deserialize(params) @Name = params['Name'] @SiteId = params['SiteId'] @Description = params['Description'] @CreateTime = params['CreateTime'] end |