class TencentCloud::Tcbr::V20220217::ServerManageTaskInfo
服务管理任务信息
def deserialize(params)
def deserialize(params) @Id = params['Id'] @EnvId = params['EnvId'] @ServerName = params['ServerName'] @CreateTime = params['CreateTime'] @ChangeType = params['ChangeType'] @ReleaseType = params['ReleaseType'] @DeployType = params['DeployType'] @PreVersionName = params['PreVersionName'] @VersionName = params['VersionName'] @PipelineId = params['PipelineId'] @PipelineTaskId = params['PipelineTaskId'] @ReleaseId = params['ReleaseId'] @Status = params['Status'] unless params['Steps'].nil? @Steps = [] params['Steps'].each do |i| taskstepinfo_tmp = TaskStepInfo.new taskstepinfo_tmp.deserialize(i) @Steps << taskstepinfo_tmp end end @FailReason = params['FailReason'] @OperatorRemark = params['OperatorRemark'] end
def initialize(id=nil, envid=nil, servername=nil, createtime=nil, changetype=nil, releasetype=nil, deploytype=nil, preversionname=nil, versionname=nil, pipelineid=nil, pipelinetaskid=nil, releaseid=nil, status=nil, steps=nil, failreason=nil, operatorremark=nil)
def initialize(id=nil, envid=nil, servername=nil, createtime=nil, changetype=nil, releasetype=nil, deploytype=nil, preversionname=nil, versionname=nil, pipelineid=nil, pipelinetaskid=nil, releaseid=nil, status=nil, steps=nil, failreason=nil, operatorremark=nil) @Id = id @EnvId = envid @ServerName = servername @CreateTime = createtime @ChangeType = changetype @ReleaseType = releasetype @DeployType = deploytype @PreVersionName = preversionname @VersionName = versionname @PipelineId = pipelineid @PipelineTaskId = pipelinetaskid @ReleaseId = releaseid @Status = status @Steps = steps @FailReason = failreason @OperatorRemark = operatorremark end