Class: TencentCloud::Cws::V20180312::MonitorMiniSite

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) ⇒ MonitorMiniSite

Returns a new instance of MonitorMiniSite.



1029
1030
1031
1032
# File 'lib/v20180312/models.rb', line 1029

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

Instance Attribute Details

#SiteIdObject

Parameters:

  • SiteId:

    站点ID。

  • Url:

    站点Url。



1027
1028
1029
# File 'lib/v20180312/models.rb', line 1027

def SiteId
  @SiteId
end

#UrlObject

Parameters:

  • SiteId:

    站点ID。

  • Url:

    站点Url。



1027
1028
1029
# File 'lib/v20180312/models.rb', line 1027

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



1034
1035
1036
1037
# File 'lib/v20180312/models.rb', line 1034

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