Class: TencentCloud::Cdn::V20180606::PurgeTask

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

Overview

刷新任务详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, url = nil, status = nil, purgetype = nil, flushtype = nil, createtime = nil) ⇒ PurgeTask

Returns a new instance of PurgeTask.



10827
10828
10829
10830
10831
10832
10833
10834
# File 'lib/v20180606/models.rb', line 10827

def initialize(taskid=nil, url=nil, status=nil, purgetype=nil, flushtype=nil, createtime=nil)
  @TaskId = taskid
  @Url = url
  @Status = status
  @PurgeType = purgetype
  @FlushType = flushtype
  @CreateTime = createtime
end

Instance Attribute Details

#CreateTimeObject

fail:刷新失败 done:刷新成功 process:刷新中 url:URL 刷新 path:目录刷新 flush:刷新更新资源(仅目录刷新时有此类型) delete:刷新全部资源

Parameters:

  • TaskId:

    刷新任务 ID

  • Url:

    刷新 URL

  • Status:

    刷新任务状态

  • PurgeType:

    刷新类型

  • FlushType:

    刷新方式

  • CreateTime:

    刷新任务提交时间



10825
10826
10827
# File 'lib/v20180606/models.rb', line 10825

def CreateTime
  @CreateTime
end

#FlushTypeObject

fail:刷新失败 done:刷新成功 process:刷新中 url:URL 刷新 path:目录刷新 flush:刷新更新资源(仅目录刷新时有此类型) delete:刷新全部资源

Parameters:

  • TaskId:

    刷新任务 ID

  • Url:

    刷新 URL

  • Status:

    刷新任务状态

  • PurgeType:

    刷新类型

  • FlushType:

    刷新方式

  • CreateTime:

    刷新任务提交时间



10825
10826
10827
# File 'lib/v20180606/models.rb', line 10825

def FlushType
  @FlushType
end

#PurgeTypeObject

fail:刷新失败 done:刷新成功 process:刷新中 url:URL 刷新 path:目录刷新 flush:刷新更新资源(仅目录刷新时有此类型) delete:刷新全部资源

Parameters:

  • TaskId:

    刷新任务 ID

  • Url:

    刷新 URL

  • Status:

    刷新任务状态

  • PurgeType:

    刷新类型

  • FlushType:

    刷新方式

  • CreateTime:

    刷新任务提交时间



10825
10826
10827
# File 'lib/v20180606/models.rb', line 10825

def PurgeType
  @PurgeType
end

#StatusObject

fail:刷新失败 done:刷新成功 process:刷新中 url:URL 刷新 path:目录刷新 flush:刷新更新资源(仅目录刷新时有此类型) delete:刷新全部资源

Parameters:

  • TaskId:

    刷新任务 ID

  • Url:

    刷新 URL

  • Status:

    刷新任务状态

  • PurgeType:

    刷新类型

  • FlushType:

    刷新方式

  • CreateTime:

    刷新任务提交时间



10825
10826
10827
# File 'lib/v20180606/models.rb', line 10825

def Status
  @Status
end

#TaskIdObject

fail:刷新失败 done:刷新成功 process:刷新中 url:URL 刷新 path:目录刷新 flush:刷新更新资源(仅目录刷新时有此类型) delete:刷新全部资源

Parameters:

  • TaskId:

    刷新任务 ID

  • Url:

    刷新 URL

  • Status:

    刷新任务状态

  • PurgeType:

    刷新类型

  • FlushType:

    刷新方式

  • CreateTime:

    刷新任务提交时间



10825
10826
10827
# File 'lib/v20180606/models.rb', line 10825

def TaskId
  @TaskId
end

#UrlObject

fail:刷新失败 done:刷新成功 process:刷新中 url:URL 刷新 path:目录刷新 flush:刷新更新资源(仅目录刷新时有此类型) delete:刷新全部资源

Parameters:

  • TaskId:

    刷新任务 ID

  • Url:

    刷新 URL

  • Status:

    刷新任务状态

  • PurgeType:

    刷新类型

  • FlushType:

    刷新方式

  • CreateTime:

    刷新任务提交时间



10825
10826
10827
# File 'lib/v20180606/models.rb', line 10825

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



10836
10837
10838
10839
10840
10841
10842
10843
# File 'lib/v20180606/models.rb', line 10836

def deserialize(params)
  @TaskId = params['TaskId']
  @Url = params['Url']
  @Status = params['Status']
  @PurgeType = params['PurgeType']
  @FlushType = params['FlushType']
  @CreateTime = params['CreateTime']
end