Class: TencentCloud::Tdmq::V20200217::ModifyRocketMQNamespaceRequest

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

Overview

ModifyRocketMQNamespace请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, namespaceid = nil, ttl = nil, retentiontime = nil, remark = nil, publicaccessenabled = nil) ⇒ ModifyRocketMQNamespaceRequest

Returns a new instance of ModifyRocketMQNamespaceRequest.



9336
9337
9338
9339
9340
9341
9342
9343
# File 'lib/v20200217/models.rb', line 9336

def initialize(clusterid=nil, namespaceid=nil, ttl=nil, retentiontime=nil, remark=nil, publicaccessenabled=nil)
  @ClusterId = clusterid
  @NamespaceId = namespaceid
  @Ttl = ttl
  @RetentionTime = retentiontime
  @Remark = remark
  @PublicAccessEnabled = publicaccessenabled
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

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

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符

  • PublicAccessEnabled:

    是否开启公网访问



9334
9335
9336
# File 'lib/v20200217/models.rb', line 9334

def ClusterId
  @ClusterId
end

#NamespaceIdObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

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

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符

  • PublicAccessEnabled:

    是否开启公网访问



9334
9335
9336
# File 'lib/v20200217/models.rb', line 9334

def NamespaceId
  @NamespaceId
end

#PublicAccessEnabledObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

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

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符

  • PublicAccessEnabled:

    是否开启公网访问



9334
9335
9336
# File 'lib/v20200217/models.rb', line 9334

def PublicAccessEnabled
  @PublicAccessEnabled
end

#RemarkObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

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

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符

  • PublicAccessEnabled:

    是否开启公网访问



9334
9335
9336
# File 'lib/v20200217/models.rb', line 9334

def Remark
  @Remark
end

#RetentionTimeObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

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

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符

  • PublicAccessEnabled:

    是否开启公网访问



9334
9335
9336
# File 'lib/v20200217/models.rb', line 9334

def RetentionTime
  @RetentionTime
end

#TtlObject

Parameters:

  • ClusterId:

    集群ID

  • NamespaceId:

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

  • Ttl:

    已废弃

  • RetentionTime:

    已废弃

  • Remark:

    说明,最大128个字符

  • PublicAccessEnabled:

    是否开启公网访问



9334
9335
9336
# File 'lib/v20200217/models.rb', line 9334

def Ttl
  @Ttl
end

Instance Method Details

#deserialize(params) ⇒ Object



9345
9346
9347
9348
9349
9350
9351
9352
# File 'lib/v20200217/models.rb', line 9345

def deserialize(params)
  @ClusterId = params['ClusterId']
  @NamespaceId = params['NamespaceId']
  @Ttl = params['Ttl']
  @RetentionTime = params['RetentionTime']
  @Remark = params['Remark']
  @PublicAccessEnabled = params['PublicAccessEnabled']
end