Class: TencentCloud::Mmps::V20200710::AppTaskData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mmps::V20200710::AppTaskData
- Defined in:
- lib/v20200710/models.rb
Overview
应用隐私合规诊断任务数据
Instance Attribute Summary collapse
- #AppInfo ⇒ Object
- #ContactName ⇒ Object
- #EndTime ⇒ Object
- #Source ⇒ Object
- #StartTime ⇒ Object
- #TaskErrMsg ⇒ Object
- #TaskID ⇒ Object
- #TaskStatus ⇒ Object
- #TaskType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskid = nil, tasktype = nil, taskstatus = nil, taskerrmsg = nil, source = nil, appinfo = nil, starttime = nil, endtime = nil, contactname = nil) ⇒ AppTaskData
constructor
A new instance of AppTaskData.
Constructor Details
#initialize(taskid = nil, tasktype = nil, taskstatus = nil, taskerrmsg = nil, source = nil, appinfo = nil, starttime = nil, endtime = nil, contactname = nil) ⇒ AppTaskData
Returns a new instance of AppTaskData.
103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/v20200710/models.rb', line 103 def initialize(taskid=nil, tasktype=nil, taskstatus=nil, taskerrmsg=nil, source=nil, appinfo=nil, starttime=nil, endtime=nil, contactname=nil) @TaskID = taskid @TaskType = tasktype @TaskStatus = taskstatus @TaskErrMsg = taskerrmsg @Source = source @AppInfo = appinfo @StartTime = starttime @EndTime = endtime @ContactName = contactname end |
Instance Attribute Details
#AppInfo ⇒ Object
101 102 103 |
# File 'lib/v20200710/models.rb', line 101 def AppInfo @AppInfo end |
#ContactName ⇒ Object
101 102 103 |
# File 'lib/v20200710/models.rb', line 101 def ContactName @ContactName end |
#EndTime ⇒ Object
101 102 103 |
# File 'lib/v20200710/models.rb', line 101 def EndTime @EndTime end |
#Source ⇒ Object
101 102 103 |
# File 'lib/v20200710/models.rb', line 101 def Source @Source end |
#StartTime ⇒ Object
101 102 103 |
# File 'lib/v20200710/models.rb', line 101 def StartTime @StartTime end |
#TaskErrMsg ⇒ Object
101 102 103 |
# File 'lib/v20200710/models.rb', line 101 def TaskErrMsg @TaskErrMsg end |
#TaskID ⇒ Object
101 102 103 |
# File 'lib/v20200710/models.rb', line 101 def TaskID @TaskID end |
#TaskStatus ⇒ Object
101 102 103 |
# File 'lib/v20200710/models.rb', line 101 def TaskStatus @TaskStatus end |
#TaskType ⇒ Object
101 102 103 |
# File 'lib/v20200710/models.rb', line 101 def TaskType @TaskType end |
Instance Method Details
#deserialize(params) ⇒ Object
115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'lib/v20200710/models.rb', line 115 def deserialize(params) @TaskID = params['TaskID'] @TaskType = params['TaskType'] @TaskStatus = params['TaskStatus'] @TaskErrMsg = params['TaskErrMsg'] @Source = params['Source'] unless params['AppInfo'].nil? @AppInfo = AppInfoItem.new @AppInfo.deserialize(params['AppInfo']) end @StartTime = params['StartTime'] @EndTime = params['EndTime'] @ContactName = params['ContactName'] end |