Class: TencentCloud::Tem::V20210701::ModifyApplicationReplicasRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210701/models.rb

Overview

ModifyApplicationReplicas请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ApplicationIdObject

Parameters:

  • ApplicationId:

    应用id

  • EnvironmentId:

    环境ID

  • Replicas:

    实例数量

  • SourceChannel:

    来源渠道



3419
3420
3421
# File 'lib/v20210701/models.rb', line 3419

def ApplicationId
  @ApplicationId
end

#EnvironmentIdObject

Parameters:

  • ApplicationId:

    应用id

  • EnvironmentId:

    环境ID

  • Replicas:

    实例数量

  • SourceChannel:

    来源渠道



3419
3420
3421
# File 'lib/v20210701/models.rb', line 3419

def EnvironmentId
  @EnvironmentId
end

#ReplicasObject

Parameters:

  • ApplicationId:

    应用id

  • EnvironmentId:

    环境ID

  • Replicas:

    实例数量

  • SourceChannel:

    来源渠道



3419
3420
3421
# File 'lib/v20210701/models.rb', line 3419

def Replicas
  @Replicas
end

#SourceChannelObject

Parameters:

  • ApplicationId:

    应用id

  • EnvironmentId:

    环境ID

  • Replicas:

    实例数量

  • SourceChannel:

    来源渠道



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