Class: TencentCloud::Iotexplorer::V20190423::GetTWeCallActiveStatusResponse

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

Overview

GetTWeCallActiveStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(twecallactiveinfos = nil, requestid = nil) ⇒ GetTWeCallActiveStatusResponse

Returns a new instance of GetTWeCallActiveStatusResponse.



9031
9032
9033
9034
# File 'lib/v20190423/models.rb', line 9031

def initialize(twecallactiveinfos=nil, requestid=nil)
  @TWeCallActiveInfos = twecallactiveinfos
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TWeCallActiveInfos:

    激活状态

  • RequestId:

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



9029
9030
9031
# File 'lib/v20190423/models.rb', line 9029

def RequestId
  @RequestId
end

#TWeCallActiveInfosObject

Parameters:

  • TWeCallActiveInfos:

    激活状态

  • RequestId:

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



9029
9030
9031
# File 'lib/v20190423/models.rb', line 9029

def TWeCallActiveInfos
  @TWeCallActiveInfos
end

Instance Method Details

#deserialize(params) ⇒ Object



9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
# File 'lib/v20190423/models.rb', line 9036

def deserialize(params)
  unless params['TWeCallActiveInfos'].nil?
    @TWeCallActiveInfos = []
    params['TWeCallActiveInfos'].each do |i|
      twecallactiveinfo_tmp = TWeCallActiveInfo.new
      twecallactiveinfo_tmp.deserialize(i)
      @TWeCallActiveInfos << twecallactiveinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end