Class: TencentCloud::Cws::V20180312::CreateSitesRequest

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

Overview

CreateSites请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(urls = nil, useragent = nil) ⇒ CreateSitesRequest

Returns a new instance of CreateSitesRequest.



81
82
83
84
# File 'lib/v20180312/models.rb', line 81

def initialize(urls=nil, useragent=nil)
  @Urls = urls
  @UserAgent = useragent
end

Instance Attribute Details

#UrlsObject

Parameters:

  • Urls:

    站点的url列表

  • UserAgent:

    访问网站的客户端标识



79
80
81
# File 'lib/v20180312/models.rb', line 79

def Urls
  @Urls
end

#UserAgentObject

Parameters:

  • Urls:

    站点的url列表

  • UserAgent:

    访问网站的客户端标识



79
80
81
# File 'lib/v20180312/models.rb', line 79

def UserAgent
  @UserAgent
end

Instance Method Details

#deserialize(params) ⇒ Object



86
87
88
89
# File 'lib/v20180312/models.rb', line 86

def deserialize(params)
  @Urls = params['Urls']
  @UserAgent = params['UserAgent']
end