Class: TencentCloud::Cws::V20180312::MiniSite

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

Overview

站点信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(siteid = nil, url = nil) ⇒ MiniSite

Returns a new instance of MiniSite.



789
790
791
792
# File 'lib/v20180312/models.rb', line 789

def initialize(siteid=nil, url=nil)
  @SiteId = siteid
  @Url = url
end

Instance Attribute Details

#SiteIdObject

Parameters:

  • SiteId:

    站点ID。

  • Url:

    站点Url。



787
788
789
# File 'lib/v20180312/models.rb', line 787

def SiteId
  @SiteId
end

#UrlObject

Parameters:

  • SiteId:

    站点ID。

  • Url:

    站点Url。



787
788
789
# File 'lib/v20180312/models.rb', line 787

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



794
795
796
797
# File 'lib/v20180312/models.rb', line 794

def deserialize(params)
  @SiteId = params['SiteId']
  @Url = params['Url']
end