Class: TencentCloud::Apigateway::V20180808::ServiceEnvironmentStrategy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::ServiceEnvironmentStrategy
- Defined in:
- lib/v20180808/models.rb
Overview
服务环境策略
Instance Attribute Summary collapse
-
#EnvironmentName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#MaxStrategy ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Strategy ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#VersionName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentname = nil, url = nil, status = nil, versionname = nil, strategy = nil, maxstrategy = nil) ⇒ ServiceEnvironmentStrategy
constructor
A new instance of ServiceEnvironmentStrategy.
Constructor Details
#initialize(environmentname = nil, url = nil, status = nil, versionname = nil, strategy = nil, maxstrategy = nil) ⇒ ServiceEnvironmentStrategy
Returns a new instance of ServiceEnvironmentStrategy.
8769 8770 8771 8772 8773 8774 8775 8776 |
# File 'lib/v20180808/models.rb', line 8769 def initialize(environmentname=nil, url=nil, status=nil, versionname=nil, strategy=nil, maxstrategy=nil) @EnvironmentName = environmentname @Url = url @Status = status @VersionName = versionname @Strategy = strategy @MaxStrategy = maxstrategy end |
Instance Attribute Details
#EnvironmentName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8767 8768 8769 |
# File 'lib/v20180808/models.rb', line 8767 def EnvironmentName @EnvironmentName end |
#MaxStrategy ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8767 8768 8769 |
# File 'lib/v20180808/models.rb', line 8767 def MaxStrategy @MaxStrategy end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8767 8768 8769 |
# File 'lib/v20180808/models.rb', line 8767 def Status @Status end |
#Strategy ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8767 8768 8769 |
# File 'lib/v20180808/models.rb', line 8767 def Strategy @Strategy end |
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8767 8768 8769 |
# File 'lib/v20180808/models.rb', line 8767 def Url @Url end |
#VersionName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
8767 8768 8769 |
# File 'lib/v20180808/models.rb', line 8767 def VersionName @VersionName end |
Instance Method Details
#deserialize(params) ⇒ Object
8778 8779 8780 8781 8782 8783 8784 8785 |
# File 'lib/v20180808/models.rb', line 8778 def deserialize(params) @EnvironmentName = params['EnvironmentName'] @Url = params['Url'] @Status = params['Status'] @VersionName = params['VersionName'] @Strategy = params['Strategy'] @MaxStrategy = params['MaxStrategy'] end |