Class: TencentCloud::Apm::V20210622::CreateProfileTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::CreateProfileTaskRequest
- Defined in:
- lib/v20210622/models.rb
Overview
CreateProfileTask请求参数结构体
Instance Attribute Summary collapse
- #AllTimes ⇒ Object
- #Duration ⇒ Object
- #Event ⇒ Object
- #InstanceId ⇒ Object
- #ServiceInstance ⇒ Object
- #ServiceName ⇒ Object
- #StartTime ⇒ Object
- #TaskInterval ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(servicename = nil, instanceid = nil, serviceinstance = nil, event = nil, duration = nil, alltimes = nil, starttime = nil, taskinterval = nil) ⇒ CreateProfileTaskRequest
constructor
A new instance of CreateProfileTaskRequest.
Constructor Details
#initialize(servicename = nil, instanceid = nil, serviceinstance = nil, event = nil, duration = nil, alltimes = nil, starttime = nil, taskinterval = nil) ⇒ CreateProfileTaskRequest
Returns a new instance of CreateProfileTaskRequest.
1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'lib/v20210622/models.rb', line 1255 def initialize(servicename=nil, instanceid=nil, serviceinstance=nil, event=nil, duration=nil, alltimes=nil, starttime=nil, taskinterval=nil) @ServiceName = servicename @InstanceId = instanceid @ServiceInstance = serviceinstance @Event = event @Duration = duration @AllTimes = alltimes @StartTime = starttime @TaskInterval = taskinterval end |
Instance Attribute Details
#AllTimes ⇒ Object
1253 1254 1255 |
# File 'lib/v20210622/models.rb', line 1253 def AllTimes @AllTimes end |
#Duration ⇒ Object
1253 1254 1255 |
# File 'lib/v20210622/models.rb', line 1253 def Duration @Duration end |
#Event ⇒ Object
1253 1254 1255 |
# File 'lib/v20210622/models.rb', line 1253 def Event @Event end |
#InstanceId ⇒ Object
1253 1254 1255 |
# File 'lib/v20210622/models.rb', line 1253 def InstanceId @InstanceId end |
#ServiceInstance ⇒ Object
1253 1254 1255 |
# File 'lib/v20210622/models.rb', line 1253 def ServiceInstance @ServiceInstance end |
#ServiceName ⇒ Object
1253 1254 1255 |
# File 'lib/v20210622/models.rb', line 1253 def ServiceName @ServiceName end |
#StartTime ⇒ Object
1253 1254 1255 |
# File 'lib/v20210622/models.rb', line 1253 def StartTime @StartTime end |
#TaskInterval ⇒ Object
1253 1254 1255 |
# File 'lib/v20210622/models.rb', line 1253 def TaskInterval @TaskInterval end |
Instance Method Details
#deserialize(params) ⇒ Object
1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 |
# File 'lib/v20210622/models.rb', line 1266 def deserialize(params) @ServiceName = params['ServiceName'] @InstanceId = params['InstanceId'] @ServiceInstance = params['ServiceInstance'] @Event = params['Event'] @Duration = params['Duration'] @AllTimes = params['AllTimes'] @StartTime = params['StartTime'] @TaskInterval = params['TaskInterval'] end |