Class: TencentCloud::Apigateway::V20180808::UsagePlanBindEnvironment

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

Overview

使用计划绑定环境信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environmentname = nil, serviceid = nil) ⇒ UsagePlanBindEnvironment

Returns a new instance of UsagePlanBindEnvironment.



9823
9824
9825
9826
# File 'lib/v20180808/models.rb', line 9823

def initialize(environmentname=nil, serviceid=nil)
  @EnvironmentName = environmentname
  @ServiceId = serviceid
end

Instance Attribute Details

#EnvironmentNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvironmentName:

    环境名。

  • ServiceId:

    服务唯一ID。



9821
9822
9823
# File 'lib/v20180808/models.rb', line 9821

def EnvironmentName
  @EnvironmentName
end

#ServiceIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • EnvironmentName:

    环境名。

  • ServiceId:

    服务唯一ID。



9821
9822
9823
# File 'lib/v20180808/models.rb', line 9821

def ServiceId
  @ServiceId
end

Instance Method Details

#deserialize(params) ⇒ Object



9828
9829
9830
9831
# File 'lib/v20180808/models.rb', line 9828

def deserialize(params)
  @EnvironmentName = params['EnvironmentName']
  @ServiceId = params['ServiceId']
end