Class: TencentCloud::Tem::V20210701::ModifyApplicationReplicasRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::ModifyApplicationReplicasRequest
- Defined in:
- lib/v20210701/models.rb
Overview
ModifyApplicationReplicas请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(applicationid = nil, environmentid = nil, replicas = nil, sourcechannel = nil) ⇒ ModifyApplicationReplicasRequest
constructor
A new instance of ModifyApplicationReplicasRequest.
Constructor Details
#initialize(applicationid = nil, environmentid = nil, replicas = nil, sourcechannel = nil) ⇒ ModifyApplicationReplicasRequest
Returns a new instance of ModifyApplicationReplicasRequest.
3421 3422 3423 3424 3425 3426 |
# File 'lib/v20210701/models.rb', line 3421 def initialize(applicationid=nil, environmentid=nil, replicas=nil, sourcechannel=nil) @ApplicationId = applicationid @EnvironmentId = environmentid @Replicas = replicas @SourceChannel = sourcechannel end |
Instance Attribute Details
#ApplicationId ⇒ Object
3419 3420 3421 |
# File 'lib/v20210701/models.rb', line 3419 def ApplicationId @ApplicationId end |
#EnvironmentId ⇒ Object
3419 3420 3421 |
# File 'lib/v20210701/models.rb', line 3419 def EnvironmentId @EnvironmentId end |
#Replicas ⇒ Object
3419 3420 3421 |
# File 'lib/v20210701/models.rb', line 3419 def Replicas @Replicas end |
#SourceChannel ⇒ Object
3419 3420 3421 |
# File 'lib/v20210701/models.rb', line 3419 def SourceChannel @SourceChannel end |
Instance Method Details
#deserialize(params) ⇒ Object
3428 3429 3430 3431 3432 3433 |
# File 'lib/v20210701/models.rb', line 3428 def deserialize(params) @ApplicationId = params['ApplicationId'] @EnvironmentId = params['EnvironmentId'] @Replicas = params['Replicas'] @SourceChannel = params['SourceChannel'] end |