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.
7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 |
# File 'lib/v20210331/models.rb', line 7777 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
7775 7776 7777 |
# File 'lib/v20210331/models.rb', line 7775 def FailureReason @FailureReason end |
#PrincipalId ⇒ Object
7775 7776 7777 |
# File 'lib/v20210331/models.rb', line 7775 def PrincipalId @PrincipalId end |
#PrincipalType ⇒ Object
7775 7776 7777 |
# File 'lib/v20210331/models.rb', line 7775 def PrincipalType @PrincipalType end |
#RoleConfigurationId ⇒ Object
7775 7776 7777 |
# File 'lib/v20210331/models.rb', line 7775 def RoleConfigurationId @RoleConfigurationId end |
#RoleConfigurationName ⇒ Object
7775 7776 7777 |
# File 'lib/v20210331/models.rb', line 7775 def RoleConfigurationName @RoleConfigurationName end |
#Status ⇒ Object
7775 7776 7777 |
# File 'lib/v20210331/models.rb', line 7775 def Status @Status end |
#TargetType ⇒ Object
7775 7776 7777 |
# File 'lib/v20210331/models.rb', line 7775 def TargetType @TargetType end |
#TargetUin ⇒ Object
7775 7776 7777 |
# File 'lib/v20210331/models.rb', line 7775 def TargetUin @TargetUin end |
#TaskId ⇒ Object
7775 7776 7777 |
# File 'lib/v20210331/models.rb', line 7775 def TaskId @TaskId end |
#TaskType ⇒ Object
7775 7776 7777 |
# File 'lib/v20210331/models.rb', line 7775 def TaskType @TaskType end |
Instance Method Details
#deserialize(params) ⇒ Object
7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 |
# File 'lib/v20210331/models.rb', line 7790 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 |