Class: TencentCloud::Tione::V20211111::DescribeModelServiceGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tione::V20211111::DescribeModelServiceGroupsResponse
- Defined in:
- lib/v20211111/models.rb
Overview
DescribeModelServiceGroups返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ServiceGroups ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, servicegroups = nil, requestid = nil) ⇒ DescribeModelServiceGroupsResponse
constructor
A new instance of DescribeModelServiceGroupsResponse.
Constructor Details
#initialize(totalcount = nil, servicegroups = nil, requestid = nil) ⇒ DescribeModelServiceGroupsResponse
Returns a new instance of DescribeModelServiceGroupsResponse.
3613 3614 3615 3616 3617 |
# File 'lib/v20211111/models.rb', line 3613 def initialize(totalcount=nil, servicegroups=nil, requestid=nil) @TotalCount = totalcount @ServiceGroups = servicegroups @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3611 3612 3613 |
# File 'lib/v20211111/models.rb', line 3611 def RequestId @RequestId end |
#ServiceGroups ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3611 3612 3613 |
# File 'lib/v20211111/models.rb', line 3611 def ServiceGroups @ServiceGroups end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3611 3612 3613 |
# File 'lib/v20211111/models.rb', line 3611 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 |
# File 'lib/v20211111/models.rb', line 3619 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ServiceGroups'].nil? @ServiceGroups = [] params['ServiceGroups'].each do |i| servicegroup_tmp = ServiceGroup.new servicegroup_tmp.deserialize(i) @ServiceGroups << servicegroup_tmp end end @RequestId = params['RequestId'] end |