Class: TencentCloud::Iotvideoindustry::V20201201::DescribeSubscriptionStatusResponse

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

Overview

DescribeSubscriptionStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(alarmstatus = nil, requestid = nil) ⇒ DescribeSubscriptionStatusResponse

Returns a new instance of DescribeSubscriptionStatusResponse.



3949
3950
3951
3952
# File 'lib/v20201201/models.rb', line 3949

def initialize(alarmstatus=nil, requestid=nil)
  @AlarmStatus = alarmstatus
  @RequestId = requestid
end

Instance Attribute Details

#AlarmStatusObject

Parameters:

  • AlarmStatus:

    设备GB28181报警订阅状态 1:未开启订阅;2:已开启订阅

  • RequestId:

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



3947
3948
3949
# File 'lib/v20201201/models.rb', line 3947

def AlarmStatus
  @AlarmStatus
end

#RequestIdObject

Parameters:

  • AlarmStatus:

    设备GB28181报警订阅状态 1:未开启订阅;2:已开启订阅

  • RequestId:

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



3947
3948
3949
# File 'lib/v20201201/models.rb', line 3947

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3954
3955
3956
3957
# File 'lib/v20201201/models.rb', line 3954

def deserialize(params)
  @AlarmStatus = params['AlarmStatus']
  @RequestId = params['RequestId']
end