Class: TencentCloud::Organization::V20210331::TaskInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::TaskInfo
- Defined in:
- lib/v20210331/models.rb
Overview
任务状态信息。
Instance Attribute Summary collapse
- #FailureReason ⇒ Object
- #PrincipalId ⇒ Object
- #PrincipalType ⇒ Object
- #RoleConfigurationId ⇒ Object
- #RoleConfigurationName ⇒ Object
- #Status ⇒ Object
- #TargetType ⇒ Object
- #TargetUin ⇒ Object
- #TaskId ⇒ Object
- #TaskType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskid = nil, roleconfigurationid = nil, roleconfigurationname = nil, targetuin = nil, targettype = nil, principalid = nil, principaltype = nil, tasktype = nil, status = nil, failurereason = nil) ⇒ TaskInfo
constructor
A new instance of TaskInfo.
Constructor Details
#initialize(taskid = nil, roleconfigurationid = nil, roleconfigurationname = nil, targetuin = nil, targettype = nil, principalid = nil, principaltype = nil, tasktype = nil, status = nil, failurereason = nil) ⇒ TaskInfo
Returns a new instance of TaskInfo.
7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 |
# File 'lib/v20210331/models.rb', line 7516 def initialize(taskid=nil, roleconfigurationid=nil, roleconfigurationname=nil, targetuin=nil, targettype=nil, principalid=nil, principaltype=nil, tasktype=nil, status=nil, failurereason=nil) @TaskId = taskid @RoleConfigurationId = roleconfigurationid @RoleConfigurationName = roleconfigurationname @TargetUin = targetuin @TargetType = targettype @PrincipalId = principalid @PrincipalType = principaltype @TaskType = tasktype @Status = status @FailureReason = failurereason end |
Instance Attribute Details
#FailureReason ⇒ Object
7514 7515 7516 |
# File 'lib/v20210331/models.rb', line 7514 def FailureReason @FailureReason end |
#PrincipalId ⇒ Object
7514 7515 7516 |
# File 'lib/v20210331/models.rb', line 7514 def PrincipalId @PrincipalId end |
#PrincipalType ⇒ Object
7514 7515 7516 |
# File 'lib/v20210331/models.rb', line 7514 def PrincipalType @PrincipalType end |
#RoleConfigurationId ⇒ Object
7514 7515 7516 |
# File 'lib/v20210331/models.rb', line 7514 def RoleConfigurationId @RoleConfigurationId end |
#RoleConfigurationName ⇒ Object
7514 7515 7516 |
# File 'lib/v20210331/models.rb', line 7514 def RoleConfigurationName @RoleConfigurationName end |
#Status ⇒ Object
7514 7515 7516 |
# File 'lib/v20210331/models.rb', line 7514 def Status @Status end |
#TargetType ⇒ Object
7514 7515 7516 |
# File 'lib/v20210331/models.rb', line 7514 def TargetType @TargetType end |
#TargetUin ⇒ Object
7514 7515 7516 |
# File 'lib/v20210331/models.rb', line 7514 def TargetUin @TargetUin end |
#TaskId ⇒ Object
7514 7515 7516 |
# File 'lib/v20210331/models.rb', line 7514 def TaskId @TaskId end |
#TaskType ⇒ Object
7514 7515 7516 |
# File 'lib/v20210331/models.rb', line 7514 def TaskType @TaskType end |
Instance Method Details
#deserialize(params) ⇒ Object
7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 |
# File 'lib/v20210331/models.rb', line 7529 def deserialize(params) @TaskId = params['TaskId'] @RoleConfigurationId = params['RoleConfigurationId'] @RoleConfigurationName = params['RoleConfigurationName'] @TargetUin = params['TargetUin'] @TargetType = params['TargetType'] @PrincipalId = params['PrincipalId'] @PrincipalType = params['PrincipalType'] @TaskType = params['TaskType'] @Status = params['Status'] @FailureReason = params['FailureReason'] end |