Class: TencentCloud::Tdmq::V20200217::CreateRocketMQNamespaceRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

CreateRocketMQNamespace请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

    命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符



2069
2070
2071
# File 'lib/v20200217/models.rb', line 2069

def ClusterId
  @ClusterId
end

#NamespaceIdObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

    命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符



2069
2070
2071
# File 'lib/v20200217/models.rb', line 2069

def NamespaceId
  @NamespaceId
end

#RemarkObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

    命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符



2069
2070
2071
# File 'lib/v20200217/models.rb', line 2069

def Remark
  @Remark
end

#RetentionTimeObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

    命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符



2069
2070
2071
# File 'lib/v20200217/models.rb', line 2069

def RetentionTime
  @RetentionTime
end

#TtlObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

    命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符



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