Class: TencentCloud::Domain::V20180808::BatchStatus

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

Overview

批量任务状态

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logid = nil, status = nil, batchaction = nil) ⇒ BatchStatus

Returns a new instance of BatchStatus.



117
118
119
120
121
# File 'lib/v20180808/models.rb', line 117

def initialize(logid=nil, status=nil, batchaction=nil)
  @LogId = logid
  @Status = status
  @BatchAction = batchaction
end

Instance Attribute Details

#BatchActionObject

new:注册域名renew:续费域名batch_transfer_prohibition_on:开启禁止转移锁batch_transfer_prohibition_off:关闭禁止转移锁batch_update_prohibition_on:开启禁止更新锁batch_update_prohibition_off:关闭禁止更新锁batch_modify_owner:域名转移batch_modify_domain_info:域名信息修改batch_transfer_in:域名转入batch_cancel_transfer_out:域名取消转出

Parameters:

  • LogId:

    批量任务id

  • Status:

    批量任务状态 doing:进行中 success:成功 failed:失败 partial_success:部分成功

  • BatchAction:

    批量任务类型



115
116
117
# File 'lib/v20180808/models.rb', line 115

def BatchAction
  @BatchAction
end

#LogIdObject

new:注册域名renew:续费域名batch_transfer_prohibition_on:开启禁止转移锁batch_transfer_prohibition_off:关闭禁止转移锁batch_update_prohibition_on:开启禁止更新锁batch_update_prohibition_off:关闭禁止更新锁batch_modify_owner:域名转移batch_modify_domain_info:域名信息修改batch_transfer_in:域名转入batch_cancel_transfer_out:域名取消转出

Parameters:

  • LogId:

    批量任务id

  • Status:

    批量任务状态 doing:进行中 success:成功 failed:失败 partial_success:部分成功

  • BatchAction:

    批量任务类型



115
116
117
# File 'lib/v20180808/models.rb', line 115

def LogId
  @LogId
end

#StatusObject

new:注册域名renew:续费域名batch_transfer_prohibition_on:开启禁止转移锁batch_transfer_prohibition_off:关闭禁止转移锁batch_update_prohibition_on:开启禁止更新锁batch_update_prohibition_off:关闭禁止更新锁batch_modify_owner:域名转移batch_modify_domain_info:域名信息修改batch_transfer_in:域名转入batch_cancel_transfer_out:域名取消转出

Parameters:

  • LogId:

    批量任务id

  • Status:

    批量任务状态 doing:进行中 success:成功 failed:失败 partial_success:部分成功

  • BatchAction:

    批量任务类型



115
116
117
# File 'lib/v20180808/models.rb', line 115

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



123
124
125
126
127
# File 'lib/v20180808/models.rb', line 123

def deserialize(params)
  @LogId = params['LogId']
  @Status = params['Status']
  @BatchAction = params['BatchAction']
end