Class: TencentCloud::Trocket::V20230308::ClientSubscriptionInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::ClientSubscriptionInfo
- Defined in:
- lib/v20230308/models.rb
Overview
客户端订阅详情,可用于辅助判断哪些客户端订阅关系不一致
Instance Attribute Summary collapse
- #ClientAddr ⇒ Object
- #ClientId ⇒ Object
- #ExpressionType ⇒ Object
- #SubString ⇒ Object
- #Topic ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clientid = nil, clientaddr = nil, topic = nil, substring = nil, expressiontype = nil) ⇒ ClientSubscriptionInfo
constructor
A new instance of ClientSubscriptionInfo.
Constructor Details
#initialize(clientid = nil, clientaddr = nil, topic = nil, substring = nil, expressiontype = nil) ⇒ ClientSubscriptionInfo
Returns a new instance of ClientSubscriptionInfo.
86 87 88 89 90 91 92 |
# File 'lib/v20230308/models.rb', line 86 def initialize(clientid=nil, clientaddr=nil, topic=nil, substring=nil, expressiontype=nil) @ClientId = clientid @ClientAddr = clientaddr @Topic = topic @SubString = substring @ExpressionType = expressiontype end |
Instance Attribute Details
#ClientAddr ⇒ Object
84 85 86 |
# File 'lib/v20230308/models.rb', line 84 def ClientAddr @ClientAddr end |
#ClientId ⇒ Object
84 85 86 |
# File 'lib/v20230308/models.rb', line 84 def ClientId @ClientId end |
#ExpressionType ⇒ Object
84 85 86 |
# File 'lib/v20230308/models.rb', line 84 def ExpressionType @ExpressionType end |
#SubString ⇒ Object
84 85 86 |
# File 'lib/v20230308/models.rb', line 84 def SubString @SubString end |
#Topic ⇒ Object
84 85 86 |
# File 'lib/v20230308/models.rb', line 84 def Topic @Topic end |
Instance Method Details
#deserialize(params) ⇒ Object
94 95 96 97 98 99 100 |
# File 'lib/v20230308/models.rb', line 94 def deserialize(params) @ClientId = params['ClientId'] @ClientAddr = params['ClientAddr'] @Topic = params['Topic'] @SubString = params['SubString'] @ExpressionType = params['ExpressionType'] end |