Class: TencentCloud::Ckafka::V20190819::TopicParam
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::TopicParam
- Defined in:
- lib/v20190819/models.rb
Overview
Topic配置
Instance Attribute Summary collapse
-
#CompressionType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#MsgMultiple ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#OffsetType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Resource ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#StartTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TopicId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UseAutoCreateTopic ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resource = nil, offsettype = nil, starttime = nil, topicid = nil, compressiontype = nil, useautocreatetopic = nil, msgmultiple = nil) ⇒ TopicParam
constructor
A new instance of TopicParam.
Constructor Details
#initialize(resource = nil, offsettype = nil, starttime = nil, topicid = nil, compressiontype = nil, useautocreatetopic = nil, msgmultiple = nil) ⇒ TopicParam
Returns a new instance of TopicParam.
12052 12053 12054 12055 12056 12057 12058 12059 12060 |
# File 'lib/v20190819/models.rb', line 12052 def initialize(resource=nil, offsettype=nil, starttime=nil, topicid=nil, compressiontype=nil, useautocreatetopic=nil, msgmultiple=nil) @Resource = resource @OffsetType = offsettype @StartTime = starttime @TopicId = topicid @CompressionType = compressiontype @UseAutoCreateTopic = useautocreatetopic @MsgMultiple = msgmultiple end |
Instance Attribute Details
#CompressionType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12050 12051 12052 |
# File 'lib/v20190819/models.rb', line 12050 def CompressionType @CompressionType end |
#MsgMultiple ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12050 12051 12052 |
# File 'lib/v20190819/models.rb', line 12050 def MsgMultiple @MsgMultiple end |
#OffsetType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12050 12051 12052 |
# File 'lib/v20190819/models.rb', line 12050 def OffsetType @OffsetType end |
#Resource ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12050 12051 12052 |
# File 'lib/v20190819/models.rb', line 12050 def Resource @Resource end |
#StartTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12050 12051 12052 |
# File 'lib/v20190819/models.rb', line 12050 def StartTime @StartTime end |
#TopicId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12050 12051 12052 |
# File 'lib/v20190819/models.rb', line 12050 def TopicId @TopicId end |
#UseAutoCreateTopic ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
12050 12051 12052 |
# File 'lib/v20190819/models.rb', line 12050 def UseAutoCreateTopic @UseAutoCreateTopic end |
Instance Method Details
#deserialize(params) ⇒ Object
12062 12063 12064 12065 12066 12067 12068 12069 12070 |
# File 'lib/v20190819/models.rb', line 12062 def deserialize(params) @Resource = params['Resource'] @OffsetType = params['OffsetType'] @StartTime = params['StartTime'] @TopicId = params['TopicId'] @CompressionType = params['CompressionType'] @UseAutoCreateTopic = params['UseAutoCreateTopic'] @MsgMultiple = params['MsgMultiple'] end |