Class: TencentCloud::Trocket::V20230308::DescribeMigratingGroupStatsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::DescribeMigratingGroupStatsResponse
- Defined in:
- lib/v20230308/models.rb
Overview
DescribeMigratingGroupStats返回参数结构体
Instance Attribute Summary collapse
- #RequestId ⇒ Object
- #SourceConsumeLag ⇒ Object
- #SourceConsumerClients ⇒ Object
- #TargetConsumeLag ⇒ Object
- #TargetConsumerClients ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sourceconsumelag = nil, targetconsumelag = nil, sourceconsumerclients = nil, targetconsumerclients = nil, requestid = nil) ⇒ DescribeMigratingGroupStatsResponse
constructor
A new instance of DescribeMigratingGroupStatsResponse.
Constructor Details
#initialize(sourceconsumelag = nil, targetconsumelag = nil, sourceconsumerclients = nil, targetconsumerclients = nil, requestid = nil) ⇒ DescribeMigratingGroupStatsResponse
Returns a new instance of DescribeMigratingGroupStatsResponse.
2969 2970 2971 2972 2973 2974 2975 |
# File 'lib/v20230308/models.rb', line 2969 def initialize(sourceconsumelag=nil, targetconsumelag=nil, sourceconsumerclients=nil, targetconsumerclients=nil, requestid=nil) @SourceConsumeLag = sourceconsumelag @TargetConsumeLag = targetconsumelag @SourceConsumerClients = sourceconsumerclients @TargetConsumerClients = targetconsumerclients @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2967 2968 2969 |
# File 'lib/v20230308/models.rb', line 2967 def RequestId @RequestId end |
#SourceConsumeLag ⇒ Object
2967 2968 2969 |
# File 'lib/v20230308/models.rb', line 2967 def SourceConsumeLag @SourceConsumeLag end |
#SourceConsumerClients ⇒ Object
2967 2968 2969 |
# File 'lib/v20230308/models.rb', line 2967 def SourceConsumerClients @SourceConsumerClients end |
#TargetConsumeLag ⇒ Object
2967 2968 2969 |
# File 'lib/v20230308/models.rb', line 2967 def TargetConsumeLag @TargetConsumeLag end |
#TargetConsumerClients ⇒ Object
2967 2968 2969 |
# File 'lib/v20230308/models.rb', line 2967 def TargetConsumerClients @TargetConsumerClients end |
Instance Method Details
#deserialize(params) ⇒ Object
2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 |
# File 'lib/v20230308/models.rb', line 2977 def deserialize(params) @SourceConsumeLag = params['SourceConsumeLag'] @TargetConsumeLag = params['TargetConsumeLag'] unless params['SourceConsumerClients'].nil? @SourceConsumerClients = [] params['SourceConsumerClients'].each do |i| consumerclient_tmp = ConsumerClient.new consumerclient_tmp.deserialize(i) @SourceConsumerClients << consumerclient_tmp end end unless params['TargetConsumerClients'].nil? @TargetConsumerClients = [] params['TargetConsumerClients'].each do |i| consumerclient_tmp = ConsumerClient.new consumerclient_tmp.deserialize(i) @TargetConsumerClients << consumerclient_tmp end end @RequestId = params['RequestId'] end |