Class: TencentCloud::Cdc::V20201214::Site

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201214/models.rb

Overview

客户站点信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CreateTimeObject

Parameters:

  • Name:

    站点名称

  • SiteId:

    站点id

  • Description:

    站点描述

  • CreateTime:

    站点创建时间



2228
2229
2230
# File 'lib/v20201214/models.rb', line 2228

def CreateTime
  @CreateTime
end

#DescriptionObject

Parameters:

  • Name:

    站点名称

  • SiteId:

    站点id

  • Description:

    站点描述

  • CreateTime:

    站点创建时间



2228
2229
2230
# File 'lib/v20201214/models.rb', line 2228

def Description
  @Description
end

#NameObject

Parameters:

  • Name:

    站点名称

  • SiteId:

    站点id

  • Description:

    站点描述

  • CreateTime:

    站点创建时间



2228
2229
2230
# File 'lib/v20201214/models.rb', line 2228

def Name
  @Name
end

#SiteIdObject

Parameters:

  • Name:

    站点名称

  • SiteId:

    站点id

  • Description:

    站点描述

  • CreateTime:

    站点创建时间



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