Class: TencentCloud::Batch::V20170312::Activity
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::V20170312::Activity
- Defined in:
- lib/v20170312/models.rb
Overview
计算环境的创建或销毁活动
Instance Attribute Summary collapse
- #ActivityId ⇒ Object
- #ActivityState ⇒ Object
- #Cause ⇒ Object
- #ComputeNodeActivityType ⇒ Object
- #ComputeNodeId ⇒ Object
- #EndTime ⇒ Object
- #EnvId ⇒ Object
- #InstanceId ⇒ Object
- #StartTime ⇒ Object
- #StateReason ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(activityid = nil, computenodeid = nil, computenodeactivitytype = nil, envid = nil, cause = nil, activitystate = nil, statereason = nil, starttime = nil, endtime = nil, instanceid = nil) ⇒ Activity
constructor
A new instance of Activity.
Constructor Details
#initialize(activityid = nil, computenodeid = nil, computenodeactivitytype = nil, envid = nil, cause = nil, activitystate = nil, statereason = nil, starttime = nil, endtime = nil, instanceid = nil) ⇒ Activity
Returns a new instance of Activity.
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/v20170312/models.rb', line 45 def initialize(activityid=nil, computenodeid=nil, computenodeactivitytype=nil, envid=nil, cause=nil, activitystate=nil, statereason=nil, starttime=nil, endtime=nil, instanceid=nil) @ActivityId = activityid @ComputeNodeId = computenodeid @ComputeNodeActivityType = computenodeactivitytype @EnvId = envid @Cause = cause @ActivityState = activitystate @StateReason = statereason @StartTime = starttime @EndTime = endtime @InstanceId = instanceid end |
Instance Attribute Details
#ActivityId ⇒ Object
43 44 45 |
# File 'lib/v20170312/models.rb', line 43 def ActivityId @ActivityId end |
#ActivityState ⇒ Object
43 44 45 |
# File 'lib/v20170312/models.rb', line 43 def ActivityState @ActivityState end |
#Cause ⇒ Object
43 44 45 |
# File 'lib/v20170312/models.rb', line 43 def Cause @Cause end |
#ComputeNodeActivityType ⇒ Object
43 44 45 |
# File 'lib/v20170312/models.rb', line 43 def ComputeNodeActivityType @ComputeNodeActivityType end |
#ComputeNodeId ⇒ Object
43 44 45 |
# File 'lib/v20170312/models.rb', line 43 def ComputeNodeId @ComputeNodeId end |
#EndTime ⇒ Object
43 44 45 |
# File 'lib/v20170312/models.rb', line 43 def EndTime @EndTime end |
#EnvId ⇒ Object
43 44 45 |
# File 'lib/v20170312/models.rb', line 43 def EnvId @EnvId end |
#InstanceId ⇒ Object
43 44 45 |
# File 'lib/v20170312/models.rb', line 43 def InstanceId @InstanceId end |
#StartTime ⇒ Object
43 44 45 |
# File 'lib/v20170312/models.rb', line 43 def StartTime @StartTime end |
#StateReason ⇒ Object
43 44 45 |
# File 'lib/v20170312/models.rb', line 43 def StateReason @StateReason end |
Instance Method Details
#deserialize(params) ⇒ Object
58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/v20170312/models.rb', line 58 def deserialize(params) @ActivityId = params['ActivityId'] @ComputeNodeId = params['ComputeNodeId'] @ComputeNodeActivityType = params['ComputeNodeActivityType'] @EnvId = params['EnvId'] @Cause = params['Cause'] @ActivityState = params['ActivityState'] @StateReason = params['StateReason'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @InstanceId = params['InstanceId'] end |