Class: TencentCloud::Monitor::V20180724::DescribeAllNamespacesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribeAllNamespacesResponse
- Defined in:
- lib/v20180724/models.rb
Overview
DescribeAllNamespaces返回参数结构体
Instance Attribute Summary collapse
-
#CommonNamespaces ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CustomNamespaces ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CustomNamespacesNew ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#QceNamespaces ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#QceNamespacesNew ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(qcenamespaces = nil, customnamespaces = nil, qcenamespacesnew = nil, customnamespacesnew = nil, commonnamespaces = nil, requestid = nil) ⇒ DescribeAllNamespacesResponse
constructor
A new instance of DescribeAllNamespacesResponse.
Constructor Details
#initialize(qcenamespaces = nil, customnamespaces = nil, qcenamespacesnew = nil, customnamespacesnew = nil, commonnamespaces = nil, requestid = nil) ⇒ DescribeAllNamespacesResponse
Returns a new instance of DescribeAllNamespacesResponse.
5047 5048 5049 5050 5051 5052 5053 5054 |
# File 'lib/v20180724/models.rb', line 5047 def initialize(qcenamespaces=nil, customnamespaces=nil, qcenamespacesnew=nil, customnamespacesnew=nil, commonnamespaces=nil, requestid=nil) @QceNamespaces = qcenamespaces @CustomNamespaces = customnamespaces @QceNamespacesNew = qcenamespacesnew @CustomNamespacesNew = customnamespacesnew @CommonNamespaces = commonnamespaces @RequestId = requestid end |
Instance Attribute Details
#CommonNamespaces ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5045 5046 5047 |
# File 'lib/v20180724/models.rb', line 5045 def CommonNamespaces @CommonNamespaces end |
#CustomNamespaces ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5045 5046 5047 |
# File 'lib/v20180724/models.rb', line 5045 def CustomNamespaces @CustomNamespaces end |
#CustomNamespacesNew ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5045 5046 5047 |
# File 'lib/v20180724/models.rb', line 5045 def CustomNamespacesNew @CustomNamespacesNew end |
#QceNamespaces ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5045 5046 5047 |
# File 'lib/v20180724/models.rb', line 5045 def QceNamespaces @QceNamespaces end |
#QceNamespacesNew ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5045 5046 5047 |
# File 'lib/v20180724/models.rb', line 5045 def QceNamespacesNew @QceNamespacesNew end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5045 5046 5047 |
# File 'lib/v20180724/models.rb', line 5045 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 |
# File 'lib/v20180724/models.rb', line 5056 def deserialize(params) unless params['QceNamespaces'].nil? @QceNamespaces = CommonNamespace.new @QceNamespaces.deserialize(params['QceNamespaces']) end unless params['CustomNamespaces'].nil? @CustomNamespaces = CommonNamespace.new @CustomNamespaces.deserialize(params['CustomNamespaces']) end unless params['QceNamespacesNew'].nil? @QceNamespacesNew = [] params['QceNamespacesNew'].each do |i| commonnamespace_tmp = CommonNamespace.new commonnamespace_tmp.deserialize(i) @QceNamespacesNew << commonnamespace_tmp end end unless params['CustomNamespacesNew'].nil? @CustomNamespacesNew = [] params['CustomNamespacesNew'].each do |i| commonnamespace_tmp = CommonNamespace.new commonnamespace_tmp.deserialize(i) @CustomNamespacesNew << commonnamespace_tmp end end unless params['CommonNamespaces'].nil? @CommonNamespaces = [] params['CommonNamespaces'].each do |i| commonnamespacenew_tmp = CommonNamespaceNew.new commonnamespacenew_tmp.deserialize(i) @CommonNamespaces << commonnamespacenew_tmp end end @RequestId = params['RequestId'] end |