Class: TencentCloud::Tdmq::V20200217::DescribeEnvironmentsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeEnvironmentsRequest
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeEnvironments请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
按照名称空间进行过滤,精确查询。 类型:String 必选:否.
-
#EnvironmentId ⇒ Object
按照名称空间进行过滤,精确查询。 类型:String 必选:否.
-
#Filters ⇒ Object
按照名称空间进行过滤,精确查询。 类型:String 必选:否.
-
#Limit ⇒ Object
按照名称空间进行过滤,精确查询。 类型:String 必选:否.
-
#Offset ⇒ Object
按照名称空间进行过滤,精确查询。 类型:String 必选:否.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, environmentid = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribeEnvironmentsRequest
constructor
A new instance of DescribeEnvironmentsRequest.
Constructor Details
#initialize(clusterid = nil, environmentid = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribeEnvironmentsRequest
Returns a new instance of DescribeEnvironmentsRequest.
4258 4259 4260 4261 4262 4263 4264 |
# File 'lib/v20200217/models.rb', line 4258 def initialize(clusterid=nil, environmentid=nil, offset=nil, limit=nil, filters=nil) @ClusterId = clusterid @EnvironmentId = environmentid @Offset = offset @Limit = limit @Filters = filters end |
Instance Attribute Details
#ClusterId ⇒ Object
按照名称空间进行过滤,精确查询。 类型:String 必选:否
4256 4257 4258 |
# File 'lib/v20200217/models.rb', line 4256 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
按照名称空间进行过滤,精确查询。 类型:String 必选:否
4256 4257 4258 |
# File 'lib/v20200217/models.rb', line 4256 def EnvironmentId @EnvironmentId end |
#Filters ⇒ Object
按照名称空间进行过滤,精确查询。 类型:String 必选:否
4256 4257 4258 |
# File 'lib/v20200217/models.rb', line 4256 def Filters @Filters end |
#Limit ⇒ Object
按照名称空间进行过滤,精确查询。 类型:String 必选:否
4256 4257 4258 |
# File 'lib/v20200217/models.rb', line 4256 def Limit @Limit end |
#Offset ⇒ Object
按照名称空间进行过滤,精确查询。 类型:String 必选:否
4256 4257 4258 |
# File 'lib/v20200217/models.rb', line 4256 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 |
# File 'lib/v20200217/models.rb', line 4266 def deserialize(params) @ClusterId = params['ClusterId'] @EnvironmentId = params['EnvironmentId'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |