Class: TencentCloud::Tcr::V20190924::RetentionTask

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

Overview

版本保留执行的规则

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, executionid = nil, starttime = nil, endtime = nil, status = nil, total = nil, retained = nil, repository = nil) ⇒ RetentionTask

Returns a new instance of RetentionTask.



6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
# File 'lib/v20190924/models.rb', line 6816

def initialize(taskid=nil, executionid=nil, starttime=nil, endtime=nil, status=nil, total=nil, retained=nil, repository=nil)
  @TaskId = taskid
  @ExecutionId = executionid
  @StartTime = starttime
  @EndTime = endtime
  @Status = status
  @Total = total
  @Retained = retained
  @Repository = repository
end

Instance Attribute Details

#EndTime ⇒ Object

Parameters:

  • TaskId: —

    任务Id

  • ExecutionId: —

    所属的规则执行Id

  • StartTime: —

    任务开始时间

  • EndTime: —

    任务结束时间

  • Status: —

    任务的执行状态,Failed, Succeed, Stopped, InProgress

  • Total: —

    总tag数

  • Retained: —

    保留tag数

  • Repository: —

    应用的仓库



6814
6815
6816
# File 'lib/v20190924/models.rb', line 6814

def EndTime
  @EndTime
end

#ExecutionId ⇒ Object

Parameters:

  • TaskId: —

    任务Id

  • ExecutionId: —

    所属的规则执行Id

  • StartTime: —

    任务开始时间

  • EndTime: —

    任务结束时间

  • Status: —

    任务的执行状态,Failed, Succeed, Stopped, InProgress

  • Total: —

    总tag数

  • Retained: —

    保留tag数

  • Repository: —

    应用的仓库



6814
6815
6816
# File 'lib/v20190924/models.rb', line 6814

def ExecutionId
  @ExecutionId
end

#Repository ⇒ Object

Parameters:

  • TaskId: —

    任务Id

  • ExecutionId: —

    所属的规则执行Id

  • StartTime: —

    任务开始时间

  • EndTime: —

    任务结束时间

  • Status: —

    任务的执行状态,Failed, Succeed, Stopped, InProgress

  • Total: —

    总tag数

  • Retained: —

    保留tag数

  • Repository: —

    应用的仓库



6814
6815
6816
# File 'lib/v20190924/models.rb', line 6814

def Repository
  @Repository
end

#Retained ⇒ Object

Parameters:

  • TaskId: —

    任务Id

  • ExecutionId: —

    所属的规则执行Id

  • StartTime: —

    任务开始时间

  • EndTime: —

    任务结束时间

  • Status: —

    任务的执行状态,Failed, Succeed, Stopped, InProgress

  • Total: —

    总tag数

  • Retained: —

    保留tag数

  • Repository: —

    应用的仓库



6814
6815
6816
# File 'lib/v20190924/models.rb', line 6814

def Retained
  @Retained
end

#StartTime ⇒ Object

Parameters:

  • TaskId: —

    任务Id

  • ExecutionId: —

    所属的规则执行Id

  • StartTime: —

    任务开始时间

  • EndTime: —

    任务结束时间

  • Status: —

    任务的执行状态,Failed, Succeed, Stopped, InProgress

  • Total: —

    总tag数

  • Retained: —

    保留tag数

  • Repository: —

    应用的仓库



6814
6815
6816
# File 'lib/v20190924/models.rb', line 6814

def StartTime
  @StartTime
end

#Status ⇒ Object

Parameters:

  • TaskId: —

    任务Id

  • ExecutionId: —

    所属的规则执行Id

  • StartTime: —

    任务开始时间

  • EndTime: —

    任务结束时间

  • Status: —

    任务的执行状态,Failed, Succeed, Stopped, InProgress

  • Total: —

    总tag数

  • Retained: —

    保留tag数

  • Repository: —

    应用的仓库



6814
6815
6816
# File 'lib/v20190924/models.rb', line 6814

def Status
  @Status
end

#TaskId ⇒ Object

Parameters:

  • TaskId: —

    任务Id

  • ExecutionId: —

    所属的规则执行Id

  • StartTime: —

    任务开始时间

  • EndTime: —

    任务结束时间

  • Status: —

    任务的执行状态,Failed, Succeed, Stopped, InProgress

  • Total: —

    总tag数

  • Retained: —

    保留tag数

  • Repository: —

    应用的仓库



6814
6815
6816
# File 'lib/v20190924/models.rb', line 6814

def TaskId
  @TaskId
end

#Total ⇒ Object

Parameters:

  • TaskId: —

    任务Id

  • ExecutionId: —

    所属的规则执行Id

  • StartTime: —

    任务开始时间

  • EndTime: —

    任务结束时间

  • Status: —

    任务的执行状态,Failed, Succeed, Stopped, InProgress

  • Total: —

    总tag数

  • Retained: —

    保留tag数

  • Repository: —

    应用的仓库



6814
6815
6816
# File 'lib/v20190924/models.rb', line 6814

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
# File 'lib/v20190924/models.rb', line 6827

def deserialize(params)
  @TaskId = params['TaskId']
  @ExecutionId = params['ExecutionId']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Status = params['Status']
  @Total = params['Total']
  @Retained = params['Retained']
  @Repository = params['Repository']
end