Class: TencentCloud::Tcm::V20210413::AutoInjectionNamespaceState
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcm::V20210413::AutoInjectionNamespaceState
- Defined in:
- lib/v20210413/models.rb
Overview
描述某一网格在特定命名空间下的自动注入状态
Instance Attribute Summary collapse
-
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(namespace = nil, state = nil) ⇒ AutoInjectionNamespaceState
constructor
A new instance of AutoInjectionNamespaceState.
Constructor Details
#initialize(namespace = nil, state = nil) ⇒ AutoInjectionNamespaceState
Returns a new instance of AutoInjectionNamespaceState.
139 140 141 142 |
# File 'lib/v20210413/models.rb', line 139 def initialize(namespace=nil, state=nil) @Namespace = namespace @State = state end |
Instance Attribute Details
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
137 138 139 |
# File 'lib/v20210413/models.rb', line 137 def Namespace @Namespace end |
#State ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
137 138 139 |
# File 'lib/v20210413/models.rb', line 137 def State @State end |
Instance Method Details
#deserialize(params) ⇒ Object
144 145 146 147 |
# File 'lib/v20210413/models.rb', line 144 def deserialize(params) @Namespace = params['Namespace'] @State = params['State'] end |