Class: TencentCloud::Cdn::V20180606::EnableCachesRequest

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

Overview

EnableCaches请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(urls = nil, date = nil) ⇒ EnableCachesRequest

Returns a new instance of EnableCachesRequest.



7422
7423
7424
7425
# File 'lib/v20180606/models.rb', line 7422

def initialize(urls=nil, date=nil)
  @Urls = urls
  @Date = date
end

Instance Attribute Details

#DateObject

Parameters:

  • Urls:

    解封 URL 列表

  • Date:

    URL封禁日期



7420
7421
7422
# File 'lib/v20180606/models.rb', line 7420

def Date
  @Date
end

#UrlsObject

Parameters:

  • Urls:

    解封 URL 列表

  • Date:

    URL封禁日期



7420
7421
7422
# File 'lib/v20180606/models.rb', line 7420

def Urls
  @Urls
end

Instance Method Details

#deserialize(params) ⇒ Object



7427
7428
7429
7430
# File 'lib/v20180606/models.rb', line 7427

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