Class: TencentCloud::Iotvideoindustry::V20201201::DescribeRecordStreamResponse

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

Overview

DescribeRecordStream返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ DescribeRecordStreamResponse

Returns a new instance of DescribeRecordStreamResponse.



3477
3478
3479
3480
# File 'lib/v20201201/models.rb', line 3477

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    结果

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3475
3476
3477
# File 'lib/v20201201/models.rb', line 3475

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    结果

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3475
3476
3477
# File 'lib/v20201201/models.rb', line 3475

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3482
3483
3484
3485
3486
3487
3488
# File 'lib/v20201201/models.rb', line 3482

def deserialize(params)
  unless params['Data'].nil?
    @Data = DescribeRecordStreamData.new
    @Data.deserialize(params['Data'])
  end
  @RequestId = params['RequestId']
end