Class: TencentCloud::Tdmq::V20200217::CreateRocketMQNamespaceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateRocketMQNamespaceRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateRocketMQNamespace请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, namespaceid = nil, ttl = nil, retentiontime = nil, remark = nil) ⇒ CreateRocketMQNamespaceRequest
constructor
A new instance of CreateRocketMQNamespaceRequest.
Constructor Details
#initialize(clusterid = nil, namespaceid = nil, ttl = nil, retentiontime = nil, remark = nil) ⇒ CreateRocketMQNamespaceRequest
Returns a new instance of CreateRocketMQNamespaceRequest.
2071 2072 2073 2074 2075 2076 2077 |
# File 'lib/v20200217/models.rb', line 2071 def initialize(clusterid=nil, namespaceid=nil, ttl=nil, retentiontime=nil, remark=nil) @ClusterId = clusterid @NamespaceId = namespaceid @Ttl = ttl @RetentionTime = retentiontime @Remark = remark end |
Instance Attribute Details
#ClusterId ⇒ Object
2069 2070 2071 |
# File 'lib/v20200217/models.rb', line 2069 def ClusterId @ClusterId end |
#NamespaceId ⇒ Object
2069 2070 2071 |
# File 'lib/v20200217/models.rb', line 2069 def NamespaceId @NamespaceId end |
#Remark ⇒ Object
2069 2070 2071 |
# File 'lib/v20200217/models.rb', line 2069 def Remark @Remark end |
#RetentionTime ⇒ Object
2069 2070 2071 |
# File 'lib/v20200217/models.rb', line 2069 def RetentionTime @RetentionTime end |
#Ttl ⇒ Object
2069 2070 2071 |
# File 'lib/v20200217/models.rb', line 2069 def Ttl @Ttl end |
Instance Method Details
#deserialize(params) ⇒ Object
2079 2080 2081 2082 2083 2084 2085 |
# File 'lib/v20200217/models.rb', line 2079 def deserialize(params) @ClusterId = params['ClusterId'] @NamespaceId = params['NamespaceId'] @Ttl = params['Ttl'] @RetentionTime = params['RetentionTime'] @Remark = params['Remark'] end |