Class: TencentCloud::Tem::V20210701::ModifyApplicationAutoscalerRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::ModifyApplicationAutoscalerRequest
- Defined in:
- lib/v20210701/models.rb
Overview
ModifyApplicationAutoscaler请求参数结构体
Instance Attribute Summary collapse
- #ApplicationId ⇒ Object
- #Autoscaler ⇒ Object
- #AutoscalerId ⇒ Object
- #EnvironmentId ⇒ Object
- #SourceChannel ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(applicationid = nil, environmentid = nil, autoscalerid = nil, autoscaler = nil, sourcechannel = nil) ⇒ ModifyApplicationAutoscalerRequest
constructor
A new instance of ModifyApplicationAutoscalerRequest.
Constructor Details
#initialize(applicationid = nil, environmentid = nil, autoscalerid = nil, autoscaler = nil, sourcechannel = nil) ⇒ ModifyApplicationAutoscalerRequest
Returns a new instance of ModifyApplicationAutoscalerRequest.
3320 3321 3322 3323 3324 3325 3326 |
# File 'lib/v20210701/models.rb', line 3320 def initialize(applicationid=nil, environmentid=nil, autoscalerid=nil, autoscaler=nil, sourcechannel=nil) @ApplicationId = applicationid @EnvironmentId = environmentid @AutoscalerId = autoscalerid @Autoscaler = autoscaler @SourceChannel = sourcechannel end |
Instance Attribute Details
#ApplicationId ⇒ Object
3318 3319 3320 |
# File 'lib/v20210701/models.rb', line 3318 def ApplicationId @ApplicationId end |
#Autoscaler ⇒ Object
3318 3319 3320 |
# File 'lib/v20210701/models.rb', line 3318 def Autoscaler @Autoscaler end |
#AutoscalerId ⇒ Object
3318 3319 3320 |
# File 'lib/v20210701/models.rb', line 3318 def AutoscalerId @AutoscalerId end |
#EnvironmentId ⇒ Object
3318 3319 3320 |
# File 'lib/v20210701/models.rb', line 3318 def EnvironmentId @EnvironmentId end |
#SourceChannel ⇒ Object
3318 3319 3320 |
# File 'lib/v20210701/models.rb', line 3318 def SourceChannel @SourceChannel end |
Instance Method Details
#deserialize(params) ⇒ Object
3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 |
# File 'lib/v20210701/models.rb', line 3328 def deserialize(params) @ApplicationId = params['ApplicationId'] @EnvironmentId = params['EnvironmentId'] @AutoscalerId = params['AutoscalerId'] unless params['Autoscaler'].nil? @Autoscaler = Autoscaler.new @Autoscaler.deserialize(params['Autoscaler']) end @SourceChannel = params['SourceChannel'] end |