Class: TencentCloud::Apm::V20210622::CreateApmInstanceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::CreateApmInstanceRequest
- Defined in:
- lib/v20210622/models.rb
Overview
CreateApmInstance请求参数结构体
Instance Attribute Summary collapse
- #Description ⇒ Object
- #Free ⇒ Object
- #Name ⇒ Object
- #PayMode ⇒ Object
- #SpanDailyCounters ⇒ Object
- #Tags ⇒ Object
- #TraceDuration ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, description = nil, traceduration = nil, tags = nil, spandailycounters = nil, paymode = nil, free = nil) ⇒ CreateApmInstanceRequest
constructor
A new instance of CreateApmInstanceRequest.
Constructor Details
#initialize(name = nil, description = nil, traceduration = nil, tags = nil, spandailycounters = nil, paymode = nil, free = nil) ⇒ CreateApmInstanceRequest
Returns a new instance of CreateApmInstanceRequest.
1214 1215 1216 1217 1218 1219 1220 1221 1222 |
# File 'lib/v20210622/models.rb', line 1214 def initialize(name=nil, description=nil, traceduration=nil, =nil, spandailycounters=nil, paymode=nil, free=nil) @Name = name @Description = description @TraceDuration = traceduration @Tags = @SpanDailyCounters = spandailycounters @PayMode = paymode @Free = free end |
Instance Attribute Details
#Description ⇒ Object
1212 1213 1214 |
# File 'lib/v20210622/models.rb', line 1212 def Description @Description end |
#Free ⇒ Object
1212 1213 1214 |
# File 'lib/v20210622/models.rb', line 1212 def Free @Free end |
#Name ⇒ Object
1212 1213 1214 |
# File 'lib/v20210622/models.rb', line 1212 def Name @Name end |
#PayMode ⇒ Object
1212 1213 1214 |
# File 'lib/v20210622/models.rb', line 1212 def PayMode @PayMode end |
#SpanDailyCounters ⇒ Object
1212 1213 1214 |
# File 'lib/v20210622/models.rb', line 1212 def SpanDailyCounters @SpanDailyCounters end |
#Tags ⇒ Object
1212 1213 1214 |
# File 'lib/v20210622/models.rb', line 1212 def Tags @Tags end |
#TraceDuration ⇒ Object
1212 1213 1214 |
# File 'lib/v20210622/models.rb', line 1212 def TraceDuration @TraceDuration end |
Instance Method Details
#deserialize(params) ⇒ Object
1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 |
# File 'lib/v20210622/models.rb', line 1224 def deserialize(params) @Name = params['Name'] @Description = params['Description'] @TraceDuration = params['TraceDuration'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| apmtag_tmp = ApmTag.new apmtag_tmp.deserialize(i) @Tags << apmtag_tmp end end @SpanDailyCounters = params['SpanDailyCounters'] @PayMode = params['PayMode'] @Free = params['Free'] end |