Class: TencentCloud::Iss::V20230517::DescribeGatewayData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::DescribeGatewayData
- Defined in:
- lib/v20230517/models.rb
Overview
查询网关信息返回结果
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ClusterName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CreatedAt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Description ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DeviceNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#GatewayId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#GwId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Version ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gatewayid = nil, gwid = nil, name = nil, description = nil, clusterid = nil, clustername = nil, status = nil, version = nil, devicenum = nil, createdat = nil, region = nil) ⇒ DescribeGatewayData
constructor
A new instance of DescribeGatewayData.
Constructor Details
#initialize(gatewayid = nil, gwid = nil, name = nil, description = nil, clusterid = nil, clustername = nil, status = nil, version = nil, devicenum = nil, createdat = nil, region = nil) ⇒ DescribeGatewayData
Returns a new instance of DescribeGatewayData.
3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 |
# File 'lib/v20230517/models.rb', line 3071 def initialize(gatewayid=nil, gwid=nil, name=nil, description=nil, clusterid=nil, clustername=nil, status=nil, version=nil, devicenum=nil, createdat=nil, region=nil) @GatewayId = gatewayid @GwId = gwid @Name = name @Description = description @ClusterId = clusterid @ClusterName = clustername @Status = status @Version = version @DeviceNum = devicenum @CreatedAt = createdat @Region = region end |
Instance Attribute Details
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def ClusterId @ClusterId end |
#ClusterName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def ClusterName @ClusterName end |
#CreatedAt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def CreatedAt @CreatedAt end |
#Description ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def Description @Description end |
#DeviceNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def DeviceNum @DeviceNum end |
#GatewayId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def GatewayId @GatewayId end |
#GwId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def GwId @GwId end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def Name @Name end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def Region @Region end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def Status @Status end |
#Version ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3069 3070 3071 |
# File 'lib/v20230517/models.rb', line 3069 def Version @Version end |
Instance Method Details
#deserialize(params) ⇒ Object
3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 |
# File 'lib/v20230517/models.rb', line 3085 def deserialize(params) @GatewayId = params['GatewayId'] @GwId = params['GwId'] @Name = params['Name'] @Description = params['Description'] @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] @Status = params['Status'] unless params['Version'].nil? @Version = [] params['Version'].each do |i| gatewayversion_tmp = GatewayVersion.new gatewayversion_tmp.deserialize(i) @Version << gatewayversion_tmp end end @DeviceNum = params['DeviceNum'] @CreatedAt = params['CreatedAt'] @Region = params['Region'] end |